S390: Use s390-64 specific ionv-modules on s390-32, too.
[glibc.git] / ChangeLog
blob78afe17d2d5922ec899d0988e5691fc11b2abc50
1 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4         Move to ...
5         * sysdeps/s390/Makefile: ... here.
6         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
7         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8         (BRANCH_ON_COUNT): New define.
9         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
11         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
12         run on s390-32, too.
13         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15         run on s390-32, too.
16         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
17         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18         run on s390-32, too.
20 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
22         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
23         etf3eh or new vector loop-variant.
25 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
27         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
28         etf3eh or new vector loop-variant.
30 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
32         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
33         or new vector loop-variant.
35 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
37         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
38         Rename to TR_LOOP and usage of tr instead of troo instruction.
40 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
42         * sysdeps/s390/multiarch/gconv_simple.c: New File.
43         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
45 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
47         * sysdeps/s390/multiarch/8bit-generic.c: New File.
48         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
49         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
50         New override define.
51         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
53 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
55         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
56         * sysdeps/s390/configure.ac: Add test for S390 vector register
57         support in gcc.
58         * sysdeps/s390/configure: Regenerated.
60 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
62         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
63         Install file from $(objpfx)gconv-modules.
64         ($(objpfx)gconv-modules): Concatenate architecture specific file
65         in variable sysdeps-gconv-modules and gconv-modules in src dir.
66         * sysdeps/s390/gconv-modules: New file.
67         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
68         Deleted.
69         ($(objpfx)gconv-modules-s390): Deleted.
70         (sysdeps-gconv-modules): New variable.
72 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
74         [BZ #15479]
75         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
76         of immediate operand to rounding instruction.
77         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
78         Likewise.
79         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
80         Likewise.
81         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
82         Likewise.
84 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
86         * math/libm-test.inc (MIN_EXP): Directly define as
87         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
89 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
91         * math/libm-test.inc (MANT_DIG): Directly define as
92         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
94 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
96         * stdlib/gen-tst-strtod-round.c (main):
97           Change usage to more closely match the generated
98           output.  Add usage and compilation instructions.
99           (string_to_fp): Add and use FILE* parameter as
100           output target.
101           (print_fp): Likewise.
102           (round_str): Likewise.
103           (round_for_all): Likewise.
104         * stdlib/tst-strtod-round.c (tests): Move into
105         * stdlib/tst-strtod-round-data.h: New file.
107 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
109         [BZ #15479]
110         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
111         (__round): Do not force "inexact" exception.
112         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
113         variable.
114         (__round): Do not force "inexact" exception.
115         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
116         (__roundf): Do not force "inexact" exception.
117         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
118         (__roundl): Do not force "inexact" exception.
119         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
120         (__roundl): Do not force "inexact" exception.
121         * math/libm-test.inc (round_test_data): Do not allow spurious
122         "inexact" exceptions.
124         [BZ #15479]
125         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
126         exception in comment.
127         (huge): Remove variable.
128         (__floor): Do not force "inexact" exception.
129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
130         "inexact" exception in comment.
131         (huge): Remove variable.
132         (__floor): Do not force "inexact" exception.
133         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
134         exception in comment.
135         (huge): Remove variable.
136         (__floorf): Do not force "inexact" exception.
137         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
138         exception in comment.
139         (huge): Remove variable.
140         (__floorl): Do not force "inexact" exception.
142         [BZ #15479]
143         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
144         exception in comment.
145         (huge): Remove variable.
146         (__ceil): Do not force "inexact" exception.
147         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
148         "inexact" exception in comment.
149         (huge): Remove variable.
150         (__ceil): Do not force "inexact" exception.
151         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
152         (__ceilf): Do not force "inexact" exception.
153         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
154         exception in comment.
155         (huge): Remove variable.
156         (__ceill): Do not force "inexact" exception.
158 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
160         * config.h.in (BIND_NOW): New.
161         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
162         * configure: Regenerated.
163         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
164         indirect branch via the GOT slot.
166 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
168         [BZ #19765]
169         * sysdeps/s390/mempcpy.S: New File.
170         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
171         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
172         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
173         Add mempcpy variants.
174         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
175         (memcpy): Adjust to be usable from mempcpy entry point.
176         (__memcpy_mvcle): Likewise.
177         * sysdeps/s390/s390-64/memcpy.S: Likewise.
178         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
179         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
180         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
181         (__memcpy_z10): Likewise.
182         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
184 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
186         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
187         Remove __GI_ symbol.
188         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
189         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
190         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
191         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
192         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
193         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
195 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
197         * sysdeps/s390/s390-64/memcpy.S (memcpy):
198         Use cghi instead of chi to compare 64bit value.
200 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
202         * sysdeps/s390/s390-32/memcpy.S (memcpy):
203         Jump to 1MB check before executing mvc-loop.
205 2016-05-24  Florian Weimer  <fweimer@redhat.com>
207         [BZ #6527]
208         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
209         unconditionally.
210         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
212 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
214         * stdlib/tst-strtod6.c (do_test): Use new type generic
215         invocation of the test function.
216         (test): Refactor into ...
217         (TEST_STRTOD): New macro base function.
219 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
221         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
222         (TEST_STRTOD): New macro.
223         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
225 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
227         * stdlib/tst-strtod6.c (do_test): Use new type generic
228         invocation of the test function.
229         (test): Refactor into ...
230         (TEST_STRTOD): New macro base function.
232 2016-05-23  Florian Weimer  <fweimer@redhat.com>
234         CVE-2016-4429
235         [BZ #20112]
236         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
237         payload.
239 2016-05-23  Florian Weimer  <fweimer@redhat.com>
241         [BZ #20111]
242         * bits/sockaddr.h (_SS_SIZE): Define.
243         * bits/socket.h (_SS_SIZE): Remove.
244         (_SS_PADSIZE): Adjust to account for all padding.
245         (struct sockaddr_storage): Update comment.  Avoid implicit
246         padding.
247         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
248         (_SS_PADSIZE): Adjust to account for all padding.
249         (struct sockaddr_storage): Update comment.  Avoid implicit
250         padding.
251         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
252         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
253         (_SS_PADSIZE): Adjust to account for all padding.
254         (struct sockaddr_storage): Update comment.  Avoid implicit
255         padding.
256         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
257         __SS_SIZE is 126 in this version.
258         * inet/tst-sockaddr.c: New file.
259         * inet/Makefile (tests): Add tst-sockaddr.c
260         (tst-sockaddr.c): Compile with non-strict aliasing.
262 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
264         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
265         [XPG3 || XPG4].
266         (NL_ARGMAX): Also expect for [XPG3].
267         (NL_LANGMAX): Likewise.
268         (NL_MSGMAX): Likewise.
269         (NL_NMAX): Likewise.
270         (NL_SETMAX): Likewise.
271         (NL_TEXTMAX): Likewise.
272         (NZERO): Likewise.
273         (TMP_MAX): Likewise.
274         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
275         variable.
277         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
278         (PF_MAX): Update value.
279         (AF_KCM): New macro.
280         (SOL_NETBEUI): Likewise.
281         (SOL_LLC): Likewise.
282         (SOL_DCCP): Likewise.
283         (SOL_NETLINK): Likewise.
284         (SOL_TIPC): Likewise.
285         (SOL_RXRPC): Likewise.
286         (SOL_PPPOL2TP): Likewise.
287         (SOL_BLUETOOTH): Likewise.
288         (SOL_PNPIPE): Likewise.
289         (SOL_RDS): Likewise.
290         (SOL_IUCV): Likewise.
291         (SOL_CAIF): Likewise.
292         (SOL_ALG): Likewise.
293         (SOL_NFC): Likewise.
294         (SOL_KCM): Likewise.
295         (MSG_BATCH): New enum value and macro.
297 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
299         [BZ #18185]
300         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
301         sharing L2 cache to 2 for Knights Landing.
303 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
305         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
306         (FTW_DP): Do not expect for [XPG3 || XPG4].
307         (FTW_SL): Do not expect for [XPG3].
308         (FTW_SLN): Likewise.
309         (FTW_PHYS): Likewise.
310         (FTW_MOUNT): Likewise.
311         (FTW_DEPTH): Likewise.
312         (FTW_CHDIR): Likewise.
313         (nftw): Likewise.
314         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
315         variable.
317 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
319         * manual/errno.texi: Fix various typos & grammar errors.
321 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
323         * manual/intro.texi: Fix duplicated typo.
325 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
327         [BZ #13304]
328         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
329         <float.h>, <math_private.h> and <stdlib.h>.
330         (add_split): New function.
331         (mul_split): Likewise.
332         (ext_val): New typedef.
333         (store_ext_val): New function.
334         (mul_ext_val): New function.
335         (compare): New function.
336         (add_split_ext): New function.
337         (__fmal): After checking for Inf, NaN and zero, compute result as
338         an exact sum of scaled double values in round-to-nearest before
339         adding those up and adjusting for other rounding modes.
340         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
341         tests of fma.
342         * math/auto-libm-test-out: Regenerated.
344 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
346         [BZ #20119]
347         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
348         processor level type mask for CPUID with EAX == 11.
350 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
352         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
353         logical threads if the HTT bit is 0.
354         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
355         (index_cpu_HTT): Likewise.
356         (reg_HTT): Likewise.
358 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
360         [BZ #20115]
361         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
362         Remove alignments on jump targets.
364 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
366         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
367         (getpwent): Likewise.
368         (setpwent): Likewise.
369         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
370         variable.
372         * conform/data/search.h-data (insque): Do not expect for [XPG3].
373         (remque): Likewise.
374         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
375         variable.
377 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
379         * math/libm-test.inc: Update comment not to refer to signs of NaNs
380         not being tested.
382 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
384         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
385         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
386         call.
387         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
388         (__condvar_cleanup1): Likewise.
390 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
392         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
393         New
394         (__pthread_unwind): Renamed to ...
395         (PTHREAD_UNWIND): This.
396         (__pthread_enable_asynccancel): Replace
397         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
399 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
401         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
402         (CLONE_NEWCGROUP): New macro.
404         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
405         (Q_GETNEXTQUOTA): New macro.
407 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
409         [BZ #19907]
410         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
411         buffer updated by the previous run.
412         * string/test-memcpy.c (do_one_test): Likewise.
413         * benchtests/bench-memmove.c (do_one_test): Add a comment.
414         * string/test-memmove.c (do_one_test): Likewise.
416 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
418         [BZ #20094]
419         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
420         not [__USE_XOPEN].
421         (unlockpt): Likewise.
422         (ptsname): Likewise.
423         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
424         variable.
426         [BZ #20076]
427         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
428         instead of [__USE_UNIX98].
429         (S_ISSOCK): Likewise.
430         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
431         variable.
433         [BZ #20074]
434         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
435         [__USE_POSIX].
436         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
437         variable.
439         [BZ #20051]
440         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
441         (ttyslot): Do not declare.
442         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
443         (ttyslot): New prototype.
444         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
445         variable.
446         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
448 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
450         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
452 2016-05-13  Florian Weimer  <fweimer@redhat.com>
454         Fix race condition in tst-mallocfork2, use fewer resources.
455         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
456         to current process group.
457         (signal_sender): Yield in the non-sleeping case.
459 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
461         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
462         (ecvt): Likewise.
463         (fcvt): Likewise.
464         (gcvt): Likewise.
465         (getsubopt): Likewise.
466         (grantpt): Likewise.
467         (initstate): Likewise.
468         (l64a): Likewise.
469         (mktemp): Likewise.
470         (mkstemp): Likewise.
471         (ptsname): Likewise.
472         (random): Likewise.
473         (realpath): Likewise.
474         (setstate): Likewise.
475         (srandom): Likewise.
476         (ttyslot): Likewise.
477         (unlockpt): Likewise.
478         (valloc): Likewise.
480         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
481         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
482         variable.
484 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
486         [BZ #20072]
487         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
488         init_cpu_features only if SHARED is defined.
489         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
491 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
493         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
494         non-inclusive caches on Intel processors.
496 2016-05-13  Florian Weimer  <fweimer@redhat.com>
498         * malloc/malloc.c (dumped_main_arena_start)
499         (dumped_main_arena_end): New variables.
500         (DUMPED_MAIN_ARENA_CHUNK): New macro.
501         (do_check_chunk): Skip dumped fake mmapped chunks.
502         (munmap_chunk): Likewise.
503         (__libc_free): Do not adjust statistics for fake mmapped chunks.
504         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
505         mmapped chunks.
506         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
507         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
508         and dumped_main_arena_end to cover the dumped heap.
510 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
512         * conform/data/time.h-data (getdate_err): Do not expect for
513         [XPG3].
514         (getdate): Likewise.
515         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
516         variable.
518         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
519         (F_ULOCK): Likewise.
520         (F_TEST): Likewise.
521         (F_TLOCK): Likewise.
522         (useconds_t): Likewise.
523         (intptr_t): Do not expect for [XPG3] or [XPG4].
524         (brk): Do not expect for [XPG3]
525         (fchown): Likewise.
526         (fchdir): Likewise.
527         (ftruncate): Likewise.
528         (getdtablesize): Likewise.
529         (gethostid): Likewise.
530         (getpagesize): Likewise.
531         (getpgid): Likewise.
532         (getsid): Likewise.
533         (getwd): Likewise.
534         (lchown): Likewise.
535         (lockf): Likewise.
536         (readlink): Likewise.
537         (sbrk): Likewise.
538         (setpgrp): Likewise.
539         (setregid): Likewise.
540         (setreuid): Likewise.
541         (symlink): Likewise.
542         (sync): Likewise.
543         (truncate): Likewise.
544         (ualarm): Likewise.
545         (usleep): Likewise.
546         (vfork): Likewise.
547         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
548         variable.
550         [BZ #20054]
551         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
552         not [__USE_UNIX98].
553         * conform/data/unistd.h-data (gethostname): Do not expect for
554         [XPG3].
556         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
557         [!POSIX] (S_IFBLK): Likewise.
558         [!POSIX] (S_IFCHR): Likewise.
559         [!POSIX] (S_IFIFO): Likewise.
560         [!POSIX] (S_IFREG): Likewise.
561         [!POSIX] (S_IFDIR): Likewise.
562         [!POSIX] (S_IFLNK): Likewise.
563         [!POSIX] (S_IFSOCK): Likewise.
564         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
565         variable.
566         (test-xfail-XPG4/fcntl.h/conform): Likewise.
568 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
570         * sysdeps/aarch64/memset.S (__memset):
571         Rewrite of optimized memset.
573 2016-05-12  Florian Weimer  <fweimer@redhat.com>
575         [BZ #19703]
576         Partially async-signal-safe fork for single-threaded processes.
577         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
578         variable.  Do not acquire and reset/release malloc and libio locks
579         in single-threaded processes.
580         * malloc/tst-mallocfork2.c: New file.
581         * malloc/Makefile (tests): Add it.
583 2016-05-12  Florian Weimer  <fweimer@redhat.com>
585         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
586         argument.  Use scratch buffer instead of extend_alloca.
587         (gethosts): Use scratch buffer instead of extend_alloca.
588         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
589         extend_alloca.
590         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
592 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
594         [BZ #20055]
595         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
596         instead of [__USE_UNIX98].
597         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
598         [__USE_UNIX98].
599         * conform/data/termios.h-data (tcgetsid): Do not expect for
600         [XPG3].
601         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
602         variable.
603         (test-xfail-XPG4/termios.h/conform): Likewise.
605 2016-05-11  Florian Weimer  <fweimer@redhat.com>
607         Do not use mcheck in localedef.
608         * locale/programs/localedef.c (turn_on_mcheck)
609         (__malloc_initialize_hook): Remove.
611 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
613         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
614         * sysdeps/s390/s390-64/Makefile: Likewise.
616 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
618         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
619         Remove ifunc-defines.sym.
620         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
621         Likewise.
622         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
623         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
624         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
625         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
626         rtld-global-offsets.sym.
627         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
628         * sysdeps/x86/cpu-features-offsets.sym: This.
629         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
630         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
632 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
634         [BZ #20073]
635         * io/sys/stat.h (fchmod): Declare for
636         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
637         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
638         variable.
640         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
641         [XPG3] (S_IFSOCK): Likewise.
642         [XPG3] (S_ISVTX): Likewise.
643         [XPG3] (S_ISLNK): Likewise.
644         [XPG3] (S_ISSOCK): Likewise.
645         [XPG3] (fchmod): Likewise.
646         [XPG3] (lstat): Likewise.
647         [XPG3] (mknod): Likewise.
649         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
650         [XPG3].  Expect type long and XFAIL for [XPG4].
651         (st_blocks): Likewise.
653         [BZ #20044]
654         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
655         (pthread_atfork): New prototype.
656         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
657         variable.
659         [BZ #20043]
660         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
661         prototype.
663 2016-05-10  Florian Weimer  <fweimer@redhat.com>
665         [BZ #20017]
666         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
667         gmtime.
669 2016-05-10  Florian Weimer  <fweimer@redhat.com>
671         [BZ #19994]
672         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
673         flag in _res.options.
675 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
677         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
678         [XPG3 || XPG4].
679         (blksize_t): Likewise.
680         (clockid_t): Likewise.
681         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
682         variable.
683         (test-xfail-XPG4/sys/types.h/conform): Likewise.
685 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
687         * sysdeps/unix/sysv/linux/s390/init-first.c:
688         Add VDSO_SYMBOL(getcpu).
689         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
690         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
691         Add VDSO_SYMBOL(getcpu).
692         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
693         New define HAVE_GETCPU_VSYSCALL.
694         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
696 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
698         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
699         instead of <sysdeps/x86_64/cacheinfo.c>.
700         * sysdeps/x86_64/cacheinfo.c: Moved to ...
701         * sysdeps/x86/cacheinfo.c: Here.
703 2016-05-04  Florian Weimer  <fweimer@redhat.com>
705         * malloc/malloc-internal.h: Adjust header file guard.
707 2016-05-04  Florian Weimer  <fweimer@redhat.com>
709         [BZ #19787]
710         * inet/getnameinfo.c (check_sprintf_result): New function.
711         (CHECKED_SNPRINTF): New macro.
712         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
713         to the host buffer.
714         (gni_host_local): Use checked_copy to copy the host name.
715         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
716         (gni_serv_local): Use checked_copy to copy the service name.
717         (getnameinfo): Remove unnecessary truncation of result buffers.
719 2016-05-04  Florian Weimer  <fweimer@redhat.com>
721         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
722         in case of inet_ntop failure.
724 2016-05-04  Florian Weimer  <fweimer@redhat.com>
726         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
727         avoid long lines.
728         (gni_host_inet_numeric): Likewise.  Reduce scope of local
729         variables.
730         (gni_host_inet, gni_host_local): Add comment.
731         (gni_host): Add comment.  Use temporary to avoid long lines.
733 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
735         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
736         registers specifiers where general purpose registers specifiers should
737         have been used.
739 2016-05-04  Florian Weimer  <fweimer@redhat.com>
741         [BZ #19779]
742         CVE-2016-1234
743         Avoid copying names of directory entries.
744         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
745         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
746         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
747         (struct readdir_result): New type.
748         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
749         (GL_READDIR): New macros.
750         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
751         (convert_dirent, convert_dirent64): New functions.
752         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
753         convert_dirent64.  Adjust references to the readdir result.
754         * sysdeps/unix/sysv/linux/i386/glob64.c:
755         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
756         * posix/bug-glob2.c (LONG_NAME): Define.
757         (filesystem): Add LONG_NAME.
758         (my_DIR): Increase the size of room_for_dirent.
760 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
762         [BZ #20041]
763         * misc/sys/select.h (__need_timespec): Only define if
764         [__USE_XOPEN2K].
765         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
766         variable.
767         (test-xfail-XPG4/utmpx.h/conform): Likewise.
768         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
769         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
771 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
772             Segher Boessenkool  <segher@gcc.gnu.org>
774         [BZ #20004]
775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
776         (__novec_swapcontext): Add missing load.
778 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
780         [BZ #20023]
781         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
782         <time.h>.
783         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
784         variable.
785         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
787 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
790         flags CLONE_VM compare.
792 2016-05-02  Florian Weimer  <fweimer@redhat.com>
794         [BZ #20031]
795         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
796         completely empty.
798 2016-05-02  Florian Weimer  <fweimer@redhat.com>
800         [BZ #19573]
801         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
802         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
803         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
804         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
805         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
806         (hesiod_free_list): Mark as hidden.
807         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
808         res_set, res_get.
809         * hesiod/hesiod.c: Remove unnecessary forward declarations.
810         (init, __hesiod_res_get, __hesiod_res_set): Remove.
811         (hesiod_init): Remove obsolete res_ninit call.
812         (hesiod_end): Do not free resolver state.  Do not invoke callback.
813         (hesiod_bind): Do not call init.
814         (get_txt_records): Use res_mkquery, res_send instead of
815         res_nmkquery, res_nsend.
816         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
817         instead of _nss_hesiod_init.
818         (_nss_hesiod_initgroups_dyn): Likewise.
819         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
820         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
821         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
823 2016-05-02  Florian Weimer  <fweimer@redhat.com>
825         * hesiod/hesiod_p.h (DEF_RHS): Remove.
826         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
828 2016-05-02  Florian Weimer  <fweimer@redhat.com>
830         * hesiod/hesiod.h: Remove RCS keyword.
831         * hesiod/hesiod_p.h: Likewise.
833         * hesiod/hesiod.c: Likewise.
835 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
837         [BZ #12450]
838         * locale/iso-639.def: Add Samogitian/sgs.
840 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
842         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
844         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
846 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
847             Carlos O'Donell  <carlos@redhat.com>
849         [BZ #19072]
850         * grp/Makefile (headers): Add grp-merge.h
851         (routines): Add grp-merge.
852         * grp/getgrgid_r.c: Include grp-merge.h.
853         (DEEPCOPY_FN): Define.
854         (MERGE_FN): Define.
855         * grp/getgrname_r.c: Include grp-merge.h.
856         (DEEPCOPY_FN): Define.
857         (MERGE_FN): Define.
858         * grp/grp-merge.c: New file.
859         * grp/grp-merge.h: New file.
860         * include/grp-merge.h: New file.
861         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
862         __copy_grp@GLIBC_PRIVATE.
863         * manual/nss.texi (Actions in the NSS configuration): Describe
864         return, continue, and merge.
865         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
866         (DEEPCOPY_FN): Define.
867         (MERGE_FN): Define.
868         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
869         (DEEPCOPY_FN): Define.
870         (MERGE_FN): Define.
871         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
872         [!MERGE_FN]: Define __merge_einval.
873         (CHECK_MERGE): Define.
874         (REENTRANT_NAME): Process merge if do_merge is true.
875         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
876         (__nss_getent_r): Likewise.
877         * nss/nsswitch.c (nss_parse_service_list): Likewise.
878         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
880 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
882         [BZ #20012]
883         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
884         length to calculate the buffer to read.
885         (fmemopen_write): Set the buffer position based on bytes written.
886         (fmemopen_seek): Return EINVAL for invalid whence modes.
888         [BZ #19957]
889         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
890         tst-getpid2.
891         (test): Add tst-clone2.
892         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
893         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
894         pid/tid fields for CLONE_VM.
895         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
896         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
897         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
898         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
899         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
900         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
901         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
902         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
904         Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
906         Likewise.
907         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
908         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
909         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
910         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
911         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
912         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
913         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
914         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
916 2016-04-29  Florian Weimer  <fweimer@redhat.com>
918         [BZ #19642]
919         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
920         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
921         (gni_serv_local, gni_serv): New functions extracted from
922         getnameinfo.
923         (getnameinfo): Call gni_host and gni_serv to perform the
924         processing.  Always free scratch buffer.
926 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
928         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
929         remaining bytes in the dest string, with zeros.
931 2016-04-29  Florian Weimer  <fweimer@redhat.com>
933         [BZ #20010]
934         CVE-2016-3706
935         * sysdeps/posix/getaddrinfo.c
936         (convert_hostent_to_gaih_addrtuple): New function.
937         (gethosts): Call convert_hostent_to_gaih_addrtuple.
938         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
939         AF_INET data.
941 2016-04-29  Florian Weimer  <fweimer@redhat.com>
943         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
944         callback function gl_readdir.
945         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
946         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
947         (glob_in_dir): Remove len.  Use strdup instead of malloc and
948         memcpy to copy the name.
949         * manual/pattern.texi (Calling Glob): Document requirements for
950         implementations of the gl_readdir callback function.
951         * manual/examples/mkdirent.c: New example.
952         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
953         per the manual guidance.
954         * posix/tst-gnuglob.c (my_readdir): Likewise.
956 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
958         [BZ #20014]
959         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
960         not [__USE_POSIX].
961         (getchar_unlocked): Likewise.
962         (putc_unlocked): Likewise.
963         (putchar_unlocked): Likewise.
964         (flockfile): Likewise.
965         (ftrylockfile): Likewise.
966         (funlockfile): Likewise.
967         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
968         variable.
969         (test-xfail-XPG4/stdio.h/conform): Likewise.
971         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
972         Expect constant.
973         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
974         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
975         variable.
976         (test-xfail-XPG4/langinfo.h/conform): Likewise.
977         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
979         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
980         [__USE_LARGEFILE64] (off64_t): Likewise.
981         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
982         variable.
984 2016-04-28  Florian Weimer  <fweimer@redhat.com>
986         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
988 2016-04-28  Florian Weimer  <fweimer@redhat.com>
990         * resolv/inet_addr.c: Reindent preprocessor conditionals.
991         * resolv/res_init.c: Likewise.
992         * resolv/res_mkquery.c: Likewise.
994 2016-04-28  Florian Weimer  <fweimer@redhat.com>
996         * resolv/res_init.c (isascii): Do not define.  Use definition in
997         <ctype.h>.
998         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
999         (LOG_AUTH): Remove.
1000         (SPRINTF): Remove, adjust caller.
1001         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1003 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1005         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1006         SUNSECURITY conditional.
1007         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1009 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1011         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1012         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1013         Remove BSD-related preprocessor conditionals.
1014         * conf/portability.h: Remove.
1016 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1018         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1019         * resolv/res_data.c: Likewise.
1021 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1023         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1024         * resolv/res_data.c: Remove code conditional on ultrix.
1026 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1028         * resolv/res_init.c (RFC1535): Do not define.  Remove
1029         RFC1535 preprocessor conditionals.
1030         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1031         because there configuration options which make the resolver
1032         behavior different.
1034 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1036         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1037         RESOLVSORT preprocessor conditionals.
1038         * resolv/nss_dns/dns-host.c: Likewise.
1039         * resolv/res_init.c: Likewise.
1041 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1043         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1044         is never defined.
1046 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1048         * inet/inet_lnaof.c: Remove SCSS keyword.
1049         * inet/inet_mkadr.c: Likewise.
1050         * inet/inet_net.c: Likewise.
1051         * inet/inet_netof.c: Likewise.
1052         * inet/rcmd.c: Likewise.
1053         * inet/rexec.c: Likewise.
1054         * inet/ruserpass.c: Likewise.
1056 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1058         * resolv/inet_addr.c: Remove _LIBC conditionals.
1059         * resolv/res_data.c: Likewise.
1060         * resolv/res_init.c: Likewise.
1061         * resolv/res_mkquery.c: Likewise.
1062         * resolv/res_libc.c: Update comment.
1063         * resolv/README: Update.
1065 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1067         * resolv/gethnamaddr.c: Remove SCSS keyword.
1068         * resolv/herror.c: Likewise.
1069         * resolv/inet_addr.c: Likewise.
1070         * resolv/inet_net_ntop.c: Likewise.
1071         * resolv/inet_net_pton.c: Likewise.
1072         * resolv/inet_neta.c: Likewise.
1073         * resolv/inet_ntop.c: Likewise.
1074         * resolv/inet_pton.c: Likewise.
1075         * resolv/ns_date.c: Remove RCS keyword.
1076         * resolv/ns_name.c: Likewise.
1077         * resolv/ns_netint.c: Likewise.
1078         * resolv/ns_parse.c: Likewise.
1079         * resolv/ns_print.c: Likewise.
1080         * resolv/ns_samedomain.c: Likewise.
1081         * resolv/ns_ttl.c: Likewise.
1082         * resolv/nsap_addr.c: Likewise.
1083         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1084         * resolv/res_data.c: Remove RCS keyword.
1085         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1086         * resolv/res_init.c: Likewise.
1087         * resolv/res_mkquery.c: Likewise.
1088         * resolv/res_query.c: Likewise.
1089         * resolv/res_send.c: Likewise.
1091 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1093         * conform/data/stdio.h-data (fdopen): Expect also for
1094         [XPG3 || XPG4].
1096         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1097         (fseeko): Likewise.
1098         (ftello): Likewise.
1099         (ftrylockfile): Likewise.
1100         (funlockfile): Likewise.
1101         (getc_unlocked): Likewise.
1102         (getchar_unlocked): Likewise.
1103         (putc_unlocked): Likewise.
1104         (putchar_unlocked): Likewise.
1106 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1108         [BZ #19868]
1109         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1110         DNS packet syntax checks (which were not needed before).  Skip
1111         over non-PTR records.
1113 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1115         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1116         definition.  Include <stddef.h> instead.
1118 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1120         [BZ #19831]
1121         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1122         function.
1123         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1124         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1126 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1128         [BZ #19862]
1129         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1130         (getanswer_r): Do not call syslog.
1131         (gaih_getanswer_slice): Likewise.
1132         * resolv/gethnamaddr.c (AskedForGot): Remove.
1133         (getanswer): Do not call syslog.
1134         (gethostbyaddr): Likewise.
1136 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1138         * conform/data/signal.h-data (union sigval): Expect also if
1139         [XOPEN2K].
1140         (struct sigevent): Likewise.
1141         (SIGEV_NONE): Likewise.
1142         (SIGEV_SIGNAL): Likewise.
1143         (SIGEV_THREAD): Likewise.
1144         (SIGRTMIN): Likewise.
1145         (SIGRTMAX): Likewise.
1146         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1147         variable.
1148         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1150 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1152         [BZ #19830]
1153         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1154         (gaih_getanswer_slice): Likewise.
1155         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1156         Also check for availability of RR metadata.
1158 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1160         [BZ #19825]
1161         * resolv/res_send.c (send_vc): Remove early *resplen2
1162         initialization.  Set *resplen2 on socket error.  Call
1163         close_and_return_error for other errors.
1165 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1167         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1168         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1169         (SCM_IUCV_TRGCLS): New define.
1171 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1173         [BZ #20005]
1174         * libio/fmemopen.c (fmemopen_write): Update internal position after
1175         write.
1176         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1177         * stdio-common/tst-fmemopen4.c: New file..
1179 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1181         [BZ #19996]
1182         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1183         not [__USE_XOPEN2K].
1184         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1185         variable.
1187         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1188         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1189         variable.
1191         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1192         [__USE_XOPEN2K8].
1193         [__USE_LARGEFILE64] (off64_t): Likewise.
1194         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1195         variable.
1197 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1199         [BZ #19989]
1200         * libio/stdio.h (cuserid): Do not declare if
1201         [__USE_XOPEN2K && !__USE_GNU].
1202         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1203         variable.
1205 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1207         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1208         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1210         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1211         ifunc'ed strcspn.
1212         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1213         [EALIGN]: Removed.
1214         [END]: Likewise
1215         [STRSPN]: Define instead of the above to control symbol name.
1216         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1217         New file.
1218         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1219         Likewise.
1220         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1221         Likewise.
1222         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1223         Likewise.
1224         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1225         [INITIAL_MASK]: New macro.
1226         [STRCSPN]: Likewise.
1227         [UPDATE_MASK]: Likewise.
1228         [USE_AS_STRCSPN]: Lisewise.
1230 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1232         [BZ #19931]
1233         * stdio-common/tst-vfprintf-width-prec.c: New file.
1234         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1235         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1236         (generated): Add mtrace-related files.
1237         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1238         (tst-%-mem.out): New pattern rule, replaces
1239         tst-printf-bz18872-mem.out.
1240         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1241         specifier, deallocate any previously allocated work buffer.
1243 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1245         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1246         Add nop before __startcontext, add explaining comments.
1248 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1250         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1251         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1252         completely different API.
1254         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1255         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1256         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1257         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1258         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1259         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1260         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1261         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1262         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1263         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1265 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1267         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1269 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1271         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1272         when it is the default of 0.
1274 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1276         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1277         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1278         (sysdep_routines): Add new strcasestr targets.
1279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1280         (__libc_ifunc_impl_list): Likewise.
1281         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1282         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1283         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1284         * sysdeps/powerpc/powerpc64/power8/Makefile:
1285         New file to add strcasestr-ppc64 to sysdep_routines.
1286         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1287         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1289 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1291         * benchtests/Makefile (wcsmbs-benchset): Include only for
1292         native builds and runs.
1293         (LOCALES): Likewise.
1294         (bench-build): Build timing-type here instead of the bench
1295         target.  Generate locale only for native builds.
1296         * benchtests/README: Add note for cross-building.
1298         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1300         * benchtests/README: Update README to include instructions on
1301         using bench-build.
1303         * Makefile.in (bench-build): New target.
1304         * Rules (PHONY): Add bench-build target.
1305         * benchtests/Makefile (bench): Depend on bench-build.
1306         (bench-build): New target.
1308 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1310         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1311         profil_reply_port.
1312         (profile_waiter): Do not initialize profil_reply_port.
1313         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1314         frequency instead of tick length in us.
1316 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1318         [BZ #18712]
1319         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1320         (__old_mempcpy_small): Likewise.
1321         (__old_strcpy_small): Likewise.
1322         (__old_stpcpy_small): Likewise.
1323         (__old_strpbrk_c2): Fix compat symbol name.
1324         (__old_strpbrk_c3): Likewise.
1325         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1326         (__mempcpy_small): Remove.
1327         (__strcpy_small): Remove.
1328         (__stpcpy_small): Remove.
1330 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1332         [BZ #19400]
1333         * locale/iso-639.def: Add the Talossan/tzl language.
1335 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1337         [BZ #16983]
1338         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1339         comment.  Add "ln" to strchr check on postal_fmt.
1341 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1343         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1344         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1345         tel_dom_fmt.
1347 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1349         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1350         (sysdep_routines): Added __strlen_power8.
1351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1352         __strlen_power8 entry.
1353         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1354         Implementation for POWER8.
1355         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1356         for __strlen_power8.
1357         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1358         Implementation for POWER8.
1360 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1362         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1364 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1366         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1367         Goldmont and Airmont processors.
1369 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1371         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1372         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1373         (__STRING2_SMALL_GET32): Remove.
1374         (memset): Remove.
1375         (__memset_1): Remove.
1376         (__memset_gc): Remove.
1377         (__mempcpy): Remove.
1378         (mempcpy): Remove.
1379         (__mempcpy_args): Remove.
1380         (strchr): Remove.
1381         (strcpy): Remove.
1382         (strcpy_args): Remove.
1383         (__stpcpy_args): Remove.
1384         (__strcmp_cc): Remove.
1385         (__strcmp_gc): Remove.
1386         (strstr): Remove.
1388 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1390         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1391         * nis/nis_call.c (nis_server_cache_add): Likewise.
1393 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1395         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1397 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1399         * malloc/arena.c (__malloc_fork_lock_parent)
1400         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1401         internal_function attribute.
1403 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1405         * stdio-common/printf_fp.c (__printf_fp_l):
1406         Rename ___printf_fp_l to __printf_fp_l and
1407         remove strong alias. Use libc_hidden_def instead
1408         of ldbl_hidden_def macro.
1410 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1412         Remove malloc hooks from fork handler.  They are no longer needed
1413         because malloc runs right before fork, and no malloc calls from
1414         other fork handlers are not possible anymore.
1415         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1416         declarations.
1417         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1418         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1419         (atfork_recursive_cntr): Remove.
1420         (__malloc_fork_lock_parent): Do not override malloc hooks and
1421         thread_arena.
1422         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1423         thread_arena.
1424         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1425         thread_arena instead of save_arena.
1427 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1429         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1430         (thread_atfork, thread_atfork_static): Remove.
1431         * sysdeps/mach/hurd/malloc-machine.h:
1432         (thread_atfork, thread_atfork_static): Remove.
1434 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1436         [BZ #19431]
1437         Run the malloc fork handler as late as possible to avoid deadlocks.
1438         * malloc/malloc-internal.h: New file.
1439         * malloc/malloc.c: Include it.
1440         * malloc/arena.c (ATFORK_MEM): Remove.
1441         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1442         Update comment.
1443         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1444         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1445         Remove outdated comment.
1446         (ptmalloc_init): Do not call thread_atfork.  Remove
1447         thread_atfork_static.
1448         * malloc/tst-malloc-fork-deadlock.c: New file.
1449         * Makefile (tests): Add tst-malloc-fork-deadlock.
1450         (tst-malloc-fork-deadlock): Link against libpthread.
1451         * manual/memory.texi (Aligned Memory Blocks): Update safety
1452         annotation comments.
1453         * sysdeps/nptl/fork.c (__libc_fork): Call
1454         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1455         __malloc_fork_unlock_child.
1456         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1458 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1460         [BZ #19613]
1461         Remove union wait.
1462         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1463         (w_stopsig, w_stopval): Remove.
1464         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1465         stat_loc argument.
1466         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1467         (__WAIT_STATUS_DEFN): Remove.
1468         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1469         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1470         (wait, wait3, wait4): Use int * for the stat_loc argument.
1471         * posix/wait.c (__wait): Likewise.
1472         * posix/wait3.c (__wait3): Likewise.
1473         * posix/wait4.c (__wait4): Likewise.
1474         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1475         (__WAIT_STATUS_DEFN): Remove.
1476         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1477         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1478         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1479         argument.
1480         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1481         * sysdeps/posix/wait3.c (__wait3): Likewise.
1482         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1483         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1484         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1485         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1486         stat_loc argument.
1487         * manual/process.texi (BSD Wait Functions): Remove union wait.
1489 2016-04-13  Andreas Schwab  <schwab@suse.de>
1491         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1492         (test-extras): Add tst-tlsalign-vars.
1493         * math/Makefile: Wrap long lines.
1494         (libm-vec-test-wrappers): Define.
1495         (test-extras): Add $(libm-vec-test-wrappers).
1496         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1497         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1498         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1499         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1500         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1501         (extra-test-objs): Add corresponding objects.
1503 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1505         [BZ #19928]
1506         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1507         New.
1508         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1509         times of shared cache size.
1510         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1511         (VMOVNT): New.
1512         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1513         (VMOVNT): Likewise.
1514         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1515         (VMOVNT): Likewise.
1516         (VMOVU): Changed to movups for smaller code sizes.
1517         (VMOVA): Changed to movaps for smaller code sizes.
1518         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1519         comments.
1520         (PREFETCH): New.
1521         (PREFETCH_SIZE): Likewise.
1522         (PREFETCHED_LOAD_SIZE): Likewise.
1523         (PREFETCH_ONE_SET): Likewise.
1524         Rewrite to use forward and backward loops, which move 4 vector
1525         registers at a time, to support overlapping addresses and use
1526         non temporal store if size is above the threshold and there is
1527         no overlap between destination and source.
1529 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1531         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1532         Include dl-vdso.
1533         * sysdeps/unix/sysv/linux/mips/Versions: Add
1534         __vdso_clock_gettime.
1535         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1536         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1537         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1538         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1539         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1540         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1541         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1542         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1543         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1545 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1547         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1548         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1551         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1552         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1555         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1557         syscalls generation.
1558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1559         [__NR_pwrite64] (__NR_write): Remove define.
1560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1561         [__NR_pwrite64] (__NR_write): Remove define.
1562         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1563         Remove define.
1564         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1565         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1566         Remove define.
1567         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1568         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1569         Linux implementation as base.
1570         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1572         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1573         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1574         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1575         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1578         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1579         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1580         syscall generation.
1581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1582         [__NR_pread64] (__NR_pread): Remove define.
1583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1584         [__NR_pread64] (__NR_pread): Likewise.
1585         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1586         define.
1587         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1588         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1589         Remove define.
1590         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1591         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1592         Linux implementation as base.
1593         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1594         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1595         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1597         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1598         definition.
1599         (__ALIGNMENT_COUNT): Likewise.
1600         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1601         (__ALIGNMENT_COUNT): Likewise.
1602         (SYSCALL_LL): New define.
1603         (SYSCALL_LL64): Likewise.
1604         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1605         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1606         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1607         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1609         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1610         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1611         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1612         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1614         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1616 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1618         [BZ #19865]
1619         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1620         original buffer before retry.
1622 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1624         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1625         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1626         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1627         GLRO(dl_auxv) list.
1628         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1629         including <ldsodefs.h>.
1630         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1632 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1634         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1635         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1636         $(CPPFLAGS).
1638 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1640         [BZ #17950]
1641         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1642         Add -mfpmath=387.
1644 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1646         * sysdeps/i386/configure.ac: Change == to = when calling test.
1647         * sysdeps/x86_64/configure.ac: Likewise.
1648         * sysdeps/i386/configure: Regenerated.
1649         * sysdeps/x86_64/configure: Likewise.
1651 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1653         [BZ #16137]
1654         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1655         * benchtests/bench-strcoll.c (input_files): Likewise.
1656         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1657         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1658         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1660 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1662         [BZ #19929]
1663         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1664         [__USE_XOPEN2K8 && !__USE_GNU].
1665         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1666         variable.
1668         [BZ #19925]
1669         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1670         define if [!__USE_MISC && __USE_XOPEN2K].
1671         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1672         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1673         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1674         Likewise.
1675         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1676         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1677         variable.
1678         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1680 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1682         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1683         (sysdep_routines): Add new strspn targets.
1684         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1685         (__libc_ifunc_impl_list): Add strspn.
1686         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1687         New file.
1688         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1689         Likewise.
1690         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1691         Likewise.
1692         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1693         Likewise.
1695 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1697         * misc/hsearch_r.c: Include <limits.h>.
1699 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1701         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1703 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1705         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1706         (MEMCPY_SYMBOL): New.
1707         (MEMPCPY_SYMBOL): Likewise.
1708         (MEMMOVE_CHK_SYMBOL): Likewise.
1709         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1710         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1711         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1712         Provide alias for memcpy in libc.a and ld.so.
1714 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1716         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1717         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1718         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1719         Disabled fro now.
1720         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1721         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1723 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1725         * benchtests/Makefile (string-benchset): Add memcpy-large,
1726         memmove-large and memset-large.
1727         * benchtests/bench-memcpy-large.c: New file.
1728         * benchtests/bench-memmove-large.c: Likewise.
1729         * benchtests/bench-memmove-large.c: Likewise.
1730         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1732 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1734         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1735         32-bit displacement to avoid long nop between instructions.
1737 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1739         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1740         a comment on VMOVU and VMOVA.
1742 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1744         [BZ #19633]
1745         Use specified locale for number formatting in strfmon_l.
1746         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1747         (__nl_lookup_word): New inline functions.
1748         * include/printf.h (__print_fp_l): Declare.
1749         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1750         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1751         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1752         (___printf_fp): New function.
1753         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1754         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1755         * stdlib/tst-strfmon_l.c (do_test): New test.
1756         * stdlib/Makefile (tests): Add kt.
1757         (LOCALES): Build additional locales.
1758         (tst-strfmon_l.out): Require locales.
1760 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1762         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1763         if not in libc.
1764         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1765         Likewise.
1766         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1767         Likewise.
1768         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1769         Likewise.
1771 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1773         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1774         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1775         with unaligned_erms.
1776         (__memmove_erms): Skip if source == destination.
1777         (__memmove_unaligned_erms): Don't check source == destination
1778         first.
1780 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1782         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1783         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1785 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1787         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1788         * string/strspn.c (strspn): Likewise.
1790 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1792         * benchtests/bench-memset.c (do_test): Support 64-byte
1793         alignment.
1794         (test_main): Test 64-byte alignment.
1796 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1798         * benchtests/bench-memmove.c (test_main): Test 64-byte
1799         alignment.
1801 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1803         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1805 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1807         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1808         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1809         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1811         * string/strpbrk.c (strpbrk): Rewrite function.
1812         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1813         (__strpbrk_c2): Likewise.
1814         (__strpbrk_c3): Likewise.
1815         * string/string-inlines.c
1816         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1817         Likewise.
1818         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1819         Likewise.
1821         * string/strspn.c (strcspn): Rewrite function.
1822         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1823         (__strspn_c1): Remove inline function.
1824         (__strspn_c2): Likewise.
1825         (__strspn_c3): Likewise.
1826         * string/string-inlines.c
1827         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1828         compatibility symbol.
1829         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1830         Likewise.
1831         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1832         Likewise.
1833         * string/string-inlines.c: Include generic version.
1835 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1836             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1838         * string/Version (libc): Add GLIBC_2.24.
1839         * string/strcspn.c (strcspn): Rewrite function.
1840         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1841         (__strcspn_c1): Remove inline function.
1842         (__strcspn_c2): Likewise.
1843         (__strcspn_c3): Likewise.
1844         * string/string-inline.c
1845         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1846         compatibility symbol.
1847         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1848         Likewise.
1849         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1850         Likewise.
1851         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1853 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1855         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1856         Use ahi instead of aghi to adjust stack pointer.
1858 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1860         [BZ #19853]
1861         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1862         TEST to take significant digits as second parameter.
1863         [TEST]: Redefine in terms of TEST_N taking 30
1864         significant digits.
1865         (do_test): Add test case to demonstrate precision
1866         failure in the ldbl-128ibm printf.
1867         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1868         (__mpn_extract_long_double): Carry 7 extra intermediate
1869         bits of precision to aide computing difference when
1870         signs differ.
1872 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1874         [BZ #19881]
1875         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1876         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1877         memset-avx512-unaligned-erms.
1878         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1879         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1880         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1881         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1882         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1883         __memset_sse2_unaligned_erms, __memset_erms,
1884         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1885         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1886         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1887         file.
1888         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1889         Likewise.
1890         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1891         Likewise.
1892         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1893         Likewise.
1895 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1897         [BZ #19776]
1898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1899         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1900         memmove-avx512-unaligned-erms.
1901         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1902         (__libc_ifunc_impl_list): Test
1903         __memmove_chk_avx512_unaligned_2,
1904         __memmove_chk_avx512_unaligned_erms,
1905         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1906         __memmove_chk_sse2_unaligned_2,
1907         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1908         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1909         __memmove_avx512_unaligned_erms, __memmove_erms,
1910         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1911         __memcpy_chk_avx512_unaligned_2,
1912         __memcpy_chk_avx512_unaligned_erms,
1913         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1914         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1915         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1916         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1917         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1918         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1919         __mempcpy_chk_avx512_unaligned_erms,
1920         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1921         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1922         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1923         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1924         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1925         __mempcpy_erms.
1926         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1927         file.
1928         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1929         Likwise.
1930         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1931         Likwise.
1932         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1933         Likwise.
1935 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1937         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1938         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1939         (La_s390_64_regs): Likewise.
1940         (La_s390_32_retval): Append vector register lrv_v24.
1941         (La_s390_64_retval): Likeweise.
1942         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1943         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1944         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1945         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1947 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1949         [BZ #19916]
1950         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1951         to create a non-vector/vector version for _dl_runtime_resolve and
1952         _dl_runtime_profile. Move implementation to ...
1953         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1954         (_dl_runtime_resolve) Save and restore fpr/vrs.
1955         (_dl_runtime_profile) Save and restore vrs and fix some issues
1956         if _dl_call_pltexit is called.
1957         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1958         Choose the correct resolver function if running on a machine with vx.
1959         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1960         to create a non-vector/vector version for _dl_runtime_resolve and
1961         _dl_runtime_profile. Move implementation to ...
1962         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1963         (_dl_runtime_resolve) Save and restore fpr/vrs.
1964         (_dl_runtime_profile) Save and restore vrs and fix some issues
1965         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1966         Choose the correct resolver function if running on a machine with vx.
1968 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1970         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1972 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1974         [BZ #19509]
1975         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1976         skip_map != NULL.
1977         * elf/tst-dlsym-error.c: New file.
1978         * elf/Makefile (tests): Add tst-dlsym-error.
1979         (tst-dlsym-error): Link against libdl.
1981 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1984         (__ASSUME_FUTIMESAT): Remove macro.
1985         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1987 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1989         [BZ #19879]
1990         CVE-2016-3075
1991         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1992         copy name.
1994 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1996         [BZ #19837]
1997         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1998         error if parse_line fails.
2000 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2002         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2003         (index_cpu_ERMS): Likewise.
2004         (reg_ERMS): Likewise.
2006 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2008         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2009         PER_LINUX_FDPIC): Add.
2011 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2013         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2014         memcpy-avx512-no-vzeroupper.
2015         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2016         to ...
2017         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2018         (MEMCPY): Don't define.
2019         (MEMCPY_CHK): Likewise.
2020         (MEMPCPY): Likewise.
2021         (MEMPCPY_CHK): Likewise.
2022         (MEMPCPY_CHK): Renamed to ...
2023         (__mempcpy_chk_avx512_no_vzeroupper): This.
2024         (MEMPCPY_CHK): Renamed to ...
2025         (__mempcpy_chk_avx512_no_vzeroupper): This.
2026         (MEMCPY_CHK): Renamed to ...
2027         (__memmove_chk_avx512_no_vzeroupper): This.
2028         (MEMCPY): Renamed to ...
2029         (__memmove_avx512_no_vzeroupper): This.
2030         (__memcpy_avx512_no_vzeroupper): New alias.
2031         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2033 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2035         [BZ #18858]
2036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2037         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2038         and mempcpy-avx512-no-vzeroupper.
2039         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2040         New.
2041         (MEMPCPY): Likewise.
2042         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2043         (MEMPCPY_CHK): New.
2044         (MEMPCPY): Likewise.
2045         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2046         (MEMPCPY): Likewise.
2047         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2048         (MEMPCPY): Likewise.
2049         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2050         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2051         Likewise.
2052         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2053         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2055 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2056              Amit Pawar  <Amit.Pawar@amd.com>
2058         [BZ #19583]
2059         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2060         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2061         processors.  Set Fast_Copy_Backward for AMD Excavator
2062         processors.
2063         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2064         New.
2065         (index_arch_Fast_Unaligned_Copy): Likewise.
2066         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2067         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2069 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2071         [BZ #19791]
2072         * resolv/res_send.c (close_and_return_error): New function.
2073         (send_dg): Initialize *resplen2 after reopen failure.  Call
2074         close_and_return_error for error returns.  On error paths without
2075         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2076         successful return.
2078 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2080         [BZ# 19860]
2081         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2082         zero if the compiler does not provide the AVX512F bit.
2084 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2086         [BZ #19848]
2087         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2088         from 8 to 4.
2089         (__ieee754_powl): Compare integer exponent against 4 not 8.
2090         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2091         from 8 to 4.
2092         (__ieee754_powl): Compare integer exponent against 4 not 8.
2093         * math/auto-libm-test-in: Add more tests of pow.
2094         * math/auto-libm-test-out: Regenerated.
2095         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2098 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2100         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2101         Make code unconditional.
2102         [!__NR_utimensat]: Remove conditional code.
2103         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2104         Make code unconditional.
2105         [!__NR_utimensat]: Remove conditional code.
2106         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2107         Make code unconditional.
2108         [!__NR_utimensat]: Remove conditional code.
2110 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2112         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2113         Make code unconditional.
2115 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2117         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2118         call-clobbered %eax on retry path.
2119         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2121 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2123         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2124         Don't set %rcx twice before "rep movsb".
2126 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2128         [BZ #19583]
2129         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2130         inline.  Check family before setting family, model and
2131         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2132         bits here.
2133         (init_cpu_features): Replace HAS_CPU_FEATURE and
2134         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2135         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2136         for Intel processors with usable AVX2.  Call get_common_indeces
2137         for other processors with family == NULL.
2138         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2139         (CPU_FEATURES_ARCH_P): Likewise.
2140         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2141         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2143 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2145         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2146         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2147         $(shared-thread-library) instead of hardcoding the path to libpthread.
2149 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2151         * sysdeps/unix/sysv/linux/kernel-features.h
2152         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2153         * sysdeps/unix/sysv/linux/getdents.c
2154         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2155         [!have_no_getdents64_defined]: Likewise.
2156         (__GETDENTS): Remove __have_no_getdents64 conditional.
2158 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2161         Remove macro.
2162         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2163         <kernel-features.h>.
2164         (signalfd) [__NR_signalfd4]: Make code unconditional.
2165         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2167 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2169         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2170         style.
2172 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2174         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2175         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2176         __pthread_unwind.
2177         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2178         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2179         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2180         (__condvar_cleanup1): Likewise.
2182 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2184         [BZ #19822]
2185         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2186         move it to the final $@ location.
2188 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2190         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2191         access where posix_spawn success and pid argument is null.
2192         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2193         success case.
2195 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2197         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2199         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2201         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2202         and __fcntl.
2203         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2204         __fcntl only.
2205         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2206         adding attribute_hidden to __open and __fcntl.
2208         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2209         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2210         depend on libc-modules.h,
2211         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2213 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2215         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2216         Remove macro.
2217         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2218         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2219         entry.
2221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2222         Remove macro.
2223         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2224         include <kernel-features.h>.
2225         [!__ASSUME_FALLOCATE]: Remove conditional code.
2226         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2228 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2230         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2231         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2232         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2233         (_ZGVdN4v_cos_avx2): Likewise.
2234         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2235         (_ZGVdN4v_cos): Likewise.
2236         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2237         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2239         (_ZGVdN4v_exp_avx2): Likewise.
2240         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2241         (_ZGVdN4v_exp): Likewise.
2242         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2243         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2244         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2245         (_ZGVdN4v_log_avx2): Likewise.
2246         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2247         (_ZGVdN4v_log): Likewise.
2248         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2249         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2250         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2251         (_ZGVdN4vv_pow_avx2): Likewise.
2252         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2253         (_ZGVdN4vv_pow): Likewise.
2254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2255         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2257         (_ZGVdN4v_sin_avx2): Likewise.
2258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2259         (_ZGVdN4v_sin): Likewise.
2260         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2261         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2262         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2263         (_ZGVdN4vvv_sincos_avx2): Likewise.
2264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2265         (_ZGVdN4vvv_sincos): Likewise.
2266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2267         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2268         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2269         (_ZGVbN4v_cosf_sse4): Likewise.
2270         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2271         (_ZGVdN8v_cosf_avx2): Likewise.
2272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2273         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2274         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2275         (_ZGVbN4v_expf_sse4): Likewise.
2276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2277         (_ZGVdN8v_expf_avx2): Likewise.
2278         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2279         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2280         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2281         (_ZGVbN4v_logf_sse4): Likewise.
2282         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2283         (_ZGVdN8v_logf_avx2): Likewise.
2284         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2285         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2286         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2287         (_ZGVbN4vv_powf_sse4): Likewise.
2288         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2289         (_ZGVdN8vv_powf_avx2): Likewise.
2290         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2291         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2292         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2293         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2294         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2295         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2296         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2297         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2298         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2299         (_ZGVbN4v_sinf_sse4): Likewise.
2300         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2301         (_ZGVdN8v_sinf_avx2): Likewise.
2302         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2303         Use JUMPTARGET to call callee.
2304         (WRAPPER_IMPL_SSE2_ff): Likewise.
2305         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2306         (WRAPPER_IMPL_AVX): Likewise.
2307         (WRAPPER_IMPL_AVX_ff): Likewise.
2308         (WRAPPER_IMPL_AVX_fFF): Likewise.
2309         (WRAPPER_IMPL_AVX512): Likewise.
2310         (WRAPPER_IMPL_AVX512_ff): Likewise.
2311         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2312         Likewise.
2313         (WRAPPER_IMPL_SSE2_ff): Likewise.
2314         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2315         (WRAPPER_IMPL_AVX): Likewise.
2316         (WRAPPER_IMPL_AVX_ff): Likewise.
2317         (WRAPPER_IMPL_AVX_fFF): Likewise.
2318         (WRAPPER_IMPL_AVX512): Likewise.
2319         (WRAPPER_IMPL_AVX512_ff): Likewise.
2320         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2322 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2324         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2325         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2326         qualifier.
2327         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2328         internal_function qualifiers.
2330 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2332         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2333         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2334         * math/atest-exp.c (exp_mpn): Mark chk unused.
2335         * math/atest-exp2.c (exp_mpn): Likwise.
2336         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2337         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2339 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2341         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2342         Remove macro.
2343         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2344         <kernel-features.h>.
2345         [__NR_ppoll]: Make code unconditional.
2346         [!__ASSUME_PPOLL]: Remove conditional code.
2348         * sysdeps/unix/sysv/linux/kernel-features.h
2349         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2350         (__ASSUME_ACCEPT4): Likewise.
2351         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2352         Define.
2353         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2354         Likewise.
2355         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2356         Likewise.
2357         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2358         Likewise.
2359         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2360         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2361         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2362         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2363         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2365         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2367         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2368         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2369         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2370         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2371         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2372         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2373         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2374         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2375         Likewise.
2376         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2377         Likewise.
2378         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2379         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2380         0x040300].
2381         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2382         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2383         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2384         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2385         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2386         0x030300].
2387         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2388         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2389         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2390         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2391         0x040300].
2392         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2394         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2395         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2396         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2397         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2398         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2399         0x030300].
2400         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2401         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2402         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2405         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2406         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2407         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2408         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2409         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2410         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2411         0x040300].
2412         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2413         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2414         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2415         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2416         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2417         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2418         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2419         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2420         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2421         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2422         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2423         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2424         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2425         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2426         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2427         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2428         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2429         Likewise.
2430         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2431         Likewise.
2433 2016-03-15  Andreas Schwab  <schwab@suse.de>
2435         [BZ #19257]
2436         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2437         statp->_u._ext.nscount as loop count.
2439 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2441         * math/test-signgam-finite-c99.c: Also #undef
2442         __LIBC_INTERNAL_MATH_INLINES.
2443         * math/test-signgam-main.c: Likewise.
2445 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2447         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2448         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2449         (MADV_FREE): Likewise.
2450         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2451         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2452         EPOLLEXCLUSIVE.
2454 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2456         * timezone/README: Remove mention of checktab.awk. Mention wiki
2457         SharedSourceFiles.
2459 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2461         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2462         WUNTRACED.
2464 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2466         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2467         order to match the type of p when calling atomic_exchange_acq().
2469 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2471         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2472         cfi_offset calls.
2473         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2474         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2475         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2476         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2477         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2479 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2481         * timezone/checktab.awk: Removed.
2483 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2485         * manual/math.texi (Errors in Math Functions): Document relaxed
2486         accuracy goals for IBM long double.
2487         * math/libm-test.inc (test_exceptions): Always allow spurious
2488         "underflow" and "inexact" exceptions for IBM long double.
2490 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2492         [BZ #19762]
2493         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2494         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2495         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2496         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2497         (bit_arch_*): This for feature array.
2498         (bit_*): Renamed to ...
2499         (bit_cpu_*): This for cpu array.
2500         (index_*): Renamed to ...
2501         (index_arch_*): This for feature array.
2502         (index_*): Renamed to ...
2503         (index_cpu_*): This for cpu array.
2504         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2505         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2506         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2507         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2508         bit_##name with index_cpu_##name and bit_cpu_##name.
2509         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2510         bit_##name with index_arch_##name and bit_arch_##name.
2512 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2514         [BZ #19792]
2515         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2516         Terminate FDE before return label.
2518 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2520         [BZ #19790]
2521         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2522         (rintl): Define as macro.
2523         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2524         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2525         of fesetround.  Ensure results are evaluated before end of scope.
2526         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2527         USE_AS_NEARBYINTL and include s_rintl.c.
2528         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2529         Disable exception traps in new environment.
2530         (libc_feholdsetround_ppc_ctx): Likewise.
2532 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2534         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2535         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2536         (tst_audit10_aux) [__AVX512F__]: ... here.
2538 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2540         * include/sys/auxv.h: New file.
2542 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2544         [BZ #19759]
2545         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2547 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2549         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2550         operand modifier.
2551         (feclearexcept): Likewise.
2553 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2555         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2556         to reflect the entire 32-bit HWCAP.
2557         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2558         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2560 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2562         [BZ #19783]
2563         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2564         $(test-via-rtld-prefix).
2565         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2567 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2569         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2570         union wait.  Report any non-zero exit status as error.
2572 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2574         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2575         configured with --enable-hardcoded-path-in-tests.
2577 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2579         [BZ #19677]
2580         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2581         (__ieee754_remainderl): Put zero low parts in canonical form.
2582         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2583         file.  Based on
2584         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2585         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2586         with wrapper round test-fmodrem-ldbl-128ibm.c.
2587         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2588         file.
2589         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2590         Likewise.
2591         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2592         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2594 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2596         [BZ #19610]
2597         * elf/ldconfig.c (opt_link): Update comment.
2598         (options): Update help string for option -X.
2599         (search_dir): Unlink stale symbolic link only if updating symbolic
2600         links.
2601         * elf/tst-ldconfig-X.sh: New file.
2602         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2603         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2605 2016-03-07  Andreas Schwab  <schwab@suse.de>
2607         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2608         needed arguments.
2610 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2612         [BZ #15333]
2613         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2614         to lstat64.
2616 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2618         * libio/filedoalloc.c (isatty): Remove.
2619         (local_isatty): Add comment.  Call __isatty directly.
2620         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2621         * libio/wfiledoalloc.c (isatty): Remove.
2622         (_IO_wfile_doallocate): Update comment.
2624 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2626         [BZ #19269]
2627         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2628         tst-audit4-aux.o.
2629         (tst-audit10): Depend on tst-audit10-aux.o.
2630         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2631         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2632         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2633         instead of inline AVX code.
2634         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2635         instead of inline AVX512 code.
2636         * sysdeps/x86_64/tst-audit4-aux.c: New file
2637         * sysdeps/x86_64/tst-audit10-aux.c: New file
2639         [BZ #19648]
2640         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2642 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2644         [BZ #14750]
2645         [BZ #10354]
2646         [BZ #18433]
2647         * include/sched.h (__clone): Add hidden prototype.
2648         (__clone2): Likewise.
2649         * include/unistd.h (__dup): Likewise.
2650         * posix/Makefile (tests): Add tst-spawn2.
2651         * posix/tst-spawn2.c: New file.
2652         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2653         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2654         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2655         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2656         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2657         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2658         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2659         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2660         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2661         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2662         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2664         Likewise.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2666         Likewise.
2667         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2668         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2669         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2670         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2671         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2672         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2673         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2674         * sysdeps/unix/sysv/linux/nptl-signals.h
2675         (____nptl_is_internal_signal): New function.
2676         * sysdeps/unix/sysv/linux/spawni.c: New file.
2678         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2679         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2680         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2681         * posix/tst-execvp2.c (do_test): Likewise.
2682         * posix/tst-execvp3.c (do_test): Likewise.
2683         * posix/tst-execvp4.c (do_test): Likewise.
2684         * posix/tst-execvpe1.c: New file.
2685         * posix/tst-execvpe2.c: Likewise.
2686         * posix/tst-execvpe3.c: Likewise.
2687         * posix/tst-execvpe4.c: Likewise.
2688         * posix/tst-execvpe5.c: Likewise.
2689         * posix/tst-execvpe6.c: Likewise.
2691         [BZ #19534]
2692         * posix/execl.c (execl): Remove dynamic memory allocation.
2693         * posix/execle.c (execle): Likewise.
2694         * posix/execlp.c (execlp): Likewise.
2696 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2698         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2699         Replace .text with .text.avx512.
2700         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2701         Likewise.
2703 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2705         * sysdeps/generic/libnsl.abilist: New file.
2706         * sysdeps/generic/libutil.abilist: New file.
2708 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2710         [BZ #19762]
2711         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2712         HAS_ARCH_FEATURE with Fast_Rep_String.
2713         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2714         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2715         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2716         Likewise.
2717         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2718         Likewise.
2719         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2720         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2721         Likewise.
2722         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2723         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2724         Likewise.
2726 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2728         [BZ #19745]
2729         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2730         with *%rax in call.
2732 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2734         [BZ #19745]
2735         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2736         with *__libc_start_main@GOTPCREL(%rip) in call.
2738 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2740         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2741         inside conditional for nonempty $(CXX).
2743         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2744         nonempty.
2746         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2747         to test for empty $(CXX) rather than $(CXX) of "no".
2749 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2751         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2753 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2754             H.J. Lu  <hongjiu.lu@intel.com>
2756         [BZ #18880]
2757         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2758         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2759         enable __memcpy_ssse3_back.
2761 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2763         [BZ #19758]
2764         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2765         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2767 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2769         [BZ #19490]
2770         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2771         (__fentry__): Likewise.
2773 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2775         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2776         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2778 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2780         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2781         __mcount_internal directly.
2782         (C_LABEL(__fentry__)): Likewise.
2783         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2784         directly.
2786 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2788         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2789         (__start_context): Call __setcontext directly.
2791 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2793         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2794         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2795         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2796         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2798         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2799         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2800         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2801         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2802         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2803         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2804         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2805         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2806         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2807         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2808         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2809         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2810         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2811         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2812         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2813         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2814         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2815         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2816         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2817         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2818         Remove conditional code.
2819         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2820         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2821         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2822         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2823         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2824         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2825         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2826         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2827         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2828         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2830         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2832 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2834         * NEWS (2.23): Fix typo in bug 19048 text.
2836 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2838         [BZ #14259]
2839         * Makeconfig: Rename msgcatdir to localedir.
2840         Rename inst_msgcatdir to inst_localedir.
2841         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2842         * config.make.in: Add localedir.
2843         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2844         (ldd-rewrite): Likewise.
2845         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2846         (install-others): Use inst_localedir.
2847         (CPPFLAGS): Use localedir.
2848         * locale/Makefile (locale-CPPFLAGS): Likewise.
2849         * po/Makefile (mo-installed): Use inst_localedir.
2851         [BZ #19575]
2852         * localedata/charmaps/GB18030: Update comments regarding PAU to
2853         non-PUA mappings.
2855 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2857         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2858         test for header.
2859         * sysdeps/unix/sysv/linux/configure: Regenerated.
2860         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2861         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2862         Remove conditional code.
2863         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2865         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2866         Define to 3.2.0.
2867         (arch_minimum_kernel): Likewise.
2868         * sysdeps/unix/sysv/linux/configure: Regenerated.
2869         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2870         Define to 2.6.32.
2871         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2872         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2873         (arch_minimum_kernel): Define to 2.6.32.
2874         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2875         * README: Document Linux 3.2 requirement.
2876         * manual/install.texi (Linux): Document Linux 3.2 headers
2877         requirement.
2878         * INSTALL: Regenerated.
2880 2016-02-24  Andreas Schwab  <schwab@suse.de>
2882         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2883         if !NO_LONG_DOUBLE.
2885 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2887         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2888         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2890 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2892         [BZ #19512]
2893         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2895 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2897         * posix/tst-dir.c: Include libc-internal.h.
2899 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2901         [BZ #19056]
2902         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2903         * manual/filesys.texi (Reading/Closing Directory): Mention
2904         deprecaion.
2905         * posix/tst-dir.c (main): Disable deprecation warning in test.
2907 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2909         [BZ #19679]
2910         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2911         Renamed to ...
2912         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2913         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2914         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2915         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2916         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2917         * sysdeps/x86_64/dl-trampoline.h
2918         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2919         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2921 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2923         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2925 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2927         * elf/elf.h (R_386_GOT32X): New.
2928         (R_386_NUM): Update.
2929         (R_X86_64_GOTPCRELX: New.
2930         (R_X86_64_REX_GOTPCRELX): New.
2931         (R_X86_64_NUM): Update.
2933 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2935         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2937 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2939         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2940         assign attr->stackaddr to it, and adjust it down when
2941         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2942         [_STACK_GROWS_UP]: Delete assert.
2943         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2944         Implement stack grows up logic.
2945         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2946         stack grows up logic.
2948 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2950         * NEWS: Update with 2.24 template.
2952 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2954         [BZ #19678]
2955         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2956         Ensure +0.0 is returned when taking the next value below the least
2957         positive value.
2959 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2961         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2962         available.  Do not define NO_THREADS.
2963         * malloc/malloc.c: Do not check NO_THREADS.
2964         * malloc/arena.c: Likewise.
2966 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2968         * malloc/malloc.c (__libc_mallinfo): Update comment.
2969         (struct malloc_par): Remove max_total_mem member, it was always 0.
2970         (int_mallinfo): Store 0 into usmblks (no functional change).
2971         * malloc/hooks.c (struct malloc_state): Document that
2972         max_total_mem is always 0.
2973         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2974         always 0.
2975         * manual/memory.texi (Statistics of Malloc): Likewise.
2977 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2979         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2980         * malloc/arena.c (arena_max): Remove.
2981         (heap_trim, _int_new_arena): Do not update arena_max.
2983 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2985         * resolv/res_init.c (res_ninit): Update comment.
2987 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2989         [BZ #19505]
2990         * posix/spawn_int.h: Add headers and include guard.
2991         (__spawn_valid_fd): New function.
2992         * posix/spawn_faction_addopen.c
2993         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2994         * posix/spawn_faction_addclose.c
2995         (posix_spawn_file_actions_addclose): Likewise.
2996         * posix/spawn_faction_adddup2.c
2997         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2998         second file descriptor.
2999         * posix/spawn_valid_fd.c: New file.
3000         * posix/tst-posix_spawn-fd.c: New file.
3001         * posix/Makefile (routines): Add spawn_valid_fd.
3002         (tests): Add tst-posix_spawn-fd.
3004 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3006         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3007         (do_test): Limit the number of arenas, so that we can use fewer
3008         outer threads.  Limit timeout to 3 seconds, in preparation for a
3009         larger TIMEOUT value.
3011 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3013         [BZ #19674]
3014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3015         sign in overflowing and underflowing results when overflow or
3016         underflow is detected early.  Include sign in result before rather
3017         than after scaling.
3019         [BZ #19603]
3020         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3021         (__ieee754_remainderl): Adjust sign of integer version of low part
3022         when taking absolute value of high part.
3023         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3024         * math/libm-test.inc (remainder_test_data): Add another test.
3025         (remquo_test_data): Likewise.
3027 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3029         [BZ #19602]
3030         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3031         equal high parts and both low parts zero specially.
3032         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3033         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3034         Add test-fmodl-ldbl-128ibm.
3036         [BZ #19595]
3037         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3038         common logic for all cases of shifting subnormal results.  Do not
3039         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3040         exponent to ldbl_insert_mantissa in subnormal case.
3042         [BZ #19594]
3043         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3044         on high and low parts then adjust result and use
3045         ldbl_canonicalize_int if needed.
3047         [BZ #19593]
3048         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3049         on high part and __floor or __ceil on low part then use
3050         ldbl_canonicalize_int if needed.
3052         [BZ #19592]
3053         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3054         high and low parts then use ldbl_canonicalize_int if needed.
3056         [BZ #17899]
3057         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3058         New function.
3059         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3060         on high and low parts then use ldbl_canonicalize_int if needed.
3062 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3064         * configure: Regenerated.
3066         * po/libc.pot: Regenerated.
3068         * po/be.po: Updated translation.
3069         * po/bg.po: Likewise.
3070         * po/ca.po: Likewise.
3071         * po/cs.po: Likewise.
3072         * po/da.po: Likewise.
3073         * po/el.po: Likewise.
3074         * po/eo.po: Likewise.
3075         * po/es.po: Likewise.
3076         * po/fi.po: Likewise.
3077         * po/fr.po: Likewise.
3078         * po/gl.po: Likewise.
3079         * po/hr.po: Likewise.
3080         * po/hu.po: Likewise.
3081         * po/ia.po: Likewise.
3082         * po/id.po: Likewise.
3083         * po/it.po: Likewise.
3084         * po/ja.po: Likewise.
3085         * po/lt.po: Likewise.
3086         * po/nb.po: Likewise.
3087         * po/nl.po: Likewise.
3088         * po/pt_BR.po: Likewise.
3089         * po/rw.po: Likewise.
3090         * po/sk.po: Likewise.
3091         * po/sl.po: Likewise.
3092         * po/sv.po: Likewise.
3093         * po/tr.po: Likewise.
3094         * po/zh_CN.po: Likewise.
3095         * po/zh_TW.po: Likewise.
3097         * version.h (RELEAES): Set to "development".
3098         (VERSION): Set to 2.23.90.
3100         * version.h (RELEASE): Set to "stable".
3101         (VERSION): Set to 2.23.
3102         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3104         * NEWS: Updated fixed bugs.
3106 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3107             Wilco Dijkstra  <wdijkstr@arm.com>
3109         [BZ #19462]
3110         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3111         (_STRING_INLINE_unaligned): This.
3112         * include/string.h: Include <string_private.h>.
3113         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3114         _STRING_INLINE_unaligned.
3115         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3116         (_STRING_INLINE_unaligned): New.
3117         * sysdeps/aarch64/string_private.h: New file.
3118         * sysdeps/generic/string_private.h: Likewise.
3119         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3120         * sysdeps/s390/string_private.h: Likewise.
3121         * sysdeps/x86/string_private.h: Likewise.
3122         * sysdeps/m68k/m680x0/m68020/bits/string.h
3123         (_STRING_ARCH_unaligned): Renamed to ...
3124         (_STRING_INLINE_unaligned): This.
3125         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3126         to ...
3127         (_STRING_INLINE_unaligned): This.
3128         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3129         to ...
3130         (_STRING_INLINE_unaligned): This.
3131         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3132         to ...
3133         (_STRING_INLINE_unaligned): This.
3135 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3136             H.J. Lu  <hongjiu.lu@intel.com>
3138         [BZ #19590]
3139         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3140         relocation.
3142 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3144         [BZ #18665]
3145         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3146         *herrno_p.
3147         (gaih_getanswer): Document functional behviour. Return tryagain
3148         if any result is tryagain.
3149         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3150         when freed.
3151         * resolv/res_send.c: Add copyright text.
3152         (__libc_res_nsend): Document that MAXPACKET is expected.
3153         (send_vc): Document. Remove buffer reuse.
3154         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3155         size of the buffer. Add Dprint for truncated UDP buffer.
3157 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3159         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3160         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3161         * INSTALL: Regenerate.
3163 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3164             Jonathan Wakely  <jwakely@redhat.com>
3165             Carlos O'Donell  <carlos@redhat.com>
3167         [BZ 19439]
3168         * math/Makefile (tests): Add test-math-isinff.
3169         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3170         * math/bits/mathcalls.h [__USE_MISC]: Use
3171         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3172         functions not in C++11 and which don't conflict e.g. isinff,
3173         isinfl etc.
3174         * math/test-math-isinff.cc: New file.
3176 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3178         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3180 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3182         [BZ #19529]
3183         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3185 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3187         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3189 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #19550]
3192         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3193         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3194         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3195         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3196         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3197         New syscall entry.
3198         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3199         New syscall entry.
3200         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3201         syscall entry.
3203 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3205         [BZ #18240]
3206         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3207         unsigned int wraparound.
3209 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3211         [BZ #18240]
3212         * misc/bug18240.c: New test.
3213         * misc/Makefile (tests): Add it.
3215 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3216             Joseph Myers  <joseph@codesourcery.com>
3218         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3219         load in branch delay slot when less than a word of input left.
3221 2016-01-27  Andreas Schwab  <schwab@suse.de>
3223         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3224         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3225         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3226         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3228 2016-01-26  David S. Miller  <davem@davemloft.net>
3230         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3232 2016-01-25  David S. Miller  <davem@davemloft.net>
3234         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3235         __sqrtl_finite.
3236         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3237         instead using versioned_symbol.
3238         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3239         of entries.
3241         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3242         __sqrtl_finite to GLIBC_2.23
3244 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3246         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3248 2016-01-25  Andreas Schwab  <schwab@suse.de>
3250         [BZ #17514]
3251         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3252         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3253         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3254         * nptl/tst-mutex-errorcheck.c: New file.
3256 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3258         [BZ #18560]
3259         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3260         (IPCOP_semop): Likewise.
3261         (IPCOP_semget): Likewise.
3262         (IPCOP_semctl): Likewise.
3263         (IPCOP_msgsnd): Likewise.
3264         (IPCOP_msgrcv): Likewise.
3265         (IPCOP_msgget): Likewise.
3266         (IPCOP_msgctl): Likewise.
3267         (IPCOP_shmat): Likewise.
3268         (IPCOP_shmdt): Likewise.
3269         (IPCOP_shmget): Likewise.
3270         (IPCOP_shmctl): Likewise.
3272 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3274         * string/tst-endian.c: Include <libc-internal.h>.
3275         (do_test): Ignore tautological-compare warnings around
3276         "htobeXX (beXXtoh (i)) != i" and
3277         "htoleXX (leXXtoh (i)) != i" if-statements.
3279 2016-01-24  David S. Miller  <davem@davemloft.net>
3281         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3282         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3283         alias.
3284         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3285         __sqrtl_finite.
3287         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3289 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3291         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3292         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3293         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3295 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3297         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3298         (thread_func): Use new function to simplify barrier check.
3299         (do_test): Use new function to simplify checking barrier exit
3300         code, and actually join the child thread.
3302 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3304         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3305         semicolon.
3306         (__libc_tend): Likewise.
3307         (__libc_tabort): Likewise.
3309 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3311         * sysdeps/nios2/libm-test-ulps: Update.
3312         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3313         (__gtsf2): Likewise.
3314         (__unorddf2): Likewise.
3315         (__unordsf2): Likewise.
3316         (__ledf2): Likewise.
3318 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3320         * nis/nis_table.c (__follow_path): Disable diagnostic for
3321         uninitialized variable that is a false positive for gcc 4.7.
3322         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3324 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3326         * sysdeps/nacl/lowlevellock-futex.h
3327         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3328         Always evaluate PRIVATE argument.
3330 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3332         [BZ #19490]
3333         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3334         (pthread_cond_broadcast): Use ENTRY/END
3335         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3336         (pthread_cond_signal): Likewise.
3337         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3338         Likewise.
3339         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3340         Likewise.
3341         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3342         Likewise.
3344 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3346         * sysdeps/ieee754/dbl-64/s_finite.c
3347         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3348         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3349         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3350         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3351         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3354         (__gtsf2): Add as optional for libc.so.
3355         (__unordsf2): Likewise.
3356         (__signbit): Remove for libc.so.
3357         (__signbitl): Likewise.
3359 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3361         * iconvdata/bug-iconv11.c (test_ibm93x):
3362         Use %zu printf format specifier for size_t argument.
3364 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3366         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3367         already-recorded ulps.
3368         * sysdeps/arm/libm-test-ulps: Regenerated.
3369         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3370         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3371         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3373 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3374             Paul Pluzhnikov  <ppluzhnikov@google.com>
3376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3377         assembler not supporting AVX-512.
3379 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3381         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3383 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3385         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3386         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3388         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3390         * sysdeps/arm/libm-test-ulps: Regenerated.
3392 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3394         [BZ #19451]
3395         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3397 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3399         [BZ #19486]
3400         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3401         * sysdeps/generic/fix-fp-int-convert-overflow.h
3402         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3403         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3404         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3405         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3406         Likewise.
3407         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3408         Avoid conversions to long int where inexact exceptions
3409         could be raised.
3410         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3411         Likewise.
3412         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3413         Avoid conversions to long long int where inexact exceptions
3414         could be raised.
3415         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3416         Likewise.
3418 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3420         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3421         * configure: Regenerated.
3423 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3425         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3427 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3429         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3430         outside of comment.
3432 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3434         * nptl/tst-barrier1.c: Add description on first line.
3435         * nptl/tst-barrier2.c: Likewise.
3436         * nptl/tst-barrier3.c: Likewise.
3437         * nptl/tst-barrier4.c: Likewise.
3438         * nptl/tst-barrier5.c: Likewise.
3440 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3442         [BZ #18868]
3443         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3445 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3447         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3448         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3449         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3450         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3451         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3452         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3453         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3454         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3455         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3456         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3457         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3459 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3461         [BZ #13065]
3462         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3463         new implementation.
3464         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3465         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3466         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3467         (BARRIER_IN_THRESHOLD): New macro.
3468         * nptl/pthread_barrierattr_setpshared.c
3469         (pthread_barrierattr_setpshared): Clean up.
3470         * nptl/tst-barrier4.c: Correct comment.
3471         * nptl/tst-barrier5.c: New file.
3472         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3473         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3474         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3475         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3476         * nptl/lowlevelbarrier.sym: Remove.
3477         * nptl/DESIGN-barrier.txt: Remove.
3478         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3479         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3480         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3481         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3482         error.
3483         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3484         implementation.
3486 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3488         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3489         (do_child): Mask SIGRTMIN while thr is running.
3491 2016-01-15  Martin Sebor  <msebor@redhat.com>
3493         [BZ #19432]
3494         * iconvdata/Makefile: Add bug-iconv11.
3495         * iconvdata/bug-iconv11.c: New test.
3496         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3497         * iconvdata/ibm933.c: Same.
3498         * iconvdata/ibm935.c: Same.
3499         * iconvdata/ibm937.c: Same.
3500         * iconvdata/ibm939.c: Same.
3502 2016-01-15  Martin Sebor  <msebor@redhat.com>
3504         [BZ #19443]
3505         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3506         [DEBUG] (_ufc_set_bits): Declare used.
3507         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3508         [DEBUG] (print_all): Declare used.
3509         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3510         operands of the ternary ?: expression to target type.
3511         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3512         calling the undeclared abort.
3513         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3515 2016-01-15  Martin Sebor  <msebor@redhat.com>
3517         [BZ #18755]
3518         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3519         warnings.
3520         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3521         (__gai_create_helper_thread): Same.
3522         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3523         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3524         to suppress -Wmaybe-uninitialized warnings.
3526 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3528         [BZ #19465]
3529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3530         inside if.
3531         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3532         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3533         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3535 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3537         [BZ #19466]
3538         * time/tst-mktime2.c (time_t_max): Removed.
3539         (time_t_min): Likewise.
3540         (TYPE_SIGNED): New.
3541         (TYPE_MINIMUM): Likewise.
3542         (TYPE_MAXIMUM): Likewise.
3543         (TIME_T_MIN): Likewise.
3544         (TIME_T_MAX): Likewise.
3545         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3546         and TIME_T_MIN.
3547         (do_test): Likewise.
3549 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3551         [BZ #19467]
3552         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3553         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3555 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3557         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3559 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3561         * benchtests/Makefile (PYTHON): Define.
3562         (bench-func): Use $(PYTHON) to run python scripts.
3563         ($(objpfx)bench-%.c): Likewise.
3565 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3567         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3568         leading slash when `file_name' is "/".
3570 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3572         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3573         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3574         Likewise.
3575         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3576         Likewise.
3577         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3578         Likewise.
3579         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3580         enum constant and macro.
3581         (PTRACE_SETSIGMASK): Likewise.
3582         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3583         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3584         (PTRACE_GETSIGMASK): Likewise.
3585         (PTRACE_SETSIGMASK): Likewise.
3586         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3587         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3588         Likewise.
3589         (PTRACE_SETSIGMASK): Likewise.
3590         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3591         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3592         (PTRACE_GETSIGMASK): Likewise.
3593         (PTRACE_SETSIGMASK): Likewise.
3594         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3596         Likewise.
3597         (PTRACE_SETSIGMASK): Likewise.
3598         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3599         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3600         Likewise.
3601         (PTRACE_SETSIGMASK): Likewise.
3602         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3603         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3604         Likewise.
3605         (PTRACE_SETSIGMASK): Likewise.
3606         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3608 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3609             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3611         [BZ #19439]
3612         * math/bits/mathcalls.h
3613         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3614         prototype.
3615         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3617 2016-01-11  Andreas Schwab  <schwab@suse.de>
3619         [BZ #19253]
3620         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3621         cache when TZDEFRULES was used.
3622         * time/tst-tzname.c: New file.
3623         * time/Makefile (test): Add tst-tzname.
3624         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3625         * timezone/Makefile (test-zones): Add $(posixrules-file).
3626         ($(testdata)/$(posixrules-file)): New rule.
3628 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3630         Fix doc quoting problems with Texinfo 5
3631         Without this change, in the info file output, Texinfo 5 quotes code
3632         in text with undirected single quotes 'like this' and generates
3633         code examples that with many PDF readers cannot be cut out of PDFs
3634         and pasted into code.
3635         * manual/libc.texinfo: Configure the libc manual like the GNU
3636         Emacs manual, by using @documentencoding and setting
3637         txicodequoteundirected and txicodequotebacktick.  This way,
3638         Texinfo 5 quotes code in text with directed single quotes ‘like
3639         this’ and produces examples that can be cut out of PDFs.  This
3640         change causes Texinfo 5 to generate info files that contain UTF-8
3641         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3642         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3644 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3646         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3647         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3648         barriers to their respective compiler built-ins.
3649         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3650         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3651         * sysdeps/powerpc/sysdep.h: Likewise.
3652         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3653         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3654         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3656 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3658         * scripts/config.guess: Revert previous shebang change.
3659         * scripts/config.sub: Likewise.
3660         * scripts/mkinstalldirs: Likewise.
3662 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3664         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3665         PPC_FEATURE2_HAS_IEEE128.
3666         * sysdeps/powerpc/dl-procinfo.c:
3667         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3669 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3671         [BZ #19415]
3672         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3673         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3674         (_dl_lookup_address): Rewrite using function resolver trampoline.
3675         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3676         two bits in address.
3678 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3680         * longlong.h: Change !__SHMEDIA__ to
3681         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3682         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3684 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3685             Joseph Myers  <joseph@codesourcery.com>
3686             Mark Shinwell  <shinwell@codesourcery.com>
3687             Andrew Stubbs  <ams@codesourcery.com>
3688             Rich Felker <dalias@libc.org>
3690         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3692 2016-01-07  Richard Henderson  <rth@redhat.com>
3694         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3696 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3698         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3699         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3700         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3701         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3702         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3704 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3705             Joseph Myers  <joseph@codesourcery.com>
3707         * timezone/private.h: Update from tzcode 2015g.
3708         * timezone/tzfile.h: Likewise.
3709         * timezone/tzselect.ksh: Likewise.
3710         * timezone/zdump.c: Likewise.
3711         * timezone/zic.c: Likewise.
3712         * timezone/ialloc.c: Remove file.
3713         * timezone/scheck.c: Likewise.
3714         * timezone/Makefile (extra-objs): Remove variable.
3715         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3716         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3717         -Wno-maybe-uninitialized.
3718         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3719         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3720         (CFLAGS-ialloc.c): Remove variable.
3721         (CFLAGS-scheck.c): Likewise.
3722         * timezone/README: Update list of files from tzcode.
3724 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3726         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3727         instead of __fxprintf when _LIBC is undefined.
3729 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3731         * catgets/test-gencat.sh: Remove space after shebang.
3732         * conform/GlibcConform.pm: Likewise.
3733         * conform/check-header-lists.sh: Likewise.
3734         * conform/conformtest.pl: Likewise.
3735         * conform/linknamespace.pl: Likewise.
3736         * conform/list-header-symbols.pl: Likewise.
3737         * debug/catchsegv.sh: Likewise.
3738         * elf/genrtldtbl.awk: Likewise.
3739         * elf/tst-pathopt.sh: Likewise.
3740         * elf/tst-rtld-load-self.sh: Likewise.
3741         * grp/tst_fgetgrent.sh: Likewise.
3742         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3743         * iconvdata/gen-8bit-gap.sh: Likewise.
3744         * iconvdata/gen-8bit.sh: Likewise.
3745         * iconvdata/run-iconv-test.sh: Likewise.
3746         * intl/tst-gettext.sh: Likewise.
3747         * intl/tst-gettext2.sh: Likewise.
3748         * intl/tst-gettext4.sh: Likewise.
3749         * intl/tst-gettext6.sh: Likewise.
3750         * intl/tst-translit.sh: Likewise.
3751         * io/ftwtest-sh: Likewise.
3752         * libio/test-freopen.sh: Likewise.
3753         * locale/gen-translit.pl: Likewise.
3754         * malloc/tst-mtrace.sh: Likewise.
3755         * manual/check-safety.sh: Likewise.
3756         * manual/libc-texinfo.sh: Likewise.
3757         * manual/tsort.awk: Likewise.
3758         * manual/xtract-typefun.awk: Likewise.
3759         * nptl/tst-cancel-wrappers.sh: Likewise.
3760         * nptl/tst-tls6.sh: Likewise.
3761         * posix/globtest.sh: Likewise.
3762         * posix/tst-getconf.sh: Likewise.
3763         * posix/wordexp-tst.sh: Likewise.
3764         * scripts/check-c++-types.sh: Likewise.
3765         * scripts/check-local-headers.sh: Likewise.
3766         * scripts/config.guess: Likewise.
3767         * scripts/config.sub: Likewise.
3768         * scripts/cpp: Likewise.
3769         * scripts/cross-test-ssh.sh: Likewise.
3770         * scripts/documented.sh: Likewise.
3771         * scripts/evaluate-test.sh: Likewise.
3772         * scripts/gen-libc-abis: Likewise.
3773         * scripts/gen-sorted.awk: Likewise.
3774         * scripts/list-fixed-bugs.py: Likewise.
3775         * scripts/merge-test-results.sh: Likewise.
3776         * scripts/mkinstalldirs: Likewise.
3777         * scripts/rellns-sh: Likewise.
3778         * scripts/test-installation.pl: Likewise.
3779         * scripts/update-copyrights: Likewise.
3780         * stdio-common/tst-printf.sh: Likewise.
3781         * stdio-common/tst-unbputc.sh: Likewise.
3782         * stdlib/tst-fmtmsg.sh: Likewise.
3783         * stdlib/tst-setcontext3.sh: Likewise.
3784         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3785         * sysdeps/unix/make-syscalls.sh: Likewise.
3787 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3789         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3790         asm stw with atomic_exchange_rel.  Add explanatory comment.
3791         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3792         Likewise.
3794 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3796         [BZ #19122]
3797         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3798         * sysdeps/generic/dl-unistd.h: New file.
3799         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3801 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3803          [BZ #19122]
3804          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3805          * sysdeps/generic/dl-mman.h: New file.
3806          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3808 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3810         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3811         trailing whitespace removed.
3812         * scripts/config.guess: Update to version 2016-01-01.
3813         * scripts/config.sub: Update to version 2016-01-01.
3814         * scripts/move-if-change: Update from gnulib.
3816 2016-01-04  Anton Blanchard  <anton@samba.org>
3818         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3819         for array indices.
3820         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3822 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3824         * NEWS: Update copyright dates.
3825         * catgets/gencat.c (print_version): Likewise.
3826         * csu/version.c (banner): Likewise.
3827         * debug/catchsegv.sh: Likewise.
3828         * debug/pcprofiledump.c (print_version): Likewise.
3829         * debug/xtrace.sh (do_version): Likewise.
3830         * elf/ldconfig.c (print_version): Likewise.
3831         * elf/ldd.bash.in: Likewise.
3832         * elf/pldd.c (print_version): Likewise.
3833         * elf/sotruss.sh: Likewise.
3834         * elf/sprof.c (print_version): Likewise.
3835         * iconv/iconv_prog.c (print_version): Likewise.
3836         * iconv/iconvconfig.c (print_version): Likewise.
3837         * locale/programs/locale.c (print_version): Likewise.
3838         * locale/programs/localedef.c (print_version): Likewise.
3839         * login/programs/pt_chown.c (print_version): Likewise.
3840         * malloc/memusage.sh (do_version): Likewise.
3841         * malloc/memusagestat.c (print_version): Likewise.
3842         * malloc/mtrace.pl: Likewise.
3843         * manual/libc.texinfo: Likewise.
3844         * nptl/version.c (banner): Likewise.
3845         * nscd/nscd.c (print_version): Likewise.
3846         * nss/getent.c (print_version): Likewise.
3847         * nss/makedb.c (print_version): Likewise.
3848         * posix/getconf.c (main): Likewise.
3849         * scripts/test-installation.pl: Likewise.
3850         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3852         * All files with FSF copyright notices: Update copyright dates
3853         using scripts/update-copyrights.
3854         * intl/plural.c: Regenerated.
3855         * locale/programs/charmap-kw.h: Likewise.
3856         * locale/programs/locfile-kw.h: Likewise.
3858 2016-01-02  Helge Deller  <deller@gmx.de>
3860         [BZ #19285]
3861         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3862         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3863         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3864         (MADV_xxK_PAGES): Remove.
3866 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3868         [BZ #15421]
3869         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3870         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3871         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3872         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3874 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3876         [BZ #19408]
3877         * sysdeps/unix/sysv/linux/personality.c: New file.
3878         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3879         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3880         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3881         (sysdep_routines): Add personality.
3882         (tests): Add tst-personality.
3883         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3885         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3886         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3887         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3888         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3889         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3894         Likewise.
3895         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3896         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3897         Likewise.
3899 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3901         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3902         (PATH_ARM_SYSTYPE): Remove.
3903         (PATH_CPUINFO): Likewise.
3904         (IO_BASE_FOOTBRIDGE): Likewise.
3905         (IO_SHIFT_FOOTBRIDGE): Likewise.
3906         (struct platform): Likewise.
3907         (init_iosys): Remove compatibility code for 2.4 kernels.
3908         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3910 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3912         * malloc/tst-malloc-thread-fail.c: New file.
3913         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3914         (tst-malloc-thread-fail): Link against libpthread.
3916 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3918         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3919         (get_parser): New function.
3920         (main): New function.
3922 2015-12-29  Rob Wu  <rob@robwu.nl>
3924         [BZ #19369]
3925         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3927 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3929         [BZ #19270]
3930         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3932 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3934         [BZ #15421]
3935         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3937 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3939         [BZ #13690]
3940         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3941         after releasing it.
3942         (__lll_robust_unlock): Likewise.
3943         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3944         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3945         (lll_robust_unlock): Likewise.
3946         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3947         Prevent warnings in callers.
3949 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3951         * malloc/arena.c (list_lock): Update comment.
3953 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3955         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3956         __parse_hwcap_and_convert_at_platform to libc.a.
3958 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3960         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3961         platform and feature support for POWER9.
3962         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3963         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3964         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3965         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3966         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3967         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3968         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3969         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3971 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3973         Harmonize generic stdio-lock support with nptl
3975         This fixes build when _IO_funlockfile is a macro, fixes build where
3976         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3977         stack unwind.
3979         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3980         _IO_release_lock ): Use cleanup attribute on new
3981         _IO_acquire_lock_file variable instead of assuming that
3982         _IO_release_lock will be called.
3983         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3984         _IO_acquire_lock_needs_exceptions_enabled.
3985         (_IO_acquire_lock_clear_flags2): New macro.
3987 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3989         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3991 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3993         [BZ #19182]
3994         * malloc/arena.c (list_lock): Document lock ordering requirements.
3995         (free_list_lock): New lock.
3996         (ptmalloc_lock_all): Comment on free_list_lock.
3997         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3998         (detach_arena): Update comment.  free_list_lock is now needed.
3999         (_int_new_arena): Use free_list_lock around detach_arena call.
4000         Acquire arena lock after list_lock.  Add comment, including FIXME
4001         about incorrect synchronization.
4002         (get_free_list): Switch to free_list_lock.
4003         (reused_arena): Acquire free_list_lock around detach_arena call
4004         and attached threads counter update.  Add two FIXMEs about
4005         incorrect synchronization.
4006         (arena_thread_freeres): Switch to free_list_lock.
4007         * malloc/malloc.c (struct malloc_state): Update comments to
4008         mention free_list_lock.
4010 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4012         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4013         Remove functions.
4014         (sloww, sloww1): Accept argument to offset quadrant.
4015         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4016         quadrant.
4017         (__sin, __cos): Consolidate common code into new functions.
4018         (reduce_sincos_1, do_sincos_1): New functions.
4019         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4021         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4022         code to new functions.
4023         (reduce_sincos_2, do_sincos_2): New functions.
4024         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4027         common code for sincos.
4028         (__cos) [!IN_SINCOS]: Likewise.
4029         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4030         New function.
4031         (__sincos): Use it.
4033 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4035         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4036         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4037         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4039 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4041         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4044         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4045         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4046         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4047         index_Prefer_No_VZEROUPPER): New feature.
4048         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4049         Prefer_No_VZEROUPPER for Knights Landing.
4051 015-12-18  Torvald Riegel  <triegel@redhat.com>
4053         * math/atest-exp2.c (mp_exp_m1): Remove.
4055 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4057         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4058         syscalls.
4059         (__SYSCALL0): New macro.
4060         (__SYSCALL1): Likewise.
4061         (__SYSCALL2): Likewise.
4062         (__SYSCALL3): Likewise.
4063         (__SYSCALL4): Likewise.
4064         (__SYSCALL5): Likewise.
4065         (__SYSCALL6): Likewise.
4066         (__SYSCALL_CONCAT_X): Likewise.
4067         (__SYSCALL_CONCAT): Likewise.
4068         (__SYSCALL_DIST): Likewise.
4069         (__SYSCALL_CALL): Likewise.
4071 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4073         [BZ #19363]
4074         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4076 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4078         [BZ #19375]
4079         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4080         negative subnormals.
4082 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4085         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4086         (INTERNAL_SYSCALL_NCS): Use it.
4087         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4089 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4091         [BZ #19243]
4092         * malloc/arena.c (get_free_list): Remove assert and adjust
4093         reference count handling.  Add comment about reused_arena
4094         interaction.
4095         (reused_arena): Add comments abount get_free_list interaction.
4096         * malloc/tst-malloc-thread-exit.c: New file.
4097         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4098         (tst-malloc-thread-exit): Link against libpthread.
4100 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4102         [BZ #19367]
4103         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4104         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4105         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4106         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4107         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4109 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4111         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4112         Silvermont optimizations for Knights Landing.
4114 2015-12-15  Andreas Schwab  <schwab@suse.de>
4116         [BZ #17197]
4117         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4118         immediately after emitting SI.
4119         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4120         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4121         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4122         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4123         * iconvdata/bug-iconv10.c: New file.
4124         * iconvdata/Makefile (tests): Add bug-iconv10.
4125         ($(objpfx)bug-iconv10.out): New rule.
4127 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4129         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4130         aliasing violation.
4132 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4134         [BZ #18472]
4135         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4136         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4137         conditionals for them.
4138         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4139         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4141         sys/kdaemon.h.
4142         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4143         compat-only syscall, obsoleted in glibc 2.23.
4144         (create_module): Likewise.
4145         (get_kernel_syms): Likewise.
4146         (query_module): Likewise.
4147         (uselib): Likewise.
4148         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4150 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4152         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4153         <linux/version.h>.
4154         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4155         conditional code.
4156         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4157         and ioshift_name initialization.
4159 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4161         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4162         Fix indentation.
4164 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4166         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4168 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4170         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4172 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4173             Jakub Wilk  <jwilk@debian.org>
4175         [BZ #19347]
4176         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4177         to change the group of the device to the tty group.
4179 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4181         Split large string section; add truncation advice
4182         * manual/examples/strncat.c: Remove.
4183         This example was misleading, as the code would have undefined
4184         behavior if "hello" was longer than SIZE.  Anyway, the manual
4185         shouldn't encourage strncpy+strncat for this sort of thing.
4186         * manual/string.texi (Copying Strings and Arrays): Split into
4187         three sections Copying Strings and Arrays, Concatenating Strings,
4188         and Truncating Strings, as this section was way too long.  All
4189         cross-referenced changed.  Add advice about string-truncation
4190         functions.  Remove misleading strncat example.
4192 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4194         * manual/nss.texi (NSS Modules Interface): Document
4195         NSS_STATUS_NOTFOUND and SUCCESS.
4197 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4199         [BZ 18568]
4200         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4201         201505L, for Unicode 8.
4203 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4205         * locale/C-translit.h: Regenerate.
4207 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4209         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4210         and U+0153.
4212 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4214         [BZ #19351]
4215         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4216         expanding log(1+z), compare z rather than its square with epsilon
4217         to determine when to avoid evaluating the expansion.
4219         [BZ #19350]
4220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4221         Increase overflow threshold.
4223         [BZ #19349]
4224         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4225         when small.
4227         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4229         New macro.
4230         [__LINUX_KERNEL_VERSION >= 0x040300]
4231         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4232         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4233         Likewise.
4234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4235         Likewise.
4236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4237         Likewise.
4238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4239         Likewise.
4240         [__LINUX_KERNEL_VERSION >= 0x040300]
4241         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4242         [__LINUX_KERNEL_VERSION >= 0x040300]
4243         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4244         [__LINUX_KERNEL_VERSION >= 0x040300]
4245         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4246         [__LINUX_KERNEL_VERSION >= 0x040300]
4247         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4248         [__LINUX_KERNEL_VERSION >= 0x040300]
4249         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4250         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4251         Likewise.
4252         [__LINUX_KERNEL_VERSION >= 0x040300]
4253         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4254         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4255         Likewise.
4256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4257         Likewise.
4258         [__LINUX_KERNEL_VERSION >= 0x040300]
4259         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4261         Likewise.
4262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4263         Likewise.
4264         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4265         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4266         Likewise.
4267         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4268         Likewise.
4269         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4270         Likewise.
4271         [__LINUX_KERNEL_VERSION >= 0x040300]
4272         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4273         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4274         Likewise.
4275         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4276         Likewise.
4277         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4278         Likewise.
4279         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4280         Likewise.
4281         [__LINUX_KERNEL_VERSION >= 0x040300]
4282         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4283         [__LINUX_KERNEL_VERSION >= 0x040300]
4284         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4285         [__LINUX_KERNEL_VERSION >= 0x040300]
4286         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4287         [__LINUX_KERNEL_VERSION >= 0x040300]
4288         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4289         [__LINUX_KERNEL_VERSION >= 0x040300]
4290         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4291         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4292         Likewise.
4293         [__LINUX_KERNEL_VERSION >= 0x040300]
4294         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4296         Likewise.
4297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4298         Likewise.
4299         [__LINUX_KERNEL_VERSION >= 0x040300]
4300         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4301         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4302         Likewise.
4303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4304         Likewise.
4305         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4306         (__ASSUME_SOCKET_SYSCALL): Likewise.
4307         (__ASSUME_BIND_SYSCALL): Likewise.
4308         (__ASSUME_CONNECT_SYSCALL): Likewise.
4309         (__ASSUME_LISTEN_SYSCALL): Likewise.
4310         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4311         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4312         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4313         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4314         (__ASSUME_SEND_SYSCALL): Likewise.
4315         (__ASSUME_SENDTO_SYSCALL): Likewise.
4316         (__ASSUME_RECV_SYSCALL): Likewise.
4317         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4318         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4319         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4320         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4321         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4322         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4323         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4324         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4325         Likewise.
4326         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4327         Likewise.
4328         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4329         Likewise.
4330         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4331         Likewise.
4332         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4333         Likewise.
4334         [__LINUX_KERNEL_VERSION >= 0x020625]
4335         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4336         [__LINUX_KERNEL_VERSION >= 0x020625]
4337         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4338         [__LINUX_KERNEL_VERSION >= 0x020625]
4339         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4340         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4341         Likewise.
4342         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4343         Likewise.
4344         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4345         Likewise.
4346         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4347         Likewise.
4348         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4349         Likewise.
4350         [__LINUX_KERNEL_VERSION >= 0x020625]
4351         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4352         [__LINUX_KERNEL_VERSION >= 0x020625]
4353         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4354         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4355         Likewise.
4356         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4357         Likewise.
4359 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4361         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4362         record the current if the current ABI and CPU support the FP64
4363         extension.
4364         (has-modd-spreg): Define to record the current if the current ABI and
4365         CPU support 32-bit floating point values in odd FPU registers.
4366         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4367         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4368         $(has-modd-spreg) equals yes.
4369         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4370         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4371         $(has-modd-spreg) equal yes.
4373 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4375         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4376         basename.
4378 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4380         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4381         (bench-string): ... here.
4382         (bench): Add bench-string.
4383         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4384         to *-benchset to reflect what they are.
4385         (benchset): Adjust.
4387         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4388         cos-inputs.
4390 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4392         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4393         __attribute__ ((__simd__)) for vector math function declarations.
4395 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4397         Fix typo in strncat, wcsncat manual entries
4398         * manual/string.texi (Copying and Concatenation): Fix typos in
4399         sample implementations of strncat and wcsncat, by having them use
4400         the old value of the destination length, not the new one.
4402 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4404         [BZ #16961]
4405         [BZ #16962]
4406         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4407         string on the stack for strtod.
4408         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4409         a string on the stack for strtof.
4410         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4411         constructing a string on the stack for strtold.
4412         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4413         __strtold_nan to GLIBC_PRIVATE.
4414         * math/test-nan-overflow.c: New file.
4415         * math/test-nan-payload.c: Likewise.
4416         * math/Makefile (tests): Add test-nan-overflow and
4417         test-nan-payload.
4419 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4421         Consistency about byte vs character in string.texi
4422         * manual/string.texi (String and Array Utilities):
4423         Distinguish more carefully among bytes, multibyte characters,
4424         and wide characters.  Use "byte" when talking about C 'char',
4425         to distinguish it more clearly from multibyte characters.
4426         Say "wide character" or "multibyte character" instead of
4427         "character", when a wide or multibyte character is intended.
4428         Similarly for "multibyte string" versus "string".
4429         Define these terms more carefully.
4431 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4433         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4434         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4435         Likewise.
4436         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4437         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4438         * sysdeps/sh/math_private.h: New file.
4439         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4440         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4441         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4442         long double function name.
4443         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4444         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4445         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4446         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4447         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4449         Remove __finitel, __isinfl, and __isnanl.
4450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4451         Likewise.
4452         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4454         Remove __finitel.
4455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4456         Likewise.
4457         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4459 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4461         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4462         installed libmvec_nonshared.a.
4464 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4466         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4467         (sysdep_routines): Likewise.
4468         (sysdep-rtld-routines): Likewise.
4469         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4470         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4471         * sysdeps/powerpc/Versions: Added new
4472         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4473         * sysdeps/powerpc/hwcapinfo.c: New file.
4474         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4475         and parse hwcap, hwcap2 and platform number information.
4476         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4477         to store HWCAP+HWCAP2 and platform number.
4478         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4479         for HWCAP+HWCAP2 and platform number in the TCB.
4480         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4481         the HWCAP, HWCAP2 and platform number in the TCB.
4482         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4483         (TLS_INIT_TP): Included calls to add the hwcap and
4484         at_platform values in the TCB in TP initialization.
4485         (TLS_DEFINE_INIT_TP): Likewise.
4486         (THREAD_GET_HWCAP): New macro.
4487         (THREAD_SET_HWCAP): Likewise.
4488         (THREAD_GET_AT_PLATFORM): Likewise.
4489         (THREAD_SET_AT_PLATFORM): Likewise.
4490         * sysdeps/powerpc/powerpc32/dl-machine.h:
4491         (dl_platform_init): New function that calls
4492         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4493         powerpc32.
4494         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4495         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4496         this functionality, static linking case.
4497         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4498         linking case.
4499         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4500         __parse_hwcap_and_convert_at_platform for the static linking case.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4502         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4503         ABI list for GLIBC 2.23.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4505         Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4507         Likewise.
4509 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4511         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4512         * configure: Regenerate.
4513         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4514         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4516 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4518         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4519         * iconvdata/ibm933.c: Likewise.
4520         * iconvdata/ibm935.c: Likewise.
4521         * iconvdata/ibm937.c: Likewise.
4522         * iconvdata/ibm939.c: Likewise.
4524 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4526         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4527         pthread_join.
4528         * nptl/tst-cancel21.c (tf): Likewise.
4530 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4532         [BZ #19313]
4533         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4534         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4535         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4536         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4537         Likewise.
4538         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4539         Likewise.
4540         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4541         Likewise.
4542         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4543         Likewise.
4544         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4545         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4546         unsigned long int with __CPU_MASK_TYPE.
4548 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4550         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4552 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4554         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4555         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4556         t512.x.
4557         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4559 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4561         [BZ #19214]
4562         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4563         argument to return extended model.  Update family and model
4564         with extended family and model when family == 0x0f.
4565         (init_cpu_features): Updated.
4567 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4569         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4570         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4572         * sysdeps/mach/hurd/mmap64.c: New file.
4574 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4576         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4577         rights for its main user thread in NEWTASK.
4579 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4581         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4582         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4584 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4586         [BZ #14259]
4587         * Makeconfig: Rename localedir to complocaledir.
4588         Rename inst_localedir to inst_complocaledir.
4589         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4590         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4591         * configure.ac: Use libc_cv_complocaledir.
4592         * configure: Regenerate.
4593         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4594         -DCOMPLOCALEDIR.
4595         * locale/findlocale.c: Use COMPLOCALEDIR.
4596         * locale/loadarchive.c: Likewise.
4597         * locale/programs/locale.c: Likewise.
4598         * locale/programs/localedef.c: Likewise.
4599         * locale/programs/locarchive.c: Likewise.
4600         * localedata/Makefile: Use inst_complocaledir.
4601         * sysdeps/gnu/configure: Regenerate.
4602         * sysdeps/hppa/configure: Regenerate.
4603         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4604         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4606         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4607         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4608         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4609         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4611 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4613         [BZ #19058]
4614         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4615         AS_NEEDED.
4616         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4617         workaround.
4618         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4619         libmvec-static-only-routines): Added new file.
4620         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4622 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4624         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4625         of interrupted RPC instead of restoring it.
4627         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4628         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4629         libc_hidden_def.
4630         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4631         into initialized data instead of common. Define rtld_hidden_data_def.
4632         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4633         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4634         libc_hidden_def.
4635         (if_freenameindex): Add libc_hidden_weak.
4636         (if_nameindex): Add libc_hidden_weak.
4637         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4638         __open64.
4639         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4640         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4641         * sysdeps/mach/nanosleep.c: Include <time.h>
4642         (__nanosleep): Rename to __libc_nanosleep.
4643         (__nanosleep): Add weak_alias.
4644         (nanosleep): Update alias.
4646 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4648         * stdlib/strtod_nan.c: New file.
4649         * stdlib/strtod_nan_double.h: Likewise.
4650         * stdlib/strtod_nan_float.h: Likewise.
4651         * stdlib/strtod_nan_main.c: Likewise.
4652         * stdlib/strtod_nan_narrow.h: Likewise.
4653         * stdlib/strtod_nan_wide.h: Likewise.
4654         * stdlib/strtof_nan.c: Likewise.
4655         * stdlib/strtold_nan.c: Likewise.
4656         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4657         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4658         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4659         * wcsmbs/wcstod_nan.c: Likewise.
4660         * wcsmbs/wcstof_nan.c: Likewise.
4661         * wcsmbs/wcstold_nan.c: Likewise.
4662         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4663         strtold_nan.
4664         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4665         wcstof_nan.
4666         * include/stdlib.h (__strtof_nan): Declare and use
4667         libc_hidden_proto.
4668         (__strtod_nan): Likewise.
4669         (__strtold_nan): Likewise.
4670         (__wcstof_nan): Likewise.
4671         (__wcstod_nan): Likewise.
4672         (__wcstold_nan): Likewise.
4673         * include/wchar.h (____wcstoull_l_internal): Declare.
4674         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4675         (____strtoull_l_internal): Remove declaration.
4676         (STRTOF_NAN): Define macro.
4677         (SET_MANTISSA): Remove macro.
4678         (STRTOULL): Likewise.
4679         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4680         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4681         (STRTOF_NAN): Define macro.
4682         (SET_MANTISSA): Remove macro.
4683         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4684         (SET_MANTISSA): Remove macro.
4685         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4686         macro.
4687         (SET_MANTISSA): Remove macro.
4688         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4689         macro.
4690         (SET_MANTISSA): Remove macro.
4691         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4692         (SET_MANTISSA): Remove macro.
4693         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4694         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4695         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4697         [BZ #19266]
4698         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4699         upper case and lower case letters inside NAN(), not using TOLOWER.
4700         * stdlib/tst-strtod-nan-locale-main.c: New file.
4701         * stdlib/tst-strtod-nan-locale.c: Likewise.
4702         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4703         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4704         Depend on $(gen-locales).
4705         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4706         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4707         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4708         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4709         Depend on $(gen-locales).
4710         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4712 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4714         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4716         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4718         __finitel, __isinfl, and __isnanl.
4719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4720         Likewise.
4721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4723         __finitel.
4724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4725         Likewise.
4726         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4728 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4730         * malloc/memusage.c (me): Remove redundant getenv call.
4732 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4734         [BZ #19143]
4735         [BZ #19164]
4736         * nptl/check-cpuset.h: Remove.
4737         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4738         Remove CPU set size check.
4739         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4740         Likewise.
4741         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4742         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4743         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4744         (__pthread_setaffinity_new): Remove CPU set size check.
4745         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4746         (__kernel_cpumask_size): Remove.
4747         (__sched_setaffinity_new): Remove CPU set size check.
4748         * manual/threads.texi (Default Thread Attributes): Remove stale
4749         reference to check_cpuset_attr, determine_cpumask_size in comment.
4750         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4751         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4752         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4753         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4754         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4755         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4756         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4757         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4758         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4759         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4760         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4761         skeleton test file.
4762         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4763         tst-affinity-pid.
4765 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4767         * scripts/update-abilist.sh: New file.
4768         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4769         * Makerules (update-all-abi-%, update-all-abi)
4770         (subdir_update-all-abi): New targets.
4771         * elf/Makefile (update-all-abi): New target.
4773 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4775         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4776         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4777         (__libc_lock_define_initialized): Use it.
4778         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4779         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4780         * malloc/malloc.c (main_arena): Likewise.
4781         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4782         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4784 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4786         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4787         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4788         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4789         (PTRACE_O_MASK): Update value.
4790         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4791         New value in enum __ptrace_setoptions.
4792         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4793         (PTRACE_O_MASK): Update value.
4794         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4795         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4796         (PTRACE_O_MASK): Update value.
4797         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4798         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4799         (PTRACE_O_MASK): Update value.
4800         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4801         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4802         (PTRACE_O_MASK): Update value.
4803         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4804         New value in enum __ptrace_setoptions.
4805         (PTRACE_O_MASK): Update value.
4806         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4807         New value in enum __ptrace_setoptions.
4808         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4809         (PTRACE_O_MASK): Update value.
4811         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4812         New macro.
4813         (PACKET_AUXDATA): Likewise.
4814         (PACKET_ORIGDEV): Likewise.
4815         (PACKET_VERSION): Likewise.
4816         (PACKET_HDRLEN): Likewise.
4817         (PACKET_RESERVE): Likewise.
4818         (PACKET_TX_RING): Likewise.
4819         (PACKET_LOSS): Likewise.
4820         (PACKET_VNET_HDR): Likewise.
4821         (PACKET_TX_TIMESTAMP): Likewise.
4822         (PACKET_TIMESTAMP): Likewise.
4823         (PACKET_FANOUT): Likewise.
4824         (PACKET_TX_HAS_OFF): Likewise.
4825         (PACKET_QDISC_BYPASS): Likewise.
4826         (PACKET_ROLLOVER_STATS): Likewise.
4827         (PACKET_FANOUT_DATA): Likewise.
4828         (PACKET_MR_UNICAST): Likewise.
4830         [BZ #19242]
4831         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4832         (TOUPPER): Likewise.
4833         * stdlib/tst-strtol-locale-main.c: New file.
4834         * stdlib/tst-strtol-locale.c: Likewise.
4835         * stdlib/Makefile (tests): Add tst-strtol-locale.
4836         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4837         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4838         Depend on $(gen-locales).
4839         * wcsmbs/tst-wcstol-locale.c: New file.
4840         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4841         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4842         tr_TR.ISO-8859-9.
4843         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4844         Depend on $(gen-locales).
4846 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4848         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4849         __glibc_likely instead of __builtin_expect.  After falling back to
4850         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4851         system interface to register the code pages as occupied.
4853 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4855         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4856         [!ARM_MATH_PRIVATE_H].
4857         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4858         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4859         [!HPPA_MATH_PRIVATE_H].
4860         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4861         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4862         to [!I386_MATH_PRIVATE_H].
4863         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4864         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4865         Change guard to [!M68K_MATH_PRIVATE_H].
4866         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4867         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4868         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4869         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4870         macro.
4871         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4872         [!MIPS_MATH_PRIVATE_H].
4873         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4874         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4875         [!NIO2_MATH_PRIVATE_H].
4876         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4877         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4878         [!TILE_MATH_PRIVATE_H].
4879         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4881         [BZ #15421]
4882         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4883         initialize with 0 and define as weak alias of __signgam.
4884         * include/math.h [!_ISOMAC] (__signgam): Declare.
4885         * math/Makefile (libm-calls): Add w_lgamma_compat.
4886         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4887         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4888         test-signgam-ullong-init.
4889         (tests-static): Add test-signgam-uchar-static,
4890         test-signgam-uchar-init-static, test-signgam-uint-static,
4891         test-signgam-uint-init-static, test-signgam-ullong-static and
4892         test-signgam-ullong-init-static.
4893         (CFLAGS-test-signgam-uchar.c): New variable.
4894         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4895         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4896         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4897         (CFLAGS-test-signgam-uint.c): Likewise.
4898         (CFLAGS-test-signgam-uint-init.c): Likewise.
4899         (CFLAGS-test-signgam-uint-static.c): Likewise.
4900         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4901         (CFLAGS-test-signgam-ullong.c): Likewise.
4902         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4903         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4904         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4905         * math/Versions (libm): Add GLIBC_2.23.
4906         * math/lgamma-compat.h: New file.
4907         * math/test-signgam-main.c: Likewise.
4908         * math/test-signgam-uchar-init-static.c: Likewise.
4909         * math/test-signgam-uchar-init.c: Likewise.
4910         * math/test-signgam-uchar-static.c: Likewise.
4911         * math/test-signgam-uchar.c: Likewise.
4912         * math/test-signgam-uint-init-static.c: Likewise.
4913         * math/test-signgam-uint-init.c: Likewise.
4914         * math/test-signgam-uint-static.c: Likewise.
4915         * math/test-signgam-uint.c: Likewise.
4916         * math/test-signgam-ullong-init-static.c: Likewise.
4917         * math/test-signgam-ullong-init.c: Likewise.
4918         * math/test-signgam-ullong-static.c: Likewise.
4919         * math/test-signgam-ullong.c: Likewise.
4920         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4921         wrapper of w_lgamma_main.c.
4922         * math/w_lgamma_compat.c: New file.
4923         * math/w_lgamma_compatf.c: Likewise.
4924         * math/w_lgamma_compatl.c: Likewise.
4925         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4926         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4927         defining compatibility symbols.
4928         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4929         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4930         wrapper of w_lgammaf_main.c.
4931         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4932         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4933         defining compatibility symbols.
4934         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4935         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4936         wrapper of w_lgammal_main.c.
4937         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4938         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4939         defining compatibility symbols.
4940         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4941         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4942         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4943         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4944         <lgamma-compat.h>.
4945         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4946         (__ieee754_gamma): Define as alias.
4947         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4948         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4949         <lgamma-compat.h>.
4950         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4951         (__ieee754_gammaf): Define as alias.
4952         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4953         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4954         <lgamma-compat.h>.
4955         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4956         (__ieee754_gammal): Define as alias.
4957         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4958         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4959         <math/w_lgamma_compat.c>.
4960         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4961         Define as alias of __lgamma_compat and use in defining lgammal.
4962         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4963         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4964         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4965         (USE_AS_COMPAT): New macro.
4966         (LGAMMA_OLD_VER): Undefine and redefine.
4967         (lgammal): Do not define here.
4968         (gammal): Only define here if [GAMMA_ALIAS].
4969         * conform/linknamespace.pl (@whitelist): Remove signgam.
4970         * sysdeps/nacl/libm.abilist: Update.
4971         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4972         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4973         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4974         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4975         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4976         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4977         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4978         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4979         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4980         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4981         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4982         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4984         Likewise.
4985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4986         Likewise.
4987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4988         Likewise.
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4990         Likewise.
4991         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4992         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4993         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4994         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4997         Likewise.
4998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4999         Likewise.
5000         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5001         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5002         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5004 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5006         [BZ #16364]
5007         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5008         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5010 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5012         * sysdeps/s390/fpu/bits/mathinline.h:
5013         Use __asm__ [__volatile__] instead of asm [volatile].
5014         * sysdeps/s390/abort-instr.h: Likewise.
5015         * sysdeps/s390/atomic-machine.h: Likewise.
5016         * sysdeps/s390/bits/string.h: Likewise.
5017         * sysdeps/s390/dl-tls.h: Likewise.
5018         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5019         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5020         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5021         * sysdeps/s390/fpu/fesetround.c: Likewise.
5022         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5023         * sysdeps/s390/fpu/s_fma.c: Likewise.
5024         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5025         * sysdeps/s390/memusage.h: Likewise.
5026         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5027         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5028         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5029         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5030         * sysdeps/s390/nptl/tls.h: Likewise.
5031         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5032         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5033         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5034         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5035         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5036         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5037         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5038         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5039         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5040         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5041         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5042         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5043         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5044         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5045         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5046         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5047         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5048         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5049         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5051         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5052         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5053         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5055 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5056             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5058         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5059         Add lwarx hint, and use macro for acquire instruction.
5060         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5061         Likewise.
5062         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5063         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5064         update to use new atomic macros.
5066 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5068         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5069         (__lll_trylock_elision): Fix setting of adapt_count.
5070         * sysdeps/unix/sysv/linux/powerpc/htm.h
5071         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5072         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5073         (_ABORT_SYSCALL): Renumber, and clarify definition.
5074         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5076 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5078         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5079         after system headers to prevent MIN/MAX redefinition.  Define
5080         HAVE_ALLOCA to preserve builtin alloca usage.
5082 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5085         static and don't set or restore rounding.
5086         (__cos)[IN_SINCOS]: Likewise.
5087         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5088         (__sincos): Set and restore rounding mode.  Remove check for infinite
5089         or NaN input.
5091         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5093         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5094         as used.
5096 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5098         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5100 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5102         * config.make.in (have-glob-dat-reloc): New.
5103         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5104         target supports GLOB_DAT relocaton. AC_SUBST.
5105         * configure: Regenerated.
5106         * elf/Makefile (tests): Add tst-prelink.
5107         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5108         (tst-prelink-ENV): New.
5109         ($(objpfx)tst-prelink-conflict.out): Likewise.
5110         ($(objpfx)tst-prelink-cmp.out): Likewise.
5111         * sysdeps/x86/tst-prelink.c: Moved to ...
5112         * elf/tst-prelink.c: Here.
5113         * sysdeps/x86/tst-prelink.exp: Moved to ...
5114         * elf/tst-prelink.exp: Here.
5115         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5116         (tst-prelink-ENV): Removed.
5117         ($(objpfx)tst-prelink-conflict.out): Likewise.
5118         ($(objpfx)tst-prelink-cmp.out): Likewise.
5119         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5121 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5123         [BZ #14551]
5124         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5125         (__mpn_construct_long_double): If high part overflows to infinity,
5126         set errno and recompute overflowed result of the correct sign.
5127         * sysdeps/ieee754/ldbl-128ibm/Makefile
5128         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5129         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5130         $(libm).
5131         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5133 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5135         [BZ #15479]
5136         [BZ #19238]
5137         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5138         floating-point state after first operation on input.  Restore full
5139         state rather than just rounding mode.
5140         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5141         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5142         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5144         [BZ #19235]
5145         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5146         add 0.5 to integer arguments.
5147         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5148         Likewise.
5149         (.LC2): New object.
5151 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5153         * scripts/pylintrc (reports): Set to no.
5155 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5157         * elf/dl-load.c (open_verify): Take new argument FD.
5158         Skip __open call if passed FD is not -1.
5159         (_dl_map_object, open_path): Update callers.
5160         * elf/dl-sysdep-open.h: New file.
5161         * elf/dl-load.c: Include it.
5162         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5163         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5164         * sysdeps/nacl/dl-sysdep-open.h: New file.
5165         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5166         from libc to rtld.
5168 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #19228]
5171         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5172         and restore full floating-point state.
5173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5174         Likewise.
5175         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5176         Likewise.
5177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5178         Likewise.
5179         * math/test-nearbyint-except-2.c: New file.
5180         * math/Makefile (tests): Add test-nearbyint-except-2.
5182 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5184         [BZ #19178]
5185         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5186         (tst-prelink-ENV): New.
5187         ($(objpfx)tst-prelink-conflict.out): Likewise.
5188         ($(objpfx)tst-prelink-cmp.out): Likewise.
5189         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5190         * sysdeps/x86/tst-prelink.c: New file.
5191         * sysdeps/x86/tst-prelink.exp: Likewise.
5193 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5195         * math/auto-libm-test-in: Add another test of pow.
5196         * math/auto-libm-test-out: Regenerated.
5197         * math/libm-test.inc (pow_test_data): Add another test.
5199 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5201         [BZ #19219]
5202         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5203         weak_alias to nearbyintl.
5205 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5207         * sysdeps/aarch64/bits/string.h: New file.
5208         (_STRING_ARCH_unaligned): Define.
5210 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5212         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5213         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5214         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5215         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5218 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5220         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5221         for original name of the DSO.  Add it to the name list of the DSO
5222         if it is actually given.
5223         (_dl_map_object): Keep track of whether an audit module rewrote
5224         the file name.  If yes, pass the original name to
5225         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5226         debugging is enabled, log the change of the file name.
5227         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5228         _dl_map_object_from_fd.
5229         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5230         * elf/tst-audit11.c: New file
5231         * elf/tst-auditmod11.c: New file.
5232         * elf/tst-audit11mod1.c: New file.
5233         * elf/tst-audit11mod2.c: New file.
5234         * elf/tst-audit11mod2.map: New file.
5235         * elf/tst-audit12.c: New file
5236         * elf/tst-auditmod12.c: New file.
5237         * elf/tst-audit12mod1.c: New file.
5238         * elf/tst-audit12mod2.c: New file.
5239         * elf/tst-audit12mod2.map: New file.
5240         * elf/tst-audit12mod3.c: New file.
5242 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5244         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5245         Don't create weak aliases,
5246         because versioned symbols are created later.
5247         * sysdeps/s390/s390-32/setjmp.S
5248         (setjmp, _setjmp): Remove weak and rename to an unique name
5249         in SHARED case due to existing versioned symbols.
5250         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5251         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5252         (getcontext): Create weak alias only in non SHARED case.
5253         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5255 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5257         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5258         (__ASSUME_*_SYSCALL) Define new macros.
5259         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5260         Remove socketcall syscalls.
5261         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5262         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5263         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5264         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5265         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5266         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5268 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5270         [BZ #12926]
5271         Terminate process on invalid netlink response.
5272         * sysdeps/unix/sysv/linux/netlinkaccess.h
5273         (__netlink_assert_response): Declare.
5274         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5275         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5276         (sysdep_routines): Add netlink_assert_response.
5277         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5278         __netlink_assert_response.
5279         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5280         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5281         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5282         __netlink_assert_response.
5284 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5286         [BZ #19178]
5287         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5288         (RTYPE_CLASS_PLT): Likewise.
5289         (RTYPE_CLASS_COPY): Likewise.
5290         (RTYPE_CLASS_TLS): Likewise.
5291         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5292         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5293         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5294         DL_DEBUG_PRELINK.
5296 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5298         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5299         calls with argument -0.5.
5300         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5302         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5303         (libc_cv_z_nodlopen): Likewise.
5304         (libc_cv_z_initfirst): Likewise.
5305         * configure: Regenerated.
5307 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5309         Simplify abilist format to be line-based.
5310         * scripts/abilist.awk: Collect descriptors in the descs variable.
5311         (emit): Write descs variable and sort it
5312         externally, with sort.
5313         * sysdeps/**/*.abilist: Convert to new format.
5315 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5317         [BZ #11460]
5318         * io/Makefile (routines): Add fts64.
5319         (tests): Add tst-fts and tst-fts-lfs.
5320         (CFLAGS-fts64.c): New.
5321         * io/Versions (GLIBC_2.23): New.
5322         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5323         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5324         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5325         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5326         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5327         (FTSENT64): Likewise.
5328         (fts64_children): Likewise.
5329         (fts64_close): Likewise.
5330         (fts64_open): Likewise.
5331         (fts64_read): Likewise.
5332         (fts64_set): Likewise.
5333         * io/fts64.c: New file.
5334         * io/tst-fts.c: New test.
5335         * io/tst-fts-lfs.c: Likewise.
5336         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5337         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5338         fts64_set.
5339         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5340         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5341         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5342         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5343         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5344         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5345         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5346         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5347         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5348         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5349         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5350         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5351         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5355         Likewise.
5356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5360         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5365         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5366         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5367         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5368         * sysdeps/wordsize-64/fts.c: New file.
5369         * sysdeps/wordsize-64/fts64.c: Likewise.
5370         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5371         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5372         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5373         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5375 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5377         * math/libm-test.inc (NON_FINITE): New macro.
5378         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5379         * math/gen-libm-test.pl (show_exceptions): Add argument
5380         $non_finite.
5381         (parse_args): Update call to show_exceptions.
5382         * math/test-math-finite.h: New file.
5383         * math/test-math-no-finite.h: Likewise.
5384         * math/test-double-finite.c: Likewise.
5385         * math/test-float-finite.c: Likewise.
5386         * math/test-ldouble-finite.c: Likewise.
5387         * math/test-double.c: Include "test-math-no-finite.h".
5388         * math/test-float.c: Include "test-math-no-finite.h".
5389         * math/test-ldouble.c: Include "test-math-no-finite.h".
5390         * math/test-math-inline.h (TEST_FINITE): New macro.
5391         * math/test-math-vector.h (TEST_FINITE): Likewise.
5392         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5393         (libm-tests): Add test-float-finite and test-double-finite.
5394         ($(objpfx)test-float-finite.o): New dependency on
5395         $(objpfx)libm-test.stmp.
5396         ($(objpfx)test-double-finite.o): Likewise.
5397         ($(objpfx)test-ldouble-finite.o): Likewise.
5398         (libm-test-no-inline-cflags): New variable.
5399         (libm-test-finite-cflags): Likewise.
5400         (CFLAGS-test-float-finite.c): Likewise.
5401         (CFLAGS-test-double-finite.c): Likewise.
5402         (CFLAGS-test-ldouble-finite.c): Likewise.
5403         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5404         (CFLAGS-test-double.c): Likewise.
5405         (CFLAGS-test-ldouble.c): Likewise.
5407 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5409         * io/fcntl.c (__fcntl): Add ... to prototype.
5410         * misc/ioctl.c (__ioctl): Likewise.
5411         * misc/syscall.c (syscall): Likewise.
5413 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5415         * scripts/list-fixed-bugs.py: New file.
5417         [BZ #19213]
5418         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5419         returned for argument 1.
5420         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5421         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5422         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5423         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5424         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5425         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5427         [BZ #19211]
5428         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5429         __USE_XOPEN], not if [!__USE_ISOC99].
5430         (lgammaf): Likewise.
5431         (lgammal): Likewise.
5432         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5433         (gammaf): Likewise.
5434         (gammal): Likewise.
5435         * math/test-signgam-finite-c11.c: New file.
5436         * math/test-signgam-finite-c99.c: Likewise.
5437         * math/test-signgam-finite.c: Likewise.
5438         * math/Makefile (tests): Add test-signgam-finite,
5439         test-signgam-finite-c99 and test-signgam-finite-c11.
5440         (CFLAGS-test-signgam-finite.c): New variable.
5441         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5442         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5444         [BZ #19212]
5445         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5446         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5447         500].
5448         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5449         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5450         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5451         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5452         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5453         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5454         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5455         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5456         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5457         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5459         [BZ #19209]
5460         * math/bits/math-finite.h (ldexp): Remove declaration.
5461         (ldexpf): Likewise.
5462         (ldexpl): Likewise.
5464         [BZ #19205]
5465         * math/bits/math-finite.h (acosf): Condition declaration on
5466         [__USE_ISOC99].
5467         (acosl): Likewise.
5468         (acoshf): Likewise.
5469         (acoshl): Likewise.
5470         (asinf): Likewise.
5471         (asinl): Likewise.
5472         (atan2f): Likewise.
5473         (atan2l): Likewise.
5474         (atanhf): Likewise.
5475         (atanhl): Likewise.
5476         (coshf): Likewise.
5477         (coshl): Likewise.
5478         (expf): Likewise.
5479         (expl): Likewise.
5480         (fmodf): Likewise.
5481         (fmodl): Likewise.
5482         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5483         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5484         (j0l): Likewise.
5485         (y0f): Likewise.
5486         (y0l): Likewise.
5487         (j1f): Likewise.
5488         (j1l): Likewise.
5489         (y1f): Likewise.
5490         (y1l): Likewise.
5491         (jnf): Likewise.
5492         (jnl): Likewise.
5493         (ynf): Likewise.
5494         (ynl): Likewise.
5495         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5496         (lgammal_r): Likewise.
5497         (__lgamma_r_finite): New declaration.
5498         (__lgammaf_r_finite): Likewise.
5499         (__lgammal_r_finite): Likewise.
5500         (lgamma): Use __lgamma_r_finite.
5501         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5502         __lgammaf_r_finite.
5503         (lgammal): Condition definition on [__USE_ISOC99].  Use
5504         __lgammal_r_finite.
5505         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5506         __lgamma_r_finite.
5507         (gammaf): Condition definition on [__USE_ISOC99].  Use
5508         __lgammaf_r_finite.
5509         (gammal): Condition definition on [__USE_ISOC99].  Use
5510         __lgammal_r_finite.
5511         (logf): Condition declaration on [__USE_ISOC99].
5512         (logl): Likewise.
5513         (log10f): Likewise.
5514         (log10l): Likewise.
5515         (ldexpf): Likewise.
5516         (ldexpl): Likewise.
5517         (powf): Likewise.
5518         (powl): Likewise.
5519         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5520         __USE_ISOC99].
5521         (remainderf): Condition declaration on [__USE_ISOC99].
5522         (remainderl): Likewise.
5523         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5524         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5525         (scalbl): Likewise.
5526         (sinhf): Condition declaration on [__USE_ISOC99].
5527         (sinhl): Likewise.
5528         (sqrtf): Likewise.
5529         (sqrtl): Likewise.
5531 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5533         * sysdeps/arm/atomic-machine.h
5534         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5535         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5536         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5537         Remove conditional code.
5538         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5539         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5540         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5541         Change conditional to [__ASSEMBLER__].
5542         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5543         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5544         [!__ASSEMBLER__].
5545         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5546         code.
5547         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5548         conditional macro definitions.
5549         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5550         (__arch_compare_and_exchange_val_16_acq): Likewise.
5551         (__arch_compare_and_exchange_val_32_acq): Likewise.
5552         (atomic_exchange_and_add): Likewise.
5553         (atomic_add): Likewise.
5554         (atomic_add_negative): Likewise.
5555         (atomic_add_zero): Likewise.
5556         (atomic_bit_set): Likewise.
5557         (atomic_bit_test_set): Likewise.
5558         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5559         code unconditional.
5560         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5562         * math/test-math-errno.h: New file.
5563         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5564         empty.
5565         (TEST_ERRNO): New macro.
5566         (TEST_EXCEPTIONS): Likewise.
5567         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5568         (TEST_EXCEPTIONS): Likewise.
5569         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5570         * math/test-double.c: Include "test-math-errno.h".
5571         * math/test-float.c: Likewise.
5572         * math/test-ldouble.c: Likewise.
5573         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5574         code unconditional.
5575         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5576         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5577         unconditional.
5578         (test_errno): Only run code if TEST_ERRNO.
5579         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5581 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5583         * nptl/tst-once5.cc: Remove attribution.
5585 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5587         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5588         sqrt, tan, tanh, y0, y1 and yn.
5589         * math/auto-libm-test-out: Regenerated.
5590         * math/libm-test.inc (scalb_test_data): Add more tests.
5591         (scalbn_test_data): Likewise.
5592         (scalbln_test_data): Likewise.
5593         (signbit_test_data): Likewise.
5594         (sin_test_data): Likewise.
5595         (sincos_test_data): Likewise.
5596         (sinh_test_data): Likewise.
5597         (sqrt_test_data): Likewise.
5598         (tan_test_data): Likewise.
5599         (tanh_test_data): Likewise.
5600         (tgamma_test_data): Likewise.
5601         (y0_test_data): Likewise.
5602         (y1_test_data): Likewise.
5603         (yn_test_data): Likewise.
5604         (significand_test_data): Likewise.
5605         * sysdeps/i386/fpu/libm-test-ulps: Update.
5607 2015-11-03  David Kastrup  <dak@gnu.org>
5609         [BZ #18604]
5610         * assert/assert.h (assert): Don't macro-expand failed assertion
5611         expression in error message.
5612         * malloc/malloc.c (assert): Likewise.
5614 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5616         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5617         test.
5618         * configure: Regenerated.
5620 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5622         * math/libm-test.inc (modf_test_data): Add more tests.
5623         (nearbyint_test_data): Likewise.
5624         (nextafter_test_data): Likewise.
5625         (nexttoward_test_data): Likewise.
5626         (pow_test_data): Likewise.
5627         (remainder_test_data): Likewise.
5628         (remquo_test_data): Likewise.
5629         (rint_test_data): Likewise.
5631         [BZ #19201]
5632         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5633         Check for zero remainder in case of large exponents and ensure
5634         correct sign of result in that case.
5635         * math/libm-test.inc (remainder_test_data): Add more tests.
5637         [BZ #6799]
5638         * math/s_nextafter.c: Include <errno.h>.
5639         (__nextafter): Set errno on overflow and underflow.
5640         * math/s_nexttowardf.c: Include <errno.h>.
5641         (__nexttowardf): Set errno on overflow and underflow.
5642         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5643         (__nextafterl): Set errno on overflow and underflow.
5644         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5645         (__nexttoward): Set errno on overflow and underflow.
5646         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5647         (__nexttowardf): Set errno on overflow and underflow.
5648         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5649         (__nextafterf): Set errno on overflow and underflow.
5650         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5651         (__nextafterl): Set errno on overflow and underflow.
5652         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5653         (__nexttoward): Set errno on overflow and underflow.
5654         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5655         (__nexttowardf): Set errno on overflow and underflow.
5656         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5657         (__nextafterl): Set errno on overflow and underflow.
5658         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5659         (__nexttoward): Set errno on overflow and underflow.
5660         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5661         (__nexttowardf): Set errno on overflow and underflow.
5662         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5663         (__nexttoward): Set errno on overflow and underflow.
5664         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5665         (__nexttowardf): Set errno on overflow and underflow.
5666         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5667         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5668         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5669         (__nextafterl): Set errno on overflow and underflow.
5670         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5671         setting to be missing on overflow.  Add more tests.
5672         (nexttoward_test_data): Likewise.
5674         * configure.ac (libc_cv_initfini_array): Remove configure test.
5675         * configure: Regenerated.
5677 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5679         [BZ #19189]
5680         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5681         non-finite argument handle arguments with negative sign.
5683         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5684         result from infinite argument.
5685         (j1_test_data): Likewise.
5686         (jn_test_data): Likewise.
5687         (y0_test_data): Likewise.
5688         (y1_test_data): Likewise.
5689         (yn_test_data): Likewise.
5691         [BZ #16171]
5692         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5693         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5694         * math/w_remainderf.c (dremf): Define as weak alias of
5695         __remainderf.
5696         * math/w_remainderl.c (dreml): Define as weak alias of
5697         __remainderl.
5698         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5699         __remainder.
5700         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5701         __remainderf.
5702         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5703         __remainderl.
5704         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5705         weak alias of remainderl.
5706         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5707         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5708         alias of __remainder.
5709         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5710         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5711         strong alias of __remainderl.
5712         (dreml): Use long_double_symbol.
5713         * math/Makefile (libm-calls): Remove w_drem.
5714         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5715         (CFLAGS-nldbl-drem.c): Remove variable.
5716         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5717         * math/w_drem.c: Remove file.
5718         * math/w_dremf.c: Likewise.
5719         * math/w_dreml.c: Likewise.
5720         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5721         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5722         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5724         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5725         * sysdeps/i386/configure: Regenerated.
5726         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5727         * sysdeps/x86_64/configure: Regenerated.
5729         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5730         test.
5731         (libc_cv_visibility_attribute): Likewise.
5732         (libc_cv_protected_data): Test unconditionally.
5733         (libc_cv_broken_visibility_attribute): Remove configure test.
5734         (libc_cv_have_sdata_section): Test unconditionally.
5735         * configure: Regenerated.
5737         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5738         * include/scratch_buffer.h: Include <stddef.h> instead of
5739         <libc-internal.h>.
5740         (struct scratch_buffer): Use max_align_t instead of
5741         libc_max_align_t.
5743 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5745         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5746         instead of extend_alloca.  Change control flow to avoid a goto.
5747         Remove assert which is trivially always true.
5749 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5751         [BZ #16068]
5752         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5753         (FE_ALL_EXCEPT_X86): New macro.
5754         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5755         FE_ALL_EXCEPT.  Ensure precision control is included in
5756         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5757         handle "denormal operand exception" and clear FZ and DAZ bits.
5758         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5759         (FE_ALL_EXCEPT_X86): New macro.
5760         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5761         FE_ALL_EXCEPT.  Ensure precision control is included in
5762         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5763         handle "denormal operand exception" and clear FZ and DAZ bits.
5764         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5765         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5766         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5767         test-fenv-x87 and test-fenv-sse-2.
5768         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5770         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5771         * math/test-double.h (BUILD_COMPLEX): New macro.
5772         * math/test-float.h (BUILD_COMPLEX): Likewise.
5773         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5775         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5776         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5777         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5779         instead of DBL_DENORM_MIN in comment.
5780         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5781         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5782         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5783         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5785         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5787 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5789         [BZ# 19048]
5790         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5791         attached_threads member.
5792         (main_arena): Initialize attached_threads.
5793         * malloc/arena.c (list_lock): Update comment.
5794         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5795         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5796         (deattach_arena): New function.
5797         (_int_new_arena): Initialize arena reference count and deattach
5798         replaced arena.
5799         (get_free_list, reused_arena): Update reference count and deattach
5800         replaced arena.
5801         (arena_thread_freeres): Update arena reference count and only put
5802         unreferenced arenas on the free list.
5804 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5806         [BZ #19181]
5807         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5808         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5809         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5810         * math/test-fenv-clear-main.c: New file.
5811         * math/test-fenv-clear.c: Likewise.
5812         * math/Makefile (tests): Add test-fenv-clear.
5813         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5814         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5815         test-fenv-clear-sse.
5816         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5818         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5819         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5820         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5822 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5824         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5825         static libc.
5827 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5829         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5830         test.
5831         * sysdeps/i386/configure: Regenerated.
5832         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5833         test.
5834         * sysdeps/x86_64/configure: Regenerated.
5835         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5837         memset-avx2 unconditionally instead of conditionally on
5838         [$(config-cflags-avx2) = yes].
5839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5840         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5841         unconditional.
5842         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5843         * sysdeps/x86_64/multiarch/memset_chk.S
5844         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5845         to [IS_IN (libc) && SHARED].
5847 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5849         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5850         configure test.
5851         * sysdeps/arm/configure: Regenerated.
5852         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5853         Define variable if not already defined.
5855         [BZ #17404]
5856         * sysdeps/mips/atomic-machine.h
5857         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5858         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5859         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5861         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5862         unconditional.
5863         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5864         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5865         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5866         unconditional.
5867         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5868         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5869         unconditional.
5870         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5871         * stdlib/setenv.c
5872         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5873         code unconditional.
5874         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5875         Remove conditional code.
5876         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5877         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5878         unconditional.
5879         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5880         code.
5881         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5882         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5883         unconditional.
5884         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5885         code.
5886         * sysdeps/ieee754/ldbl-128/k_tanl.c
5887         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5888         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5889         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5890         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5891         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5892         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5893         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5894         unconditional.
5895         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5896         code.
5897         * sysdeps/ieee754/ldbl-96/k_tanl.c
5898         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5899         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5901         * nptl/tst-initializers1-c11.c: New file.
5902         * nptl/tst-initializers1-gnu11.c: Likewise.
5903         * nptl/Makefile (tests): Add these new tests.
5904         (CFLAGS-tst-initializers1-c11.c): New variable.
5905         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5907         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5908         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5909         instead of -std=gnu99.
5910         * configure.ac (systemtap): Test with -std=gnu11 instead of
5911         -std=gnu99.
5912         * configure: Regenerated.
5913         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5914         in compilation command in comment.
5916         * sysdeps/nptl/configure.ac: Remove file.
5917         * sysdeps/nptl/configure: Remove generated file.
5918         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5919         * configure: Regenerated.
5920         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5921         * config.make.in (have-forced-unwind): Remove variable.
5922         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5923         unconditional.
5924         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5925         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5926         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5927         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5928         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5929         unconditional.
5931 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5933         [BZ #19174]
5934         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5935         .skip_lock_out_of_tbegin_retries.
5936         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5937         (__lll_lock_elision): Likewise, and respect a value of
5938         try_tbegin <= 0.
5940 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5942         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5943         statement.
5945 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5947         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5948         variable.
5949         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5950         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5952         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5953         of -std=c1x -D_ISOC11_SOURCE.
5955         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5956         * configure: Regenerated.
5957         * manual/install.texi (Tools for Compilation): Document
5958         requirement for GCC 4.7 or later.
5959         * INSTALL: Regenerated.
5961 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5963         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5964         on CNT to a conditional jump to 'puntdata'.
5966 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5968         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5969         (libc_cv_gcc_tls_model_attr): Likewise.
5970         * configure: Regenerated.
5972         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5973         * configure: Regenerated.
5974         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5976 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5978         * configure.ac (old_glibc_headers): Remove configure test.
5979         * configure: Regenerated.
5980         * config.make.in (old-glibc-headers): Remove variable.
5981         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5982         (install): Remove dependency on remove-old-headers.
5983         (headers2_0): Remove variable.
5984         (remove-old-headers): Remove rule.
5986         * configure.ac (libc_cv_dot_text): Remove configure test.
5987         (libc_cv_asm_set_directive): Use .text instead of
5988         ${libc_cv_dot_text} in configure test.
5989         * configure: Regenerated.
5991 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5993         [BZ #19168]
5994         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5996 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5998         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5999         not support static linking.
6000         * configure: Regenerate.
6002 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6004         * math/libm-test.inc (check_float_internal): Do not special-case
6005         errors up to 0.5 ulp.
6007         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6008         log2.
6009         * math/auto-libm-test-out: Regenerated.
6010         * math/libm-test.inc (MAX_EXP): New macro.
6011         (ilogb_test_data): Add more tests.
6012         (isfinite_test_data): Likewise.
6013         (isgreater_test_data): Likewise.
6014         (isgreaterequal_test_data): Likewise.
6015         (isinf_test_data): Likewise.
6016         (isless_test_data): Likewise.
6017         (islessequal_test_data): Likewise.
6018         (islessgreater_test_data): Likewise.
6019         (isnan_test_data): Likewise.
6020         (isnormal_test_data): Likewise.
6021         (issignaling_test_data): Likewise.
6022         (isunordered_test_data): Likewise.
6023         (j0_test_data): Likewise.
6024         (j1_test_data): Likewise.
6025         (jn_test_data): Likewise.
6026         (lgamma_test_data): Likewise.
6027         (log_test_data): Likewise.
6028         (log10_test_data): Likewise.
6029         (log1p_test_data): Likewise.
6030         (log2_test_data): Likewise.
6031         (logb_test_data): Likewise.
6032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6034         [BZ #18611]
6035         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6036         avoid excess range and precision on underflow.
6037         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6038         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6039         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6040         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6041         underflow.
6042         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6044         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6045         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6046         * math/auto-libm-test-in: Do not allow missing errno setting for
6047         tests of j1 and jn.
6048         * math/auto-libm-test-out: Regenerated.
6050 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6052         [BZ #15491]
6053         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6054         floating-point environment instead of clearing all exceptions.
6055         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6056         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6057         merging in "invalid" exceptions from frndint.
6058         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6059         * math/test-nearbyint-except.c: New file.
6060         * math/Makefile (tests): Add test-nearbyint-except.
6062 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6064         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6066         * sysdeps/tile/libm-test-ulps: Regenerated.
6068 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6071         (__NR_sync_file_range2): Assume it is always defined.
6072         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6073         (__NR_sync_file_range): Assume it is always defined.
6075 2015-10-22  Andreas Schwab  <schwab@suse.de>
6077         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6078         INTERNAL_SYSCALL_ERRNO.
6079         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6080         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6081         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6082         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6083         Likewise.
6084         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6086 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6088         * io/tst-fcntl.c (fd): New static variable.
6089         (do_prepare): Open temporary file here....
6090         (do_test): ...not here.
6092         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6094 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6096         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6097         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6098         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6099         Moved before "#ifdef __ASSEMBLER__".
6101 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6103         [BZ #19156]
6104         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6105         arguments very close to 0.
6107 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6109         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6110         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6112 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6114         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6115         New.  Defined for GCC 5 and above when not compiling for
6116         profiling.
6117         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6119         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6120         Renamed to ...
6121         (CFLAGS-epoll_pwait.o): This.
6122         (CFLAGS-mmap.c): Renamed to ...
6123         (CFLAGS-mmap.o): This.
6124         (CFLAGS-mmap64.c): Renamed to ...
6125         (CFLAGS-mmap64.o): This.
6126         (CFLAGS-epoll_pwait.os): New.
6127         (CFLAGS-mmap.os): Likewise.
6128         (CFLAGS-mmap64.os): Likewise.
6129         (CFLAGS-semtimedop.os): Likewise.
6130         (CFLAGS-semtimedop.c): Renamed to ...
6131         (CFLAGS-semtimedop.o): This.
6133 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6135         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6136         warning message.
6138 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6140         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6141         * Makefile ($(objpfx)c++-types-check.out): Filter out
6142         $(+gccwarn-c) instead of -Wstrict-prototypes.
6144         * io/fts.c (fts_open): Convert to prototype-style function
6145         definition.
6146         * malloc/mcheck.c (mcheck): Likewise.
6147         (mcheck_pedantic): Likewise.
6148         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6149         internal_function.
6150         (re_search_internal): Likewise.
6151         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6152         prototype-style function definition.
6153         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6154         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6155         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6156         (xdr_utmpptr): Likewise.
6157         (xdr_utmparr): Likewise.
6158         (xdr_utmpidle): Likewise.
6159         (xdr_utmpidleptr): Likewise.
6160         (xdr_utmpidlearr): Likewise.
6162         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6163         log, log10 and log2.
6164         * math/auto-libm-test-out: Regenerated.
6165         * math/libm-test.inc (fmod_test_data): Add more tests.
6166         (fpclassify_test_data): Likewise.
6167         (frexp_test_data): Likewise.
6168         (hypot_test_data): Likewise.
6169         (ilogb_test_data): Likewise.
6171 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6173         * debug/fortify_fail.c (__fortify_fail): Convert to
6174         prototype-style function definition.  Use internal_function.
6175         * libio/genops.c (save_for_backup): Convert to prototype-style
6176         function definition.
6177         * libio/wgenops.c (save_for_wbackup): Likewise.
6178         * login/grantpt.c (grantpt): Likewise.
6179         * login/ptsname.c (ptsname): Likewise.
6180         (__ptsname_r): Likewise.
6181         * login/unlockpt.c (unlockpt): Likewise.
6182         * mach/msgserver.c (__mach_msg_server): Likewise.
6183         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6184         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6185         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6186         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6187         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6188         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6189         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6190         Likewise.
6191         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6192         internal_function.
6193         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6194         prototype-style function definition.
6195         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6196         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6197         (__pthread_create_2_0): Likewise.
6198         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6199         * nptl/register-atfork.c (__register_atfork): Likewise.
6200         * posix/glob.c (glob): Likewise.
6201         * posix/regcomp.c (re_comp): Likewise.
6202         * posix/regexec.c (re_exec): Likewise.
6203         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6204         [!__STDC__]: Remove conditional code.
6205         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6206         [!__STDC__]: Remove conditional code.
6207         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6208         [!__STDC__]: Remove conditional code.
6209         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6210         [!__STDC__]: Remove conditional code.
6211         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6212         [!__STDC__]: Remove conditional code.
6213         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6214         [!__STDC__]: Remove conditional code.
6215         * stdlib/mul.c [__STDC__]: Make code unconditional.
6216         [!__STDC__]: Remove conditional code.
6217         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6218         [!__STDC__]: Remove conditional code.
6219         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6220         [!__STDC__]: Remove conditional code.
6221         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6222         function definition.
6223         (STRTOF): Likewise.
6224         * stdlib/strtod_l.c (__STRTOF): Likewise.
6225         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6226         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6227         (__strtol_l): Likewise.
6228         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6229         [!__STDC__]: Remove conditional code.
6230         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6231         definition.
6232         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6233         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6234         type.
6235         (__strcasecmp): Convert to prototype-style function definition.
6236         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6237         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6238         type.
6239         (__strncasecmp): Convert to prototype-style function definition.
6240         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6241         * sunrpc/xdr.c (xdr_union): Likewise.
6242         * sunrpc/xdr_array.c (xdr_array): Likewise.
6243         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6244         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6245         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6246         Likewise.
6247         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6248         Likewise.
6249         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6250         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6251         Likewise.
6252         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6253         (LOCALE_PARAM_PROTO): Likewise.
6254         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6255         argument type.
6256         (ut_argument_spec): Remove macro.
6257         (ut_argument_spec_iso): Rename to ut_argument_spec.
6258         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6259         prototype-style function definition.
6260         (memcpy_uppcase): Likewise.
6261         (__strftime_internal): Likewise.
6262         (my_strftime): Likewise.
6263         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6264         (LOCALE_PARAM_DECL): Likewise.
6265         [_LIBC] (LOCALE_PARAM): Include argument type.
6266         (__strptime_internal): Convert to prototype-style function
6267         definition.
6268         (strptime): Likewise.
6269         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6270         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6271         type.
6272         (__wcscasecmp): Convert to prototype-style function definition.
6273         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6274         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6275         type.
6276         (__wcsncasecmp): Convert to prototype-style function definition.
6278         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6279         function definition.
6280         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6281         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6282         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6283         * elf/dl-minimal.c (_itoa): Likewise.
6284         * hurd/hurdmalloc.c (malloc): Likewise.
6285         (free): Likewise.
6286         (realloc): Likewise.
6287         * inet/inet6_option.c (inet6_option_space): Likewise.
6288         (inet6_option_init): Likewise.
6289         (inet6_option_append): Likewise.
6290         (inet6_option_alloc): Likewise.
6291         (inet6_option_next): Likewise.
6292         (inet6_option_find): Likewise.
6293         * io/ftw.c (FTW_NAME): Likewise.
6294         (NFTW_NAME): Likewise.
6295         (NFTW_NEW_NAME): Likewise.
6296         (NFTW_OLD_NAME): Likewise.
6297         * libio/iofwide.c (_IO_fwide): Likewise.
6298         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6299         (_IO_str_init_static): Likewise.
6300         (_IO_str_init_readonly): Likewise.
6301         (_IO_str_overflow): Likewise.
6302         (_IO_str_underflow): Likewise.
6303         (_IO_str_count): Likewise.
6304         (_IO_str_seekoff): Likewise.
6305         (_IO_str_pbackfail): Likewise.
6306         (_IO_str_finish): Likewise.
6307         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6308         (_IO_wstr_overflow): Likewise.
6309         (_IO_wstr_underflow): Likewise.
6310         (_IO_wstr_count): Likewise.
6311         (_IO_wstr_seekoff): Likewise.
6312         (_IO_wstr_pbackfail): Likewise.
6313         (_IO_wstr_finish): Likewise.
6314         * locale/programs/localedef.c (normalize_codeset): Likewise.
6315         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6316         (add_locales_to_archive): Likewise.
6317         (delete_locales_from_archive): Likewise.
6318         * malloc/malloc.c (__libc_mallinfo): Likewise.
6319         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6320         * misc/tsearch.c (__tfind): Likewise.
6321         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6322         * nptl/pthread_attr_getdetachstate.c
6323         (__pthread_attr_getdetachstate): Likewise.
6324         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6325         Likewise.
6326         * nptl/pthread_attr_getinheritsched.c
6327         (__pthread_attr_getinheritsched): Likewise.
6328         * nptl/pthread_attr_getschedparam.c
6329         (__pthread_attr_getschedparam): Likewise.
6330         * nptl/pthread_attr_getschedpolicy.c
6331         (__pthread_attr_getschedpolicy): Likewise.
6332         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6333         Likewise.
6334         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6335         Likewise.
6336         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6337         Likewise.
6338         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6339         Likewise.
6340         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6341         (__pthread_attr_init_2_0): Likewise.
6342         * nptl/pthread_attr_setdetachstate.c
6343         (__pthread_attr_setdetachstate): Likewise.
6344         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6345         Likewise.
6346         * nptl/pthread_attr_setinheritsched.c
6347         (__pthread_attr_setinheritsched): Likewise.
6348         * nptl/pthread_attr_setschedparam.c
6349         (__pthread_attr_setschedparam): Likewise.
6350         * nptl/pthread_attr_setschedpolicy.c
6351         (__pthread_attr_setschedpolicy): Likewise.
6352         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6353         Likewise.
6354         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6355         Likewise.
6356         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6357         Likewise.
6358         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6359         Likewise.
6360         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6361         Likewise.
6362         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6363         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6364         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6365         use internal_function.
6366         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6367         prototype-style function definition.
6368         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6369         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6370         internal_function.
6371         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6372         Convert to prototype-style function definition.
6373         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6374         Likewise.
6375         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6376         Likewise.
6377         (__pthread_mutex_unlock): Likewise.
6378         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6379         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6380         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6381         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6382         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6383         * nss/makedb.c (process_input): Likewise.
6384         * posix/fnmatch.c (__strchrnul): Likewise.
6385         (__wcschrnul): Likewise.
6386         (fnmatch): Likewise.
6387         * posix/fnmatch_loop.c (FCT): Likewise.
6388         * posix/glob.c (globfree): Likewise.
6389         (__glob_pattern_type): Likewise.
6390         (__glob_pattern_p): Likewise.
6391         * posix/regcomp.c (re_compile_pattern): Likewise.
6392         (re_set_syntax): Likewise.
6393         (re_compile_fastmap): Likewise.
6394         (regcomp): Likewise.
6395         (regerror): Likewise.
6396         (regfree): Likewise.
6397         * posix/regexec.c (regexec): Likewise.
6398         (re_match): Likewise.
6399         (re_search): Likewise.
6400         (re_match_2): Likewise.
6401         (re_search_2): Likewise.
6402         (re_search_stub): Likewise.  Use internal_function
6403         (re_copy_regs): Likewise.
6404         (re_set_registers): Convert to prototype-style function
6405         definition.
6406         (prune_impossible_nodes): Likewise.  Use internal_function.
6407         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6408         prototype-style function definition.
6409         (inet_net_pton_ipv4): Likewise.
6410         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6411         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6412         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6413         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6414         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6415         Make variadic.
6416         * time/strptime_l.c (localtime_r): Convert to prototype-style
6417         function definition.
6418         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6419         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6420         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6421         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6423         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6424         definition.
6425         (_ufc_doit_r): Likewise.
6426         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6427         (_ufc_output_conversion_r): Likewise.
6428         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6429         * inet/rcmd.c (rcmd_af): Likewise.
6430         (rcmd): Likewise.
6431         (ruserok_af): Likewise.
6432         (ruserok): Likewise.
6433         (ruserok2_sa): Likewise.
6434         (ruserok_sa): Likewise.
6435         (iruserok_af): Likewise.
6436         (iruserok): Likewise.
6437         (__ivaliduser): Likewise.
6438         (__validuser2_sa): Likewise.
6439         * inet/rexec.c (rexec_af): Likewise.
6440         (rexec): Likewise.
6441         * inet/ruserpass.c (ruserpass): Likewise.
6442         * locale/programs/xmalloc.c (xcalloc): Likewise.
6443         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6444         * math/w_drem.c (__drem): Likewise.
6445         * math/w_dremf.c (__dremf): Likewise.
6446         * math/w_dreml.c (__dreml): Likewise.
6447         * misc/daemon.c (daemon): Likewise.
6448         * resolv/res_debug.c (p_fqnname): Likewise.
6449         * stdlib/div.c (div): Likewise.
6450         * string/memcmp.c (memcmp_bytes): Likewise.
6451         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6452         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6454         * crypt/cert.c (main): Convert to prototype-style function
6455         definition.
6456         * io/pipe.c (__pipe): Likewise.
6457         * io/pipe2.c (__pipe2): Likewise.
6458         * misc/futimesat.c (futimesat): Likewise.
6459         * misc/utimes.c (__utimes): Likewise.
6460         * posix/execve.c (__execve): Likewise.
6461         * posix/execvp.c (execvp): Likewise.
6462         * posix/execvpe.c (__execvpe): Likewise.
6463         * posix/fexecve.c (fexecve): Likewise.
6464         * socket/socketpair.c (socketpair): Likewise.
6465         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6466         * stdlib/erand48.c (erand48): Likewise.
6467         * stdlib/erand48_r.c (__erand48_r): Likewise.
6468         * stdlib/jrand48.c (jrand48): Likewise.
6469         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6470         * stdlib/lcong48.c (lcong48): Likewise.
6471         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6472         * stdlib/nrand48.c (nrand48): Likewise.
6473         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6474         * stdlib/seed48.c (seed48): Likewise.
6475         * stdlib/seed48_r.c (__seed48_r): Likewise.
6476         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6477         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6478         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6480 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6482         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6483         * configure: Regenerated.
6484         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6485         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6486         unconditional.
6487         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6488         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6489         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6490         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6491         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6492         unconditional.
6493         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6495         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6496         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6498         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6499         function definition.
6500         * crypt/crypt_util.c (__encrypt_r): Likewise.
6501         * libio/genops.c (_IO_no_init): Likewise.
6502         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6503         (_IO_old_fopencookie): Likewise.
6504         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6505         * libio/iogetline.c (_IO_getline): Likewise.
6506         (_IO_getline_info): Likewise.
6507         * libio/iogetwline.c (_IO_getwline): Likewise.
6508         (_IO_getwline_info): Likewise.
6509         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6510         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6511         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6512         (find_entry): Likewise.
6513         (iterate_table): Likewise.
6514         (lookup): Likewise.
6515         * login/forkpty.c (forkpty): Likewise.
6516         * misc/hsearch_r.c (__hsearch_r): Likewise.
6517         * misc/select.c (__select): Likewise.
6518         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6519         Likewise.
6520         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6521         Likewise.
6522         * nptl/old_pthread_cond_timedwait.c
6523         (__pthread_cond_timedwait_2_0): Likewise.
6524         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6525         * nptl/pthread_barrierattr_getpshared.c
6526         (pthread_barrierattr_getpshared): Likewise.
6527         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6528         Likewise.
6529         * nptl/pthread_mutex_setprioceiling.c
6530         (pthread_mutex_setprioceiling): Likewise.
6531         * nptl/pthread_mutexattr_getprioceiling.c
6532         (pthread_mutexattr_getprioceiling): Likewise.
6533         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6534         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6535         Likewise.
6536         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6537         Likewise.
6538         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6539         Likewise.
6540         * socket/recvfrom.c (__recvfrom): Likewise.
6541         * socket/sendto.c (__sendto): Likewise.
6542         * socket/setsockopt.c (__setsockopt): Likewise.
6543         * stdio-common/_itoa.c (_itoa): Likewise.
6544         * stdio-common/_itowa.c (_itowa): Likewise.
6545         * stdio-common/reg-printf.c (__register_printf_specifier):
6546         Likewise.
6547         (__register_printf_function): Likewise.
6548         * stdio-common/tempname.c (__path_search): Likewise.
6549         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6550         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6551         * stdlib/random_r.c (__initstate_r): Likewise.
6552         * stdlib/setenv.c (__add_to_environ): Likewise.
6553         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6554         * streams/getpmsg.c (getpmsg): Likewise.
6555         * streams/putmsg.c (putmsg): Likewise.
6556         * streams/putpmsg.c (putpmsg): Likewise.
6557         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6558         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6559         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6560         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6561         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6562         * sunrpc/svc_udp.c (cache_get): Likewise.
6563         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6564         * sysdeps/mach/hurd/getcwd.c
6565         (__canonicalize_directory_name_internal): Likewise.
6566         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6567         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6568         * sysdeps/mach/hurd/select.c (__select): Likewise.
6569         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6570         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6571         * sysdeps/sparc/nptl/pthread_barrier_init.c
6572         (__pthread_barrier_init): Likewise.
6573         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6574         (__pthread_cond_timedwait): Likewise.
6575         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6576         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6577         Likewise.
6578         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6579         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6580         Likewise.
6581         * sysvipc/semtimedop.c (semtimedop): Likewise.
6582         * time/setitimer.c (__setitimer): Likewise.
6583         * time/strftime_l.c (emacs_strftime): Likewise.
6585 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6587         * config.make.in (have-ssp): Delete.
6588         (stack-protector): New variable.
6589         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6590         cache test for -fstack-protector-strong.  Export stack_protector to
6591         the best ssp flag.
6592         * configure: Regenerated.
6593         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6594         * nscd/Makefile (CFLAGS-nscd): Likewise.
6595         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6597 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6599         [BZ #19122]
6600         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6601         attribute_hidden.
6603 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6605         [BZ #18743]
6606         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6607         code to...
6608         (ELIDE_LOCK): ...here.
6609         (__get_new_count): New function with part of the code from
6610         __elide_lock that updates the value of adapt_count after a
6611         transaction abort.
6612         (__elided_trylock): Moved this code to...
6613         (ELIDE_TRYLOCK): ...here.
6615 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6617         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6618         * configure: Regenerate.
6619         * INSTALL: Regenerate.
6620         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6621         and tweak grammar.
6623 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6625         * login/programs/pt_chown.c: Include signal.h
6626         (main): Clear any signal mask from the parent process.
6628 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6630         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6631         * configure: Regenerated.
6632         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6633         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6634         $(gnu89-inline-CFLAGS).
6636         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6637         test.
6638         (libc_cv_asm_weakext_directive): Likewise.
6639         * configure: Regenerated.
6640         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6641         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6642         * include/libc-symbols.h
6643         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6644         #error.
6645         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6646         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6648         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6649         prototype-style function definition.
6650         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6651         * sysdeps/i386/ffs.c (__ffs): Likewise.
6652         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6653         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6654         Likewise.
6655         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6656         Likewise.
6657         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6658         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6659         Likewise.
6660         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6661         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6662         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6663         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6664         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6665         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6666         * sysdeps/mach/hurd/access.c (__access): Likewise.
6667         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6668         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6669         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6670         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6671         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6672         (cthread_getspecific): Likewise.
6673         (cthread_setspecific): Likewise.
6674         (__libc_getspecific): Likewise.
6675         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6676         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6677         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6678         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6679         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6680         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6681         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6682         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6683         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6684         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6685         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6686         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6687         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6688         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6689         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6690         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6691         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6692         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6693         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6694         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6695         * sysdeps/mach/hurd/link.c (__link): Likewise.
6696         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6697         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6698         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6699         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6700         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6701         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6702         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6703         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6704         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6705         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6706         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6707         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6708         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6709         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6710         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6711         * sysdeps/mach/hurd/send.c (__send): Likewise.
6712         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6713         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6714         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6715         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6716         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6717         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6718         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6719         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6720         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6721         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6722         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6723         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6724         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6725         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6726         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6727         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6728         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6729         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6730         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6731         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6732         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6733         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6734         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6735         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6736         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6737         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6738         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6739         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6740         * sysdeps/posix/alarm.c (alarm): Likewise.
6741         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6742         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6743         * sysdeps/posix/dup.c (__dup): Likewise.
6744         * sysdeps/posix/dup2.c (__dup2): Likewise.
6745         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6746         (main): Likewise.
6747         * sysdeps/posix/flock.c (__flock): Likewise.
6748         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6749         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6750         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6751         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6752         * sysdeps/posix/isatty.c (__isatty): Likewise.
6753         * sysdeps/posix/killpg.c (killpg): Likewise.
6754         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6755         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6756         * sysdeps/posix/raise.c (raise): Likewise.
6757         * sysdeps/posix/remove.c (remove): Likewise.
6758         * sysdeps/posix/rename.c (rename): Likewise.
6759         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6760         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6761         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6762         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6763         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6764         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6765         * sysdeps/posix/sigset.c (sigset): Likewise.
6766         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6767         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6768         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6769         * sysdeps/posix/time.c (time): Likewise.
6770         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6771         (ttyname): Likewise.
6772         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6773         * sysdeps/posix/utime.c (utime): Likewise.
6774         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6775         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6776         Likewise.
6777         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6778         (pthread_spin_trylock): Likewise.
6779         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6780         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6781         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6782         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6783         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6784         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6785         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6786         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6787         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6788         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6789         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6790         * sysdeps/s390/ffs.c (__ffs): Likewise.
6791         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6792         Likewise.
6793         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6794         Likewise.
6795         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6796         Likewise.
6797         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6798         (pthread_barrier_destroy): Likewise.
6799         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6800         (__pthread_barrier_wait): Likewise.
6801         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6802         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6803         (__pthread_barrier_wait): Likewise.
6804         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6805         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6806         (memcmp_not_common_alignment): Likewise.
6807         (MEMCMP): Likewise.
6808         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6809         (_wordcopy_fwd_dest_aligned): Likewise.
6810         (_wordcopy_bwd_aligned): Likewise.
6811         (_wordcopy_bwd_dest_aligned): Likewise.
6812         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6813         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6814         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6815         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6816         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6817         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6818         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6819         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6820         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6821         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6822         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6823         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6824         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6825         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6826         * sysdeps/unix/stime.c (stime): Likewise.
6827         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6828         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6829         Likewise.  Use internal_function.
6830         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6831         Convert to prototype-style function definition.
6832         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6833         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6834         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6835         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6836         Likewise.  Use internal_function.
6837         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6838         prototype-style function definition
6839         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6840         Likewise.
6841         (__getlogin_r): Likewise.
6842         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6843         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6844         (__pthread_cond_broadcast): Likewise.
6845         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6846         (__pthread_cond_destroy): Likewise.
6847         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6848         (__pthread_cond_init): Likewise.
6849         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6850         (__pthread_cond_signal): Likewise.
6851         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6852         (__pthread_cond_wait): Likewise.
6853         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6854         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6855         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6856         Likewise.
6857         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6858         Likewise.
6859         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6860         Likewise.
6861         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6865         (__ftruncate64): Likewise.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6867         (truncate64): Likewise.
6868         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6869         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6870         (pthread_getcpuclockid): Likewise.
6871         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6872         Likewise.
6873         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6874         Likewise.
6875         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6876         Likewise.
6877         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6878         Likewise.
6879         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6880         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6881         (__libc_sigaction): Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6883         Likewise.
6884         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6885         (__sigprocmask): Likewise.
6886         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6887         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6888         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6889         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6890         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6891         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6892         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6893         Likewise.
6894         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6895         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6896         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6897         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6898         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6899         Likewise.
6900         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6901         (__sigprocmask): Likewise.
6902         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6903         (cfgetispeed): Likewise.
6904         (cfsetospeed): Likewise.
6905         (cfsetispeed): Likewise.
6906         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6907         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6908         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6909         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6910         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6911         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6912         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6913         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6914         Likewise.
6915         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6916         Likewise.
6917         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6918         Likewise.
6919         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6920         Likewise.
6921         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6923 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6925         sunrpc: Rewrite with explicit TLS access using __thread.
6926         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6927         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6928         directly.
6929         (__rpc_thread_variables): Access thread_rpc_vars directly.
6930         Eliminate redundant assignment of the tvp variable.
6932 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6934         malloc: Rewrite with explicit TLS access using __thread.
6935         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6936         (tsd_setspecific, tsd_getspecific): Remove.
6937         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6938         (tsd_setspecific, tsd_getspecific): Likewise.
6939         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6940         (tsd_setspecific, tsd_getspecific): Likewise.
6941         * malloc/arena.c (thread_arena): New TLS variable.
6942         (arena_key): Remove variable.
6943         (arena_get): Use thread_arena.
6944         (arena_lookup): Remove macro.
6945         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6946         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6947         (_int_new_arena, get_free_list, reused_arena)
6948         (arena_thread_freeres): Use thread_arena.
6949         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6950         tsd_getspecific, tsd_setspecific from safety annotations.
6951         (Allocating Cleared Space): Remove arena_lookup from safety
6952         annotations.
6954 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6956         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6957         struct scratch_buffer instead of extend_alloca.
6959 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6961         * sysdeps/unix/sysv/linux/kernel-features.h
6962         (__ASSUME_SOCK_CLOEXEC): Remove.
6963         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6964         (__have_paccept): Remove unused macro.
6965         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6966         * misc/syslog.c (openlog_internal): Remove fallback code for
6967         !__ASSUME_SOCK_CLOEXEC.
6968         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6969         missing SOCK_CLOEXEC.
6970         * nscd/connections.c (have_sock_cloexec): Remove definition.
6971         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6972         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6973         !__ASSUME_SOCK_CLOEXEC.
6974         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6975         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6976         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6977         definition.
6978         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6979         code for !__ASSUME_SOCK_CLOEXEC.
6981 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6983         [BZ #18982]
6984         * manual/stdio.texi (Variable Arguments Output): Add portability
6985         note, explaining that vfprintf clobbers the va_list pointer.
6987 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6989         * math/libm-test.inc (fabs_test_data): Add more tests.
6990         (fdim_test_data): Likewise.
6991         (fma_test_data): Likewise.
6992         (fmax_test_data): Likewise.
6993         (fmin_test_data): Likewise.
6994         (fmod_test_data): Likewise.
6996 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6998         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6999         data.
7001 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7003         * math/libm-test.inc (ceil_test_data): Add more tests and more
7004         expectations for "inexact".
7005         (floor_test_data): Add more tests.
7006         (round_test_data): Likewise.
7007         (trunc_test_data): Likewise.
7009         * crypt/cert.c (good_bye): Convert to prototype-style function
7010         definition.
7011         (get8): Likewise.
7012         (put8): Likewise.
7013         * crypt/crypt-entry.c (crypt): Likewise.
7014         (__fcrypt): Likewise.
7015         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7016         (_ufc_set_bits): Likewise.
7017         (_ufc_clearmem): Likewise.
7018         (__init_des_r): Likewise.
7019         (shuffle_sb): Likewise.
7020         (shuffle_sb): Likewise.
7021         (_ufc_setup_salt_r): Likewise.
7022         (_ufc_mk_keytab_r): Likewise.
7023         (_ufc_dofinalperm_r): Likewise.
7024         (encrypt): Likewise.
7025         (__setkey_r): Likewise.
7026         (setkey): Likewise.
7027         * crypt/md5.c (md5_init_ctx): Likewise.
7028         (md5_read_ctx): Likewise.
7029         (md5_finish_ctx): Likewise.
7030         (md5_stream): Likewise.
7031         (md5_buffer): Likewise.
7032         (md5_process_bytes): Likewise.
7033         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7034         (__sha256_finish_ctx): Likewise.
7035         (__sha256_process_bytes): Likewise.
7036         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7037         (__sha512_finish_ctx): Likewise.
7038         (__sha512_process_bytes): Likewise.
7039         * ctype/isctype.c (__isctype): Likewise.
7040         * debug/backtrace.c (__backtrace): Likewise.
7041         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7042         * debug/fgets_chk.c (__fgets_chk): Likewise.
7043         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7044         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7045         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7046         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7047         * debug/memset_chk.c (__memset_chk): Likewise.
7048         * debug/strcat_chk.c (__strcat_chk): Likewise.
7049         * debug/strncat_chk.c (__strncat_chk): Likewise.
7050         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7051         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7052         * dirent/dirfd.c (dirfd): Likewise.
7053         * dirent/getdents.c (__getdirentries): Likewise.
7054         * dirent/getdents64.c (getdirentries64): Likewise.
7055         * dirent/rewinddir.c (__rewinddir): Likewise.
7056         * dirent/seekdir.c (seekdir): Likewise.
7057         * dirent/telldir.c (telldir): Likewise.
7058         * elf/sln.c (makesymlinks): Likewise.
7059         (makesymlink): Likewise.
7060         * gmon/gmon.c (__moncontrol): Likewise.
7061         (__monstartup): Likewise.
7062         (write_hist): Likewise.
7063         (write_call_graph): Likewise.
7064         (write_bb_counts): Likewise.
7065         * grp/setgroups.c (setgroups): Likewise.
7066         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7067         * inet/inet_net.c (inet_network): Likewise.
7068         * inet/inet_netof.c (inet_netof): Likewise.
7069         * inet/rcmd.c (rresvport_af): Likewise.
7070         (rresvport): Likewise.
7071         * io/access.c (__access): Likewise.
7072         * io/chdir.c (__chdir): Likewise.
7073         * io/chmod.c (__chmod): Likewise.
7074         * io/chown.c (__chown): Likewise.
7075         * io/close.c (__close): Likewise.
7076         * io/creat.c (creat): Likewise.
7077         * io/creat64.c (creat64): Likewise.
7078         * io/dup.c (__dup): Likewise.
7079         * io/dup2.c (__dup2): Likewise.
7080         * io/dup3.c (__dup3): Likewise.
7081         * io/euidaccess.c (__euidaccess): Likewise.
7082         * io/faccessat.c (faccessat): Likewise.
7083         * io/fchmod.c (__fchmod): Likewise.
7084         * io/fchmodat.c (fchmodat): Likewise.
7085         * io/fchown.c (__fchown): Likewise.
7086         * io/fchownat.c (fchownat): Likewise.
7087         * io/fcntl.c (__fcntl): Likewise.
7088         * io/flock.c (__flock): Likewise.
7089         * io/fts.c (fts_load): Likewise.
7090         (fts_close): Likewise.
7091         (fts_read): Likewise.
7092         (fts_set): Likewise.
7093         (fts_children): Likewise.
7094         (fts_build): Likewise.
7095         (fts_stat): Likewise.
7096         (fts_sort): Likewise.
7097         (fts_alloc): Likewise.
7098         (fts_lfree): Likewise.
7099         (fts_palloc): Likewise.
7100         (fts_padjust): Likewise.
7101         (fts_maxarglen): Likewise.
7102         (fts_safe_changedir): Likewise.
7103         * io/getwd.c (getwd): Likewise.
7104         * io/isatty.c (__isatty): Likewise.
7105         * io/lchown.c (__lchown): Likewise.
7106         * io/link.c (__link): Likewise.
7107         * io/linkat.c (linkat): Likewise.
7108         * io/lseek.c (__libc_lseek): Likewise.
7109         * io/mkdir.c (__mkdir): Likewise.
7110         * io/mkdirat.c (mkdirat): Likewise.
7111         * io/mkfifo.c (mkfifo): Likewise.
7112         * io/mkfifoat.c (mkfifoat): Likewise.
7113         * io/open.c (__libc_open): Likewise.
7114         * io/open64.c (__libc_open64): Likewise.
7115         * io/readlink.c (__readlink): Likewise.
7116         * io/readlinkat.c (readlinkat): Likewise.
7117         * io/rmdir.c (__rmdir): Likewise.
7118         * io/symlink.c (__symlink): Likewise.
7119         * io/symlinkat.c (symlinkat): Likewise.
7120         * io/ttyname.c (ttyname): Likewise.
7121         * io/ttyname_r.c (__ttyname_r): Likewise.
7122         * io/umask.c (__umask): Likewise.
7123         * io/unlink.c (__unlink): Likewise.
7124         * io/unlinkat.c (unlinkat): Likewise.
7125         * io/utime.c (utime): Likewise.
7126         * libio/clearerr.c (clearerr): Likewise.
7127         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7128         * libio/feof.c (_IO_feof): Likewise.
7129         * libio/feof_u.c (feof_unlocked): Likewise.
7130         * libio/ferror.c (_IO_ferror): Likewise.
7131         * libio/ferror_u.c (ferror_unlocked): Likewise.
7132         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7133         * libio/fileno.c (__fileno): Likewise.
7134         * libio/fputc.c (fputc): Likewise.
7135         * libio/fputc_u.c (fputc_unlocked): Likewise.
7136         * libio/fputwc.c (fputwc): Likewise.
7137         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7138         * libio/freopen.c (freopen): Likewise.
7139         * libio/freopen64.c (freopen64): Likewise.
7140         * libio/fseek.c (fseek): Likewise.
7141         * libio/fseeko.c (fseeko): Likewise.
7142         * libio/fseeko64.c (fseeko64): Likewise.
7143         * libio/ftello.c (__ftello): Likewise.
7144         * libio/ftello64.c (ftello64): Likewise.
7145         * libio/fwide.c (fwide): Likewise.
7146         * libio/genops.c (_IO_un_link): Likewise.
7147         (_IO_link_in): Likewise.
7148         (_IO_least_marker): Likewise.
7149         (_IO_switch_to_main_get_area): Likewise.
7150         (_IO_switch_to_backup_area): Likewise.
7151         (_IO_switch_to_get_mode): Likewise.
7152         (_IO_free_backup_area): Likewise.
7153         (_IO_switch_to_put_mode): Likewise.
7154         (__overflow): Likewise.
7155         (__underflow): Likewise.
7156         (__uflow): Likewise.
7157         (_IO_setb): Likewise.
7158         (_IO_doallocbuf): Likewise.
7159         (_IO_default_underflow): Likewise.
7160         (_IO_default_uflow): Likewise.
7161         (_IO_default_xsputn): Likewise.
7162         (_IO_sgetn): Likewise.
7163         (_IO_default_xsgetn): Likewise.
7164         (_IO_sync): Likewise.
7165         (_IO_default_setbuf): Likewise.
7166         (_IO_default_seekpos): Likewise.
7167         (_IO_default_doallocate): Likewise.
7168         (_IO_init): Likewise.
7169         (_IO_old_init): Likewise.
7170         (_IO_default_sync): Likewise.
7171         (_IO_default_finish): Likewise.
7172         (_IO_default_seekoff): Likewise.
7173         (_IO_sputbackc): Likewise.
7174         (_IO_sungetc): Likewise.
7175         (_IO_set_column): Likewise.
7176         (_IO_set_column): Likewise.
7177         (_IO_adjust_column): Likewise.
7178         (_IO_get_column): Likewise.
7179         (_IO_init_marker): Likewise.
7180         (_IO_remove_marker): Likewise.
7181         (_IO_marker_difference): Likewise.
7182         (_IO_marker_delta): Likewise.
7183         (_IO_seekmark): Likewise.
7184         (_IO_unsave_markers): Likewise.
7185         (_IO_nobackup_pbackfail): Likewise.
7186         (_IO_default_pbackfail): Likewise.
7187         (_IO_default_seek): Likewise.
7188         (_IO_default_stat): Likewise.
7189         (_IO_default_read): Likewise.
7190         (_IO_default_write): Likewise.
7191         (_IO_default_showmanyc): Likewise.
7192         (_IO_default_imbue): Likewise.
7193         (_IO_iter_next): Likewise.
7194         (_IO_iter_file): Likewise.
7195         * libio/getc.c (_IO_getc): Likewise.
7196         * libio/getwc.c (_IO_getwc): Likewise.
7197         * libio/iofclose.c (_IO_new_fclose): Likewise.
7198         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7199         * libio/iofflush.c (_IO_fflush): Likewise.
7200         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7201         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7202         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7203         * libio/iofgets.c (_IO_fgets): Likewise.
7204         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7205         * libio/iofgetws.c (fgetws): Likewise.
7206         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7207         * libio/iofopen64.c (_IO_fopen64): Likewise.
7208         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7209         (_IO_cookie_write): Likewise.
7210         (_IO_cookie_seek): Likewise.
7211         (_IO_cookie_close): Likewise.
7212         (_IO_cookie_seekoff): Likewise.
7213         (_IO_old_cookie_seek): Likewise.
7214         * libio/iofputs.c (_IO_fputs): Likewise.
7215         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7216         * libio/iofputws.c (fputws): Likewise.
7217         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7218         * libio/iofread.c (_IO_fread): Likewise.
7219         * libio/iofread_u.c (__fread_unlocked): Likewise.
7220         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7221         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7222         * libio/ioftell.c (_IO_ftell): Likewise.
7223         * libio/iofwrite.c (_IO_fwrite): Likewise.
7224         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7225         * libio/iogets.c (_IO_gets): Likewise.
7226         * libio/iopadn.c (_IO_padn): Likewise.
7227         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7228         (_IO_new_popen): Likewise.
7229         (_IO_new_proc_close): Likewise.
7230         * libio/ioputs.c (_IO_puts): Likewise.
7231         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7232         (_IO_seekoff): Likewise.
7233         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7234         (_IO_seekpos): Likewise.
7235         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7236         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7237         * libio/ioungetc.c (_IO_ungetc): Likewise.
7238         * libio/ioungetwc.c (ungetwc): Likewise.
7239         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7240         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7241         * libio/iowpadn.c (_IO_wpadn): Likewise.
7242         * libio/libc_fatal.c (__libc_fatal): Likewise.
7243         * libio/memstream.c (__open_memstream): Likewise.
7244         (_IO_mem_sync): Likewise.
7245         (_IO_mem_finish): Likewise.
7246         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7247         (_IO_old_file_close_it): Likewise.
7248         (_IO_old_file_finish): Likewise.
7249         (_IO_old_file_fopen): Likewise.
7250         (_IO_old_file_attach): Likewise.
7251         (_IO_old_file_setbuf): Likewise.
7252         (_IO_old_do_write): Likewise.
7253         (old_do_write): Likewise.
7254         (_IO_old_file_underflow): Likewise.
7255         (_IO_old_file_overflow): Likewise.
7256         (_IO_old_file_sync): Likewise.
7257         (_IO_old_file_seekoff): Likewise.
7258         (_IO_old_file_write): Likewise.
7259         (_IO_old_file_xsputn): Likewise.
7260         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7261         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7262         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7263         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7264         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7265         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7266         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7267         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7268         (_IO_old_popen): Likewise.
7269         (_IO_old_proc_close): Likewise.
7270         * libio/oldpclose.c (__old_pclose): Likewise.
7271         * libio/pclose.c (__new_pclose): Likewise.
7272         * libio/peekc.c (_IO_peekc_locked): Likewise.
7273         * libio/putc.c (_IO_putc): Likewise.
7274         * libio/putc_u.c (putc_unlocked): Likewise.
7275         * libio/putchar.c (putchar): Likewise.
7276         * libio/putchar_u.c (putchar_unlocked): Likewise.
7277         * libio/putwc.c (putwc): Likewise.
7278         * libio/putwc_u.c (putwc_unlocked): Likewise.
7279         * libio/putwchar.c (putwchar): Likewise.
7280         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7281         * libio/rewind.c (rewind): Likewise.
7282         * libio/setbuf.c (setbuf): Likewise.
7283         * libio/setlinebuf.c (setlinebuf): Likewise.
7284         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7285         * libio/vscanf.c (_IO_vscanf): Likewise.
7286         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7287         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7288         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7289         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7290         (_IO_switch_to_main_wget_area): Likewise.
7291         (_IO_switch_to_wbackup_area): Likewise.
7292         (_IO_wsetb): Likewise.
7293         (_IO_wdefault_pbackfail): Likewise.
7294         (_IO_wdefault_finish): Likewise.
7295         (_IO_wdefault_uflow): Likewise.
7296         (__woverflow): Likewise.
7297         (__wuflow): Likewise.
7298         (__wunderflow): Likewise.
7299         (_IO_wdefault_xsputn): Likewise.
7300         (_IO_wdefault_xsgetn): Likewise.
7301         (_IO_wdoallocbuf): Likewise.
7302         (_IO_wdefault_doallocate): Likewise.
7303         (_IO_switch_to_wget_mode): Likewise.
7304         (_IO_free_wbackup_area): Likewise.
7305         (_IO_switch_to_wput_mode): Likewise.
7306         (_IO_sputbackwc): Likewise.
7307         (_IO_sungetwc): Likewise.
7308         (_IO_adjust_wcolumn): Likewise.
7309         (_IO_init_wmarker): Likewise.
7310         (_IO_wmarker_delta): Likewise.
7311         (_IO_seekwmark): Likewise.
7312         (_IO_unsave_wmarkers): Likewise.
7313         * libio/wmemstream.c (open_wmemstream): Likewise.
7314         (_IO_wmem_sync): Likewise.
7315         (_IO_wmem_finish): Likewise.
7316         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7317         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7318         * locale/programs/simple-hash.c (init_hash): Likewise.
7319         (delete_hash): Likewise.
7320         (insert_entry): Likewise.
7321         (set_entry): Likewise.
7322         (next_prime): Likewise.
7323         (is_prime): Likewise.
7324         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7325         (xmalloc): Likewise.
7326         (xrealloc): Likewise.
7327         * locale/programs/xstrdup.c (xstrdup): Likewise.
7328         * localedata/collate-test.c (xstrcoll): Likewise.
7329         * localedata/xfrm-test.c (xstrcmp): Likewise.
7330         * login/getlogin_r.c (__getlogin_r): Likewise.
7331         * login/getpt.c (__posix_openpt): Likewise.
7332         * login/login_tty.c (login_tty): Likewise.
7333         * login/setlogin.c (setlogin): Likewise.
7334         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7335         (mach_msg_destroy_port): Likewise.
7336         (mach_msg_destroy_memory): Likewise.
7337         * malloc/mcheck.c (flood): Likewise.
7338         * misc/acct.c (acct): Likewise.
7339         * misc/brk.c (__brk): Likewise.
7340         * misc/chflags.c (chflags): Likewise.
7341         * misc/chroot.c (chroot): Likewise.
7342         * misc/fchflags.c (fchflags): Likewise.
7343         * misc/fstab.c (getfsspec): Likewise.
7344         (getfsfile): Likewise.
7345         * misc/fsync.c (fsync): Likewise.
7346         * misc/ftruncate.c (__ftruncate): Likewise.
7347         * misc/ftruncate64.c (__ftruncate64): Likewise.
7348         * misc/getdomain.c (getdomainname): Likewise.
7349         (getdomainname): Likewise.
7350         * misc/gethostname.c (__gethostname): Likewise.
7351         * misc/getpass.c (getpass): Likewise.
7352         * misc/getttyent.c (skip): Likewise.
7353         (value): Likewise.
7354         * misc/gtty.c (gtty): Likewise.
7355         * misc/hsearch.c (hsearch): Likewise.
7356         (hcreate): Likewise.
7357         * misc/hsearch_r.c (__hcreate_r): Likewise.
7358         (__hdestroy_r): Likewise.
7359         * misc/ioctl.c (__ioctl): Likewise.
7360         * misc/mkdtemp.c (mkdtemp): Likewise.
7361         * misc/mkostemp.c (mkostemp): Likewise.
7362         * misc/mkostemp64.c (mkostemp64): Likewise.
7363         * misc/mkostemps.c (mkostemps): Likewise.
7364         * misc/mkostemps64.c (mkostemps64): Likewise.
7365         * misc/mkstemp.c (mkstemp): Likewise.
7366         * misc/mkstemp64.c (mkstemp64): Likewise.
7367         * misc/mkstemps.c (mkstemps): Likewise.
7368         * misc/mkstemps64.c (mkstemps64): Likewise.
7369         * misc/mktemp.c (__mktemp): Likewise.
7370         * misc/preadv.c (preadv): Likewise.
7371         * misc/preadv64.c (preadv64): Likewise.
7372         * misc/pwritev.c (pwritev): Likewise.
7373         * misc/pwritev64.c (pwritev64): Likewise.
7374         * misc/readv.c (__readv): Likewise.
7375         * misc/revoke.c (revoke): Likewise.
7376         * misc/setdomain.c (setdomainname): Likewise.
7377         * misc/setegid.c (setegid): Likewise.
7378         * misc/seteuid.c (seteuid): Likewise.
7379         * misc/sethostid.c (sethostid): Likewise.
7380         * misc/sethostname.c (sethostname): Likewise.
7381         * misc/setregid.c (__setregid): Likewise.
7382         * misc/setreuid.c (__setreuid): Likewise.
7383         * misc/sstk.c (sstk): Likewise.
7384         * misc/stty.c (stty): Likewise.
7385         * misc/syscall.c (syscall): Likewise.
7386         * misc/syslog.c (setlogmask): Likewise.
7387         * misc/truncate.c (__truncate): Likewise.
7388         * misc/truncate64.c (truncate64): Likewise.
7389         * misc/ualarm.c (ualarm): Likewise.
7390         * misc/usleep.c (usleep): Likewise.
7391         * misc/ustat.c (ustat): Likewise.
7392         * misc/writev.c (__writev): Likewise.
7393         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7394         * nptl/old_pthread_cond_broadcast.c
7395         (__pthread_cond_broadcast_2_0): Likewise.
7396         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7397         Likewise.
7398         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7399         Likewise.
7400         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7401         Likewise.
7402         * nptl/pt-raise.c (raise): Likewise.
7403         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7404         Likewise.
7405         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7406         * nptl/pthread_barrierattr_destroy.c
7407         (pthread_barrierattr_destroy): Likewise.
7408         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7409         Likewise.
7410         * nptl/pthread_barrierattr_setpshared.c
7411         (pthread_barrierattr_setpshared): Likewise.
7412         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7413         Likewise.
7414         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7415         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7416         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7417         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7418         Likewise.
7419         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7420         Likewise.
7421         * nptl/pthread_condattr_getpshared.c
7422         (pthread_condattr_getpshared): Likewise.
7423         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7424         Likewise.
7425         * nptl/pthread_condattr_setpshared.c
7426         (pthread_condattr_setpshared): Likewise.
7427         * nptl/pthread_detach.c (pthread_detach): Likewise.
7428         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7429         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7430         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7431         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7432         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7433         Likewise.
7434         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7435         Likewise.
7436         * nptl/pthread_mutex_getprioceiling.c
7437         (pthread_mutex_getprioceiling): Likewise.
7438         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7439         Likewise.
7440         * nptl/pthread_mutexattr_getprotocol.c
7441         (pthread_mutexattr_getprotocol): Likewise.
7442         * nptl/pthread_mutexattr_getpshared.c
7443         (pthread_mutexattr_getpshared): Likewise.
7444         * nptl/pthread_mutexattr_getrobust.c
7445         (pthread_mutexattr_getrobust): Likewise.
7446         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7447         Likewise.
7448         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7449         Likewise.
7450         * nptl/pthread_mutexattr_setprioceiling.c
7451         (pthread_mutexattr_setprioceiling): Likewise.
7452         * nptl/pthread_mutexattr_setprotocol.c
7453         (pthread_mutexattr_setprotocol): Likewise.
7454         * nptl/pthread_mutexattr_setpshared.c
7455         (pthread_mutexattr_setpshared): Likewise.
7456         * nptl/pthread_mutexattr_setrobust.c
7457         (pthread_mutexattr_setrobust): Likewise.
7458         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7459         Likewise.
7460         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7461         Likewise.
7462         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7463         Likewise.
7464         * nptl/pthread_rwlockattr_getkind_np.c
7465         (pthread_rwlockattr_getkind_np): Likewise.
7466         * nptl/pthread_rwlockattr_getpshared.c
7467         (pthread_rwlockattr_getpshared): Likewise.
7468         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7469         Likewise.
7470         * nptl/pthread_rwlockattr_setkind_np.c
7471         (pthread_rwlockattr_setkind_np): Likewise.
7472         * nptl/pthread_rwlockattr_setpshared.c
7473         (pthread_rwlockattr_setpshared): Likewise.
7474         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7475         Likewise.
7476         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7477         Likewise.
7478         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7479         Likewise.
7480         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7481         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7482         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7483         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7484         * nptl/sem_close.c (sem_close): Likewise.
7485         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7486         * nptl/sem_init.c (__old_sem_init): Likewise.
7487         * nptl/sigaction.c (__sigaction): Likewise.
7488         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7489         * posix/_exit.c (_exit): Likewise.
7490         * posix/alarm.c (alarm): Likewise.
7491         * posix/confstr.c (confstr): Likewise.
7492         * posix/fpathconf.c (__fpathconf): Likewise.
7493         * posix/getgroups.c (__getgroups): Likewise.
7494         * posix/getpgid.c (__getpgid): Likewise.
7495         * posix/group_member.c (__group_member): Likewise.
7496         * posix/pathconf.c (__pathconf): Likewise.
7497         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7498         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7499         * posix/setgid.c (__setgid): Likewise.
7500         * posix/setpgid.c (__setpgid): Likewise.
7501         * posix/setuid.c (__setuid): Likewise.
7502         * posix/sleep.c (__sleep): Likewise.
7503         * posix/sysconf.c (__sysconf): Likewise.
7504         * posix/times.c (__times): Likewise.
7505         * posix/uname.c (__uname): Likewise.
7506         * posix/waitid.c (__waitid): Likewise.
7507         * pwd/getpw.c (__getpw): Likewise.
7508         * resolv/base64.c (b64_pton): Likewise.
7509         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7510         * resolv/gethnamaddr.c (Dprintf): Likewise.
7511         (gethostbyname): Likewise.
7512         (gethostbyname2): Likewise.
7513         (gethostbyaddr): Likewise.
7514         (_sethtent): Likewise.
7515         (_gethtbyname): Likewise.
7516         (_gethtbyname2): Likewise.
7517         (_gethtbyaddr): Likewise.
7518         (map_v4v6_address): Likewise.
7519         (map_v4v6_hostent): Likewise.
7520         (addrsort): Likewise.
7521         (ht_sethostent): Likewise.
7522         (ht_gethostbyname): Likewise.
7523         (ht_gethostbyaddr): Likewise.
7524         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7525         (inet_net_ntop_ipv4): Likewise.
7526         * resolv/inet_neta.c (inet_neta): Likewise.
7527         * resolv/inet_ntop.c (inet_ntop): Likewise.
7528         (inet_ntop4): Likewise.
7529         (inet_ntop6): Likewise.
7530         * resolv/inet_pton.c (__inet_pton): Likewise.
7531         (inet_pton4): Likewise.
7532         (inet_pton6): Likewise.
7533         * resolv/res_debug.c (loc_aton): Likewise.
7534         (loc_ntoa): Likewise.
7535         * resource/getpriority.c (__getpriority): Likewise.
7536         * resource/getrusage.c (__getrusage): Likewise.
7537         * resource/nice.c (nice): Likewise.
7538         * resource/setpriority.c (__setpriority): Likewise.
7539         * resource/setrlimit64.c (setrlimit64): Likewise.
7540         * resource/vlimit.c (vlimit): Likewise.
7541         * resource/vtimes.c (vtimes): Likewise.
7542         * rt/aio_error.c (aio_error): Likewise.
7543         * rt/aio_return.c (aio_return): Likewise.
7544         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7545         * signal/kill.c (__kill): Likewise.
7546         * signal/killpg.c (killpg): Likewise.
7547         * signal/raise.c (raise): Likewise.
7548         * signal/sigaction.c (__sigaction): Likewise.
7549         * signal/sigaddset.c (sigaddset): Likewise.
7550         * signal/sigaltstack.c (sigaltstack): Likewise.
7551         * signal/sigandset.c (sigandset): Likewise.
7552         * signal/sigblock.c (__sigblock): Likewise.
7553         * signal/sigdelset.c (sigdelset): Likewise.
7554         * signal/sigempty.c (sigemptyset): Likewise.
7555         * signal/sigfillset.c (sigfillset): Likewise.
7556         * signal/sighold.c (sighold): Likewise.
7557         * signal/sigignore.c (sigignore): Likewise.
7558         * signal/sigintr.c (siginterrupt): Likewise.
7559         * signal/sigisempty.c (sigisemptyset): Likewise.
7560         * signal/sigismem.c (sigismember): Likewise.
7561         * signal/signal.c (signal): Likewise.
7562         * signal/sigorset.c (sigorset): Likewise.
7563         * signal/sigpause.c (__sigpause): Likewise.
7564         * signal/sigpending.c (sigpending): Likewise.
7565         * signal/sigprocmask.c (__sigprocmask): Likewise.
7566         * signal/sigrelse.c (sigrelse): Likewise.
7567         * signal/sigreturn.c (__sigreturn): Likewise.
7568         * signal/sigset.c (sigset): Likewise.
7569         * signal/sigsetmask.c (__sigsetmask): Likewise.
7570         * signal/sigstack.c (sigstack): Likewise.
7571         * signal/sigsuspend.c (__sigsuspend): Likewise.
7572         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7573         * signal/sysv_signal.c (__sysv_signal): Likewise.
7574         * socket/accept.c (accept): Likewise.
7575         * socket/accept4.c (__libc_accept4): Likewise.
7576         * socket/bind.c (__bind): Likewise.
7577         * socket/connect.c (__connect): Likewise.
7578         * socket/getpeername.c (getpeername): Likewise.
7579         * socket/getsockname.c (__getsockname): Likewise.
7580         * socket/getsockopt.c (getsockopt): Likewise.
7581         * socket/listen.c (__listen): Likewise.
7582         * socket/recv.c (__recv): Likewise.
7583         * socket/recvmsg.c (__recvmsg): Likewise.
7584         * socket/send.c (__send): Likewise.
7585         * socket/sendmsg.c (__sendmsg): Likewise.
7586         * socket/shutdown.c (shutdown): Likewise.
7587         * socket/sockatmark.c (sockatmark): Likewise.
7588         * socket/socket.c (__socket): Likewise.
7589         * stdio-common/ctermid.c (ctermid): Likewise.
7590         * stdio-common/cuserid.c (cuserid): Likewise.
7591         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7592         * stdio-common/remove.c (remove): Likewise.
7593         * stdio-common/rename.c (rename): Likewise.
7594         * stdio-common/renameat.c (renameat): Likewise.
7595         * stdio-common/tempname.c (__gen_tempname): Likewise.
7596         * stdio-common/xbug.c (InitBuffer): Likewise.
7597         (AppendToBuffer): Likewise.
7598         (ReadFile): Likewise.
7599         * stdlib/a64l.c (a64l): Likewise.
7600         * stdlib/drand48_r.c (drand48_r): Likewise.
7601         * stdlib/getcontext.c (getcontext): Likewise.
7602         * stdlib/getenv.c (getenv): Likewise.
7603         * stdlib/l64a.c (l64a): Likewise.
7604         * stdlib/llabs.c (llabs): Likewise.
7605         * stdlib/lldiv.c (lldiv): Likewise.
7606         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7607         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7608         * stdlib/putenv.c (putenv): Likewise.
7609         * stdlib/random.c (__srandom): Likewise.
7610         (__initstate): Likewise.
7611         (__setstate): Likewise.
7612         * stdlib/random_r.c (__srandom_r): Likewise.
7613         (__setstate_r): Likewise.
7614         (__random_r): Likewise.
7615         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7616         * stdlib/setcontext.c (setcontext): Likewise.
7617         * stdlib/setenv.c (setenv): Likewise.
7618         (unsetenv): Likewise.
7619         * stdlib/srand48.c (srand48): Likewise.
7620         * stdlib/srand48_r.c (__srand48_r): Likewise.
7621         * stdlib/swapcontext.c (swapcontext): Likewise.
7622         * stdlib/system.c (__libc_system): Likewise.
7623         * stdlib/tst-strtod.c (expand): Likewise.
7624         * stdlib/tst-strtol.c (expand): Likewise.
7625         * stdlib/tst-strtoll.c (expand): Likewise.
7626         * streams/fattach.c (fattach): Likewise.
7627         * streams/fdetach.c (fdetach): Likewise.
7628         * streams/getmsg.c (getmsg): Likewise.
7629         * streams/isastream.c (isastream): Likewise.
7630         * string/ffs.c (__ffs): Likewise.
7631         * string/ffsll.c (ffsll): Likewise.
7632         * string/memcmp.c (memcmp_common_alignment): Likewise.
7633         (memcmp_not_common_alignment): Likewise.
7634         (MEMCMP): Likewise.
7635         * string/memcpy.c (memcpy): Likewise.
7636         * string/memmove.c (MEMMOVE): Likewise.
7637         * string/memset.c (memset): Likewise.
7638         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7639         * string/strchrnul.c (STRCHRNUL): Likewise.
7640         * string/strerror.c (strerror): Likewise.
7641         * string/strndup.c (__strndup): Likewise.
7642         * string/strverscmp.c (__strverscmp): Likewise.
7643         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7644         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7645         (clnttcp_freeres): Likewise.
7646         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7647         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7648         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7649         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7650         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7651         (xdr_callhdr): Likewise.
7652         * sunrpc/rpcinfo.c (udpping): Likewise.
7653         (tcpping): Likewise.
7654         (pstatus): Likewise.
7655         (pmapdump): Likewise.
7656         (brdcst): Likewise.
7657         (deletereg): Likewise.
7658         (getprognum): Likewise.
7659         (getvers): Likewise.
7660         (get_inet_address): Likewise.
7661         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7662         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7663         (svcudp_stat): Likewise.
7664         (svcudp_recv): Likewise.
7665         (svcudp_reply): Likewise.
7666         (svcudp_getargs): Likewise.
7667         (svcudp_freeargs): Likewise.
7668         (svcudp_destroy): Likewise.
7669         * sunrpc/xdr.c (xdr_bytes): Likewise.
7670         (xdr_netobj): Likewise.
7671         (xdr_string): Likewise.
7672         (xdr_wrapstring): Likewise.
7673         * sunrpc/xdr_float.c (xdr_float): Likewise.
7674         (xdr_double): Likewise.
7675         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7676         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7677         * sysvipc/ftok.c (ftok): Likewise.
7678         * sysvipc/msgctl.c (msgctl): Likewise.
7679         * sysvipc/msgget.c (msgget): Likewise.
7680         * sysvipc/msgrcv.c (msgrcv): Likewise.
7681         * sysvipc/msgsnd.c (msgsnd): Likewise.
7682         * sysvipc/semget.c (semget): Likewise.
7683         * sysvipc/semop.c (semop): Likewise.
7684         * sysvipc/shmat.c (shmat): Likewise.
7685         * sysvipc/shmctl.c (shmctl): Likewise.
7686         * sysvipc/shmdt.c (shmdt): Likewise.
7687         * sysvipc/shmget.c (shmget): Likewise.
7688         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7689         * termios/speed.c (cfgetospeed): Likewise.
7690         (cfgetispeed): Likewise.
7691         (cfsetospeed): Likewise.
7692         (cfsetispeed): Likewise.
7693         * termios/tcflow.c (tcflow): Likewise.
7694         * termios/tcflush.c (tcflush): Likewise.
7695         * termios/tcgetattr.c (__tcgetattr): Likewise.
7696         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7697         * termios/tcgetsid.c (tcgetsid): Likewise.
7698         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7699         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7700         * time/adjtime.c (__adjtime): Likewise.
7701         * time/dysize.c (dysize): Likewise.
7702         * time/ftime.c (ftime): Likewise.
7703         * time/getitimer.c (__getitimer): Likewise.
7704         * time/gettimeofday.c (__gettimeofday): Likewise.
7705         * time/gmtime.c (__gmtime_r): Likewise.
7706         (gmtime): Likewise.
7707         * time/localtime.c (__localtime_r): Likewise.
7708         (localtime): Likewise.
7709         * time/offtime.c (__offtime): Likewise.
7710         * time/settimeofday.c (__settimeofday): Likewise.
7711         * time/stime.c (stime): Likewise.
7712         * time/strftime_l.c (tm_diff): Likewise.
7713         (iso_week_days): Likewise.
7714         * time/strptime.c (strptime): Likewise.
7715         * time/time.c (time): Likewise.
7716         * time/timespec_get.c (timespec_get): Likewise.
7717         * time/tzset.c (tzset_internal): Likewise.
7718         (compute_change): Likewise.
7719         (__tz_compute): Likewise.
7720         * wcsmbs/btowc.c (__btowc): Likewise.
7721         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7722         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7723         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7724         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7725         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7726         * wcsmbs/wcscat.c (__wcscat): Likewise.
7727         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7728         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7729         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7730         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7731         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7732         * wcsmbs/wcslen.c (__wcslen): Likewise.
7733         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7734         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7735         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7736         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7737         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7738         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7739         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7740         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7741         * wcsmbs/wcstok.c (wcstok): Likewise.
7742         * wcsmbs/wctob.c (wctob): Likewise.
7743         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7744         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7745         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7746         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7747         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7748         * wcsmbs/wmemset.c (__wmemset): Likewise.
7749         * wctype/wcfuncs.c (__towlower): Likewise.
7750         (__towupper): Likewise.
7752         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7753         (lll_unlock_elision): Add adapt_count parameter.
7755 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7757         * sysdeps/nptl/configure.ac: Do not give errors based on the
7758         results of top-level configure tests.
7759         * sysdeps/nptl/configure: Regenerated.
7761         * configure.ac (libc_cv_Bgroup): Remove configure test.
7762         * configure: Regenerated.
7763         * config.make.in (have-Bgroup): Remove variable.
7765         * configure.ac (sizeof_long_double): Remove configure test.
7766         * configure: Regenerated.
7767         * config.make.in (sizeof-long-double): Remove variable.
7769         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7770         * configure: Regenerated.
7771         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7772         variable.
7773         (exceptions): Likewise.
7774         * sysdeps/arm/configure: Regenerated.
7775         * config.make.in (exceptions): Remove variable.
7776         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7777         $(exceptions).
7778         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7779         (CFLAGS-vdprintf_chk.c): Likewise.
7780         (CFLAGS-printf_chk.c): Likewise.
7781         (CFLAGS-fprintf_chk.c): Likewise.
7782         (CFLAGS-vprintf_chk.c): Likewise.
7783         (CFLAGS-vfprintf_chk.c): Likewise.
7784         (CFLAGS-gets_chk.c): Likewise.
7785         (CFLAGS-fgets_chk.c): Likewise.
7786         (CFLAGS-fgets_u_chk.c): Likewise.
7787         (CFLAGS-fread_chk.c): Likewise.
7788         (CFLAGS-fread_u_chk.c): Likewise.
7789         (CFLAGS-wprintf_chk.c): Likewise.
7790         (CFLAGS-fwprintf_chk.c): Likewise.
7791         (CFLAGS-vwprintf_chk.c): Likewise.
7792         (CFLAGS-vfwprintf_chk.c): Likewise.
7793         (CFLAGS-fgetws_chk.c): Likewise.
7794         (CFLAGS-fgetws_u_chk.c): Likewise.
7795         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7796         (CFLAGS-fputc.c): Likewise.
7797         (CFLAGS-fputwc.c): Likewise.
7798         (CFLAGS-freopen64.c): Likewise.
7799         (CFLAGS-freopen.c): Likewise.
7800         (CFLAGS-fseek.c): Likewise.
7801         (CFLAGS-fseeko64.c): Likewise.
7802         (CFLAGS-fseeko.c): Likewise.
7803         (CFLAGS-ftello64.c): Likewise.
7804         (CFLAGS-ftello.c): Likewise.
7805         (CFLAGS-fwide.c): Likewise.
7806         (CFLAGS-genops.c): Likewise.
7807         (CFLAGS-getc.c): Likewise.
7808         (CFLAGS-getchar.c): Likewise.
7809         (CFLAGS-getwc.c): Likewise.
7810         (CFLAGS-getwchar.c): Likewise.
7811         (CFLAGS-iofclose.c): Likewise.
7812         (CFLAGS-iofflush.c): Likewise.
7813         (CFLAGS-iofgetpos64.c): Likewise.
7814         (CFLAGS-iofgetpos.c): Likewise.
7815         (CFLAGS-iofgets.c): Likewise.
7816         (CFLAGS-iofgetws.c): Likewise.
7817         (CFLAGS-iofputs.c): Likewise.
7818         (CFLAGS-iofputws.c): Likewise.
7819         (CFLAGS-iofread.c): Likewise.
7820         (CFLAGS-iofsetpos64.c): Likewise.
7821         (CFLAGS-iofsetpos.c): Likewise.
7822         (CFLAGS-ioftell.c): Likewise.
7823         (CFLAGS-iofwrite.c): Likewise.
7824         (CFLAGS-iogetdelim.c): Likewise.
7825         (CFLAGS-iogetline.c): Likewise.
7826         (CFLAGS-iogets.c): Likewise.
7827         (CFLAGS-iogetwline.c): Likewise.
7828         (CFLAGS-ioputs.c): Likewise.
7829         (CFLAGS-ioseekoff.c): Likewise.
7830         (CFLAGS-ioseekpos.c): Likewise.
7831         (CFLAGS-iosetbuffer.c): Likewise.
7832         (CFLAGS-iosetvbuf.c): Likewise.
7833         (CFLAGS-ioungetc.c): Likewise.
7834         (CFLAGS-ioungetwc.c): Likewise.
7835         (CFLAGS-oldfileops.c): Likewise.
7836         (CFLAGS-oldiofclose.c): Likewise.
7837         (CFLAGS-oldiofgetpos64.c): Likewise.
7838         (CFLAGS-oldiofgetpos.c): Likewise.
7839         (CFLAGS-oldiofsetpos64.c): Likewise.
7840         (CFLAGS-oldiofsetpos.c): Likewise.
7841         (CFLAGS-peekc.c): Likewise.
7842         (CFLAGS-putc.c): Likewise.
7843         (CFLAGS-putchar.c): Likewise.
7844         (CFLAGS-putwc.c): Likewise.
7845         (CFLAGS-putwchar.c): Likewise.
7846         (CFLAGS-rewind.c): Likewise.
7847         (CFLAGS-wfileops.c): Likewise.
7848         (CFLAGS-wgenops.c): Likewise.
7849         (CFLAGS-oldiofopen.c): Likewise.
7850         (CFLAGS-iofopen.c): Likewise.
7851         (CFLAGS-iofopen64.c): Likewise.
7852         (CFLAGS-oldtmpfile.c): Likewise.
7853         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7854         (CFLAGS-fprintf.c): Likewise.
7855         (CFLAGS-printf.c): Likewise.
7856         (CFLAGS-vfwprintf.c): Likewise.
7857         (CFLAGS-vfscanf.c): Likewise.
7858         (CFLAGS-vfwscanf.c): Likewise.
7859         (CFLAGS-fscanf.c): Likewise.
7860         (CFLAGS-scanf.c): Likewise.
7861         (CFLAGS-isoc99_vfscanf.c): Likewise.
7862         (CFLAGS-isoc99_vscanf.c): Likewise.
7863         (CFLAGS-isoc99_fscanf.c): Likewise.
7864         (CFLAGS-isoc99_scanf.c): Likewise.
7865         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7866         (CFLAGS-isoc99_fwscanf.c): Likewise.
7867         (CFLAGS-isoc99_vwscanf.c): Likewise.
7868         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7870         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7871         after mkstemp64.
7872         * login/tst-utmp.c (do_prepare): Likewise.
7873         * rt/tst-aio.c (do_prepare): Likewise.
7874         * rt/tst-aio64.c (do_prepare): Likewise.
7876 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7878         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7879         (__lll_lock_elision): Remove adapt_count decrement...
7880         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7881         (__lll_trylock_elision): Likewise.
7882         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7883         (__lll_unlock_elision): ... to here. And utilize
7884         new adapt_count parameter.
7885         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7886         (__lll_unlock_elision): Update to include adapt_count
7887         parameter.
7888         (lll_unlock_elision): Pass pointer to adapt_count
7889         variable.
7891 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7893         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7894         Add elision adapt_count parameter to list of arguments.
7895         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7896         (lll_unlock_elision): Update with new parameter list
7897         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7898         (lll_unlock_elision): Likewise.
7899         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7900         (lll_unlock_elision): Likewise.
7902 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7904         [BZ #19122]
7905         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7906         attribute_hidden.
7908         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7909         attribute_hidden.
7910         [IS_IN (rtld)] (__strdup): Likewise.
7911         [IS_IN (rtld)] (__strerror_r): Likewise.
7912         [IS_IN (rtld)] (__strsep_g): Likewise.
7913         [IS_IN (rtld)] (memchr): Likewise.
7914         [IS_IN (rtld)] (memcmp): Likewise.
7915         [IS_IN (rtld)] (memcpy): Likewise.
7916         [IS_IN (rtld)] (memmove): Likewise.
7917         [IS_IN (rtld)] (memset): Likewise.
7918         [IS_IN (rtld)] (rawmemchr): Likewise.
7919         [IS_IN (rtld)] (stpcpy): Likewise.
7920         [IS_IN (rtld)] (strchr): Likewise.
7921         [IS_IN (rtld)] (strcmp): Likewise.
7922         [IS_IN (rtld)] (strlen): Likewise.
7923         [IS_IN (rtld)] (strnlen): Likewise.
7924         [IS_IN (rtld)] (strsep): Likewise.
7926         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7927         attribute_hidden.
7928         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7930         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7931         attribute_hidden.
7932         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7934         * include/setjmp.h (__longjmp): Add attribute_hidden.
7935         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7937         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7938         Add attribute_hidden.
7940         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7941         [IS_IN (rtld)] (__open): Likewise.
7942         [IS_IN (rtld)] (__fcntl): Likewise.
7944         * include/dirent.h (__opendirat): Add attribute_hidden.
7945         (__getdents): Likewise.
7946         (__getdents64): Likewise.
7947         (__alloc_dir): Likewise.
7948         [IS_IN (rtld)] (__closedir): Likewise.
7949         [IS_IN (rtld)] (__fdopendir): Likewise.
7950         [IS_IN (rtld)] (__readdir): Likewise.
7951         [IS_IN (rtld)] (__readdir64): Likewise.
7952         [IS_IN (rtld)] (__rewinddir): Likewise.
7954         * include/dlfcn.h (_dl_catch_error): Moved to ...
7955         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7956         attribute_hidden.
7958         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7959         (_itoa_word): Likewise.
7961         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7962         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7963         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7964         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7965         (_dl_higher_prime_number): Likewise.
7966         (_dl_debug_printf_c): Likewise.
7967         (_dl_signal_cerror): Likewise.
7968         (_dl_receive_error): Likewise.
7969         (_dl_reloc_bad_type): Likewise.
7970         (_dl_resolve_conflicts): Likewise.
7971         (_dl_check_all_versions): Likewise.
7972         (_dl_check_map_versions): Likewise.
7973         (_dl_sort_fini): Likewise.
7974         (_dl_debug_initialize): Likewise.
7975         (_dl_init_paths): Likewise.
7976         (_dl_show_auxv): Likewise.
7977         (_dl_next_ld_env_entry): Likewise.
7978         (_dl_important_hwcaps): Likewise.
7979         (_dl_load_cache_lookup): Likewise.
7980         (_dl_update_slotinfo): Likewise.
7981         (_dl_show_scope): Likewise.
7983         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7984         attribute_hidden.
7985         (_wordcopy_fwd_dest_aligned): Likewise.
7986         (_wordcopy_bwd_aligned): Likewise.
7987         (_wordcopy_bwd_dest_aligned): Likewise.
7989         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7990         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7991         Likewise.
7992         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7993         Likewise.
7994         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7996 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7998         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7999         GCC 5 requirement.
8001 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8003         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8004         test.
8005         * sysdeps/i386/configure: Regenerated.
8006         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8007         code unconditional.
8009         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8010         test.
8011         (libc_cv_asm_popsection_directive): Likewise.
8012         * configure: Regenerated.
8013         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8014         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8015         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8016         (__make_section_unallocated): Make definition unconditional.
8017         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8018         Remove conditional definition.
8019         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8020         (__make_section_unallocated): Likewise.
8022         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8023         * configure: Regenerated.
8024         * config.make.in (static-libgcc): Remove variable.
8025         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8026         $(static-libgcc).
8027         (build-module-helper): Likewise.
8029         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8030         * configure: Regenerated.
8032 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8034         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8035         (struct char_buffer): New type.
8036         (char_buffer_start, char_buffer_size, char_buffer_error)
8037         (char_buffer_rewind, char_buffer_add): New functions.
8038         (ADDW): Remove macro, replaced by the char_buffer_add function.
8039         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8040         of extend_alloca.  Make control flow more explicit.
8042 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8044         [BZ #19137]
8045         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8046         Add -fomit-frame-pointer.
8047         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8049 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8051         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8052         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8053         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8054         only if !__GNUC_PREREQ (5,0).
8055         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8056         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8057         (INTERNAL_SYSCALL_NCS): Likewise.
8058         (LOADREGS_0): New macro for GCC 5.
8059         (ASMARGS_0): Likewise.
8060         (LOADREGS_1): Likewise.
8061         (ASMARGS_1): Likewise.
8062         (LOADREGS_2): Likewise.
8063         (ASMARGS_2): Likewise.
8064         (LOADREGS_3): Likewise.
8065         (ASMARGS_3): Likewise.
8066         (LOADREGS_4): Likewise.
8067         (ASMARGS_4): Likewise.
8068         (LOADREGS_5): Likewise.
8069         (ASMARGS_5): Likewise.
8070         (LOADREGS_6): Likewise.
8071         (ASMARGS_6): Likewise.
8073 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8075         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8076         -fomit-frame-pointer.
8077         (CFLAGS-mmap64.c): Likewise.
8078         (CFLAGS-semtimedop.c): Likewise.
8079         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8080         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8081         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8082         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8084 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8086         [BZ #18928]
8087         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8088         _dl_pointer_guard member.
8089         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8090         initializer.
8091         (security_init): Always set up pointer guard.
8092         (process_envvars): Do not process LD_POINTER_GUARD.
8094 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8096         [BZ #19134]
8097         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8098         (.LC2): Likewise.
8099         (.LC3): Likewise.
8100         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8102 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8104         [BZ #19129]
8105         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8106         r0 and r1.
8108 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8110         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8112 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8114         * include/stap-probe.h: Fix macro definition formatting.
8116 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8118         [BZ #19074]
8119         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8120         load and store num_ifs.
8122 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8124         [BZ #18822]
8125         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8126         (__sched_getaffinity_new): Add libc_hidden_proto and
8127         libc_hidden_def.
8129 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8131         [BZ #19007]
8132         * scripts/localplt.awk: Also allow GOT references.
8133         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8134         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8135         with "+ REL R_386_GLOB_DAT".
8136         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8137         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8139 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8141         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8142         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8143         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8144         Likewise.
8145         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8146         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8147         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8148         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8149         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8150         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8151         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8152         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8153         Likewise.
8154         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8156 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8158         [BZ #19125]
8159         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8160         <math_private.h> and <stdint.h>.
8161         (__llround): Avoid conversions to and from long long int, and
8162         subtractions, where those might raise spurious exceptions.
8163         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8164         <math_private.h> and <stdint.h>.
8165         (__llroundf): Avoid conversions to and from long long int, and
8166         subtractions, where those might raise spurious exceptions.
8168 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8170         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8171         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8172         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8173         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8174         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8175         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8176         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8177         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8178         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8179         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8180         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8181         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8182         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8183         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8184         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8185         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8186         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8187         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8188         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8189         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8190         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8191         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8192         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8193         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8194         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8195         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8196         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8197         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8198         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8199         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8200         (__xstat64_conv): Likewise.
8201         (__xstat32_conv): Likewise.
8203 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8205         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8206         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8207         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8208         <sysdeps/unix/sysv/linux/sysdep.h>.
8209         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8210         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8211         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8212         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8213         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8214         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8215         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8216         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8217         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8220         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8221         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8222         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8223         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8224         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8225         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8226         (sysdep-dl-routines): Add sysdep.
8227         [$(subdir) == nptl] (libpthread-routines): Likewise.
8228         [$(subdir) == rt] (librt-routines): Likewise.
8229         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8230         PIC when branching to SYSCALL_ERROR_LABEL.
8231         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8233         <sysdeps/unix/sysv/linux/sysdep.h>.
8234         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8235         (SYSCALL_ERROR_ERRNO): Removed.
8236         (SYSCALL_ERROR_HANDLER): Changed to empty.
8237         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8238         (__syscall_error): New prototype.
8239         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8240         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8242 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8244         [BZ #19124]
8245         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8246         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8247         _dl_runtime_resolve_avx.
8248         (_dl_runtime_profile_avx512): Make it a hidden alias of
8249         _dl_runtime_profile_avx.
8251 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8253         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8254         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8255         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8256         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8258         [BZ #16422]
8259         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8260         New configure test.
8261         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8262         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8263         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8264         <math_private.h> and <stdint.h>.
8265         (__llrint): Avoid conversions to long long int where those might
8266         raise spurious exceptions.
8267         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8268         <math_private.h> and <stdint.h>.
8269         (__llrintf): Avoid conversions to long long int where those might
8270         raise spurious exceptions.
8272 2015-10-12  Andreas Schwab  <schwab@suse.de>
8274         [BZ #18969]
8275         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8276         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8277         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8278         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8279         $(gen-locales).
8280         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8281         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8282         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8283         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8284         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8285         $(gen-locales).
8286         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8287         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8288         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8289         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8290         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8291         ($(objpfx)tst-ftell-active-handler.out)
8292         ($(objpfx)tst-ftell-append.out)
8293         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8294         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8295         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8296         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8297         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8298         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8299         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8300         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8301         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8302         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8303         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8304         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8305         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8306         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8307         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8308         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8309         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8310         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8311         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8312         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8313         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8314         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8315         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8316         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8317         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8318         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8319         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8320         $(gen-locales).
8321         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8322         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8323         $(gen-locales).
8324         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8325         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8326         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8327         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8328         $(gen-locales).
8329         * libio/tst_wprintf2.c (main): Use explicit locale.
8330         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8332 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8334         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8335         __msg_sig_post.
8336         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8338 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8340         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8341         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8343         * sysdeps/arm/libm-test-ulps: Regenerated.
8345         [BZ #15470]
8346         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8348         [BZ #16399]
8349         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8350         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8351         and <fix-fp-int-convert-overflow.h>.
8352         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8353         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8354         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8355         and <fix-fp-int-convert-overflow.h>.
8356         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8357         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8358         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8359         <fix-fp-int-convert-overflow.h>.
8360         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8361         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8362         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8363         <fix-fp-int-convert-overflow.h>.
8364         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8365         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8366         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8367         and <fix-fp-int-convert-overflow.h>.
8368         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8369         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8370         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8371         <limits.h> and <fix-fp-int-convert-overflow.h>.
8372         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8373         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8374         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8375         and <fix-fp-int-convert-overflow.h>.
8376         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8377         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8378         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8379         and <fix-fp-int-convert-overflow.h>.
8380         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8381         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8382         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8384 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8386         [BZ #18589]
8387         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8388         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8389         $(gen-locales).
8391 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8392             Phil Blundell <pb@pbcl.net>
8394         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8395         * nptl/tst-cancel26.c: New file.
8396         * nptl/tst-cancel27.c: Likewise.
8398 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8400         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8401         __ILP32__ isn't defined.
8402         (lrint): Likewise.
8403         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8404         (lrintf): Likewise.
8405         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8406         (lrintl): Likewise.
8407         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8408         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8409         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8411 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8413         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8414         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8416         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8417         file.
8418         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8419         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8421 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8423         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8424         configure test.
8425         * sysdeps/i386/configure: Regenerated.
8426         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8427         configure test.
8428         * sysdeps/x86_64/configure: Regenerated.
8429         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8430         Make code unconditional.
8432         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8433         test.
8434         * sysdeps/i386/configure: Regenerated.
8435         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8436         test.
8437         * sysdeps/x86_64/configure: Regenerated.
8438         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8439         Make code unconditional.
8440         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8441         Likewise.
8442         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8443         Likewise.
8444         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8445         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8446         code unconditional.
8447         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8448         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8449         code unconditional.
8450         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8451         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8452         code unconditional.
8453         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8454         code unconditional.
8455         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8456         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8457         code unconditional.
8458         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8459         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8460         code unconditional.
8461         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8462         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8463         code unconditional.
8464         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8465         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8466         code unconditional.
8467         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8468         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8470         [BZ #19095]
8471         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8472         mantissa to long int before shifting left.
8474 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8476         [BZ #19094]
8477         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8478         <limits.h>.
8479         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8480         when result overflows but exception would not result from cast.
8481         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8482         <limits.h>.
8483         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8484         when result overflows but exception would not result from cast.
8485         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8486         <limits.h>.
8487         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8488         when result overflows but exception would not result from cast.
8489         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8490         <limits.h>.
8491         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8492         when result overflows but exception would not result from cast.
8493         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8494         <limits.h>.
8495         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8496         when result overflows but exception would not result from cast.
8497         * math/libm-test.inc (lrint_test_data): Add more tests.
8498         (llrint_test_data): Likewise.
8500 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8502         [BZ #18872]
8503         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8504         Move out from under [$(run-built-tests) = yes] conditional.
8505         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8506         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8508 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8510         [BZ #18589]
8511         * string/Makefile (tests): Add bug-strcoll2.
8512         (LOCALES): Add cs_CZ.UTF-8.
8513         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8515         [BZ #18589]
8516         * string/bug-strcoll2.c: New file.
8517         * locale/categories.def: Revert commit
8518         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8519         * locale/langinfo.h: Likewise.
8520         * locale/localeinfo.h: Likewise.
8521         * locale/C-collate.c: Likewise.
8522         * locale/programs/ld-collate.c (collate_output): Likewise.
8523         * string/strcoll_l.c (STRDIFF): Likewise.
8524         (STRCOLL): Likewise.
8525         * wcsmbs/wcscoll_l.c: Likewise.
8527 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8529         * math/libm-test.inc (lround_test_data): Do not expect the absence
8530         of "inexact" for some tests with non-integer arguments.
8531         (llround_test_data): Likewise.
8533         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8534         test.
8535         (libc_cv_cc_sse2avx): Likewise.
8536         * sysdeps/i386/configure: Regenerated.
8537         * sysdeps/i386/i686/multiarch/Makefile
8538         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8539         [$(subdir) = math].
8540         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8541         code unconditional.
8542         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8543         Likewise.
8544         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8545         Likewise.
8546         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8547         Likewise.
8548         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8549         test.
8550         (libc_cv_cc_sse2avx): Likewise.
8551         * sysdeps/x86_64/configure: Regenerated.
8552         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8553         unconditional.
8554         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8555         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8556         unconditional.
8557         (_dl_runtime_profile)
8558         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8559         conditional code.
8560         * sysdeps/x86_64/fpu/multiarch/Makefile
8561         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8562         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8563         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8564         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8565         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8566         * sysdeps/x86_64/fpu/multiarch/e_log.c
8567         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8568         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8569         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8570         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8571         Likewise.
8572         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8573         Likewise.
8574         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8575         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8576         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8577         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8578         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8579         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8580         (HAVE_SSE2AVX_SUPPORT): Likewise.
8582 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8584         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8585         instead of #pragma optimize.
8587 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8589         [BZ #17195]
8590         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8591         as is similarly done in systrim and _int_free already.
8593 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8595         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8597 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8599         [BZ #19088]
8600         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8601         <limits.h>.
8602         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8603         overflows but exception would not result from cast.
8604         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8605         and <limits.h>.
8606         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8607         overflows but exception would not result from cast.
8608         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8609         <limits.h>.
8610         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8611         overflows but exception would not result from cast.
8612         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8613         <limits.h>.
8614         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8615         overflows but exception would not result from cast.
8616         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8617         <limits.h>.
8618         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8619         overflows but exception would not result from cast.
8620         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8621         <limits.h>.
8622         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8623         overflows but exception would not result from cast.
8624         * math/libm-test.inc (lround_test_data): Add more tests.
8625         (llround_test_data): Likewise.
8627 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8629         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8630         (CFLAGS-ialloc.c): Ditto.
8631         (CFLAGS-scheck.c): Ditto.
8633 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8635         [BZ #19086]
8636         * manual/filesys.texi (Storage Allocation): Fix argument order for
8637         posix_fallocate64.
8639 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8641         [BZ #19085]
8642         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8643         exponent below 48 inside case for non-overflowing exponent.
8644         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8646 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8648         * iconvdata/cp737.h (from_idx): Add const.
8649         * iconvdata/cp775.h (from_idx): Likewise.
8651 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8653         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8654         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8655         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8657         [BZ #19079]
8658         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8659         file, conditioned on [!_LP64].
8660         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8661         [!_LP64] (__lround): Do not define as function or alias.
8662         [!_LP64] (lround): Likewise.
8663         [!_LP64] (__lroundl): Likewise.
8664         [!_LP64] (lroundl): Likewise.
8665         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8666         macro.
8667         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8668         Likewise.
8670 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8672         * math/libm-test.inc (lrint_test_data): Add more tests.
8673         (llrint_test_data): Likewise.
8674         (lround_test_data): Likewise.
8675         (llround_test_data): Likewise.
8677         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8678         (llrint_test_data): Add tests used for lrint.
8680         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8681         test.
8682         * sysdeps/i386/configure: Regenerated.
8683         * sysdeps/i386/i686/multiarch/Makefile
8684         [$(config-cflags-sse4) = yes]: Make code unconditional.
8685         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8686         Likewise.
8687         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8688         Likewise.
8689         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8690         test.
8691         * sysdeps/x86_64/configure: Regenerated.
8692         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8693         Make code unconditional.
8694         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8695         Likewise.
8696         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8697         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8699         * scripts/rpm2dynsym.sh: Remove file.
8701 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8703         * configure.ac (libc_cv_cxx_thread_local): Define.
8704         * configure: Regenerate.
8705         * config.make.in (have-cxx-thread_local): Define.
8706         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8707         (LDLIBS-tst-thread_local1): Define.
8708         (tests): Add tst-thread_local1.
8709         [have-cxx-thread_local != yes] (tests-unsupported): Add
8710         tst-thread_local1.
8711         * nptl/tst-thread_local1.cc: New file.
8713 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8715         [BZ #19078]
8716         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8717         (u_thres): Likewise.
8718         (__expl): Determine whether to call __kernel_standard_l based on
8719         value of result, not argument.
8721         * math/libm-test.inc (scalb_test_data): Add more expectations for
8722         the "inexact" exception.
8724         [BZ #19077]
8725         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8726         0.0L for argument 1.0L.
8728         [BZ #19076]
8729         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8730         constant 0.0L when computing infinite result.
8732 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8734         [BZ #10432]
8735         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8736         malloc_usable_size.
8738 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8740         [BZ #19018]
8741         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8742         Mangle function pointer before storing it.
8743         (__call_tls_dtors): Demangle function pointer before calling it.
8745 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8747         [BZ #19012]
8748         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8749         Clean up on failure.
8751 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8753         [BZ #19071]
8754         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8755         long int variable to store possibly incremented high part of
8756         mantissa.
8757         * math/libm-test.inc (lround_test_data): Add tests used for
8758         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8759         for tests requiring 64-bit long.  Do not condition tests on
8760         [TEST_FLOAT] unnecessarily.
8761         (llround_test_data): Add tests used for lround.  Add another
8762         expectation for the "inexact" exception.  Do not condition tests
8763         on [TEST_FLOAT] unnecessarily.
8765         [BZ #887]
8766         [BZ #19049]
8767         [BZ #19050]
8768         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8769         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8770         <fix-int-fp-convert-zero.h>.
8771         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8772         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8773         <fix-int-fp-convert-zero.h>.
8774         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8775         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8776         <fix-int-fp-convert-zero.h>.
8777         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8778         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8779         <fix-int-fp-convert-zero.h>.
8780         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8781         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8782         <fix-int-fp-convert-zero.h>.
8783         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8784         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8785         <fix-int-fp-convert-zero.h>.
8786         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8787         * sysdeps/ieee754/flt-32/s_erff.c: Include
8788         <fix-int-fp-convert-zero.h>.
8789         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8790         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8791         <fix-int-fp-convert-zero.h>.
8792         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8793         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8794         <fix-int-fp-convert-zero.h>.
8795         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8796         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8797         <fix-int-fp-convert-zero.h>.
8798         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8799         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8800         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8801         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8802         file.
8803         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8805 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8807         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8809 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8811         [BZ #19059]
8812         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8813         overflowing computation.
8814         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8815         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8816         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8817         Likewise.
8818         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8819         Likewise.
8820         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8821         Likewise.
8822         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8823         Likewise.
8824         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8825         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8826         Likewise.
8827         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8828         Likewise.
8829         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8831         * nss/rewrite_field.c (__nss_rewrite_field): Use
8832         internal_function.
8833         * nss/valid_field.c (__nss_valid_field): Likewise.
8834         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8836 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8838         [BZ #18724]
8839         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8840         (__nss_invalid_field_characters, __nss_valid_field)
8841         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8842         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8843         tst-field.c: New file.
8844         * nss/Makefile (routines): Add valid_field, rewrite_field.
8845         (tests-static): Define unconditionally.
8846         (tests): Include tests-static.
8847         [build-static-nss] (tests-static): Use append.
8848         [build-static-nss] (tests): Remove modification.
8849         * nss/getent.c (print_group): Call putgrent.  Report error.
8850         (print_gshadow): Call putsgent.  Report error.
8851         (print_passwd): Call putpwent.  Report error.
8852         (print_shadow): Call putspent.  Report error.
8853         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8854         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8855         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8856         name, password, directory, shell fields for valid syntax.  Rewrite
8857         GECOS field to match syntax.
8858         * pwd/Makefile (tests): Add tst-putpwent.
8859         * pwd/tst-putpwent.c: New file.
8860         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8861         Check grName, grpasswd, gr_mem fields for valid syntax.
8862         Change loop variable i to size_t.
8863         * grp/Makefile (tests): Add tst-putgrent.
8864         * grp/tst-putgrent.c: New file.
8865         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8866         valid syntax.
8867         * shadow/Makefile (tests): Add tst-putspent.
8868         * shadow/tst-putspent.c: New file.
8869         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8870         sg_mem fields for valid syntax.
8871         * gshadow/Makefile (tests): Add tst-putsgent.
8872         * gshadow/tst-putsgent.c: New file.
8874 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8876         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8877         assembly instructions.
8879 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8881         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8882         prefix from operands.
8884 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8886         [BZ #16347]
8887         [BZ #19046]
8888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8889         <libc-internal.h>.
8890         (MAXLGM): Do not use diagnostic control macros.
8891         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8892         threshold for ldbl-128ibm.
8893         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8894         instead of multiplying by log then subtracting.
8895         * math/auto-libm-test-in: Add more tests of lgamma.
8896         * math/auto-libm-test-out: Regenerated.
8898         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8899         (TYPE_HEX_DIG): Likewise.
8900         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8901         precisions when printing floating-point numbers.
8902         (check_float_internal): Likewise.
8904 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8906         [BZ #16620]
8907         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8908         of log (10) rounded downward to 48 bits.
8909         (log10_low): Use corresponding low part of log (10).
8911         [BZ #19032]
8912         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8913         compute result as (x - x) / (x - x) not as 0 / 0.
8914         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8915         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8917         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8918         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8919         and expm1.
8920         * math/auto-libm-test-out: Regenerated.
8921         * math/libm-test.inc (acos_test_data): Add more tests.
8922         (asin_test_data): Likewise.
8923         (asinh_test_data): Likewise.
8924         (atan_test_data): Likewise.
8925         (atanh_test_data): Likewise.
8926         (atan2_test_data): Likewise.
8927         (cbrt_test_data): Likewise.
8928         (ceil_test_data): Likewise.
8929         (copysign_test_data): Likewise.
8930         (cos_test_data): Likewise.
8931         (cosh_test_data): Likewise.
8932         (erf_test_data): Likewise.
8933         (erfc_test_data): Likewise.
8934         (exp_test_data): Likewise.
8935         (exp10_test_data): Likewise.
8936         (exp2_test_data): Likewise.
8937         (expm1_test_data): Likewise.
8938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8940 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8942         [BZ #19006]
8943         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8944         to ...
8945         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8946         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8947         to ...
8948         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8949         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8950         to ...
8951         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8952         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8953         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8954         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8955         to ...
8956         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8957         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8958         Moved to ...
8959         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8960         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8961         Moved to ...
8962         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8964         to ...
8965         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8966         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8967         Moved to ...
8968         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8969         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8970         to ...
8971         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8972         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8973         Removed.
8974         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8975         Likewise.
8976         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8977         Likewise.
8978         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8979         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8980         Likewise.
8981         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8982         Likewise.
8983         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8984         Likewise.
8985         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8986         Likewise.
8987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8988         Likewise.
8989         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8990         Likewise.
8991         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8992         Likewise.
8993         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8994         Likewise.
8995         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8996         Likewise.
8997         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8998         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8999         Likewise.
9000         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9001         Likewise.
9002         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9003         Likewise.
9004         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9005         Likewise.
9006         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9007         Likewise.
9008         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9009         Replace ../i486/pthread_cond_timedwait.S with
9010         ../pthread_cond_timedwait.S.
9012 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9014         * math/libm-test.inc (acos_test_data): Refine expectations for
9015         errno and "inexact" exceptions.
9016         (acosh_test_data): Likewise.
9017         (asin_test_data): Likewise.
9018         (asinh_test_data): Likewise.
9019         (atan_test_data): Likewise.
9020         (atanh_test_data): Likewise.
9021         (atan2_test_data): Likewise.
9022         (cbrt_test_data): Likewise.
9023         (ceil_test_data): Likewise.
9024         (copysign_test_data): Likewise.
9025         (cosh_test_data): Likewise.
9026         (erf_test_data): Likewise.
9027         (erfc_test_data): Likewise.
9028         (exp_test_data): Likewise.
9029         (exp10_test_data): Likewise.
9030         (exp2_test_data): Likewise.
9031         (expm1_test_data): Likewise.
9032         (fabs_test_data): Likewise.
9033         (floor_test_data): Likewise.
9034         (fma_test_data): Likewise.
9035         (fmax_test_data): Likewise.
9036         (fmin_test_data): Likewise.
9037         (fmod_test_data): Likewise.
9038         (fpclassify_test_data): Likewise.
9039         (frexp_test_data): Likewise.
9040         (hypot_test_data): Likewise.
9041         (ilogb_test_data): Likewise.
9042         (isgreater_test_data): Likewise.
9043         (isgreaterequal_test_data): Likewise.
9044         (isinf_test_data): Likewise.
9045         (isless_test_data): Likewise.
9046         (islessequal_test_data): Likewise.
9047         (islessgreater_test_data): Likewise.
9048         (isnan_test_data): Likewise.
9049         (isnormal_test_data): Likewise.
9050         (issignaling_test_data): Likewise.
9051         (isunordered_test_data): Likewise.
9052         (j0_test_data): Likewise.
9053         (j1_test_data): Likewise.
9054         (jn_test_data): Likewise.
9055         (lgamma_test_data): Likewise.
9056         (lrint_test_data): Likewise.
9057         (llrint_test_data): Likewise.
9058         (log_test_data): Likewise.
9059         (log10_test_data): Likewise.
9060         (log1p_test_data): Likewise.
9061         (log2_test_data): Likewise.
9062         (logb_test_data): Likewise.
9063         (lround_test_data): Likewise.
9064         (llround_test_data): Likewise.
9065         (modf_test_data): Likewise.
9066         (nearbyint_test_data): Likewise.
9067         (nextafter_test_data): Likewise.
9068         (nexttoward_test_data): Likewise.
9069         (pow_test_data): Likewise.
9070         (remainder_test_data): Likewise.
9071         (remquo_test_data): Likewise.
9072         (rint_test_data): Likewise.
9073         (round_test_data): Likewise.
9074         (signbit_test_data): Likewise.
9075         (sinh_test_data): Likewise.
9076         (sqrt_test_data): Likewise.
9077         (tanh_test_data): Likewise.
9078         (tgamma_test_data): Likewise.
9079         (trunc_test_data): Likewise.
9080         (y0_test_data): Likewise.
9081         (y1_test_data): Likewise.
9082         (yn_test_data): Likewise.
9083         (significand_test_data): Likewise.
9085 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9087         * manual/filesys.texi (Storage Allocation): Document that
9088         posix_fallocate emulation fails when fd is open with O_WRONLY.
9090 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9092         [BZ #19016]
9093         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9094         allow more cases with X^2 + Y^2 >= 0.5.
9095         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9096         normal element in sum instead of special-casing based on values of
9097         arguments.
9098         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9099         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9100         -1 as normal element in sum instead of special-casing based on
9101         values of arguments.
9102         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9103         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9104         (__x2y2m1): Update comment.
9105         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9106         as normal element in sum instead of special-casing based on values
9107         of arguments.
9108         * math/s_clog.c (__clog): Handle more cases using log1p without
9109         hypot.
9110         * math/s_clog10.c (__clog10): Likewise.
9111         * math/s_clog10f.c (__clog10f): Likewise.
9112         * math/s_clog10l.c (__clog10l): Likewise.
9113         * math/s_clogf.c (__clogf): Likewise.
9114         * math/s_clogl.c (__clogl): Likewise.
9115         * math/auto-libm-test-in: Add more tests of clog and clog10.
9116         * math/auto-libm-test-out: Regenerated.
9117         * sysdeps/i386/fpu/libm-test-ulps: Update.
9118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9120 2015-09-28  Martin Sebor  <msebor@redhat.com>
9122         [BZ #18969]
9123         * string/Makefile (LOCALES): Define.
9124         (gen-locales.mk): Include.
9125         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9126         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9127         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9128         on setlocale failure.
9130 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9132         [BZ #18985]
9133         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9134         (__strftime_internal): Likewise.
9135         * time/tst-strftime.c (do_bz18985): New test.
9136         (do_test): Call it.
9138 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9140         [BZ #18956]
9141         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9142         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9143         extracting high part.
9144         * math/auto-libm-test-in: Add another test of pow.
9145         * math/auto-libm-test-out: Regenerated.
9146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9148 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9150         [BZ #18825]
9151         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9152         New macro.
9153         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9154         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9155         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9156         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9157         DBL_NARROW_EVAL, reloading the PIC register as needed.
9158         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9159         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9160         FLT_NARROW_EVAL.  Use separate return path for case when first
9161         argument is NaN.
9162         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9163         DEFINE_LDBL_MIN.
9164         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9165         PIC register.
9166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9167         math_check_force_underflow_nonneg.
9168         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9169         underflow for subnormal result.
9170         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9171         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9172         math_check_force_underflow_nonneg.
9173         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9174         math_check_force_underflow.
9175         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9176         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9177         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9178         DEFINE_LDBL_MIN.
9179         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9180         * math/auto-libm-test-in: Add more tests of pow.
9181         * math/auto-libm-test-out: Regenerated.
9183 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9185         * nss/bug17079.c (init_test_items): Add diagnostic for
9186         inconsistent entries.
9187         (test_buffer_size): Skip inconsistent entries.
9189 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9191         [BZ #13304]
9192         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9193         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9194         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9196         [BZ #13304]
9197         * sysdeps/microblaze/s_fma.c: New file.
9198         * sysdeps/microblaze/s_fmaf.c: Likewise.
9199         * sysdeps/microblaze/sfp-machine.h: Likewise.
9201 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9203         [BZ #17250]
9204         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9205         member.
9207 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9209         [BZ #18803]
9210         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9211         (MO): New macro.
9212         (__ieee754_hypot) [PIC]: Load PIC register.
9213         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9214         DBL_NARROW_EVAL.
9215         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9216         math_check_force_underflow_nonneg in case where result might be
9217         tiny.
9218         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9219         Likewise.
9220         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9221         Likewise.
9222         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9223         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9224         * math/auto-libm-test-in: Add more tests of hypot.
9225         * math/auto-libm-test-out: Regenerated.
9227 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9229         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9231 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9233         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9234         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9235         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9236         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9237         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9238         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9239         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9241         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9242         LOAD_PIC_REG.
9244         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9245         (FLT_CHECK_FORCE_UFLOW): Likewise.
9246         (DBL_CHECK_FORCE_UFLOW): Likewise.
9247         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9248         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9249         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9250         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9251         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9252         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9253         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9254         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9255         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9256         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9257         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9258         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9259         (flt_min): Replace with use of DEFINE_FLT_MIN.
9260         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9261         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9262         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9263         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9264         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9265         (flt_min): Replace with use of DEFINE_FLT_MIN.
9266         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9267         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9268         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9269         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9270         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9271         (flt_min): Replace with use of DEFINE_FLT_MIN.
9272         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9273         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9274         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9275         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9276         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9277         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9278         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9279         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9280         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9281         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9282         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9283         (flt_min): Replace with use of DEFINE_FLT_MIN.
9284         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9285         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9286         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9287         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9288         main computation.
9289         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9290         (flt_min): Replace with use of DEFINE_FLT_MIN.
9291         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9292         main computation.
9293         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9294         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9295         (MO): New macro.
9296         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9297         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9298         (flt_min): Replace with use of DEFINE_FLT_MIN.
9299         (MO): New macro.
9300         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9301         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9302         (__log1pl): Use MO.
9304         [BZ #19003]
9305         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9306         $(config-cflags-nofma).
9308 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9310         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9312 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9314         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9315         (TWO127): Likewise.
9317         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9318         (min_of_type): Likewise.
9319         (math_check_force_underflow): Likewise.
9320         (math_check_force_underflow_nonneg): Likewise.
9321         (math_check_force_underflow_complex): Likewise.
9322         * math/e_exp2l.c (__ieee754_exp2l): Use
9323         math_check_force_underflow_nonneg.
9324         * math/k_casinh.c (__kernel_casinh): Likewise.
9325         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9326         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9327         * math/s_catan.c (__catan): Use
9328         math_check_force_underflow_complex.
9329         * math/s_catanf.c (__catanf): Likewise.
9330         * math/s_catanh.c (__catanh): Likewise.
9331         * math/s_catanhf.c (__catanhf): Likewise.
9332         * math/s_catanhl.c (__catanhl): Likewise.
9333         * math/s_catanl.c (__catanl): Likewise.
9334         * math/s_ccosh.c (__ccosh): Likewise.
9335         * math/s_ccoshf.c (__ccoshf): Likewise.
9336         * math/s_ccoshl.c (__ccoshl): Likewise.
9337         * math/s_cexp.c (__cexp): Likewise.
9338         * math/s_cexpf.c (__cexpf): Likewise.
9339         * math/s_cexpl.c (__cexpl): Likewise.
9340         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9341         * math/s_clog10.c (__clog10): Likewise.
9342         * math/s_clog10f.c (__clog10f): Likewise.
9343         * math/s_clog10l.c (__clog10l): Likewise.
9344         * math/s_clogf.c (__clogf): Likewise.
9345         * math/s_clogl.c (__clogl): Likewise.
9346         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9347         * math/s_csinf.c (__csinf): Likewise.
9348         * math/s_csinh.c (__csinh): Likewise.
9349         * math/s_csinhf.c (__csinhf): Likewise.
9350         * math/s_csinhl.c (__csinhl): Likewise.
9351         * math/s_csinl.c (__csinl): Likewise.
9352         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9353         * math/s_csqrtf.c (__csqrtf): Likewise.
9354         * math/s_csqrtl.c (__csqrtl): Likewise.
9355         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9356         * math/s_ctanf.c (__ctanf): Likewise.
9357         * math/s_ctanh.c (__ctanh): Likewise.
9358         * math/s_ctanhf.c (__ctanhf): Likewise.
9359         * math/s_ctanhl.c (__ctanhl): Likewise.
9360         * math/s_ctanl.c (__ctanl): Likewise.
9361         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9362         instead of volatile.
9363         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9364         math_check_force_underflow.
9365         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9366         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9367         volatile when forcing underflow.
9368         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9369         math_check_force_underflow_nonneg.
9370         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9371         Likewise.
9372         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9373         math_check_force_underflow.
9374         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9375         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9376         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9377         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9378         math_check_force_underflow_nonneg.
9379         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9380         math_check_force_underflow.
9381         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9382         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9383         instead of volatile.
9384         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9385         math_check_force_underflow.
9386         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9387         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9388         math_check_force_underflow_nonneg.
9389         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9390         math_check_force_underflow.
9391         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9392         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9393         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9394         math_check_force_underflow_nonneg.
9395         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9396         Likewise.
9397         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9398         math_check_force_underflow.
9399         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9400         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9401         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9402         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9403         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9404         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9405         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9406         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9407         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9408         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9409         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9410         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9411         Likewise.
9412         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9413         math_check_force_underflow_nonneg.
9414         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9415         Likewise.
9416         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9417         math_check_force_underflow.
9418         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9419         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9420         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9421         Likewise.
9422         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9423         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9424         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9425         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9426         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9427         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9429         instead of volatile.
9430         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9431         math_check_force_underflow.
9432         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9433         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9434         math_check_force_underflow.
9435         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9436         Likewise.
9437         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9438         Use math_check_force_underflow_nonneg.
9439         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9440         math_check_force_underflow.
9441         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9442         Likewise.
9443         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9444         Likewise.
9445         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9446         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9447         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9448         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9449         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9450         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9451         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9452         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9453         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9454         math_check_force_underflow_nonneg.
9455         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9456         math_check_force_underflow.
9457         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9458         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9459         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9460         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9461         math_check_force_underflow_nonneg.
9462         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9463         math_check_force_underflow.
9464         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9466         instead of volatile.
9467         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9468         math_check_force_underflow.
9470         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9471         * stdlib/strtod_l.c: Include <math_private.h>.
9472         (overflow_value): Use math_narrow_eval.
9473         (underflow_value): Likewise.
9474         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9475         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9476         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9477         (__ieee754_gamma_r): Likewise.
9478         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9479         Likewise.
9480         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9481         Likewise.
9482         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9483         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9484         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9485         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9486         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9487         (__ieee754_gammaf_r): Likewise.
9488         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9489         Likewise.
9490         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9491         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9492         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9493         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9494         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9495         volatile.
9496         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9497         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9498         math_narrow_eval.
9499         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9500         Likewise.
9501         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9502         Likewise.
9503         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9504         Likewise.
9505         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9506         volatile.
9507         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9508         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9509         math_narrow_eval.
9510         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9511         Likewise.
9512         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9513         Likewise.
9515 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9517         * nptl/Versions: Remove ignored symbols.
9519 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9521         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9522         * nss/Makefile (tests): Update.
9524 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9526         * nss/bug18287.c: New file.
9527         * nss/Makefile (tests): Add bug18287.
9529 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9531         * mach/Versions (__mach_host_self_): Add symbol.
9533 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9535         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9536         vm_page_size.
9538 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9540         Really fix sysdeps/i386/fpu/s_scalbn.S build
9542         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9543         (libc: GLIBC_2_22): Remove unused version set.
9545 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9547         * config.make.in (enable-timezone-tools): New variable.
9548         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9549         (enable_timezone_tools): Export to generated files.
9550         * configure: Regenerate.
9551         * INSTALL: Regenerate.
9552         * manual/install.texi (--disable-timezone-tools): Document new flag.
9553         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9554         ifeq ($(enable-timezone-tools),yes) check.
9556 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9558         * timezone/Makefile: Revert previous change.
9560         [BZ #18980]
9561         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9562         (DEFINE_DBL_MIN): Likewise.
9563         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9564         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9565         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9566         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9567         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9568         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9569         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9570         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9571         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9572         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9573         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9574         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9575         (flt_min): Replace with use of DEFINE_FLT_MIN.
9576         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9577         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9578         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9579         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9580         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9581         (flt_min): Replace with use of DEFINE_FLT_MIN.
9582         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9583         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9584         (flt_min): Replace with use of DEFINE_FLT_MIN.
9585         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9586         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9587         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9588         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9589         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9590         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9591         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9592         (__ieee754_pow): Use DBL_NARROW_EVAL.
9593         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9594         (__ieee754_powf): Use FLT_NARROW_EVAL.
9595         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9596         (__ieee754_expf_sse2): Convert double-precision result to single
9597         precision.
9598         * sysdeps/i386/fpu/libm-test-ulps: Update.
9600 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9602         * timezone/Makefile: Ignore unused variable errors due to private.h
9603         (time_t_min) and (time_t_max).
9604         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9605         Likewise.
9607 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9609         [BZ #18981]
9610         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9611         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9612         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9613         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9614         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9615         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9616         (__scalbn): Use DBL_NARROW_EVAL.
9617         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9618         (__scalbnf): Use FLT_NARROW_EVAL.
9620 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9622         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9623         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9624         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9625         * stdio-common/printf_fp.c (___printf_fp):
9626         Use signbit to get the sign. Use isinf macro to allow inlining.
9627         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9628         * stdio-common/printf_size.c (__printf_size): Likewise.
9630 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9632         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9634 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9636         [BZ #18980]
9637         * sysdeps/generic/math_private.h: Include <float.h>.
9638         (math_narrow_eval): New macro.
9639         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9640         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9641         math_narrow_eval on overflowing return value.
9642         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9643         Likewise.
9644         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9645         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9646         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9647         Likewise.
9648         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9650 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9652         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9653         * math/Makefile: Remove isinf_ns.c.
9654         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9655         * math/multc3.c (__multc3): Likewise.
9656         * math/s_casin.c (__casin): Likewise.
9657         * math/s_casinf.c (__casinf): Likewise.
9658         * math/s_casinl.c (__casinl): Likewise.
9659         * math/s_cproj.c (__cproj): Likewise.
9660         * math/s_cprojf.c (__cprojf): Likewise.
9661         * math/s_cprojl.c (__cprofl): Likewise.
9662         * math/s_ctan.c (__ctan): Likewise.
9663         * math/s_ctanf.c (__ctanf): Likewise.
9664         * math/s_ctanh.c (__ctanh): Likewise.
9665         * math/s_ctanhf.c (__ctanhf): Likewise.
9666         * math/s_ctanhl.c (__ctanhl): Likewise.
9667         * math/s_ctanl.c (__ctanl): Likewise.
9668         * math/w_fmod.c (__fmod): Likewise.
9669         * math/w_fmodf.c (__fmodf): Likewise.
9670         * math/w_fmodl.c (_fmodl): Likewise.
9671         * math/w_remainder.c (__remainder): Likewise.
9672         * math/w_remainderf.c (__remainderf): Likewise.
9673         * math/w_remainderl.c (__remainderl): Likewise.
9674         * math/w_scalb.c (__scalb): Likewise.
9675         * math/w_scalbf.c (__scalbf): Likewise.
9676         * math/w_scalbl.c (__scalbl): Likewise.
9677         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9678         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9679         with isinf.
9680         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9681         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9682         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9683         __isinf_nsf with isinf.
9684         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9685         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9686         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9687         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9688         with isinf.
9689         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9690         __isinf_nsl with isinf.
9691         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9692         with isinf.
9693         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9694         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9695         __isinf_nsl with isinf.
9696         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9697         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9698         with isinf.
9700 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9702         * resolv/base64.c (rcsid): Remove unused static.
9703         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9704         static.  (tqpi1): Likewise.
9705         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9706         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9707         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9708         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9709         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9710         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9711         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9712         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9713         Likewise.
9715 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9717         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9718         <nptl/pthreadP.h>.
9719         (_longjmp_unwind): Use __libc_ptf_call.
9720         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9722 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9724         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9725         * sysdeps/arm/__longjmp.S: Likewise.
9727 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9729         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9730         Use __builtin_signbit.
9731         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9732         Use __builtin_signbitf.
9733         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9734         Use __builtin_signbitl.
9735         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9736         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9738 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9740         [BZ #15367]
9741         [BZ #17441]
9743         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9744         * math/math.h (fpclassify): Use __builtin_fpclassify when
9745         available.  (signbit): Use __builtin_signbit(f/l).
9746         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9747         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9748         (isinf): Use __builtin_isinf_sign.
9750 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9752         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9753         * benchtests/bench-math-inlines.c: New benchmark.
9754         * benchtests/bench-util.h: New file.
9755         * benchtests/bench-util.c: New file.
9756         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9758 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9760         * elf/tst-dlmopen1.c: Define TEST_SO.
9761         (do_test): Use TEST_SO.
9763         * elf/dl-load.c: Include libc-internal.h.
9764         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9766 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9768         [BZ #17887]
9769         * time/strptime_l.c (__strptime_internal): Make %z accept
9770         [+-]HH:MM time zones.
9772 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9774         [BZ #17886]
9775         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9776         valid time zone.
9778 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9780         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9781         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9782         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9783         (__ASSUME_FDATASYNC): Delete.
9785 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9787         * conform/linknamespace.pl: Require weak undefined symbols to be
9788         in the standard namespace.
9789         (%strong_syms): Rename to %seen_syms.
9790         (%strong_seen): Rename to %seen_where.
9792 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9794         [BZ #18970]
9795         * misc/error.c (error): Replace pthread_setcancelstate with
9796         __pthread_setcancelstate.
9797         (error_at_line): Likewise.
9798         * posix/wordexp.c (parse_comm): Likewise.
9799         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9800         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9801         (__pthread_setcancelstate): This.
9802         (pthread_setcancelstate): Add an alias.
9803         * nptl/nptl-init.c (pthread_functions): Replace
9804         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9805         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9806         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9807         hidden_proto.
9808         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9809         it with hidden_def.
9810         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9811         (pthread_setcancelstate): Renamed to ...
9812         (__pthread_setcancelstate): This.
9813         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9814         __libc_ptf_call with __pthread_setcancelstate.
9816 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9817             Andreas Schwab  <schwab@suse.de>
9819         [BZ #17118]
9820         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9821         result when imaginary part of argument is infinite using sine and
9822         cosine.
9823         * math/s_ctanf.c (__ctanf): Likewise.
9824         * math/s_ctanl.c (__ctanl): Likewise.
9825         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9826         of result when real part of argument is infinite using sine and
9827         cosine.
9828         * math/s_ctanhf.c (__ctanhf): Likewise.
9829         * math/s_ctanhl.c (__ctanhl): Likewise.
9830         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9831         (ctanh_test_data): Add more tests of ctanh.
9833 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9835         [BZ #15384]
9836         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9837         bit-mask as in subtraction.
9838         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9839         Likewise.
9840         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9841         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9842         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9844         [BZ #18951]
9845         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9846         underflow exception for small results.
9847         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9848         Likewise.
9849         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9850         Likewise.
9851         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9852         Likewise.
9853         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9854         Likewise.
9855         * math/auto-libm-test-in: Add more tests of tgamma.
9856         * math/auto-libm-test-out: Regenerated.
9858 2015-09-17  Andreas Schwab  <schwab@suse.de>
9860         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9862 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9864         [BZ #18977]
9865         * math/bits/mathcalls.h
9866         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9867         not declare.
9868         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9869         Likewise.
9870         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9871         Likewise.
9872         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9873         Likewise.
9874         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9875         Likewise.
9876         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9877         Likewise.
9878         * conform/data/math.h-data
9879         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9880         function.
9881         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9882         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9883         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9884         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9885         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9886         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9887         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9888         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9889         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9890         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9891         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9893         [BZ #6803]
9894         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9895         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9896         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9897         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9898         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9899         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9900         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9901         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9902         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9903         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9904         Likewise.
9905         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9906         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9907         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9908         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9909         long_double_symbol calls.
9910         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9911         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9912         strong alias of __ldexpl.
9913         (scalbnl): Define using long_double_symbol.
9914         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9915         Remove alias.
9916         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9917         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9918         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9919         (scalbln_test_data): Add more errno expectations.
9921 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9923         Cache the host port like we cache the task port.  This way we do not
9924         need to call the kernel just to get the port.  Furthermore, we no
9925         longer increase the reference count on every invocation of
9926         `mach_host_self'.
9928         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9929         Protect declarations against the macro expansion.
9930         * mach/mach_init.c (__mach_host_self_): New variable.
9931         (mach_init): Initialize `__mach_host_self_'.
9932         * mach/mach_init.h (__mach_host_self_): New declaration.
9933         (__mach_host_self, mach_host_self): New macros.
9934         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9935         Release reference.
9937 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9939         [BZ #4404]
9940         * po/de.po: Update from Translation Project.
9942         [BZ #16415]
9943         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9944         (__expm1l): Remove code to handle positive infinity and overflow.
9945         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9946         variable.
9947         (__expm1l): Remove code to handle positive infinity and overflow.
9949 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9950             Paul Pluzhnikov  <ppluzhnikov@google.com>
9952         [BZ #18872]
9953         * stdio-common/Makefile (tst-printf-bz18872): New test.
9954         (tst-printf-bz18872-mem.out): Likewise.
9955         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9956         * stdio-common/vfprintf.c: Fix memory leaks.
9958 2015-09-16  Andreas Schwab  <schwab@suse.de>
9960         [BZ #17244]
9961         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9962         Remove extra va_start/va_end calls.
9964         [BZ #17243]
9965         * posix/execl.c (execl): Add missing va_end.
9966         * posix/execle.c (execle): Likewise.
9967         * posix/execlp.c (execlp): Likewise.
9969 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9971         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9972         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9974 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9976         [BZ #18967]
9977         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9978         undefine around includes of <bits/mathcalls.h>.
9979         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9980         not declare function.
9981         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9982         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9983         (scalb): Likewise.
9984         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9985         not define macro.
9986         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9987         variable.
9988         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9989         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9990         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9992         [BZ #18857]
9993         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9994         return non-finite argument without doing ordered comparisons on
9995         it.
9997         [BZ #16296]
9998         * math/fenv.h (fegetround): Use __attribute_pure__.
9999         * include/fenv.h (__fegetround): Likewise.
10001         [BZ #18595]
10002         * math/s_ctan.c (__ctan): Force underflow exception for results
10003         whose real or imaginary part has small absolute value.
10004         * math/s_ctanf.c (__ctanf): Likewise.
10005         * math/s_ctanh.c (__ctanh): Likewise.
10006         * math/s_ctanhf.c (__ctanhf): Likewise.
10007         * math/s_ctanhl.c (__ctanhl): Likewise.
10008         * math/s_ctanl.c (__ctanl): Likewise.
10009         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10010         and ctanh.  Add more tests of ctan and ctanh.
10012         [BZ #15918]
10013         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10014         handling of cases where one argument is an infinity.
10016         [BZ #18875]
10017         [BZ #18966]
10018         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10019         (MO): New macro.
10020         (__ieee754_exp10): For small results, force underflow exception
10021         and remove excess range and precision from return value.
10022         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10023         (MO): New macro.
10024         (__ieee754_exp10f): For small results, force underflow exception
10025         and remove excess range and precision from return value.
10026         * math/auto-libm-test-in: Add more tests of exp10.
10027         * math/auto-libm-test-out: Regenerated.
10029 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10031         [BZ #18875]
10032         [BZ #18961]
10033         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10034         (MO): New macro.
10035         (__ieee754_exp): For small results, force underflow exception and
10036         remove excess range and precision from return value.
10037         (__exp_finite): Likewise.
10038         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10039         (MO): New macro.
10040         (__ieee754_expf): For small results, force underflow exception and
10041         remove excess range and precision from return value.
10042         (__expf_finite): Likewise.
10043         * math/auto-libm-test-in: Add more tests of exp.
10044         * math/auto-libm-test-out: Regenerated.
10046         [BZ #16521]
10047         [BZ #18875]
10048         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10049         small results.
10050         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10051         (MO): New macro.
10052         (__ieee754_exp2): For small results, force underflow exception and
10053         remove excess range and precision from return value.
10054         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10055         (MO): New macro.
10056         (__ieee754_exp2f): For small results, force underflow exception
10057         and remove excess range and precision from return value.
10058         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10059         (MO): New macro.
10060         (__ieee754_exp2l): Force underflow exception for small results.
10061         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10062         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10063         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10064         (MO): New macro.
10065         (__ieee754_exp2l): Force underflow exception for small results.
10066         * math/auto-libm-test-in: Add more tests or exp2.
10067         * math/auto-libm-test-out: Regenerated.
10069 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10071         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10073         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10074         /dev/null.
10076 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10078         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10079         io fs process)): Drop spurious backslash.
10081 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10084         Use sysinfo system call instead of parsing /proc/meminfo.
10085         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10086         Likewise.
10088 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10090         [BZ #16985]
10091         * programs/localedef.c (main): Display argv[remaining] when
10092         output_path is NULL.
10094 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10096         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10097         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10098         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10099         tanh.
10100         * math/auto-libm-test-out: Regenerated.
10101         * sysdeps/i386/fpu/libm-test-ulps: Update.
10102         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10103         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10106 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10108         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10109         Use 'override' keyword to freeze the value here, preventing
10110         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10112 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10114         [BZ #14912]
10115         * sysdeps/aarch64/bits/atomic.h: Move to ...
10116         * sysdeps/aarch64/atomic-machine.h: ...here.
10117         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10118         _AARCH64_ATOMIC_MACHINE_H.
10119         * sysdeps/alpha/bits/atomic.h: Move to ...
10120         * sysdeps/alpha/atomic-machine.h: ...here.
10121         * sysdeps/arm/bits/atomic.h: Move to ...
10122         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10123         * bits/atomic.h: Move to ...
10124         * sysdeps/generic/atomic-machine.h: ...here.
10125         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10126         * sysdeps/i386/bits/atomic.h: Move to ...
10127         * sysdeps/i386/atomic-machine.h: ...here.
10128         * sysdeps/ia64/bits/atomic.h: Move to ...
10129         * sysdeps/ia64/atomic-machine.h: ...here.
10130         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10131         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10132         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10133         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10134         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10135         * sysdeps/microblaze/bits/atomic.h: Move to ...
10136         * sysdeps/microblaze/atomic-machine.h: ...here.
10137         * sysdeps/mips/bits/atomic.h: Move to ...
10138         * sysdeps/mips/atomic-machine.h: ...here.
10139         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10140         * sysdeps/powerpc/bits/atomic.h: Move to ...
10141         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10142         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10143         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10144         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10145         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10146         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10147         <atomic-machine.h> instead of <bits/atomic.h>.
10148         * sysdeps/s390/bits/atomic.h: Move to ...
10149         * sysdeps/s390/atomic-machine.h: ...here.
10150         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10151         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10152         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10153         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10154         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10155         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10156         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10157         * sysdeps/tile/bits/atomic.h: Move to ...
10158         * sysdeps/tile/atomic-machine.h: ...here.
10159         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10160         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10161         <sysdeps/tile/atomic-machine.h> instead of
10162         <sysdeps/tile/bits/atomic.h>.
10163         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10164         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10165         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10166         <sysdeps/tile/atomic-machine.h> instead of
10167         <sysdeps/tile/bits/atomic.h>.
10168         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10169         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10170         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10171         <sysdeps/arm/atomic-machine.h> instead of
10172         <sysdeps/arm/bits/atomic.h>.
10173         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10174         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10175         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10176         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10177         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10178         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10179         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10180         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10181         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10182         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10183         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10184         * sysdeps/x86_64/bits/atomic.h: Move to ...
10185         * sysdeps/x86_64/atomic-machine.h: ...here.
10186         * include/atomic.h: Include <atomic-machine.h> instead of
10187         <bits/atomic.h>.
10189         * sysdeps/mips/mips32/libm-test-ulps: Update.
10190         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10192         [BZ #18952]
10193         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10194         not convert non-integer negative arguments to int to determine the
10195         value of signgam.
10196         * math/auto-libm-test-in: Add more tests of lgamma.
10197         * math/auto-libm-test-out: Regenerated.
10199         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10200         cosh, csqrt, erfc, expm1 and lgamma.
10201         * math/auto-libm-test-out: Regenerated.
10202         * sysdeps/i386/fpu/libm-test-ulps: Update.
10203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10205 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10207         [BZ #2542]
10208         [BZ #2543]
10209         [BZ #2558]
10210         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10211         __lgamma_neg for arguments from -28.0 to -2.0.
10212         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10213         __lgamma_negf for arguments from -15.0 to -2.0.
10214         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10215         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10216         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10217         Call __lgamma_negl for arguments from -33.0 to -2.0.
10218         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10219         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10220         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10221         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10222         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10223         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10224         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10225         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10226         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10227         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10228         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10229         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10230         (__lgamma_neg): Likewise.
10231         (__lgamma_negl): Likewise.
10232         (__lgamma_product): Likewise.
10233         (__lgamma_productl): Likewise.
10234         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10235         * math/auto-libm-test-in: Add more tests of lgamma.
10236         * math/auto-libm-test-out: Regenerated.
10237         * sysdeps/i386/fpu/libm-test-ulps: Update.
10238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10240 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10242         [BZ #18675]
10243         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10245 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10247         [BZ #14912]
10248         * bits/libc-lock.h: Move to ...
10249         * sysdeps/generic/libc-lock.h: ...here.
10250         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10251         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10252         * sysdeps/mach/hurd/libc-lock.h: ...here.
10253         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10254         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10255         * sysdeps/mach/bits/libc-lock.h: Move to ...
10256         * sysdeps/mach/libc-lock.h: ...here.
10257         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10258         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10259         * sysdeps/nptl/libc-lock.h: ...here.
10260         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10261         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10262         * sysdeps/nptl/libc-lockP.h: ...here.
10263         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10264         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10265         <bits/libc-lock.h>.
10266         * dirent/scandir-tail.c: Likewise.
10267         * dlfcn/dlerror.c: Likewise.
10268         * elf/dl-close.c: Likewise.
10269         * elf/dl-iteratephdr.c: Likewise.
10270         * elf/dl-lookup.c: Likewise.
10271         * elf/dl-open.c: Likewise.
10272         * elf/dl-support.c: Likewise.
10273         * elf/dl-writev.h: Likewise.
10274         * elf/rtld.c: Likewise.
10275         * grp/fgetgrent.c: Likewise.
10276         * gshadow/fgetsgent.c: Likewise.
10277         * gshadow/sgetsgent.c: Likewise.
10278         * iconv/gconv_conf.c: Likewise.
10279         * iconv/gconv_db.c: Likewise.
10280         * iconv/gconv_dl.c: Likewise.
10281         * iconv/gconv_int.h: Likewise.
10282         * iconv/gconv_trans.c: Likewise.
10283         * include/link.h: Likewise.
10284         * inet/getnameinfo.c: Likewise.
10285         * inet/getnetgrent.c: Likewise.
10286         * inet/getnetgrent_r.c: Likewise.
10287         * intl/bindtextdom.c: Likewise.
10288         * intl/dcigettext.c: Likewise.
10289         * intl/finddomain.c: Likewise.
10290         * intl/gettextP.h: Likewise.
10291         * intl/loadmsgcat.c: Likewise.
10292         * intl/localealias.c: Likewise.
10293         * intl/textdomain.c: Likewise.
10294         * libidn/idn-stub.c: Likewise.
10295         * libio/libioP.h: Likewise.
10296         * locale/duplocale.c: Likewise.
10297         * locale/freelocale.c: Likewise.
10298         * locale/newlocale.c: Likewise.
10299         * locale/setlocale.c: Likewise.
10300         * login/getutent_r.c: Likewise.
10301         * login/getutid_r.c: Likewise.
10302         * login/getutline_r.c: Likewise.
10303         * login/utmp-private.h: Likewise.
10304         * login/utmpname.c: Likewise.
10305         * malloc/mtrace.c: Likewise.
10306         * misc/efgcvt.c: Likewise.
10307         * misc/error.c: Likewise.
10308         * misc/fstab.c: Likewise.
10309         * misc/getpass.c: Likewise.
10310         * misc/mntent.c: Likewise.
10311         * misc/syslog.c: Likewise.
10312         * nis/nis_call.c: Likewise.
10313         * nis/nis_callback.c: Likewise.
10314         * nis/nss-default.c: Likewise.
10315         * nis/nss_compat/compat-grp.c: Likewise.
10316         * nis/nss_compat/compat-initgroups.c: Likewise.
10317         * nis/nss_compat/compat-pwd.c: Likewise.
10318         * nis/nss_compat/compat-spwd.c: Likewise.
10319         * nis/nss_nis/nis-alias.c: Likewise.
10320         * nis/nss_nis/nis-ethers.c: Likewise.
10321         * nis/nss_nis/nis-grp.c: Likewise.
10322         * nis/nss_nis/nis-hosts.c: Likewise.
10323         * nis/nss_nis/nis-network.c: Likewise.
10324         * nis/nss_nis/nis-proto.c: Likewise.
10325         * nis/nss_nis/nis-pwd.c: Likewise.
10326         * nis/nss_nis/nis-rpc.c: Likewise.
10327         * nis/nss_nis/nis-service.c: Likewise.
10328         * nis/nss_nis/nis-spwd.c: Likewise.
10329         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10330         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10331         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10332         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10333         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10334         * nis/nss_nisplus/nisplus-network.c: Likewise.
10335         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10336         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10337         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10338         * nis/nss_nisplus/nisplus-service.c: Likewise.
10339         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10340         * nis/ypclnt.c: Likewise.
10341         * nptl/libc_pthread_init.c: Likewise.
10342         * nss/getXXbyYY.c: Likewise.
10343         * nss/getXXent.c: Likewise.
10344         * nss/getXXent_r.c: Likewise.
10345         * nss/nss_db/db-XXX.c: Likewise.
10346         * nss/nss_db/db-netgrp.c: Likewise.
10347         * nss/nss_db/nss_db.h: Likewise.
10348         * nss/nss_files/files-XXX.c: Likewise.
10349         * nss/nss_files/files-alias.c: Likewise.
10350         * nss/nsswitch.c: Likewise.
10351         * posix/regex_internal.h: Likewise.
10352         * posix/wordexp.c: Likewise.
10353         * pwd/fgetpwent.c: Likewise.
10354         * resolv/res_hconf.c: Likewise.
10355         * resolv/res_libc.c: Likewise.
10356         * shadow/fgetspent.c: Likewise.
10357         * shadow/lckpwdf.c: Likewise.
10358         * shadow/sgetspent.c: Likewise.
10359         * socket/opensock.c: Likewise.
10360         * stdio-common/reg-modifier.c: Likewise.
10361         * stdio-common/reg-printf.c: Likewise.
10362         * stdio-common/reg-type.c: Likewise.
10363         * stdio-common/vfprintf.c: Likewise.
10364         * stdio-common/vfscanf.c: Likewise.
10365         * stdlib/abort.c: Likewise.
10366         * stdlib/cxa_atexit.c: Likewise.
10367         * stdlib/fmtmsg.c: Likewise.
10368         * stdlib/random.c: Likewise.
10369         * stdlib/setenv.c: Likewise.
10370         * string/strsignal.c: Likewise.
10371         * sunrpc/auth_none.c: Likewise.
10372         * sunrpc/bindrsvprt.c: Likewise.
10373         * sunrpc/create_xid.c: Likewise.
10374         * sunrpc/key_call.c: Likewise.
10375         * sunrpc/rpc_thread.c: Likewise.
10376         * sysdeps/arm/backtrace.c: Likewise.
10377         * sysdeps/generic/ldsodefs.h: Likewise.
10378         * sysdeps/generic/stdio-lock.h: Likewise.
10379         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10380         * sysdeps/i386/backtrace.c: Likewise.
10381         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10382         * sysdeps/m68k/backtrace.c: Likewise.
10383         * sysdeps/mach/hurd/cthreads.c: Likewise.
10384         * sysdeps/mach/hurd/dirstream.h: Likewise.
10385         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10386         * sysdeps/nptl/malloc-machine.h: Likewise.
10387         * sysdeps/nptl/stdio-lock.h: Likewise.
10388         * sysdeps/posix/dirstream.h: Likewise.
10389         * sysdeps/posix/getaddrinfo.c: Likewise.
10390         * sysdeps/posix/system.c: Likewise.
10391         * sysdeps/pthread/aio_suspend.c: Likewise.
10392         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10393         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10394         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10395         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10396         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10397         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10398         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10399         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10400         * sysdeps/unix/sysv/linux/system.c: Likewise.
10401         * sysdeps/x86_64/backtrace.c: Likewise.
10402         * time/alt_digit.c: Likewise.
10403         * time/era.c: Likewise.
10404         * time/tzset.c: Likewise.
10405         * wcsmbs/wcsmbsload.c: Likewise.
10406         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10407         instead of <bits/libc-lock.h> in comment.
10409 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10411         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10412         Only use .set mips2 if the current ISA is below mips2.
10413         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10414         Likewise.
10415         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10416         mips32r2 if the current ISA is below mips32r2.
10417         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10418         (TLS_IE): Updated to use the TLD_RDHWR macro.
10419         (TLS_LE): Likewise.
10420         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10421         __ASSEMBLER__ condition.
10423 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10425         Fix parallel build of before-compile targets.
10427         * sysdeps/mach/Makefile ($(patsubst
10428         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10429         mach-before-compile target.
10430         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10431         io fs process)): Move rule to dedicated hurd-before-compile target.
10433 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10435         Fix rules generating headers in hurd/ and mach/ when initial make call
10436         has subdir= explicitly set.
10438         * sysdeps/mach/Makefile ($(patsubst
10439         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10440         calling $(MAKE).
10441         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10442         io fs process)): Force subdir to hurd when calling $(MAKE).
10443         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10444         subdir to mach when calling $(MAKE).
10446 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10448         Check sysheaders when looking for Mach and Hurd headers
10450         * sysdeps/mach/configure.ac: Add sysheaders check.
10451         * sysdeps/mach/configure: Regenerate.
10452         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10453         * sysdeps/mach/hurd/configure: Regenerate.
10455 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10457         [BZ #18921]
10458         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10459         Fix inverted sense of test of 'o_directory_works' value.
10460         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10461         Bernhard Voelker <mail@bernhard-voelker.de>.
10463 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10465         [BZ #14912]
10466         * bits/linkmap.h: Move to ...
10467         * sysdeps/generic/linkmap.h: ...here.
10468         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10469         * sysdeps/aarch64/linkmap.h: ...here.
10470         * sysdeps/arm/bits/linkmap.h: Move to ...
10471         * sysdeps/arm/linkmap.h: ...here.
10472         * sysdeps/hppa/bits/linkmap.h: Move to ...
10473         * sysdeps/hppa/linkmap.h: ...here.
10474         * sysdeps/ia64/bits/linkmap.h: Move to ...
10475         * sysdeps/ia64/linkmap.h: ...here.
10476         * sysdeps/mips/bits/linkmap.h: Move to ...
10477         * sysdeps/mips/linkmap.h: ...here.
10478         * sysdeps/s390/bits/linkmap.h: Move to ...
10479         * sysdeps/s390/linkmap.h: ...here.
10480         * sysdeps/sh/bits/linkmap.h: Move to ...
10481         * sysdeps/sh/linkmap.h: ...here.
10482         * sysdeps/x86/bits/linkmap.h: Move to ...
10483         * sysdeps/x86/linkmap.h: ...here.
10484         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10486 2015-09-04  Andreas Schwab  <schwab@suse.de>
10488         [BZ #18635]
10489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10490         (__makecontext): Terminate FDE before return label.
10491         (__novec_makecontext): Likewise.
10493 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10495         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10496         first member of struct sv in syscall macro.
10498 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10500         [BZ #14912]
10501         * bits/stdio-lock.h: Move to ...
10502         * sysdeps/generic/stdio-lock.h: ...here.
10503         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10504         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10505         * sysdeps/nptl/stdio-lock.h: ...here.
10506         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10507         * include/libio.h: Include <stdio-lock.h> instead of
10508         <bits/stdio-lock.h>.
10509         * sysdeps/nptl/fork.c: Likewise.
10510         * sysdeps/pthread/flockfile.c: Likewise.
10511         * sysdeps/pthread/ftrylockfile.c: Likewise.
10512         * sysdeps/pthread/funlockfile.c: Likewise.
10514         [BZ #14912]
10515         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10516         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10517         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10518         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10519         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10520         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10521         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10523 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10525         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10526         (test-xfail-tst-protected1b): New variable.
10528 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10530         [BZ #14912]
10531         * bits/libc-tsd.h: Move to ...
10532         * sysdeps/generic/libc-tsd.h: ...here.
10533         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10534         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10535         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10536         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10537         * include/ctype.h: Include <libc-tsd.h> instead of
10538         <bits/libc-tsd.h>.
10539         * include/rpc/rpc.h: Likewise.
10540         * locale/localeinfo.h: Likewise.
10541         * sunrpc/rpc_thread.c: Likewise.
10542         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10543         * sysdeps/nptl/malloc-machine.h: Likewise.
10545         * Makefile (headers): Remove bits/libc-lock.h.
10546         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10548         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10549         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10550         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10551         <bits/stdio-lock.h>.
10552         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10553         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10555 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10557         [BZ #18757]
10558         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10559         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10560         BZ #18757.
10562 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10564         * malloc/mtrace.pl: Filter out NULL entries.
10566 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10568         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10569         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10570         macro.
10572         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10573         (TCP_CC_INFO): Likewise.
10574         (TCP_SAVE_SYN): Likewise.
10575         (TCP_SAVED_SYN): Likewise.
10577 2015-08-31  Brett Neumeier <brett@neumeier.us>
10579         [BZ #18870]
10580         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10582 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10584         [BZ #18873]
10585         Fix broken overflow check in posix_fallocate
10586         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10587         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10588         Fix parenthesization typo.
10590 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10592         [BZ #18887]
10593         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10594         tst-mntent-blank-passno.
10595         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10596         * misc/tst-mntent-blank-corrupt.c: New test.
10597         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10598         * misc/tst-mntent.c (do_test): ... here.
10600 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10602         [BZ #4404]
10603         * po/de.po: Fix SIGALRM typo.
10605 2015-08-28  James Perkins  <james@loowit.net>
10607         * time/tst-strptime2.c (tests): Replace short list of test
10608         strings for strptime %z specifier with code which exhaustively
10609         tests every combination of sign and 0 to 5 digits. Tests for
10610         rejection of invalid strings.
10612 2015-08-28  James Perkins  <james@loowit.net>
10614         [BZ #16141]
10615         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10616         calculation, removing incorrect decimal time rounding, so that
10617         all minute values result in a valid seconds value.
10618         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10619         offset range limits to UTC-99:59 through UTC+99:59 to parse
10620         current and historical use cases.
10621         * time/tst-strptime2.c (tests): Modify and add tests for the
10622         strptime %z input field descriptor, specifically conversion of
10623         minutes to seconds and validating an offset range of -9959 to
10624         +9959.
10626 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10627             Dmitry V. Levin  <ldv@altlinux.org>
10629         [BZ #18877]
10630         * posix/Makefile (tests): Add tst-mmap-offset.
10631         * posix/tst-mmap.c: New file.
10632         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10633         offset calculation for negative values.
10635 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10637         * sysdeps/i386/init-arch.h: New file.
10638         * sysdeps/i386/i586/init-arch.h: Likewise.
10639         * sysdeps/i386/i686/init-arch.h: Likewise.
10640         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10641         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10642         * sysdeps/x86/cpu-features.h (bit_I586): New.
10643         (bit_I686): Likewise.
10644         (bit_CX8): Likewise.
10645         (bit_CMOV): Likewise.
10646         (index_CX8): Likewise.
10647         (index_CMOV): Likewise.
10648         (index_I586): Likewise.
10649         (index_I686): Likewise.
10650         (reg_CX8): Likewise.
10651         (reg_CMOV): Likewise.
10652         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10653         available at compile-time.
10654         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10655         available at compile-time.
10656         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10657         (USE_I686): Likewise.
10659 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10661         * sysdeps/i386/bcopy.S: New file.
10662         * sysdeps/i386/bzero.S: Likewise.
10663         * sysdeps/i386/memcpy.S: Likewise.
10664         * sysdeps/i386/memmove.S: Likewise.
10665         * sysdeps/i386/mempcpy.S: Likewise.
10666         * sysdeps/i386/memset.S: Likewise.
10667         * sysdeps/i386/bzero.c: Removed.
10668         * sysdeps/i386/memset.c: Likewise.
10669         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10670         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10671         * sysdeps/i386/i586/memset_chk.S: Likewise.
10672         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10673         * sysdeps/i386/memcpy_chk.S: Here.
10674         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10675         * sysdeps/i386/memmove_chk.S: Here.
10676         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10677         * sysdeps/i386/mempcpy_chk.S: Likewise.
10678         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10679         * sysdeps/i386/memset_chk.S: Likewise.
10681 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10683         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10684         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10685         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10686         * soft-fp/fmadf4.c: Ditto.
10687         * soft-fp/fmatf4.c: Ditto.
10689 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10691         * sysdeps/i386/i586/Implies: Removed.
10692         * sysdeps/i386/i686/Implies: Likewise.
10694 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10696         * sysdeps/i386/i486/strlen.S: Moved to ...
10697         * sysdeps/i386/strlen.S: Here.
10699 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10701         * sysdeps/i386/i486/strcat.S: Moved to ...
10702         * sysdeps/i386/strcat.S: Here.
10704 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10706         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10707         * sysdeps/i386/pthread_spin_trylock.S: Here.
10708         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10709         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10711 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10713         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10714         * sysdeps/i386/string-inlines.c: Here.
10716 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10718         * sysdeps/i386/i486/htonl.S: Moved ...
10719         * sysdeps/i386/htonl.S: here.
10721 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10723         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10724         * sysdeps/i386/bits/atomic.h: Here.
10726 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10728         * sysdeps/i386/i486/Versions: Removed.
10730 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10732         [BZ #2898]
10733         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10734         Based on patch by Aurelien Jarno.
10736 2015-08-26  Stan Shebs  <stanshebs@google.com>
10738         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10739         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10741 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10743         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10744         * sysdeps/powerpc/dl-procinfo.c:
10745         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10746         feature so it shows when LD_SHOW_AUXV=1.
10748 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10750         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10751         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10752         definition.  ISA 2.07B no longer requires full sync.
10754 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10756         [BZ #18863]
10757         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10758         (si_call_addr): Define.
10759         (si_syscall): Define.
10760         (si_arch): Define.
10762 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10764         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10765         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10766         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10767         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10768         (__memset_zero_constant_len_parameter): New.
10769         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10770         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10771         (__memset_zero_constant_len_parameter): Don't define if
10772         __memset_chk or USE_AS_BZERO are defined.
10774         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10775         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10776         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10778         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10779         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10780         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10781         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10782         comments.
10783         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10784         -mno-mmx for $(all-rtld-routines).
10785         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10786         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10787         i386.
10789 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10791         * sysdeps/generic/unwind.h
10792         (_Unwind_Word): Use __mode__(__unwind_word__)
10793         instead of __mode__(__word__).
10794         (_Unwind_Sword): Likewise.
10796         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10797         (MAX_NEEDED_INPUT): New define.
10798         (MAX_NEEDED_OUTPUT): New define.
10800         * NEWS: New item for IBM z13 string optimizations.
10802         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10803         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10804         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10805         * sysdeps/s390/multiarch/Makefile
10806         (sysdep_routines): Add memrchr functions.
10807         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10808         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10810         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10811         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10812         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10813         * sysdeps/s390/multiarch/Makefile
10814         (sysdep_routines): Add wmemcmp functions.
10815         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10816         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10817         * benchtests/bench-wmemcmp.c: New File.
10818         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10820         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10821         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10822         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10823         * sysdeps/s390/multiarch/Makefile
10824         (sysdep_routines): Add wmemset functions.
10825         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10826         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10827         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10828         * string/test-memset.c: Add wmemset support.
10829         * wcsmbs/test-wmemset.c: New File.
10830         * wcsmbs/Makefile (strop-tests): Add wmemset.
10831         * benchtests/bench-memset.c: Add wmemset support.
10832         * benchtests/bench-wmemset.c: New File.
10833         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10835         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10836         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10837         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10838         * sysdeps/s390/multiarch/Makefile
10839         (sysdep_routines): Add memccpy functions.
10840         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10841         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10842         * string/memccpy.c: Use MEMCCPY if defined.
10844         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10845         * sysdeps/s390/multiarch/memchr.c: Likewise.
10846         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10847         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10848         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10849         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10850         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10851         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10852         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10853         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10854         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10855         and rawmemchr functions.
10856         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10857         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10858         and wmemchr.
10859         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10860         * string/test-memchr.c: Add wmemchr support.
10861         * wcsmbs/test-wmemchr.c: New File.
10862         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10863         * benchtests/bench-memchr.c: Add wmemchr support.
10864         * benchtests/bench-wmemchr.c: New File.
10865         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10867         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10868         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10869         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10870         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10871         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10872         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10873         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10874         wcscspn functions.
10875         * sysdeps/s390/multiarch/ifunc-impl-list.c
10876         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10877         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10878         * string/test-strcspn.c: Add wcscspn support.
10879         * wcsmbs/test-wcscspn.c: New File.
10880         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10881         * benchtests/bench-strcspn.c: Add wcscspn support.
10882         * benchtests/bench-wcscspn.c: New File.
10883         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10885         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10886         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10887         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10888         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10889         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10890         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10891         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10892         wcspbrk functions.
10893         * sysdeps/s390/multiarch/ifunc-impl-list.c
10894         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10895         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10896         * string/test-strpbrk.c: Add wcspbrk support.
10897         * wcsmbs/test-wcspbrk.c: New File.
10898         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10899         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10900         * benchtests/bench-wcspbrk.c: New File.
10901         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10903         * sysdeps/s390/multiarch/strspn-c.c: New File.
10904         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10905         * sysdeps/s390/multiarch/strspn.c: Likewise.
10906         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10907         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10908         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10909         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10910         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10911         wcsspn functions.
10912         * sysdeps/s390/multiarch/ifunc-impl-list.c
10913         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10914         * string/test-strspn.c: Add wcsspn support.
10915         * wcsmbs/test-wcsspn.c: New File.
10916         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10917         * benchtests/bench-strspn.c: Add wcsspn support.
10918         * benchtests/bench-wcsspn.c: New File.
10919         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10921         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10922         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10923         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10924         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10925         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10926         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10927         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10928         wcsrchr functions.
10929         * sysdeps/s390/multiarch/ifunc-impl-list.c
10930         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10931         * benchtests/bench-wcsrchr.c: New File.
10932         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10934         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10935         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10936         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10937         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10938         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10939         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10941         wcschrnul functions.
10942         * sysdeps/s390/multiarch/ifunc-impl-list.c
10943         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10944         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10945         * string/test-strchr.c: Add wcschrnul support.
10946         * wcsmbs/test-wcschrnul.c: New File.
10947         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10948         * benchtests/bench-strchr.c: Add wcschrnul support.
10949         * benchtests/bench-wcschrnul.c: New File.
10950         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10952         * sysdeps/s390/multiarch/strchr-c.c: New File.
10953         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10954         * sysdeps/s390/multiarch/strchr.c: Likewise.
10955         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10956         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10957         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10959         wcschr functions.
10960         * sysdeps/s390/multiarch/ifunc-impl-list.c
10961         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10962         * string/strchr.c (STRCHR): Define and use macro.
10963         * benchtests/bench-wcschr.c: New File.
10964         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10966         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10967         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10968         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10969         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10970         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10971         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10973         wcsncmp functions.
10974         * sysdeps/s390/multiarch/ifunc-impl-list.c
10975         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10976         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10977         * benchtests/bench-strncmp.c: Add wcsncmp support.
10978         * benchtests/bench-wcsncmp.c: New File.
10979         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10981         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10982         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10983         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10984         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10985         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10986         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10987         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10988         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10989         wcscmp functions.
10990         * sysdeps/s390/multiarch/ifunc-impl-list.c
10991         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10992         * string/strcmp.c (STRCMP): Define and use macro.
10993         * benchtests/bench-wcscmp.c: New File.
10994         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10995         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10996         instead of _HAVE_STRING_ARCH_memchr.
10998         * sysdeps/s390/multiarch/strncat-c.c: New File.
10999         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11000         * sysdeps/s390/multiarch/strncat.c: Likewise.
11001         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11002         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11003         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11005         wcsncat functions.
11006         * sysdeps/s390/multiarch/ifunc-impl-list.c
11007         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11008         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11009         * string/test-strncat.c: Add wcsncat support.
11010         * wcsmbs/test-wcsncat.c: New File.
11011         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11012         * benchtests/bench-strncat.c: Add wcsncat support.
11013         * benchtests/bench-wcsncat.c: New File.
11014         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11016         * sysdeps/s390/multiarch/strcat-c.c: New File.
11017         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11018         * sysdeps/s390/multiarch/strcat.c: Likewise.
11019         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11020         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11021         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11022         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11023         wcscat functions.
11024         * sysdeps/s390/multiarch/ifunc-impl-list.c
11025         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11026         * string/strcat.c (STRCAT): Define and use macro.
11027         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11028         * string/test-strcat.c: Add wcscat support.
11029         * wcsmbs/test-wcscat.c: New File.
11030         * wcsmbs/Makefile (strop-tests): Add wcscat.
11031         * benchtests/bench-strcat.c: Add wcscat support.
11032         * benchtests/bench-wcscat.c: New File.
11033         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11035         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11036         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11037         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11038         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11039         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11040         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11041         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11042         wcpncpy functions.
11043         * sysdeps/s390/multiarch/ifunc-impl-list.c
11044         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11045         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11046         * string/test-stpncpy.c: Add wcpncpy support.
11047         * wcsmbs/test-wcpncpy.c: New File.
11048         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11049         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11050         * benchtests/bench-wcpncpy.c: New File.
11051         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11053         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11054         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11055         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11056         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11057         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11058         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11059         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11060         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11061         wcsncpy functions.
11062         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11063         * sysdeps/s390/multiarch/ifunc-impl-list.c
11064         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11065         * string/test-strncpy.c: Add wcsncpy support.
11066         * wcsmbs/test-wcsncpy.c: New File.
11067         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11068         * benchtests/bench-strncpy.c: Add wcsncpy support.
11069         * benchtests/bench-wcsncpy.c: New File.
11070         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11072         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11073         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11074         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11075         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11076         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11077         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11078         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11079         wcpcpy functions.
11080         * string/stpcpy.c: Use STPCPY if defined.
11081         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11082         * sysdeps/s390/multiarch/ifunc-impl-list.c
11083         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11084         * string/test-stpcpy.c: Add wcpcpy support.
11085         * wcsmbs/test-wcpcpy.c: New File.
11086         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11087         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11088         * benchtests/bench-wcpcpy.c: New File.
11089         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11091         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11092         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11093         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11094         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11095         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11096         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11097         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11098         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11099         wcscpy functions.
11100         * sysdeps/s390/multiarch/ifunc-impl-list.c
11101         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11102         * benchtests/bench-wcscpy.c: New File.
11103         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11105         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11106         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11107         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11108         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11109         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11110         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11111         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11112         wcsnlen functions.
11113         * sysdeps/s390/multiarch/ifunc-impl-list.c
11114         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11115         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11116         * string/test-strnlen.c: Add wcsnlen support.
11117         * wcsmbs/test-wcsnlen.c: New File.
11118         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11119         * benchtests/bench-strnlen.c: Add wcsnlen support.
11120         * benchtests/bench-wcsnlen.c: New File.
11121         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11123         * sysdeps/s390/multiarch/Makefile: New File.
11124         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11125         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11126         * sysdeps/s390/multiarch/strlen.c: Likewise.
11127         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11128         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11129         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11130         * string/strlen.c (STRLEN): Define and use macro.
11131         * sysdeps/s390/multiarch/ifunc-impl-list.c
11132         (IFUNC_VX_IMPL): New macro function.
11133         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11134         * benchtests/Makefile (wcsmbs-bench): New variable.
11135         (string-bench-all): Added wcsmbs-bench.
11136         * benchtests/bench-wcslen.c: New File.
11138         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11139         s390_vx_libc_ifunc2): New macro function.
11141         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11142         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11143         assembler support.
11144         * sysdeps/s390/configure: Regenerated.
11146         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11147         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11149         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11150         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11151         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11153         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11154         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11155         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11156         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11157         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11158         (memcmp, bcmp): Use __memcmp_default as alias source.
11159         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11160         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11161         Rename to __memcmp_default.
11162         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11163         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11164         (memcpy): Use __memcpy_default as alias source.
11165         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11166         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11167         Rename to __memcpy_default.
11168         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11169         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11170         (memset): Use __memset_default as alias source.
11171         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11172         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11173         Rename to __memset_default.
11174         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11175         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11176         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11177         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11178         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11179         (memcmp, bcmp): Use __memcmp_default as alias source.
11180         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11181         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11182         Rename to __memcmp_default.
11183         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11184         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11185         (memcpy): Use __memcpy_default as alias source.
11186         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11187         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11188         Rename to __memcpy_default.
11189         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11190         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11191         (memset): Use __memset_default as alias source.
11192         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11193         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11194         Rename to __memset_default.
11195         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11196         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11198         [BZ #18610]
11199         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11200         __ieee_instruction_pointer to __unused.
11201         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11202         __ieee_instruction_pointer.
11203         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11204         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11205         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11206         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11207         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11208         Mark dxc-field as reserved.
11210 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11212         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11213         if the weak reference is not null.
11215 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11217         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11219         [BZ #11214]
11220         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11222 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11224         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11225         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11226         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11227         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11228         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11229         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11230         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11231         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11232         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11233         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11234         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11235         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11236         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11237         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11238         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11239         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11240         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11241         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11243 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11245         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11246         register other than r0 for tabort, it has special meaning.
11247         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11248         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11249         transaction before starting syscall.
11251 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11253         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11255 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11257         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11259         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11260         * sysdeps/x86_64/rtld-memset.S: Likewise.
11261         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11262         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11263         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11264         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11266         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11268 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11270         * debug/strcpy_chk.c: Improve performance.
11271         * debug/stpcpy_chk.c: Likewise.
11272         * sysdeps/x86_64/strcpy_chk.S: Remove.
11273         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11275         [BZ #18240]
11276         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11278 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11280         [BZ #15128]
11281         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11282         ifuncmain8.
11283         (modules-names): Add ifuncmod8.
11284         ($(objpfx)ifuncmain8): New rule.
11285         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11286         <cpuid.h>.
11287         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11288         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11289         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11290         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11291         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11292         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11293         * sysdeps/x86_64/ifuncmain8.c: New file.
11294         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11295         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11296         Removed.
11297         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11298         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11299         Change rtld_savespace_sse to __glibc_unused2.
11300         (RTLD_CHECK_FOREIGN_CALL): Removed.
11301         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11302         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11303         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11305 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11307         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11309 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11311         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11312         Unconditionally set __fpcr to avoid uninialized warning.
11313         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11315 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11317         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11318         is corrupt.
11320         * malloc/arena.c (arena_get2): Drop unused argument.
11321         (arena_lock): Adjust.
11322         (arena_get_retry): Likewise.
11324 2015-08-24  Andreas Schwab  <schwab@suse.de>
11326         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11327         Don't define.
11328         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11329         (__ASSUME_IPC64): Don't undef.
11330         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11331         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11332         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11333         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11334         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11335         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11336         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11337         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11338         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11339         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11340         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11341         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11342         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11343         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11344         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11345         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11346         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11347         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11348         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11349         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11350         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11352 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11354         * manual/Makefile (install): Only build manual when perl is available.
11356 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11359         '#undef memcpy' by '#undef memchr'.
11361 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11363         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11364         memchr not point to the internal __GI_memchr implementation.
11366 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11368         * timezone/Makefile (CFLAGS-zdump.c): Remove
11369         -Wno-strict-prototypes.
11370         (CFLAGS-zic.c): Likewise.
11371         (CFLAGS-ialloc.c): Likewise.
11372         (CFLAGS-scheck.c): Likewise.
11374         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11375         -Wno-error=undef.
11377 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11379         * i386/i686/multiarch/strcasestr-c.c: Removed.
11380         * x86_64/multiarch/strcasestr.c: Likewise.
11381         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11382         Remove strcasestr.
11384 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11386         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11388         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11389         variables for high and low parts before possibly modifying them.
11391 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11393         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11394         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11395         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11396         of "multiarch/init-arch.h".
11397         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11398         * sysdeps/x86/init-arch.h: This.
11400 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11402         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11403         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11405 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11407         [BZ #17787]
11408         * manual/macros.texi: Add twoexp macro.
11409         * manual/filesys.texi: Fix exponents.
11410         * manual/llio.texi: Likewise.
11411         * manual/stdio.texi: Likewise.
11413 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11415         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11416         incorrect use.
11418 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11420         [BZ #18370]
11421         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11422         whose real or imaginary part has small absolute value.
11423         * math/s_csqrtf.c (__csqrtf): Likewise.
11424         * math/s_csqrtl.c (__csqrtl): Likewise.
11425         * math/auto-libm-test-in: Add more tests of csqrt.
11426         * math/auto-libm-test-out: Regenerated.
11427         * sysdeps/i386/fpu/libm-test-ulps: Update.
11429 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11431         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11432         __ppc_set_ppr_very_low): New functions.
11433         * manual/platform.texi: Add documentation about
11434         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11436 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11438         * string/stpncpy.c (stpncpy): Improve performance using
11439         __strnlen/memcpy/memset.
11441 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11443         [BZ #18796]
11444         * scripts/test-installation.pl: Don't add -lmvec to build options if
11445         libmvec wasn't built.
11447 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11449         [BZ #14341]
11450         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11451         case when there is a gap between DT_REL and DT_JMPREL sections.
11452         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11453         (LDFLAGS-tst-split-dynreloc): New.
11454         (tst-split-dynreloc-ENV): Likewise.
11455         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11456         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11458 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11460         [BZ #18822]
11461         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11462         attribute_hidden.
11463         (__xstat64_conv): Likewise.
11464         (__xstat32_conv): Likewise.
11466 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11468         [BZ #18822]
11469         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11470         Don't load %ebx when calling __setcontext.  Call __setcontext
11471         with HIDDEN_JUMPTARGET.
11472         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11473         libc_hidden_def.
11475 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11477         * sysdeps/i386/i686/Makefile
11478         [$(subdir) == string] (sysdep_routines): Moved to ...
11479         * sysdeps/i386/Makefile: Here.
11480         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11481         * sysdeps/i386/cacheinfo.c: Here.
11482         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11483         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11484         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11485         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11487 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11489         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11490         __i586__ is defined.
11491         (HAS_I686): Defined to 1 if __i686__ is defined.
11493 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11495         * elf/Makefile [$(have-z-execstack) = yes]
11496         (CPPFLAGS-tst-execstack.c): New variable.
11498         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11499         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11500         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11501         UTMPX || _HAVE_UT_TV].
11502         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11503         UTMPX || _HAVE_UT_TV - 0].
11505 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11507         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11508         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11509         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11511 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11513         * sysdeps/powerpc/dl-procinfo.c:
11514         (_dl_powerpc_cap_flags): Added missing strings for some
11515         hwcap features.
11516         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11518 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11520         Port the 0x7efe...feff pattern to GCC 6.
11521         See Steve Ellcey's bug report in:
11522         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11523         * string/memrchr.c (MEMRCHR):
11524         * string/rawmemchr.c (RAWMEMCHR):
11525         * string/strchr.c (strchr):
11526         * string/strchrnul.c (STRCHRNUL):
11527         Rewrite code to avoid issues with signed shift overflow.
11529 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11531         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11532         whether cpuid is available only if HAS_CPUID is 0.
11533         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11534         (HAS_I586): Likewise.
11535         (HAS_I686): Likewise.
11537 2015-08-18  Zack Weinberg  <zackw@panix.com>
11539         * misc/Versions (libc): Add GLIBC_2.23.
11541 2015-08-18  Alan Modra  <amodra@gmail.com>
11543         [BZ #18421]
11544         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11545         .Lp__global.
11546         (_start): Load %dp via .Lp__global.
11547         [!SHARED]: Use .section .rodata.
11549 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11551         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11552         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11554 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11556         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11557         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11559 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11561         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11562         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11566         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11567         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11569 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11571         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11572         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11574 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11576         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11577         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11579 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11581         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11583 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11585         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11586         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11587         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11588         (__ASSUME_LWS_CAS): Delete.
11590 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11592         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11593         * sysdeps/hppa/configure: Regenerated.
11594         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11595         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11596         * sysdeps/hppa/nptl/tls.h: Likewise.
11598 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11600         [BZ #18823]
11601         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11602         for scaling up small arguments.
11603         * math/s_csqrtf.c (__csqrtf): Likewise.
11604         * math/s_csqrtl.c (__csqrtl): Likewise.
11605         * math/auto-libm-test-in: Add more tests of csqrt.
11606         * math/auto-libm-test-out: Regenerated.
11608 2015-08-17  Andreas Schwab  <schwab@suse.de>
11610         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11611         version set GLIBC_2.19.
11613 2015-08-16  Zack Weinberg  <zackw@panix.com>
11615         [BZ #18681]
11616         * misc/regexp.h: This interface is no longer supported.
11617         Remove all contents, leaving only an #error directive.
11618         * misc/regexp.c (loc1, loc2, locs, step, advance):
11619         Demote to compatibility symbols.
11621 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11623         [BZ #18084]
11624         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11625         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11626         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11627         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11628         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11629         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11630         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11631         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11632         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11634 2015-08-15  Zack Weinberg  <zackw@panix.com>
11636         [BZ #18795]
11637         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11638         buffer length is known to be too large, not if it's known to be
11639         small enough.
11640         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11641         overflow at runtime, involving a length parameter, twice: once
11642         with a compile-time constant length parameter, once without.
11644 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11646         [BZ #18824]
11647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11648         scaling x * y up instead of down.
11649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11651         * math/auto-libm-test-in: Add more tests of fma.
11652         * math/auto-libm-test-out: Regenerated.
11654 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11658 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11660         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11661         unnecessary movq.
11662         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11663         Likewise.
11665 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11667         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11668         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11669         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11670         and tgamma.
11671         * math/auto-libm-test-out: Regenerated.
11672         * sysdeps/i386/fpu/libm-test-ulps: Update.
11673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11675         [BZ #16520]
11676         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11677         (__tanh): Force underflow exception for arguments with small
11678         absolute value.
11679         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11680         (__tanhf): Force underflow exception for arguments with small
11681         absolute value.
11682         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11683         (__tanhl): Force underflow exception for arguments with small
11684         absolute value.
11685         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11686         (__tanhl): Force underflow exception for arguments with small
11687         absolute value.
11688         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11689         (__tanhl): Force underflow exception for arguments with small
11690         absolute value.
11691         * math/auto-libm-test-in: Add more tests of tanh.
11692         * math/auto-libm-test-out: Regenerated.
11693         * sysdeps/i386/fpu/libm-test-ulps: Update.
11695 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11697         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11698         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11700 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11702         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11703         <cpuid.h>.
11705 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11707         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11708         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11710 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11712         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11713         Remove $(objpfx)init-arch.o.
11714         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11715         init-arch.
11716         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11717         (INIT_ARCH_EXT): Defined as empty.
11718         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11719         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11720         __init_cpu_features call.  Replace HAS_XXX with
11721         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11723         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11724         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11725         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11726         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11727         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11728         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11729         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11730         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11731         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11732         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11733         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11736         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11737         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11738         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11739         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11742         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11743         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11744         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11745         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11746         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11747         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11748         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11749         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11750         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11751         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11752         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11753         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11754         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11755         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11756         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11758 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11760         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11761         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11762         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11763         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11764         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11765         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11766         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11767         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11768         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11769         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11770         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11771         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11772         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11773         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11774         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11775         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11776         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11777         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11778         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11779         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11780         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11781         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11782         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11783         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11784         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11785         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11786         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11787         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11788         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11789         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11790         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11791         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11792         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11793         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11794         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11795         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11796         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11797         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11798         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11799         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11800         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11801         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11802         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11804 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11806         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11807         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11808         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11809         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11810         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11811         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11813         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11814         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11815         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11816         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11817         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11818         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11819         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11820         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11821         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11822         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11823         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11824         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11825         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11827         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11828         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11829         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11830         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11831         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11832         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11833         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11834         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11835         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11836         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11837         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11838         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11839         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11840         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11841         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11842         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11843         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11844         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11845         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11846         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11847         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11848         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11850 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11852         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11853         (dl_platform_init): Call init_cpu_features.
11854         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11855         * sysdeps/i386/i686/cacheinfo.c
11856         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11857         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11858         * sysdeps/i386/i686/multiarch/Versions: Removed.
11859         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11860         Removed.
11861         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11862         * sysdeps/unix/sysv/linux/x86/Makefile
11863         (libpthread-sysdep_routines): Remove init-arch.
11864         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11865         <sysdeps/x86_64/dl-procinfo.c> instead of
11866         sysdeps/generic/dl-procinfo.c>.
11867         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11868         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11869         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11870         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11871         [$(subdir) == elf] (tests-static): Add
11872         tst-get-cpu-features-static.
11873         * sysdeps/x86/Versions: New file.
11874         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11875         * sysdeps/x86/cpu-features.c: Likewise.
11876         * sysdeps/x86/cpu-features.h: Likewise.
11877         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11878         * sysdeps/x86/libc-start.c: Likewise.
11879         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11880         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11881         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11882         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11883         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11884         Assume USE_MULTIARCH is defined and don't check it.
11885         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11886         (is_amd): Likewise.
11887         (max_cpuid): Likewise.
11888         (intel_check_word): Likewise.
11889         (__cache_sysconf): Don't call __init_cpu_features.
11890         (__x86_preferred_memory_instruction): Removed.
11891         (init_cacheinfo): Don't call __init_cpu_features. Replace
11892         __cpu_features with GLRO(dl_x86_cpu_features).
11893         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11894         (dl_platform_init): Call init_cpu_features.
11895         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11896         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11897         * sysdeps/x86_64/multiarch/Versions: Removed.
11898         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11899         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11900         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11901         Removed.
11902         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11904 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11906         [BZ #18820]
11907         * libio/Makefile (test-fmemopen-mem): New test.
11908         * libio/test-fmemopen.c (do_bz18820): New test.
11909         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11910         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11912 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11914         [BZ #16734]
11915         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11916         (FREE_BUF): Delete.
11917         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11918         * libio/genops.c (_IO_setb): Use malloc and free directly.
11919         (_IO_default_doallocate, _IO_default_finish): Likewise.
11920         ( _IO_unbuffer_all): Likewise.
11921         ( libc_freeres_fn): Likewise.
11922         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11923         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11924         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11925         (_IO_wdefault_doallocate): Likewise.
11927 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11929         [BZ #18086]
11930         * sysdeps/posix/nice.c (nice): Restore old errno.
11931         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11933 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11935         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11937 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11939         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11940         __bcopy and add a weak_alias to bcopy.
11941         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11942         for static build.
11944         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11945         cleanup macro usage.
11946         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11947         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11949         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11950         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11951         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11952         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11953         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11954         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11955         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11957         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11959         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11960         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11961         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11962         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11963         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11964         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11966         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11967         libc_hidden_def.
11968         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11970         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11971         (sysdep_routines): Add strstr-ppc64.
11972         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11974 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11976         [BZ #18778]
11977         * elf/Makefile (tests): Add Add tst-nodelete2.
11978         (modules-names): Add tst-nodelete2mod.
11979         (tst-nodelete2mod.so-no-z-defs): New.
11980         ($(objpfx)tst-nodelete2): Likewise.
11981         ($(objpfx)tst-nodelete2.out): Likewise.
11982         (LDFLAGS-tst-nodelete2): Likewise.
11983         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11984         out of loop through all loaded libraries.
11985         * elf/tst-nodelete2.c: New file.
11986         * elf/tst-nodelete2mod.c: Likewise.
11987         * elf/tst-znodelete-zlib.cc: Delete.
11989 2015-08-11  Andreas Schwab  <schwab@suse.de>
11991         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11992         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11993         (__openat64_nocancel): Likewise.
11995 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11997         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11998         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11999         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12000         * math/auto-libm-test-out: Regenerated.
12001         * sysdeps/i386/fpu/libm-test-ulps: Update.
12002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12004 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12006         [BZ #18790]
12007         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12008         threshold for returning +/- 1.
12009         * math/auto-libm-test-in: Add more tests of tanh.
12010         * math/auto-libm-test-out: Regenerated.
12011         * sysdeps/i386/fpu/libm-test-ulps: Update.
12013 2015-08-10  Andreas Schwab  <schwab@suse.de>
12015         [BZ #18781]
12016         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12017         MORE_OFLAGS to oflag.
12018         * io/test-lfs.c (do_test): Test openat64.
12020 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12022         [BZ #18789]
12023         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12024         smaller threshold for returning the argument.
12025         * math/auto-libm-test-in: Add more tests of sinh.
12026         * math/auto-libm-test-out: Regenerated.
12027         * sysdeps/i386/fpu/libm-test-ulps: Update.
12029 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12031         [BZ #18674]
12032         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12033         break.
12035 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12037         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12038         (generated): Don't add $(addprefix z.,$(tzfiles)).
12040 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12042         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12043         * scripts/sysd-rules.awk: Likewise.
12045 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12047         * iconvdata/tst-tables.sh: Change echo -n to printf.
12048         * nss/db-Makefile: Likewise.
12049         * posix/tst-getconf.sh: Likewise.
12050         * stdio-common/tst-unbputc.sh: Likewise.
12052 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12054         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12055         MADV_*_PAGES defines behind this feature check.
12057 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12059         [BZ #18480]
12060         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12061         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12062         Define.
12063         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12064         LOAD_REGS_5, LOAD_REGS_6): Update.
12065         (INTERNAL_SYSCALL): Update using new LOAD defines.
12066         (INTERNAL_SYSCALL_NCS): Likewise.
12067         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12069 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12071         [BZ #16734]
12072         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12074 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12076         [BZ #17905]
12077         * catgets/Makefile (tst-catgets-mem): New test.
12078         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12079         * catgets/open_catalog.c (__open_catalog): Likewise.
12080         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12082 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12084         [BZ #18787]
12085         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12086         clobber registers.
12087         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12088         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12089         Cast return to __typeof (oldval).
12091 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12093         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12094         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12095         and delete sys/syscall.h include.
12097 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #16517]
12100         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12101         (tan): Force underflow exception for arguments with small absolute
12102         value.
12103         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12104         (__kernel_tanf): Force underflow exception for arguments with
12105         small absolute value.
12106         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12107         (__kernel_tanl): Force underflow exception for arguments with
12108         small absolute value.
12109         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12110         (__kernel_tanl): Force underflow exception for arguments with
12111         small absolute value.
12112         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12113         (__kernel_tanl): Force underflow exception for arguments with
12114         small absolute value.
12115         * math/auto-libm-test-in: Add more tests of tan.
12116         * math/auto-libm-test-out: Regenerated.
12118 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12120         Fix sysdeps/i386/fpu/s_scalbn.S build
12122         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12124 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12126         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12128 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12130         Fix gcrt0.o compilation
12132         When static-start-installed-name is different from
12133         start-installed-name, we must not use the shared objects.
12135         * csu/Makefile
12136         (extra-objs): Add gmon-start.o when building shared library and
12137         $(static-start-installed-name) is different from
12138         $(start-installed-name).
12139         $(objpfx)g$(static-start-installed-name): When building shared
12140         library and $(static-start-installed-name) is different from
12141         $(static-start-installed-name), revert to non-shared rule,
12142         i.e. using $(objpfx)% and gmon-start.o.
12144 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12146         [BZ #16519]
12147         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12148         (__ieee754_sinh): Force underflow exception for arguments with
12149         small absolute value.
12150         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12151         (__ieee754_sinhf): Force underflow exception for arguments with
12152         small absolute value.
12153         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12154         (__ieee754_sinhl): Force underflow exception for arguments with
12155         small absolute value.
12156         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12157         (__ieee754_sinhl): Force underflow exception for arguments with
12158         small absolute value.
12159         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12160         (__ieee754_sinhl): Force underflow exception for arguments with
12161         small absolute value.
12162         * math/auto-libm-test-in: Add more tests of sinh.
12163         * math/auto-libm-test-out: Regenerated.
12164         * sysdeps/i386/fpu/libm-test-ulps: Update.
12166 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12168         * libio/oldfileops.c: Include unistd.h.
12170 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12172         * stdlib/isomac.c: Include ctype.h.
12174 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12176         * dirent/tst-seekdir.c (main): Converted to ...
12177         (do_test): ... this.
12178         (TEST_FUNCTION): New macro.
12179         Include test-skeleton.c.
12180         * elf/tst-dlmodcount.c (main): Converted to ...
12181         (do_test): ... this.
12182         (TEST_FUNCTION): New macro.
12183         Include test-skeleton.c.
12184         * elf/tst-order-main.c (main): Converted to ...
12185         (do_test): ... this.
12186         (TEST_FUNCTION): New macro.
12187         Include test-skeleton.c.
12188         * elf/tst-pie2.c (main): Converted to ...
12189         (do_test): ... this.
12190         (TEST_FUNCTION): New macro.
12191         Include test-skeleton.c.
12192         * inet/tst-ether_aton.c (main): Converted to ...
12193         (do_test): ... this.
12194         (TEST_FUNCTION): New macro.
12195         Include test-skeleton.c.
12196         * misc/tst-mntent.c (main): Converted to ...
12197         (do_test): ... this.
12198         (TEST_FUNCTION): New macro.
12199         Include test-skeleton.c.
12200         * misc/tst-tsearch.c (main): Converted to ...
12201         (do_test): ... this.
12202         (TEST_FUNCTION): New macro.
12203         Include test-skeleton.c.
12204         * posix/tst-regexloc.c (main): Converted to ...
12205         (do_test): ... this.
12206         (TEST_FUNCTION): New macro.
12207         Include test-skeleton.c.
12208         * resolv/tst-aton.c (main): Converted to ...
12209         (do_test): ... this.
12210         (TEST_FUNCTION): New macro.
12211         Include test-skeleton.c.
12212         * stdio-common/test-fwrite.c (main): Converted to ...
12213         (do_test): ... this.
12214         (TEST_FUNCTION): New macro.
12215         Include test-skeleton.c.
12216         * stdio-common/tst-ferror.c (main): Converted to ...
12217         (do_test): ... this.
12218         (TEST_FUNCTION): New macro.
12219         Include test-skeleton.c.
12220         * stdio-common/tst-printf.c (main): Converted to ...
12221         (do_test): ... this.
12222         (TEST_FUNCTION): New macro.
12223         Include test-skeleton.c.
12224         * stdio-common/tst-printfsz.c (main): Converted to ...
12225         (do_test): ... this.
12226         (TEST_FUNCTION): New macro.
12227         Include test-skeleton.c.
12228         * stdlib/tst-strtod.c (main): Converted to ...
12229         (do_test): ... this.
12230         (TEST_FUNCTION): New macro.
12231         Include test-skeleton.c.
12232         * string/tst-strlen.c (main): Converted to ...
12233         (do_test): ... this.
12234         (TEST_FUNCTION): New macro.
12235         Include test-skeleton.c.
12236         * string/tst-svc.c (main): Converted to ...
12237         (do_test): ... this.
12238         (TEST_FUNCTION): New macro.
12239         Include test-skeleton.c.
12240         * time/tst-strptime.c (main): Converted to ...
12241         (do_test): ... this.
12242         (TEST_FUNCTION): New macro.
12243         Include test-skeleton.c.
12244         * timezone/tst-timezone.c (main): Converted to ...
12245         (do_test): ... this.
12246         (TEST_FUNCTION): New macro.
12247         Include test-skeleton.c.
12249 2015-08-05  Zack Weinberg  <zackw@panix.com>
12251         * misc/regexp.h: Update comments.
12253 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12255         [BZ #18635]
12256         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12257         before return label.
12259 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12261         [BZ #18661]
12262         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12263         when calling __errno_location.
12264         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12265         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12267 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12269         [BZ #18661]
12270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12271         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12272         __gettimeofday.
12274 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12276         [BZ #18661]
12277         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12278         (__start_context): Don't use pop to restore %rdi so that stack
12279         is aligned to 16 bytes when calling __setcontext.
12281 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12283         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12284         only for libc.
12285         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12287 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12289         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12290         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12291         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12293 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12295         * string/memccpy.c (memccpy):
12296         Improve performance by using memchr/memcpy/__mempcpy.
12298 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12300         * string/strncpy.c (strncpy):
12301         Improve performance by using __strnlen/memcpy.
12303 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12305         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12306         Optimize to avoid an unnecessary FPCR read.
12308 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12310         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12311         Optimize to reduce FPCR/FPSR accesses.
12313 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12315         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12316         dead->data[category] != NULL.
12318 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12320         [BZ #18647]
12321         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12322         and |x| close to 1, use absolute value of x when computing log.
12323         * math/auto-libm-test-in: Add more tests of pow.
12324         * math/auto-libm-test-out: Regenerated.
12326 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12328         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12329         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12330         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12332 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12334         [BZ #18525]
12335         * locales/km_KH: Remove timezone definition.
12336         * locales/lo_LA: Likewise.
12337         * locales/my_MM: Likewise.
12338         * locales/nan_TW@latin: Likewise.
12339         * locales/th_TH: Likewise.
12340         * locales/uk_UA: Likewise.
12342 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12344         [BZ #18265]
12345         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12346         (wcsncat): Likewise.
12347         (wcscmp): Likewise.
12348         (wcsncmp): Likewise.
12350 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12352         * test-skeleton.c (usage): New function.
12353         (main): Call usage when opt is '?'.
12355 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12357         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12358         before first use.
12360 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12362         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12363         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12364         in there too.
12366 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12368         * version.h (RELEASE): Set to "development".
12369         (VERSION): Set to "2.22.90"
12371         * version.h (RELEASE): Set to "stable".
12372         (VERSION): Set to "2.22"
12373         * include/features.h (__GLIBC_MINOR__): Set to 22.
12375 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12377         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12378         Restructure macro to avoid "value computed is not used" warning.
12379         (atomic_compare_and_exchange_val_acq): Likewise.
12381 2015-08-04  Andreas Schwab  <schwab@suse.de>
12383         [BZ #18635]
12384         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12385         ret.
12386         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12388 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12390         * po/pl.po: Updated translation.
12391         * po/uk.po: Likewise.
12392         * po/fi.po: Likewise.
12393         * po/ko.po: Likewise.
12394         * po/ru.po: Likewise.
12395         * po/vi.po: Likewise.
12397 2015-07-31  Zack Weinberg  <zackw@panix.com>
12399         [BZ #18681]
12400         * regexp.h: Add unconditional #warning stating that this header
12401         will be removed soon.  Revise banner comment to match.
12402         (compile): Consistently use ERROR instead of RETURN to report
12403         errors (partial fix for bz#18681).
12404         * regexp.c: Don't include regexp.h. Remove some unnecessary
12405         declarations.
12407 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12409         * po/libc.pot: Regenerated.
12411 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12413         [BZ #18740]
12414         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12415         float-vlen4-arch-ext-cflags): Removed.
12416         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12417         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12419 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12421         [BZ #14113]
12422         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12423         aligned to __aligned__.
12424         (pthread_cond_t, pthread_rwlock_t): Likewise.
12426 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12428         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12430 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12432         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12433         (struct sigaction): Change sa_flags from a long to an int, and add
12434         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12436 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12438         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12439         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12440         sysdeps/generic/sysdep.h include.
12441         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12442         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12443         sysdeps/hppa/sysdep.h.
12444         (ENTRY, PSEUDO): Undefine before defining.
12446 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12448         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12449         from scratch to use INTERNAL_SYSCALL.
12451 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12453         [BZ #18078]
12454         * scripts/check-localplt.awk: Support alternate relocations.
12455         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12456         sections.
12457         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12458         malloc entries with + REL R_386_GLOB_DAT.
12459         * sysdeps/x86_64/localplt.data: New file.
12461 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12463         [BZ #18731]
12464         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12465         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12466         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12468 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12470         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12472 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12474         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12475         directly in terms of __sync_fetch_and_add and delete (int) cast.
12477 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12479         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12480         the -D_ASM_IA64_CURRENT_H flag.
12482 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12484         [BZ #18641]
12485         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12487 2015-07-27  Andreas Schwab  <schwab@suse.de>
12489         * conform/conformtest.pl (checknamespace): Filter out string
12490         literals while tokenizing.
12492 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12494         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12495         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12496         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12498 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12500         * nptl/tst-join7mod.c: Add #include <string.h>.
12502 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12504         * sysdeps/nios2/libm-test-ulps: Update.
12506 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12508         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12509         Fix order of arguments to the rt_sigprocmask syscall.
12510         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12511         Likewise.
12513 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12515         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12517 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12519         [BZ #18457]
12520         * nptl/Makefile (tests): New test case tst-join7.
12521         (modules-names): New test case module tst-join7mod.
12522         * nptl/tst-join7.c: New file.
12523         * nptl/tst-join7mod.c: New file.
12524         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12525         all translation units in libc.so, libpthread.so and rtld.
12527 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12531 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12533         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12534         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12535         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12536         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12538         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12540         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12541         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12542         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12543         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12544         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12545         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12546         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12547         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12548         implementation.
12550 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12552         [BZ #17711]
12553         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12554         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12555         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12556         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12557         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12558         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12560 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12562         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12563         instead of just saying load lock in the comments.
12565 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12567         * sysdeps/unix/Subdirs: Moved ...
12568         * sysdeps/posix/Subdirs: ... here.
12569         * login/pty.h (struct termios, struct winsize): Add forward decls.
12570         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12571         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12572         * sysdeps/arm/nacl/libc.abilist: Updated.
12573         * sysdeps/nacl/libutil.abilist: New file.
12575         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12576         (SIGWINCH): New macro.
12578         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12579         * sysdeps/arm/nacl/libc.abilist: Add it.
12581 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12583         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12585 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12587         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12588         Swap __glibc_reserved0 and sa_flags order.
12590 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12592         [BZ #18657]
12593         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12594         are pending TLS destructor calls.
12595         * include/link.h (struct link_map): Add concurrency note for
12596         L_TLS_DTOR_COUNT.
12597         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12598         Don't touch the link map flag.  Atomically increment
12599         l_tls_dtor_count.
12600         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12601         Avoid taking the load lock and don't touch the link map flag.
12602         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12603         * stdlib/Makefile (tests): Use it.
12604         * stdlib/tst-tls-atexit.c (do_test): dlopen
12605         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12606         to allow tst-tls-atexit-nodelete test case to use it.
12608 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12610         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12611         to bits/types.h.
12612         (msgqnum_t): New typedef.
12613         (msglen_t): Likewise.
12614         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12615         and msg_qbytes type to msglen_t.
12617 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12619         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12620         pad0 to __glibc_reserved0.
12621         (struct stat64): Likewise.
12623 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12625         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12626         Change sa_flags from a long to an int and add __glibc_reserved0 before
12627         it for padding.
12629 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12631         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12632         anonymous by deleting "siginfo" name.
12634 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12636         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12637         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12638         rather than __nacl_irt_filename.
12639         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12641         * NEWS: New item for arm-nacl port.
12642         * sysdeps/arm/nacl/libc.abilist: New file.
12643         * sysdeps/nacl/ld.abilist: New file.
12644         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12645         * sysdeps/nacl/libanl.abilist: New file.
12646         * sysdeps/nacl/libcrypt.abilist: New file.
12647         * sysdeps/nacl/libdl.abilist: New file.
12648         * sysdeps/nacl/libm.abilist: New file.
12649         * sysdeps/nacl/libpthread.abilist: New file.
12650         * sysdeps/nacl/libresolv.abilist: New file.
12651         * sysdeps/nacl/librt.abilist: New file.
12653 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12655         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12656         __startcontext to initialize the new context.
12657         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12658         up CFI directive to forbid further backtracing.
12660 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12662         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12663         reference.
12664         * charmaps/ANSI_X3.4-1968: Likewise.
12665         * charmaps/BS_4730: Likewise.
12666         * charmaps/BS_VIEWDATA: Likewise.
12667         * charmaps/CP1250: Likewise.
12668         * charmaps/CP1251: Likewise.
12669         * charmaps/CP1252: Likewise.
12670         * charmaps/CP1253: Likewise.
12671         * charmaps/CP1254: Likewise.
12672         * charmaps/CP1255: Likewise.
12673         * charmaps/CP1256: Likewise.
12674         * charmaps/CSN_369103: Likewise.
12675         * charmaps/EBCDIC-DK-NO: Likewise.
12676         * charmaps/GB_1988-80: Likewise.
12677         * charmaps/GREEK-CCITT: Likewise.
12678         * charmaps/GREEK7: Likewise.
12679         * charmaps/INIS-8: Likewise.
12680         * charmaps/ISIRI-3342: Likewise.
12681         * charmaps/ISO_2033-1983: Likewise.
12682         * charmaps/ISO_5427-EXT: Likewise.
12683         * locales/POSIX: Likewise.
12684         * locales/ar_SA: Likewise.
12685         * locales/be_BY: Likewise.
12686         * locales/be_BY@latin: Likewise.
12687         * locales/ca_ES: Likewise.
12688         * locales/cs_CZ: Likewise.
12689         * locales/da_DK: Likewise.
12690         * locales/de_BE: Likewise.
12691         * locales/de_CH: Likewise.
12692         * locales/de_LU: Likewise.
12693         * locales/en_AU: Likewise.
12694         * locales/en_BW: Likewise.
12695         * locales/en_CA: Likewise.
12696         * locales/en_DK: Likewise.
12697         * locales/en_GB: Likewise.
12698         * locales/en_IE: Likewise.
12699         * locales/en_NZ: Likewise.
12700         * locales/en_ZA: Likewise.
12701         * locales/en_ZW: Likewise.
12702         * locales/es_AR: Likewise.
12703         * locales/es_BO: Likewise.
12704         * locales/es_CL: Likewise.
12705         * locales/es_CO: Likewise.
12706         * locales/es_DO: Likewise.
12707         * locales/es_EC: Likewise.
12708         * locales/es_ES: Likewise.
12709         * locales/es_HN: Likewise.
12710         * locales/es_MX: Likewise.
12711         * locales/es_PA: Likewise.
12712         * locales/es_PE: Likewise.
12713         * locales/es_PY: Likewise.
12714         * locales/es_SV: Likewise.
12715         * locales/es_US: Likewise.
12716         * locales/es_UY: Likewise.
12717         * locales/es_VE: Likewise.
12718         * locales/et_EE: Likewise.
12719         * locales/fa_IR: Likewise.
12720         * locales/fo_FO: Likewise.
12721         * locales/fr_CA: Likewise.
12722         * locales/fr_CH: Likewise.
12723         * locales/gv_GB: Likewise.
12724         * locales/he_IL: Likewise.
12725         * locales/hr_HR: Likewise.
12726         * locales/id_ID: Likewise.
12727         * locales/is_IS: Likewise.
12728         * locales/it_CH: Likewise.
12729         * locales/iw_IL: Likewise.
12730         * locales/kl_GL: Likewise.
12731         * locales/ko_KR: Likewise.
12732         * locales/kw_GB: Likewise.
12733         * locales/lg_UG: Likewise.
12734         * locales/lt_LT: Likewise.
12735         * locales/lv_LV: Likewise.
12736         * locales/mi_NZ: Likewise.
12737         * locales/nhn_MX: Likewise.
12738         * locales/nl_BE: Likewise.
12739         * locales/pl_PL: Likewise.
12740         * locales/sk_SK: Likewise.
12741         * locales/sl_SI: Likewise.
12742         * locales/sv_FI: Likewise.
12743         * locales/tl_PH: Likewise.
12744         * locales/tr_TR: Likewise.
12745         * locales/vi_VN: Likewise.
12747 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12749         [BZ #17475]
12750         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12751         of tu_IN and bh_IN.
12753 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12755         [BZ #18694]
12756         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12757         bits/wordsize.h.
12758         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12760 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12762         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12763         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12764         (spawn_thread): New function.
12765         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12766         (do_test): ... here.  Use IS_LOADED to test for its
12767         availability.
12769 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12771         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12773 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12775         [BZ #18696]
12776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12777         si_addr_bnd.
12778         (si_lower): New.
12779         (si_upper): Likewise.
12781 2015-07-16  David S. Miller  <davem@davemloft.net>
12783         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12785 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12787         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12788         buffer.
12789         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12790         fail output information.
12792 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12794         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12795         and strstr-ppc64..
12796         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12797         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12798         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12799         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12800         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12802 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12804         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12805         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12806         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12807         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12809 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12811         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12812         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12813         rtld_hidden_proto.
12814         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12816 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12818         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12819         the test can fail.
12821         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12823         [BZ #18676]
12824         * elf/tst-nodelete-opened.c: New test case.
12825         * elf/tst-nodelete-opened-lib.c: New test case module.
12826         * elf/Makefile (tests, modules-names): Use them.
12827         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12828         early.
12830 2015-07-15  David S. Miller  <davem@davemloft.net>
12832         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12833         futex-intenal.h
12834         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12835         * sysdeps/sparc/sparc64/Makefile: Likewise.
12836         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12837         Remove space from macro define.
12838         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12840 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12842         [BZ #17475]
12843         * locale/iso-639.def: Update Bhili and Tulu language codes as
12844         per iso639-3.
12846 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12848         * elf/tst-leaks1.c (main): Converted to ...
12849         (do_test): ... this.
12850         (TEST_FUNCTION): New macro.
12851         Include test-skeleton.c.
12852         * localedata/tst-langinfo.c (main): Converted to ...
12853         (do_test): ... this.
12854         (TEST_FUNCTION): New macro.
12855         Include test-skeleton.c.
12856         * math/test-fpucw.c (main): Converted to ...
12857         (do_test): ... this.
12858         (TEST_FUNCTION): New macro.
12859         Include test-skeleton.c.
12860         * math/test-tgmath.c (main): Converted to ...
12861         (do_test): ... this.
12862         (TEST_FUNCTION): New macro.
12863         Include test-skeleton.c.
12864         * math/test-tgmath2.c (main): Converted to ...
12865         (do_test): ... this.
12866         (TEST_FUNCTION): New macro.
12867         Include test-skeleton.c.
12868         * setjmp/tst-setjmp.c (main): Converted to ...
12869         (do_test): ... this.
12870         (TEST_FUNCTION): New macro.
12871         Include test-skeleton.c.
12872         * stdio-common/tst-sscanf.c (main): Converted to ...
12873         (do_test): ... this.
12874         (TEST_FUNCTION): New macro.
12875         Include test-skeleton.c.
12876         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12877         (do_test): ... this.
12878         (TEST_FUNCTION): New macro.
12879         Include test-skeleton.c.
12881         * elf/tst-audit9.c (main): Converted to ...
12882         (do_test): ... this.
12883         (TEST_FUNCTION): New macro.
12884         Include test-skeleton.c.
12886 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12888         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12890 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12892         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12893         New variable.
12895 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12897         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12899 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12901         * sysdeps/generic/dl-fileid.h: New file.
12902         * sysdeps/posix/dl-fileid.h: New file.
12903         * sysdeps/nacl/dl-fileid.h: New file.
12904         * include/link.h: Include <dl-fileid.h>.
12905         (struct link_map): Replace l_dev and l_ino with l_file_id.
12906         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12907         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12908         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12910 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12912         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12914 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12916         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12917         Add iff $CXX is set.
12918         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12919         Likewise.
12920         (tst-nodelete-zmodiff): Likewise.
12921         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12923 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12925         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12927 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12929         * sysdeps/aarch64/fpu/math_private.h
12930         (define math_opt_barrier): Add AArch64 version.
12931         (math_force_eval): Likewise.
12933 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12935         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12937 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12939         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12940         %ld with %jd and cast to intmax_t.
12941         (do_test_length_zero): Likewise.
12943 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12945         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12947 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12949         * sysdeps/tile/libm-test-ulps: Regenerated.
12951         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12952         Comment out the whole function, not just its body.
12954 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12956         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12957         locks.
12959         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12961 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12963         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12964         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12966 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12968         * sysdeps/nptl/futex-internal.h: New file.
12969         * sysdeps/nacl/futex-internal.h: New file.
12970         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12971         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12972         error checking.
12973         (setxid_unmark_thread): Likewise.
12974         (__nptl_setxid): Likewise.
12975         (__wait_lookup_done): Likewise.
12976         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12977         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12978         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12979         * nptl/pthread_once.c (clear_once_control): Likewise.
12980         (__pthread_once_slow): Likewise.
12981         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12982         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12983         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12984         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12985         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12986         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12987         Likewise.
12988         (__pthread_rwlock_rdlock): Likewise.
12989         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12990         Likewise.
12991         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12992         Likewise.
12993         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12994         Likewise.
12995         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12996         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12997         Likewise.
12998         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12999         __ASSUME_PRIVATE_FUTEX check.
13000         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13001         Check that shared futexes are supported.
13002         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13003         wrappers with error checking.
13004         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13005         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13006         * nptl/pthread_barrierattr_setpshared.c
13007         (pthread_barrierattr_setpshared): Check that shared futexes are
13008         supported.
13009         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13010         Likewise.
13011         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13012         Likewise.
13013         * nptl/sem_init.c (futex_private_if_supported): Remove.
13014         (__new_sem_init): Adapt and check that shared futexes are supported.
13015         * nptl/sem_open.c (sem_open): Likewise.
13016         * nptl/sem_post.c (futex_wake): Remove.
13017         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13018         (do_futex_wait): Use futex wrappers with error checking.
13019         * nptl/sem_wait.c: Include lowlevellock.h.
13020         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13021         Use futex_supports_pshared.
13022         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13023         Use futex wrappers with error checking.
13024         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13025         Likewise.
13026         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13027         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13028         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13029         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13030         (futex_wake): Likewise.
13031         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13032         (do_futex_wait): Use futex wrappers with error checking.
13033         (__new_sem_wait_slow): Update EINTR handling.
13034         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13036 2015-07-09  Martin Sebor  <msebor@redhat.com>
13038         [BZ #18435]
13039         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13040         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13041         * nptl/Makefile (test-xfail-tst-once5): Define.
13043 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13045         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13046         * elf/dl-minimal.c: For readability, reorder some definitions and
13047         introduce more page breaks.  Include <stdio.h>.
13048         (__libc_fatal): New function.
13050         * include/unistd.h: Add rtld_hidden_proto for _exit.
13051         * posix/_exit.c: Add rtld_hidden_def.
13052         * sysdeps/mach/hurd/_exit.c: Likewise.
13053         * sysdeps/nacl/_exit.c: Likewise.
13054         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13055         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13057 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13060         bndmov encoding with zero displacement.
13062 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13063             H.J. Lu  <hongjiu.lu@intel.com>
13065         [BZ #18134]
13066         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13067         * sysdeps/i386/configure: Regenerated.
13068         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13069         (_dl_runtime_profile): Save and restore Intel MPX return bound
13070         registers when calling _dl_call_pltexit.  Add
13071         PRESERVE_BND_REGS_PREFIX before return.
13072         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13073         (LRV_BND1_OFFSET): Likewise.
13074         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13075         lrv_bnd1.
13076         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13077         typo in bndmov encoding.
13078         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13079         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13080         branch instructions to preserve bounds.
13082 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13085         [GLIBC_2.22]: Add fmemopen.
13087 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13089         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13090         returns an error, also try to use host port from __mach_host_self for
13091         the __vm_wire call.
13092         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13094 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13096         [BZ #18400]
13097         [BZ #18648]
13098         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13099         Fix pr_uid and pr_gid members.
13100         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13101         definition to elf_greg_t.
13103 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13105         [BZ #18383]
13106         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13107         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13108         * sysdeps/arm/configure: Regenerated.
13109         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13110         (test-xfail-tst-tlsalign-static): Variable removed.
13112         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13113         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13114         rather than explicit 'ln -s'.
13116         * resolv/rpc/netdb.h: New file.
13117         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13119 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13121         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13122         length buffers.
13123         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13124         test-skeleton.c.
13126         [BZ #6544]
13127         [BZ #11216]
13128         [BZ #12836]
13129         [BZ #13151]
13130         [BZ #13152]
13131         [BZ #14292]
13132         * include/stdio.h (fmemopen): Remove hidden prototype.
13133         (__fmemopen): Add new hidden prototype.
13134         * libio/Makefile: Add oldfmemopen object.
13135         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13136         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13137         compliance.
13138         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13139         symbol compatibility.
13140         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13141         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13142         fmemopen.
13143         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13144         on append and read mode.
13145         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13146         fmemopen.
13147         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13148         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13149         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13150         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13151         Likewise.
13152         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13153         [GLIBC_2.22]: Likewise.
13154         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13155         Likewise.
13156         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13157         Likewise.
13158         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13159         [GLIBC_2.22]: Likewise.
13160         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13161         [GLIBC_2.22]: Likewise.
13162         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13163         [GLIBC_2.22]: Likewise.
13164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13165         [GLIBC_2.22]: Likewise.
13166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13167         [GLIBC_2.22]: Likewise.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13169         [GLIBC_2.22]: Likewise.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13171         [GLIBC_2.22]: Likewise.
13172         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13175         Likewise.
13176         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13177         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13178         [GLIBC_2.22]: Likewise.
13179         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13180         [GLIBC_2.22]: Likewise.
13181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13182         [GLIBC_2.22]: Likewise.
13183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13184         [GLIBC_2.22]: Likewise.
13185         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13186         Likewise.
13187         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13188         Likewise.
13189         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13190         Likewise.
13191         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13192         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13194 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13196         [BZ #18643]
13197         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13198         IPV6_PATHMTU, and IPV6_DONTFRAG.
13200 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13202         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13203         and _IO_UNBUFFERED.
13204         * libio/oldfileops.c: Likewise.
13205         * libio/wfileops.c: Likewise.
13207 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13209         * nscd/selinux.c: Delete selinux/flask.h include.
13211 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13213         [BZ #18641]
13214         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13215         (putpwent): Likewise.
13216         (getpwnam): Likewise.
13217         (getpwent_r): Likewise.
13218         (getpwuid_r): Likewise.
13219         (getpwnam_r): Likewise.
13220         (fgetpwent_r): Likewise.
13222 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13224         [BZ #18557]
13225         * inet/rcmd.c (__validuser2_sa): Check user first to
13226         short-circuit host check.
13228 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13229             Mikhail Ilin  <m.ilin@samsung.com>
13231         [BZ #17833]
13232         * elf/Makefile (tests): Add tst-nodelete.
13233         (modules-names): Add tst-nodelete-uniquemod.
13234         (tst-nodelete-uniquemod.so-no-z-defs): New.
13235         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13236         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13237         ($(objpfx)tst-nodelete): Likewise.
13238         ($(objpfx)tst-nodelete.out): Likewise.
13239         (LDFLAGS-tst-nodelete): Likewise.
13240         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13241         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13242         implement forced object deletion.
13243         (_dl_close): Pass false to _dl_close_worker.
13244         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13245         * elf/tst-nodelete.cc: New file.
13246         * elf/tst-nodeletelib.cc: Likewise.
13247         * elf/tst-znodeletelib.cc: Likewise.
13248         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13250 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13252         [BZ #18508]
13253         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13254         Depend on $(libdl).
13255         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13256         is not called infinitely times.
13257         (backtrace_helper): New function.
13258         (trace_arg): New struct.
13259         (st1): Enlarge stack size.
13260         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13261         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13262         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13263         Likewise.
13265 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13267         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13269 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13271         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13272         Include sys/types.h instead of bits/types.h.
13273         Remove inclusion of bits/wordsize.h.
13275 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13277         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13278         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13279         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13280         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13281         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13282         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13284 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13286         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13287         link-defines.sym.
13288         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13289         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13290         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13291         and LR_SIZE.
13292         * sysdeps/i386/link-defines.sym: New file.
13294 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13296         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13297         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13298         ($(objpfx)tst-audit3): New rule.
13299         ($(objpfx)tst-audit3.out): Likewise.
13300         * sysdeps/i386/tst-audit3.c: New file.
13301         * sysdeps/i386/tst-audit3.h: Likewise.
13302         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13303         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13305 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13307         [BZ #18633]
13308         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13309         pointer in C code.
13310         (__strcat_c): Likewise.
13311         (__strcat_g): Likewise.
13313 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13315         [BZ #18592]
13316         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13318 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13320         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13321         New function.  (__ieee754_sqrtf): New function.
13322         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13323         New function.
13324         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13325         New function.
13327 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13329         * sysdeps/ieee754/support.c: Remove unused file.
13331 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13333         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13334         registers instead of d ones so the layout is kernel abi compatible.
13335         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13336         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13337         Likewise.
13339 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13341         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13343 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13345         [BZ #18619]
13346         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13347         and return argument in case of subnormal argument.
13349 2015-07-01  Martin Sebor  <msebor@redhat.com>
13351         [BZ #18435]
13352         * nptl/Makefile: Add tst-once5.cc.
13353         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13354         Remove macro redefinitions.
13355         * nptl/tst-once5.cc: New test.
13357 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13359         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13361         * sysdeps/arm/libm-test-ulps: Regenerated.
13363         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13364         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13366 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13368         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13369         lll_lock_wait_private and lll_futex_wake probes.
13371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13373         Likewise.
13374         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13375         atomic_spin_nop.
13376         * sysdeps/x86_64/bits/atomic.h: Likewise.
13377         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13378         to atomic_spin_nop and move ...
13379         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13380         ... here and ...
13381         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13382         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13383         atomic_spin_nop instead of BUSY_WAIT_NOP.
13384         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13385         Likewise.
13386         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13387         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13388         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13389         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13390         instead of atomic_delay.
13392 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13394         [BZ #18613]
13395         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13396         X_ADJ not X when adjusting exponent.
13397         (__ieee754_gamma_r): Do intermediate computations in
13398         round-to-nearest then adjust overflowing and underflowing results
13399         as needed.
13400         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13401         of X_ADJ not X when adjusting exponent.
13402         (__ieee754_gammaf_r): Do intermediate computations in
13403         round-to-nearest then adjust overflowing and underflowing results
13404         as needed.
13405         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13406         log of X_ADJ not X when adjusting exponent.
13407         (__ieee754_gammal_r): Do intermediate computations in
13408         round-to-nearest then adjust overflowing and underflowing results
13409         as needed.  Use 1.0L not 1.0f as numerator of division.
13410         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13411         log of X_ADJ not X when adjusting exponent.
13412         (__ieee754_gammal_r): Do intermediate computations in
13413         round-to-nearest then adjust overflowing and underflowing results
13414         as needed.  Use 1.0L not 1.0f as numerator of division.
13415         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13416         of X_ADJ not X when adjusting exponent.
13417         (__ieee754_gammal_r): Do intermediate computations in
13418         round-to-nearest then adjust overflowing and underflowing results
13419         as needed.  Use 1.0L not 1.0f as numerator of division.
13420         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13421         to auto-libm-test-in.
13422         (tgamma_test): Use ALL_RM_TEST.
13423         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13424         tests of tgamma with spurious-overflow.
13425         * math/auto-libm-test-out: Regenerated.
13426         * math/gen-libm-have-vector-test.sh: Do not check for START.
13427         * sysdeps/i386/fpu/libm-test-ulps: Update.
13428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13430         [BZ #18612]
13431         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13432         arguments, just return 0.5 times the argument, with underflow
13433         forced as needed.
13434         * math/auto-libm-test-in: Add more tests of j1.
13435         * math/auto-libm-test-out: Regenerated.
13437         [BZ #16559]
13438         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13439         (__ieee754_j1): Force underflow exception for small results.
13440         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13441         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13442         (__ieee754_j1f): Force underflow exception for small results.
13443         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13444         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13445         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13446         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13447         (__ieee754_j1l): Force underflow exception for small results.
13448         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13449         * math/auto-libm-test-in: Add more tests of j1 and jn.
13450         * math/auto-libm-test-out: Regenerated.
13452         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13453         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13454         (PF_MPLS): Likewise.
13455         (AF_IB): Likewise.
13456         (AF_MPLS): Likewise.
13457         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13458         value and macro.
13459         (MS_RMT_MASK): Include MS_LAZYTIME.
13461 2015-06-26  Mel Gorman  <mgorman@suse.de>
13463         [BZ #18502]
13464         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13465         already minimal.
13467 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13469         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13470         (DT_MIPS_NUM): Update.
13471         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13472         DT_MIPS_RLD_MAP_REL.
13474 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13476         [BZ #16559]
13477         [BZ #18602]
13478         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13479         round-to-nearest internally then recompute results that
13480         underflowed to zero in the original rounding mode.
13481         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13482         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13483         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13484         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13485         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13486         * sysdeps/i386/fpu/libm-test-ulps: Update.
13487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13489 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13491         * NEWS: Fixed description of link with vector math library.
13493 2015-06-25  Andreas Schwab  <schwab@suse.de>
13495         [BZ #18549]
13496         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13497         * libio/test-fmemopen.c (do_test): Add test for it.
13499 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13501         [BZ #17841]
13502         * Makeconfig (no-pie-ldflag): New.
13503         (+link): Set to $(+link-pie) if default to PIE.
13504         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13505         * config.make.in (build-pie-default): New.
13506         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13507         is default.  AC_SUBST.
13508         * configure: Regenerated.
13509         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13511 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13513         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13514         to 'unsigned int'.
13516         * resolv/gai_misc.h (struct waitlist): Change type of field
13517         counterp to 'volatile unsigned int *'.
13518         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13519         FUTEXADDR and OLDVAL.
13520         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13521         Give local variable TOTAL type 'volatile unsigned int'.
13522         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13523         * resolv/gai_suspend.c (gai_suspend):
13524         Give local variable CNTR type 'unsigned int'.
13526         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13527         counterp to 'volatile unsigned int *'.
13528         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13529         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13530         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13531         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13532         Give local variable TOTAL type 'volatile unsigned int'.
13533         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13535 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13537         [BZ #18383]
13538         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13539         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13540         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13541         comment for i386/x86-64.
13542         (test-xfail-tst-tlsalign-extern-static): Removed.
13544 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13546         * math/test-double.h: New file.
13547         * math/test-float.h: Likewise.
13548         * math/test-ldouble.h: Likewise.
13549         * math/test-math-inline.h: Likewise.
13550         * math/test-math-no-inline.h: Likewise.
13551         * math/test-math-scalar.h: Likewise.
13552         * math/test-math-vector.h: Likewise.
13553         * math/test-vec-loop.h: Remove file.  Contents moved into
13554         test-math-vector.h.
13555         * math/libm-test.inc (MATHCONST): Do not document macro.
13556         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13557         and test-math-scalar.h.
13558         (FUNC): Remove macro.
13559         (FUNC_TEST): Likewise.
13560         (FLOAT): Likewise.
13561         (MATHCONST): Likewise.
13562         (PRINTF_EXPR): Likewise.
13563         (PRINTF_XEXPR): Likewise.
13564         (PRINTF_NEXPR): Likewise.
13565         (TEST_DOUBLE): Likewise.
13566         (TEST_MATHVEC): Likewise.
13567         (__NO_MATH_INLINES): Likewise.
13568         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13569         and test-math-scalar.h.
13570         (FUNC): Remove macro.
13571         (FUNC_TEST): Likewise.
13572         (FLOAT): Likewise.
13573         (MATHCONST): Likewise.
13574         (PRINTF_EXPR): Likewise.
13575         (PRINTF_XEXPR): Likewise.
13576         (PRINTF_NEXPR): Likewise.
13577         (TEST_FLOAT): Likewise.
13578         (TEST_MATHVEC): Likewise.
13579         (__NO_MATH_INLINES): Likewise.
13580         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13581         and test-math-scalar.h.
13582         (FUNC): Remove macro.
13583         (FUNC_TEST): Likewise.
13584         (FLOAT): Likewise.
13585         (MATHCONST): Likewise.
13586         (PRINTF_EXPR): Likewise.
13587         (PRINTF_XEXPR): Likewise.
13588         (PRINTF_NEXPR): Likewise.
13589         (TEST_DOUBLE): Likewise.
13590         (TEST_MATHVEC): Likewise.
13591         (TEST_INLINE): Likewise.
13592         (__NO_MATH_INLINES): Likewise.
13593         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13594         test-math-scalar.h.
13595         (FUNC): Remove macro.
13596         (FUNC_TEST): Likewise.
13597         (FLOAT): Likewise.
13598         (MATHCONST): Likewise.
13599         (PRINTF_EXPR): Likewise.
13600         (PRINTF_XEXPR): Likewise.
13601         (PRINTF_NEXPR): Likewise.
13602         (TEST_FLOAT): Likewise.
13603         (TEST_MATHVEC): Likewise.
13604         (TEST_INLINE): Likewise.
13605         (__NO_MATH_INLINES): Likewise.
13606         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13607         and test-math-scalar.h.
13608         (FUNC): Remove macro.
13609         (FUNC_TEST): Likewise.
13610         (FLOAT): Likewise.
13611         (MATHCONST): Likewise.
13612         (PRINTF_EXPR): Likewise.
13613         (PRINTF_XEXPR): Likewise.
13614         (PRINTF_NEXPR): Likewise.
13615         (TEST_LDOUBLE): Likewise.
13616         (TEST_MATHVEC): Likewise.
13617         (TEST_INLINE): Likewise.
13618         (__NO_MATH_INLINES): Likewise.
13619         * math/test-ldouble.c: Include test-ldouble.h,
13620         test-math-no-inline.h and test-math-scalar.h.
13621         (FUNC): Remove macro.
13622         (FUNC_TEST): Likewise.
13623         (FLOAT): Likewise.
13624         (MATHCONST): Likewise.
13625         (PRINTF_EXPR): Likewise.
13626         (PRINTF_XEXPR): Likewise.
13627         (PRINTF_NEXPR): Likewise.
13628         (TEST_LDOUBLE): Likewise.
13629         (TEST_MATHVEC): Likewise.
13630         (__NO_MATH_INLINES): Likewise.
13631         * math/test-double-vlen2.h: Include test-double.h,
13632         test-math-no-inline.h and test-math-vector.h.
13633         (FLOAT): Remove macro.
13634         (FUNC): Likewise.
13635         (MATHCONST): Likewise.
13636         (PRINTF_EXPR): Likewise.
13637         (PRINTF_XEXPR): Likewise.
13638         (PRINTF_NEXPR): Likewise.
13639         (TEST_DOUBLE): Likewise.
13640         (TEST_MATHVEC): Likewise.
13641         (__NO_MATH_INLINES): Likewise.
13642         (CNCT): Likewise.
13643         (CONCAT): Likewise.
13644         (WRAPPER_NAME): Likewise.
13645         (WRAPPER_DECL): Likewise.
13646         (WRAPPER_DECL_ff): Likewise.
13647         (WRAPPER_DECL_fFF): Likewise.
13648         (VECTOR_WRAPPER): Likewise.
13649         (VECTOR_WRAPPER_ff): Likewise.
13650         (VECTOR_WRAPPER_fFF): Likewise.
13651         (VEC_LEN): New macro.
13652         * math/test-double-vlen4.h: Include test-double.h,
13653         test-math-no-inline.h and test-math-vector.h.
13654         (FLOAT): Remove macro.
13655         (FUNC): Likewise.
13656         (MATHCONST): Likewise.
13657         (PRINTF_EXPR): Likewise.
13658         (PRINTF_XEXPR): Likewise.
13659         (PRINTF_NEXPR): Likewise.
13660         (TEST_DOUBLE): Likewise.
13661         (TEST_MATHVEC): Likewise.
13662         (__NO_MATH_INLINES): Likewise.
13663         (CNCT): Likewise.
13664         (CONCAT): Likewise.
13665         (WRAPPER_NAME): Likewise.
13666         (WRAPPER_DECL): Likewise.
13667         (WRAPPER_DECL_ff): Likewise.
13668         (WRAPPER_DECL_fFF): Likewise.
13669         (VECTOR_WRAPPER): Likewise.
13670         (VECTOR_WRAPPER_ff): Likewise.
13671         (VECTOR_WRAPPER_fFF): Likewise.
13672         (VEC_LEN): New macro.
13673         * math/test-double-vlen8.h: Include test-double.h,
13674         test-math-no-inline.h and test-math-vector.h.
13675         (FLOAT): Remove macro.
13676         (FUNC): Likewise.
13677         (MATHCONST): Likewise.
13678         (PRINTF_EXPR): Likewise.
13679         (PRINTF_XEXPR): Likewise.
13680         (PRINTF_NEXPR): Likewise.
13681         (TEST_DOUBLE): Likewise.
13682         (TEST_MATHVEC): Likewise.
13683         (__NO_MATH_INLINES): Likewise.
13684         (CNCT): Likewise.
13685         (CONCAT): Likewise.
13686         (WRAPPER_NAME): Likewise.
13687         (WRAPPER_DECL): Likewise.
13688         (WRAPPER_DECL_ff): Likewise.
13689         (WRAPPER_DECL_fFF): Likewise.
13690         (VECTOR_WRAPPER): Likewise.
13691         (VECTOR_WRAPPER_ff): Likewise.
13692         (VECTOR_WRAPPER_fFF): Likewise.
13693         (VEC_LEN): New macro.
13694         * math/test-float-vlen4.h: Include test-float.h,
13695         test-math-no-inline.h and test-math-vector.h.
13696         (FLOAT): Remove macro.
13697         (FUNC): Likewise.
13698         (MATHCONST): Likewise.
13699         (PRINTF_EXPR): Likewise.
13700         (PRINTF_XEXPR): Likewise.
13701         (PRINTF_NEXPR): Likewise.
13702         (TEST_FLOAT): Likewise.
13703         (TEST_MATHVEC): Likewise.
13704         (__NO_MATH_INLINES): Likewise.
13705         (CNCT): Likewise.
13706         (CONCAT): Likewise.
13707         (WRAPPER_NAME): Likewise.
13708         (WRAPPER_DECL): Likewise.
13709         (WRAPPER_DECL_ff): Likewise.
13710         (WRAPPER_DECL_fFF): Likewise.
13711         (VECTOR_WRAPPER): Likewise.
13712         (VECTOR_WRAPPER_ff): Likewise.
13713         (VECTOR_WRAPPER_fFF): Likewise.
13714         (VEC_LEN): New macro.
13715         * math/test-float-vlen8.h: Include test-float.h,
13716         test-math-no-inline.h and test-math-vector.h.
13717         (FLOAT): Remove macro.
13718         (FUNC): Likewise.
13719         (MATHCONST): Likewise.
13720         (PRINTF_EXPR): Likewise.
13721         (PRINTF_XEXPR): Likewise.
13722         (PRINTF_NEXPR): Likewise.
13723         (TEST_FLOAT): Likewise.
13724         (TEST_MATHVEC): Likewise.
13725         (__NO_MATH_INLINES): Likewise.
13726         (CNCT): Likewise.
13727         (CONCAT): Likewise.
13728         (WRAPPER_NAME): Likewise.
13729         (WRAPPER_DECL): Likewise.
13730         (WRAPPER_DECL_ff): Likewise.
13731         (WRAPPER_DECL_fFF): Likewise.
13732         (VECTOR_WRAPPER): Likewise.
13733         (VECTOR_WRAPPER_ff): Likewise.
13734         (VECTOR_WRAPPER_fFF): Likewise.
13735         (VEC_LEN): New macro.
13736         * math/test-float-vlen16.h: Include test-float.h,
13737         test-math-no-inline.h and test-math-vector.h.
13738         (FLOAT): Remove macro.
13739         (FUNC): Likewise.
13740         (MATHCONST): Likewise.
13741         (PRINTF_EXPR): Likewise.
13742         (PRINTF_XEXPR): Likewise.
13743         (PRINTF_NEXPR): Likewise.
13744         (TEST_FLOAT): Likewise.
13745         (TEST_MATHVEC): Likewise.
13746         (__NO_MATH_INLINES): Likewise.
13747         (CNCT): Likewise.
13748         (CONCAT): Likewise.
13749         (WRAPPER_NAME): Likewise.
13750         (WRAPPER_DECL): Likewise.
13751         (WRAPPER_DECL_ff): Likewise.
13752         (WRAPPER_DECL_fFF): Likewise.
13753         (VECTOR_WRAPPER): Likewise.
13754         (VECTOR_WRAPPER_ff): Likewise.
13755         (VECTOR_WRAPPER_fFF): Likewise.
13756         (VEC_LEN): New macro.
13757         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13758         test-vec-loop.h.
13759         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13760         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13761         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13762         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13763         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13764         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13765         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13767 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13769         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13770         (__getlogin_r): ... this.
13772 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13774         [BZ #18594]
13775         * math/s_ccosh.c (__ccosh): Compare with least normal value
13776         instead of comparing class with FP_SUBNORMAL.
13777         * math/s_ccoshf.c (__ccoshf): Likewise.
13778         * math/s_ccoshl.c (__ccoshl): Likewise.
13779         * math/s_cexp.c (__cexp): Likewise.
13780         * math/s_cexpf.c (__cexpf): Likewise.
13781         * math/s_cexpl.c (__cexpl): Likewise.
13782         * math/s_csin.c (__csin): Likewise.
13783         * math/s_csinf.c (__csinf): Likewise.
13784         * math/s_csinh.c (__csinh): Likewise.
13785         * math/s_csinhf.c (__csinhf): Likewise.
13786         * math/s_csinhl.c (__csinhl): Likewise.
13787         * math/s_csinl.c (__csinl): Likewise.
13788         * math/s_ctan.c (__ctan): Likewise.
13789         * math/s_ctanf.c (__ctanf): Likewise.
13790         * math/s_ctanh.c (__ctanh): Likewise.
13791         * math/s_ctanhf.c (__ctanhf): Likewise.
13792         * math/s_ctanhl.c (__ctanhl): Likewise.
13793         * math/s_ctanl.c (__ctanl): Likewise.
13794         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13795         csin, csinh, ctan and ctanh.
13796         * math/auto-libm-test-out: Regenerated.
13797         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13798         * sysdeps/i386/fpu/libm-test-ulps: Update.
13799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13801 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13803         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13804         return value is wrong, print the expected value too.
13806 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13808         [BZ #18585]
13809         * elf/readlib.c (is_gdb_python_file): New.
13810         (process_file): Don't issue errors on filenames with -gdb.py
13811         suffix.
13813 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13815         * math/auto-libm-test-in: Add more tests of csin and csinh.
13816         * math/auto-libm-test-out: Regenerated.
13817         * math/libm-test.inc (csin_test_data): Remove tests moved to
13818         auto-libm-test-in.
13819         (csinh_test_data): Likewise.
13821         [BZ #18593]
13822         * math/s_csin.c (__csin): Negate before rather than after possibly
13823         overflowing multiplication.
13824         * math/s_csinf.c (__csinf): Likewise.
13825         * math/s_csinh.c (__csinh): Likewise.
13826         * math/s_csinhf.c (__csinhf): Likewise.
13827         * math/s_csinhl.c (__csinhl): Likewise.
13828         * math/s_csinl.c (__csinl): Likewise.
13829         * math/auto-libm-test-in: Add some tests of csin and csinh.
13830         * math/auto-libm-test-out: Regenerated.
13831         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13832         (csinh_test_data): Likewise.
13833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13835         [BZ #18586]
13836         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13837         underflow exception for small results.
13839 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13841         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13842         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13843         variable and included header.
13844         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13845         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13846         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13847         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13848         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13852         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13853         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13854         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13855         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13856         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13857         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13858         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13859         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13861 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13863         [BZ #16526]
13864         [BZ #16538]
13865         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13866         (__sin): Force underflow exception for arguments with small
13867         absolute value.
13868         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13869         (__kernel_sinf): Force underflow exception for arguments with
13870         small absolute value.
13871         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13872         (__kernel_sincosl): Force underflow exception for arguments with
13873         small absolute value.
13874         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13875         (__kernel_sinl): Force underflow exception for arguments with
13876         small absolute value.
13877         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13878         (__kernel_sincosl): Force underflow exception for arguments with
13879         small absolute value.
13880         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13881         (__kernel_sinl): Force underflow exception for arguments with
13882         small absolute value.
13883         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13884         (__kernel_sinl): Force underflow exception for arguments with
13885         small absolute value.
13886         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13887         (__kernel_sinf): Force underflow exception for arguments with
13888         small absolute value.
13889         * math/auto-libm-test-in: Add more tests of sin and sincos.
13890         * math/auto-libm-test-out: Regenerated.
13892         [BZ #18245]
13893         [BZ #18583]
13894         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13895         (__kernel_standard_l): Use feholdexcept and fesetenv around
13896         conversion to double instead of special-casing overflow and
13897         underflow.
13898         * math/libm-test.inc (fmod_test_data): Add more tests.
13899         (remainder_test_data): Likewise.
13900         (sqrt_test_data): Likewise.
13902 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13904         [BZ #17403]
13905         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13906         atomic_read_barrier, atomic_write_barrier): Define.
13907         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13908         atomic_read_barrier, atomic_write_barrier): Define.
13910 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13912         * math/Makefile [$(PERL) != no]
13913         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13914         dependency on libm-test.stmp below the inclusion of Rules.
13916 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13919         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13920         and included header.
13921         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13922         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13925         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13926         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13927         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13928         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13929         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13930         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13931         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13932         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13933         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13934         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13935         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13936         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13937         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13938         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13939         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13941 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13943         [BZ #18371]
13944         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13945         intermediate but not final result might underflow.
13946         * math/s_csqrtf.c (__csqrtf): Likewise.
13947         * math/s_csqrtl.c (__csqrtl): Likewise.
13948         * math/auto-libm-test-in: Add more tests of csqrt.
13949         * math/auto-libm-test-out: Regenerated.
13950         * sysdeps/i386/fpu/libm-test-ulps: Update.
13952         [BZ #18219]
13953         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13954         threshold on absolute value of exponent for which scaling is used.
13955         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13956         * math/auto-libm-test-in: Add more tests of exp2.
13957         * math/auto-libm-test-out: Regenerated.
13959 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13961         [BZ #17977]
13962         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13963         when initializing interface list, based on the bug analysis
13964         and the patch proposed by Eric Newton.
13965         * resolv/tst-res_hconf_reorder.c: New test.
13966         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13967         tst-res_hconf_reorder.
13968         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13969         and $(shared-thread-library).
13970         (tst-res_hconf_reorder-ENV): New variable.
13972         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13973         in comment.
13975 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13977         [BZ #16353]
13978         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13979         (__expm1): Force underflow exception for arguments with small
13980         absolute value.
13981         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13982         (__expm1f): Force underflow exception for arguments with small
13983         absolute value.
13984         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13985         (__expm1): Force underflow exception for arguments with small
13986         absolute value.
13987         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13988         (__expm1f): Force underflow exception for arguments with small
13989         absolute value.
13990         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13991         Check for small arguments before calling __expm1.
13992         * math/auto-libm-test-in: Do not mark underflow exceptions as
13993         possibly missing for bug 16353.
13994         * math/auto-libm-test-out: Regenerated.
13996 2015-06-22  Andreas Schwab  <schwab@suse.de>
13998         [BZ #18513]
13999         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14000         PTR queries.
14002 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14004         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14006         * string/strcoll_l.c: Remove unused struct element idxnow.
14008 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14010         [BZ #18569]
14011         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14012         underflow and return argument in case of subnormal argument.
14013         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14014         Likewise.
14015         * math/auto-libm-test-in: Add more tests of expm1.
14016         * math/auto-libm-test-out: Regenerated.
14018         [BZ #16361]
14019         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14020         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14021         tiny results.
14022         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14023         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14024         tiny results.
14025         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14026         mark underflow exceptions as possibly missing for bug 16361.
14027         * math/auto-libm-test-out: Regenerated.
14029 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14031         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14032         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14033         Remove variable.
14034         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14035         (test-xfail-XOPEN2K8/utmpx.h/conform).
14037         * conform/conformtest.pl ($xerrors): New variable.
14038         (note_error): New function.
14039         (compiletest): New argument $xfail.  Use not_error.
14040         (runtest): Likewise.
14041         (top level): Handle xfail- lines.  Update calls to compiletest and
14042         runtest.  Handle xfail- and optional- in headers listed with
14043         allow-header.
14044         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14045         (O_EXEC): Likewise.
14046         (O_SEARCH): Likewise.
14047         * conform/data/stropts.h-data (ioctl): Likewise.
14048         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14049         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14050         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14051         (msghdr.msg_controllen): Likewise.
14052         (cmsghdr.cmsg_len): Likewise.
14053         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14054         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14055         variable.
14056         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14057         (test-xfail-XPG4/stropts.h/conform): Likewise.
14058         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14059         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14060         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14061         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14062         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14063         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14064         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14065         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14066         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14067         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14068         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14069         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14070         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14071         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14072         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14073         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14074         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14075         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14076         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14078 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14080         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14081         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14082         definitions for proper unfolding of __MATHDECL_VEC.
14084 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14086         * benchtests/bench-strcoll.c:
14087         Include string.h.
14088         (main): Remove unused variable res.
14090 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14092         * timezone/Makefile (%/UTC %/Universal):
14093         Generate test-result files for UTC and Universal.
14095 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14097         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14099 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14101         [BZ #16350]
14102         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14103         for arguments with small absolute value.
14104         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14105         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14106         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14107         (__asinh): Force underflow exception for arguments with small
14108         absolute value.
14109         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14110         (__asinhf): Force underflow exception for arguments with small
14111         absolute value.
14112         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14113         (__asinhl): Force underflow exception for arguments with small
14114         absolute value.
14115         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14116         (__asinhl): Force underflow exception for arguments with small
14117         absolute value.
14118         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14119         (__asinhl): Force underflow exception for arguments with small
14120         absolute value.
14121         * math/auto-libm-test-in: Do not mark underflow exceptions as
14122         possibly missing for bug 16350.
14123         * math/auto-libm-test-out: Regenerated.
14125         * include/bits/ipc.h: Remove file.
14126         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14127         variable.
14128         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14129         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14130         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14131         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14132         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14133         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14134         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14135         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14136         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14138         * math/auto-libm-test-in: Remove spurious underflow allowance for
14139         tests of cexp.
14140         * math/auto-libm-test-out: Regenerated.
14142         [BZ #18558]
14143         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14144         unconditional definition.
14145         (MCAST_BLOCK_SOURCE): Likewise.
14146         (MCAST_UNBLOCK_SOURCE): Likewise.
14147         (MCAST_LEAVE_GROUP): Likewise.
14148         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14149         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14150         (MCAST_MSFILTER): Likewise.
14151         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14152         Remove variable.
14153         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14154         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14155         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14156         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14157         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14159 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14161         * NEWS: Mention addition of x86_64 vector sincosf.
14162         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14163         * math/test-float-vlen4.h: Likewise.
14164         * math/test-float-vlen8.h: Likewise.
14165         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14166         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14167         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14168         * sysdeps/x86_64/fpu/Versions: New versions added.
14169         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14170         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14171         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14173         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14174         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14175         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14176         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14177         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14178         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14179         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14180         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14181         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14182         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14183         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14184         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14185         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14186         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14187         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14188         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14189         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14190         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14191         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14192         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14194         * NEWS: Mention addition of x86_64 vector sincos.
14195         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14196         * math/math.h (__MATHDECL_VEC): New macro.
14197         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14198         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14199         declaration under condition.
14200         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14201         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14202         TEST_VEC_LOOP change.
14203         * math/test-double-vlen4.h: Likewise.
14204         * math/test-double-vlen8.h: Likewise.
14205         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14206         * math/test-float-vlen4.h: Likewise.
14207         * math/test-float-vlen8.h: Likewise.
14208         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14209         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14210         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14211         * sysdeps/x86_64/fpu/Versions: New versions added.
14212         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14213         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14214         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14217         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14218         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14219         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14220         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14221         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14222         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14223         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14224         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14225         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14226         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14227         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14228         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14229         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14230         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14231         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14232         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14233         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14234         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14235         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14237         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14238         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14239         redirections for powf.
14240         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14241         * sysdeps/x86_64/fpu/Versions: New versions added.
14242         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14243         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14244         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14245         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14248         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14249         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14250         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14251         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14252         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14253         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14254         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14255         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14256         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14257         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14258         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14259         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14260         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14261         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14262         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14263         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14264         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14265         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14266         * math/test-float-vlen16.h: Fixed 2 argument macro.
14267         * math/test-float-vlen4.h: Likewise.
14268         * math/test-float-vlen8.h: Likewise.
14269         * NEWS: Mention addition of x86_64 vector powf.
14271 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14273         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14274         and redefine.
14275         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14276         and redefine.
14277         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14278         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14279         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14281         [BZ #18553]
14282         * resource/getpriority.c (getpriority): Rename to __getpriority
14283         and define as weak alias of __getpriority.
14284         * resource/setpriority.c (setpriority): Rename to __setpriority
14285         and define as weak alias of __setpriority.
14286         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14287         __getpriority and define as weak alias of __getpriority.
14288         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14289         __setpriority and define as weak alias of __setpriority.
14290         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14291         strong name.
14292         (setpriority): Use __setpriority as strong name.
14293         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14294         __getpriority and define as weak alias of __getpriority.
14295         * include/sys/resource.h (__getpriority): Declare.  Use
14296         libc_hidden_proto.
14297         (__setpriority): Likewise.
14298         (getpriority): Don't use libc_hidden_proto.
14299         (setpriority): Likewise.
14300         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14301         getpriority.  Call __setpriority instead of setpriority.
14302         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14303         Remove variable.
14305         [BZ #18547]
14306         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14307         as weak alias of __getttynam.  Use prototype function definition.
14308         Call __setttyent, __getttyent and __endttyent instead of
14309         setttyent, getttyent and endttyent.
14310         (getttyent): Rename to __getttyent and define as weak alias of
14311         __getttyent.  Call __setttyent instead of setttyent.  Call
14312         __fgets_unlocked instead of fgets_unlocked.
14313         (setttyent): Rename to __setttyent and define as weak alias of
14314         __setttyent.
14315         (endttyent): Rename to __endttyent and define as weak alias of
14316         __endttyent.
14317         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14318         (__setttyent): Likewise.
14319         (__endttyent): Likewise.
14320         (getttyent): Don't use libc_hidden_proto.
14321         (setttyent): Likewise.
14322         (endttyent): Likewise.
14323         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14324         __endttyent instead of setttyent, getttyent and endttyent.
14325         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14326         Remove variable.
14328         [BZ #18546]
14329         * socket/recv.c (__recv): Use libc_hidden_def.
14330         * socket/socket.c (__socket): Likewise.
14331         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14332         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14333         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14334         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14335         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14336         libc_hidden_def.
14337         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14338         libc_hidden_weak.
14339         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14340         Use libc_hidden_proto.
14341         (__recv): Likewise.
14342         * socket/Versions (libc): Export __recv and __socket at version
14343         GLIBC_PRIVATE.
14344         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14345         instead of recv.
14346         (init_mq_netlink): Call __socket instead of socket.
14347         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14348         Remove variable.
14350         [BZ #18545]
14351         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14352         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14353         hidden_weak.
14354         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14355         define as alias of __mq_timedsend.  Use hidden_weak.
14356         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14357         __mq_timedsend as strong name.
14358         (mq_timedreceive): Use __mq_timedreceive as strong name.
14359         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14360         (__mq_timedreceive): Likewise.
14361         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14362         __mq_timedreceive instead of mq_timedreceive.
14363         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14364         instead of mq_timedsend.
14365         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14366         Remove variable.
14368         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14369         hidden_def and hidden_weak instead of libc_hidden_def and
14370         libc_hidden_weak.
14371         (top level): Refer to hidden_def in comment.
14372         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14373         macro.  Use it instead of libc_hidden_def.
14374         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14375         specify __GI_* name explicitly.
14376         (mq_timedreceive): Likewise.
14377         (mq_setattr): Likewise.
14379         [BZ #18544]
14380         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14381         __pthread_barrier_init and define as weak alias of
14382         __pthread_barrier_init.
14383         * sysdeps/sparc/nptl/pthread_barrier_init.c
14384         (pthread_barrier_init): Likewise.
14385         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14386         __pthread_barrier_wait and define as weak alias of
14387         __pthread_barrier_wait.
14388         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14389         (pthread_barrier_wait): Likewise.
14390         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14391         (pthread_barrier_wait): Likewise.
14392         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14393         (pthread_barrier_wait): Likewise.
14394         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14395         (pthread_barrier_wait): Likewise.
14396         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14397         __pthread_barrier_wait at version GLIBC_PRIVATE.
14398         * include/pthread.h (__pthread_barrier_init): Declare.
14399         (__pthread_barrier_wait): Likewise.
14400         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14401         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14402         (helper_thread): Likewise.
14403         (init_mq_netlink): Call __pthread_barrier_init instead of
14404         pthread_barrier_init.
14406         [BZ #18542]
14407         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14408         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14409         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14410         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14411         vswscanf.
14412         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14413         Remove variable.
14415         [BZ #18540]
14416         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14417         strong alias of _IO_fflush.  Use libc_hidden_def.
14418         * libio/iofflush_u.c (fflush_unlocked): Rename to
14419         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14420         Use libc_hidden_weak.
14421         * include/stdio.h (__fflush_unlocked): Declare.  Use
14422         libc_hidden_proto.
14423         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14424         fflush_unlocked.
14425         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14426         Remove variable.
14428         [BZ #18539]
14429         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14430         define as weak alias of __addseverity.
14431         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14432         Remove variable.
14433         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14434         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14435         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14437         [BZ #18536]
14438         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14439         (__tfind): Likewise.
14440         (__tdelete): Likewise.
14441         (__twalk): Likewise.
14442         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14443         __twalk to GLIBC_PRIVATE.
14444         * include/search.h (__tsearch): Use libc_hidden_proto.
14445         (__tfind): Likewise.
14446         (__tdelete): Likewise.
14447         (__twalk): Likewise.
14448         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14449         Call __tdelete instead of tdelete.
14450         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14451         tfind.  Call __tsearch instead of tsearch.
14452         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14453         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14454         Remove variable.
14455         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14457         [BZ #18534]
14458         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14459         (dprintf): Define as a weak alias of __dprintf, not a strong
14460         alias.
14461         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14462         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14463         dprintf.
14464         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14465         Remove variable.
14466         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14467         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14469         [BZ #18533]
14470         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14471         not a strong alias.
14472         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14473         Remove variable.
14475         [BZ #18532]
14476         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14477         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14478         (in6addr_loopback): Rename to __in6addr_loopback and define as
14479         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14480         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14481         libc_hidden_proto.
14482         (__in6addr_any): Likewise.
14483         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14484         in6addr_any.
14485         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14486         variable.
14487         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14489 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14491         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14492         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14493         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14494         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14495         redirections for pow.
14496         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14497         * sysdeps/x86_64/fpu/Versions: New versions added.
14498         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14499         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14500         build of SSE, AVX2 and AVX512 IFUNC versions.
14501         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14502         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14503         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14504         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14505         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14506         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14507         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14508         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14509         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14510         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14511         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14512         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14513         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14514         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14515         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14516         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14517         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14518         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14519         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14520         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14521         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14522         * NEWS: Mention addition of x86_64 vector pow.
14524         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14525         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14526         redirections for expf.
14527         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14528         * sysdeps/x86_64/fpu/Versions: New versions added.
14529         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14530         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14531         build of SSE, AVX2 and AVX512 IFUNC versions.
14532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14533         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14534         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14536         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14537         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14538         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14539         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14540         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14541         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14542         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14543         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14544         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14545         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14546         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14547         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14548         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14549         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14550         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14551         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14552         * NEWS: Mention addition of x86_64 vector expf.
14554         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14555         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14556         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14557         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14558         redirections for exp.
14559         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14560         * sysdeps/x86_64/fpu/Versions: New versions added.
14561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14562         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14563         build of SSE, AVX2 and AVX512 IFUNC versions.
14564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14567         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14568         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14569         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14570         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14571         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14572         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14573         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14574         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14575         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14576         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14577         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14579         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14580         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14581         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14582         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14583         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14584         * NEWS: Mention addition of x86_64 vector exp.
14586         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14587         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14588         redirections for logf.
14589         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14590         * sysdeps/x86_64/fpu/Versions: New versions added.
14591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14592         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14593         build of SSE, AVX2 and AVX512 IFUNC versions.
14594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14595         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14596         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14597         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14598         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14599         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14600         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14601         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14602         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14603         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14604         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14605         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14606         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14607         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14608         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14609         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14610         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14611         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14612         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14613         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14614         * NEWS: Mention addition of x86_64 vector logf.
14616         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14617         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14618         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14619         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14620         redirections for log.
14621         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14622         * sysdeps/x86_64/fpu/Versions: New versions added.
14623         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14624         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14625         build of SSE, AVX2 and AVX512 IFUNC versions.
14626         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14627         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14628         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14629         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14630         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14631         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14632         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14633         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14634         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14635         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14636         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14637         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14638         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14639         test.
14640         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14641         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14642         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14643         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14644         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14645         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14646         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14647         * NEWS: Mention addition of x86_64 vector log.
14649 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14651         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14652         cfi_adjust_cfa_offset argument.
14653         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14654         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14656         [BZ #18034]
14657         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14658         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14659         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14660         ordering using ldar.
14661         (_dl_tlsdesc_dynamic): Likewise.
14662         (_dl_tlsdesc_return_lazy): Likewise.
14663         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14664         relaxed atomics instead of volatile and synchronize with release store.
14665         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14666         volatile.
14667         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14669 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14671         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14672         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14673         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14674         * sysdeps/x86_64/fpu/Versions: New versions added.
14675         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14676         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14677         build of SSE, AVX2 and AVX512 IFUNC versions.
14678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14679         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14681         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14682         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14683         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14684         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14685         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14686         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14687         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14688         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14689         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14690         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14691         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14692         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14693         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14694         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14695         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14696         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14697         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14698         * NEWS: Mention addition of x86_64 vector sinf.
14700 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14702         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14703         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14704         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14705         Remove variable.
14706         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14707         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14709 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14711         [BZ #18530]
14712         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14713         strong alias of _IO_fputs.  Use libc_hidden_def.
14714         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14715         and define as weak alias of __fputs_unlocked.  Use
14716         libc_hidden_weak.
14717         * include/stdio.h (__fputs_unlocked): Declare.  Use
14718         libc_hidden_proto.
14719         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14720         fputs_unlocked.
14722         [BZ #18529]
14723         * resolv/netdb.h [__USE_POSIX]: Change condition to
14724         [__USE_XOPEN2K].
14725         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14726         not expect.
14727         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14728         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14729         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14730         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14731         [XPG4 || UNIX98] (AI_ALL): Likewise.
14732         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14733         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14734         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14735         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14736         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14737         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14738         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14739         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14740         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14741         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14742         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14743         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14744         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14745         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14746         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14747         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14748         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14749         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14750         [XPG4 || UNIX98] (gai_strerror): Likewise.
14751         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14752         [XPG4 || UNIX98] (getnameinfo): Likewise.
14754         [BZ #18528]
14755         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14756         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14757         __USE_XOPEN2K8].
14758         (getgrent): Likewise.
14759         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14760         expect.
14761         [XPG3 || POSIX2008] (endgrent): Likewise.
14762         [XPG3] (setgrent): Likewise.
14763         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14764         variable.
14765         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14767         [BZ #18527]
14768         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14769         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14770         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14771         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14772         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14773         * include/unistd.h (__getlogin_r): Declare.  Use
14774         libc_hidden_proto.
14775         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14776         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14777         variable.
14778         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14779         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14780         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14782 2015-06-12  Martin Sebor  <msebor@redhat.com>
14784         [BZ #18512]
14785         * Makerules (check-install-supported): New target.
14786         (install): Add check-install-supported as a dependency.
14787         * manual/install.texi (Installing the C Library): Document
14788         that overriding prefix and exec_prefix is not supported.
14789         Mention DESTDIR.
14790         * INSTALL: Regenerate from the above.
14792 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14794         [BZ #18519]
14795         * posix/Versions (libc): Export __libc_pread at version
14796         GLIBC_PRIVATE.
14797         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14798         instead of pread.
14799         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14800         variable.
14802         [BZ #18522]
14803         * misc/efgcvt_r.c
14804         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14805         (cvt_symbol): Use weak_alias instead of strong_alias.
14806         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14807         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14808         Remove variable.
14809         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14810         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14812         [BZ #18520]
14813         * inet/herrno.c (h_errno): Rename to __h_errno.
14814         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14815         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14816         to __h_errno instead of h_errno.
14817         * nptl/herrno.c (h_errno): Rename to __h_errno.
14818         (__h_errno_location): Refer to __h_errno not h_errno.
14819         * resolv/Versions (h_errno): Rename to __h_errno.
14820         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14821         Remove variable.
14822         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14824 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14826         * configure.ac: More strict check for AVX512 assembler support.
14827         * configure: Regenerated.
14829         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14830         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14831         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14832         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14833         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14834         * sysdeps/x86_64/fpu/Versions: New versions added.
14835         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14836         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14837         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14838         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14839         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14840         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14841         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14842         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14843         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14844         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14845         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14846         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14847         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14848         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14849         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14850         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14851         test.
14852         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14854         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14855         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14856         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14857         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14858         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14859         * NEWS: Mention addition of x86_64 vector sin.
14861 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14863         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14864         comment.
14866 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14868         [BZ #18479]
14869         * nptl/pt-interp.c: New file.
14870         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14871         Add pt-interp.
14872         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14873         $(common-objpfx)runtime-linker.h.
14875 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14877         * Makeconfig (+interp): Remove unused variable.
14878         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14879         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14880         $(elf-objpfx)runtime-linker.h.
14881         ($(elf-objpfx)runtime-linker.h): Rename to
14882         $(common-objpfx)runtime-linker.h and move ...
14883         * Makerules [$(build-shared) = yes]: ... here.
14884         * elf/interp.c: Include <runtime-linker.h> instead of
14885         <elf/runtime-linker.h>.
14887 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14889         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14890         (__gettimeofday_syscall): Remove vsyscall fallback.
14891         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14892         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14893         Add syscall fallback function.
14894         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14895         if vDSO is not present.
14896         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14897         fallback function.
14898         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14899         present.
14900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14901         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14903 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14905         [BZ #18497]
14906         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14907         of wcscmp.
14908         (wcscmp): Define as weak alias of WCSCMP.
14909         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14910         wcscoll.
14911         (USE_HIDDEN_DEF): Define.
14912         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14913         __wcscoll.  Don't use libc_hidden_weak.
14914         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14915         wcscmp.
14916         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14917         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14918         __GI_wcscmp.
14919         (weak_alias): Undefine and redefine.
14920         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14921         __wcscmp and define as weak alias of __wcscmp.
14922         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14923         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14924         (__wcscoll): Likewise.
14925         (wcscmp): Don't use libc_hidden_proto.
14926         (wcscoll): Likewise.
14927         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14928         wcscoll.
14929         * posix/regexec.c (check_node_accept_bytes): Likewise.
14930         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14931         variable.
14932         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14933         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14935         [BZ #18507]
14936         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14937         __fstatvfs and define as weak alias of __fstatvfs.  Use
14938         libc_hidden_weak.
14939         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14940         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14941         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14942         Define as alias of __fstatvfs, not fstatvfs.
14943         (fstatvfs64): Likewise.
14944         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14945         Define as alias of __statvfs, not statvfs.
14946         (statvfs64): Likewise.
14947         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14948         Remove variable.
14950 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14953         (HAVE_GETCPU_VSYSCALL): Define.
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14955         (HAVE_GETCPU_VSYSCALL): Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14957         * sysdeps/unix/sysv/linux/sched_getcpu.c
14958         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14959         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14960         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14961         prototype.
14962         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14963         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14964         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14965         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14966         Define.
14967         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14968         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14969         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14970         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14972 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14974         * sysdeps/x86_64/fpu/Makefile: New file.
14975         * sysdeps/x86_64/fpu/Versions: New file.
14976         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14977         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14978         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14979         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14980         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14981         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14982         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14984         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14985         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14986         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14987         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14989         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14990         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14991         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14992         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14993         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14994         * sysdeps/x86_64/configure: Regenerated.
14995         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14996         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14997         * manual/install.texi (Configuring and compiling): Document
14998         --disable-mathvec.
14999         * INSTALL: Regenerated.
15000         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15002         * math/Makefile: Added rules for vector tests.
15003         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15004         declaration under condition.
15005         * math/test-double-vlen2.h: New file.
15006         * math/test-double-vlen4.h: New file.
15007         * math/test-double-vlen8.h: New file.
15008         * math/test-vec-loop.h: Added initialization macro.
15009         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15010         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15011         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15012         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15013         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15014         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15016         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15017         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15019         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15021         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15022         * sysdeps/x86_64/fpu/Versions: New versions added.
15023         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15025         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15026         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15027         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15028         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15029         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15030         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15031         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15032         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15033         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15034         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15035         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15036         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15037         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15038         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15039         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15040         * NEWS: Mention addition of x86_64 vector cosf.
15042         * math/Makefile: Added CFLAGS for new tests.
15043         * math/test-float-vlen16.h: New file.
15044         * math/test-float-vlen4.h: New file.
15045         * math/test-float-vlen8.h: New file.
15046         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15047         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15048         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15049         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15050         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15051         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15052         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15053         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15054         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15055         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15056         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15058 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15060         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15061         * locale/programs/ld-ctype.c: Likewise.
15063 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15065         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15066         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15067         bit_ZMM16_31_state): New macro.
15068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15069         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15071 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15073         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15075 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15077         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15079 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15081         [BZ #18498]
15082         * libio/memstream.c (open_memstream): Rename to __open_memstream
15083         and define as weak alias of __open_memstream.
15084         * include/stdio.h (__open_memstream): Declare.  Use
15085         libc_hidden_proto.
15086         (open_memstream): Don't use libc_hidden_proto.
15087         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15088         open_memstream.
15089         * posix/getopt.c (_getopt_internal_r): Likewise.
15090         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15091         variable.
15092         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15093         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15094         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15096         [BZ #18496]
15097         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15098         instead of wcrtomb.
15100         [BZ #18483]
15101         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15102         [__USE_XOPEN2K8].  Remove redundant #endif.
15103         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15104         Remove redundant #if.
15105         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15106         Remove variable.
15107         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15108         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15110         [BZ #18495]
15111         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15112         (__iswlower): Likewise.
15113         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15114         (__iswlower): Likewise.
15115         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15116         instead of towlower.
15117         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15118         instead of iswlower.  Call __towupper instead of towupper.
15119         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15120         instead of iswalnum.
15122 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15124         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15125         errors to stderr.
15127 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15129         [BZ #15661]
15130         [BZ #17322]
15131         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15132         Check for overflow properly.  Check for O_APPEND.  Ignore large
15133         file system block sizes.  Add comments about problems.
15134         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15135         * manual/filesys.texi (Storage Allocation): New node.
15137 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15139         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15140         cancellable syscalls.
15141         (SYS_ify): Add guard to no redefine it.
15142         (INLINE_SYSCALL): Likewise.
15143         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15144         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15145         SYSCALL_CANCEL instead.
15146         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15147         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15148         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15149         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15150         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15151         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15152         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15153         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15154         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15155         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15156         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15157         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15158         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15159         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15160         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15161         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15162         Likewise.
15163         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15164         (__libc_pread64): Likewise.
15165         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15166         (__libc_preadv): Likewise.
15167         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15168         (__libc_readv64): Likewise.
15169         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15170         (__libc_pwrite): Likewise.
15171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15172         (__libc_pwrite64): Likewise.
15173         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15174         (__libc_pwritev): Likewise.
15175         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15176         (__libc_pwritev64): Likewise.
15177         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15178         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15179         (sync_file_range): Likewise.
15180         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15181         Likewise.
15182         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15183         Likewise.
15184         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15185         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15186         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15187         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15188         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15189         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15190         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15191         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15193         Likewise.
15194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15195         (__libc_read64): Likewise.
15196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15199         Likewise.
15200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15201         Likewise.
15202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15203         Likewise.
15204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15205         (__libc_pread64): Likewise.
15206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15207         Likewise.
15208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15209         (__libc_pwrite64): Likewise.
15210         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15211         (sync_file_range): Likewise.
15212         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15213         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15214         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15215         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15216         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15217         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15218         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15219         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15220         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15221         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15222         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15223         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15224         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15225         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15226         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15227         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15228         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15229         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15230         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15231         Likewise.
15232         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15233         Likewise.
15234         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15235         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15236         Likewise.
15237         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15238         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15239         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15240         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15241         Likewise.
15242         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15243         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15244         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15245         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15246         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15248 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15250         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15251         Include dl-vdso.
15252         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15253         Use VDSO routines for gettimeofday, clock_gettime if
15254         available.
15255         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15256         Declare VDSO symbols.
15257         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15258         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15259         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15260         * sysdeps/unix/sysv/linux/arm/Versions: Add
15261         __vdso_clock_gettime.
15263 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15265         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15266         be an inline implementation regardless of library is built within.
15267         (open_not_cancel_2): Likewise.
15268         (__read_nocancel): Likewise.
15269         (__write_nocancel): Likewise.
15270         (openat_not_cancel): Likewise.
15271         (openat_not_cancel_3): Likewise.
15272         (openat64_not_cancel): Likewise.
15273         (openat64_not_cancel_3): Likewise.
15274         (__close_nocancel): Likewise.
15275         (pause_not_cancel): Likewise.
15276         (nanosleep_not_cancel): Likewise.
15277         (sigsuspend_not_cancel): Likewise.
15279 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15281         [BZ #14958]
15282         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15283         wake-up.
15284         (__pthread_rwlock_rdlock_slow): Likewise.
15285         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15286         Likewise.
15287         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15288         Likewise.
15289         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15290         * nptl/tst-rwlock16.c: New file.
15291         * nptl/Makefile (tests): Add new test.
15293 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15295         [BZ #18324]
15296         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15297         missing wake-up of readers.
15298         * nptl/tst-rwlock15.c: New file.
15299         * nptl/Makefile (tests): Add new test.
15301 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15303         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15304         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15305         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15306         and __nacl_supply_interface_rtld.
15307         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15308         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15309         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15310         Add __nacl_supply_interface_rtld.
15311         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15313 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15315         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15316         isfinite.
15317         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15318         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15320 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15322         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15323         __signbit* with standard C99 macros.
15324         * math/e_exp10l.c: Likewise.
15325         * math/e_exp2l.c: Likewise.
15326         * math/e_scalb.c: Likewise.
15327         * math/e_scalbf.c: Likewise.
15328         * math/e_scalbl.c: Likewise.
15329         * math/s_ldexp.c: Likewise.
15330         * math/s_ldexpf.c: Likewise.
15331         * math/s_ldexpl.c: Likewise.
15332         * math/w_atan2.c: Likewise.
15333         * math/w_atan2f.c: Likewise.
15334         * math/w_atan2l.c: Likewise.
15335         * math/w_cosh.c: Likewise.
15336         * math/w_coshf.c: Likewise.
15337         * math/w_coshl.c: Likewise.
15338         * math/w_exp10.c: Likewise.
15339         * math/w_exp10f.c: Likewise.
15340         * math/w_exp10l.c: Likewise.
15341         * math/w_exp2.c: Likewise.
15342         * math/w_exp2f.c: Likewise.
15343         * math/w_exp2l.c: Likewise.
15344         * math/w_fmod.c: Likewise.
15345         * math/w_fmodf.c: Likewise.
15346         * math/w_fmodl.c: Likewise.
15347         * math/w_hypot.c: Likewise.
15348         * math/w_hypotf.c: Likewise.
15349         * math/w_hypotl.c: Likewise.
15350         * math/w_jnl.c: Likewise.
15351         * math/w_lgamma.c: Likewise.
15352         * math/w_lgamma_r.c: Likewise.
15353         * math/w_lgammaf.c: Likewise.
15354         * math/w_lgammaf_r.c: Likewise.
15355         * math/w_lgammal.c: Likewise.
15356         * math/w_lgammal_r.c: Likewise.
15357         * math/w_pow.c: Likewise.
15358         * math/w_powf.c: Likewise.
15359         * math/w_powl.c: Likewise.
15360         * math/w_remainder.c: Likewise.
15361         * math/w_remainderf.c: Likewise.
15362         * math/w_remainderl.c: Likewise.
15363         * math/w_scalb.c: Likewise.
15364         * math/w_scalbf.c: Likewise.
15365         * math/w_scalbl.c: Likewise.
15366         * math/w_scalbln.c: Likewise.
15367         * math/w_scalblnf.c: Likewise.
15368         * math/w_scalblnl.c: Likewise.
15369         * math/w_sinh.c: Likewise.
15370         * math/w_sinhf.c: Likewise.
15371         * math/w_sinhl.c: Likewise.
15372         * math/w_tgamma.c: Likewise.
15373         * math/w_tgammaf.c: Likewise.
15374         * math/w_tgammal.c: Likewise.
15375         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15376         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15377         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15378         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15379         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15381         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15382         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15383         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15384         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15385         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15386         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15387         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15388         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15389         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15390         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15391         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15392         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15393         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15394         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15395         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15396         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15397         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15398         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15399         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15400         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15401         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15402         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15403         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15404         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15405         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15406         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15407         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15408         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15409         * stdio-common/printf_fp.c: Likewise.
15410         * stdio-common/printf_fphex.c: Likewise.
15411         * stdio-common/printf_size.c: Likewise.
15413 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15415         [BZ #18470]
15416         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15417         strnlen.
15418         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15419         Remove variable.
15420         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15421         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15422         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15423         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15424         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15425         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15426         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15427         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15428         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15429         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15431         [BZ #18468]
15432         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15433         weak alias of __wmemchr.  Use libc_hidden_weak.
15434         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15435         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15436         instead of wmemchr.
15438 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15440         [BZ #18383]
15441         * elf/tst-tlsalign-extern.c: New file.
15442         * elf/tst-tlsalign-extern-static.c: New file.
15443         * elf/tst-tlsalign-vars.c: New file.
15444         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15445         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15446         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15447         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15448         (test-xfail-tst-tlsalign-extern-static): New variable.
15450 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15452         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15453         Use variable name _sc_err instead of err.
15454         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15455         instead of ret.
15456         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15457         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15458         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15459         (INLINE_SYSCALL): Likewise.
15461         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15462         * include/string.h (__strnlen): Use libc_hidden_proto.
15463         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15464         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15465         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15466         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15467         (libc_hidden_def): Undefine and redefine.
15468         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15469         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15470         __GI_strnlen.
15471         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15472         libc_hidden_def.
15473         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15475         [BZ #18469]
15476         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15477         weak alias of __towlower.  Use libc_hidden_weak.
15478         (towupper): Rename to __towupper and define as weak alias of
15479         __towupper.  Use libc_hidden_weak.
15480         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15481         (__towupper): Likewise.
15482         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15483         __towlower instead of towlower.
15485 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15487         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15488         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15490 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15492         * sysdeps/aarch64/libm-test-ulps: Update.
15494 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15496         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15497         Define.
15498         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15500         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15501         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15502         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15503         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15504         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15506 2015-06-01  Martin Sebor  <msebor@redhat.com>
15508         [BZ #18116]
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15510         (__setcontext): Use extended four-operand version of mtsf whenever
15511         possible.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15513         (__novec_swapcontext): Likewise.
15515 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15517         * benchtests/scripts/compare_bench.py: New file.
15518         * benchtests/scripts/import_bench.py (mean): New function.
15519         (split_list): Likewise.
15520         (do_for_all_timings): Likewise.
15521         (compress_timings): Likewise.
15523         * benchtests/scripts/import_bench.py: New file.
15524         * benchtests/scripts/validate_benchout.py: Import import_bench
15525         instead of jsonschema.
15526         (validate_bench): Remove function.
15527         (main): Use import_bench.
15529 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15531         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15532         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15534 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15538 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15540         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15541         set THREAD_SELF->tid to a magic value and futex-wake it.
15542         Pass its address to the thread_exit system call.
15543         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15544         bit is clear.
15545         * sysdeps/nacl/lowlevellock.h: New file.
15546         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15548         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15549         Add TIMEOUT to current time, don't subtract it.
15551 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15553         [BZ #2981]
15554         [BZ #18422]
15555         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15556         ($(objpfx)tst-audit2.out): Also depend on
15557         $(objpfx)tst-auditmod9b.so.
15558         * elf/tst-audit2.c: Include <dlfcn.h>.
15559         (calloc_called): New.
15560         (calloc): Allow to be called more than once.
15561         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15563 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15565         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15566         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15568 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15570         * stdlib/monetary.h: Fix comment.
15572 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15574         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15575         Avoid using variables in #defines that might cause shadowing.
15576         (INTERNAL_VSYSCALL_CALL): Likewise.
15578 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15580         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15582         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15583         * nptl/lll_timedlock_wait.c: ... to this new file.
15584         * nptl/Makefile (libpthread-routines): Add it.
15585         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15586         * nptl/lll_timedwait_tid.c: ... to this new file.
15587         * nptl/Makefile (libpthread-routines): Add it.
15588         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15589         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15590         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15591         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15592         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15593         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15594         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15595         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15596         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15597         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15599 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15601         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15602         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15603         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15604         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15605         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15606         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15607         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15608         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15609         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15610         * sysdeps/unix/sysv/linux/tile/sysdep.h
15611         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15612         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15613         using vDSO syscall macro.
15615 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15617         [BZ #17293]
15618         * uk_UA: Fix sorting order for Ukrainian locale
15620 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15622         * stdlib/monetary.h: Fix comment.
15624 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15626         [BZ #18234]
15627         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15628         st_mtim and st_ctim members.
15629         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15630         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15631         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15632         (struct stat64): Likewise.
15633         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15634         (struct stat64): Likewise.
15635         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15636         (struct stat64): Likewise.
15638 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15640         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15641         Define and include sysdep-vdso.h.
15642         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15643         Likewise.
15644         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15645         Likewise.
15646         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15647         Define with VDSO_SYMBOL and use PTR_MANGLE.
15648         (__vdso_clock_gettime): Likewise.
15649         (__vdso_clock_getres): Likewise.
15650         (_libc_vdso_platform_setup): Likewise.
15651         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15652         Likewise.
15653         (_libc_vdso_platform_setup): Likewise.
15654         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15655         Likewise.
15656         (__vdso_clock_gettime): Likewise.
15657         (__vdso_clock_getres): Likewise.
15658         (__vdso_get_tbfreq): Likewise.
15659         (__vdso_getcpu): Likewise.
15660         (__vdso_time): Likewise.
15661         (__vdso_sigtramp_rt64): Likewise.
15662         (__vdso_signtramp32): Likewise.
15663         (__vdso_sigtramp_rt32): Likewise.
15664         (_libc_vdso_platform_setup): Likewise.
15665         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15666         Likewise.
15667         (__vdso_clock_gettime): Likewise.
15668         (__vdso_clock_getres): Likewise.
15669         (_libc_vdso_platform_setup): Likewise.
15670         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15671         Likewise.
15672         (__vdso_clock_gettime): Likewise.
15673         (_libc_vdso_platform_setup): Likewise.
15674         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15675         Likewise.
15676         (__vdso_getcpu): Likewise.
15677         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15678         Use VDSO_SYMBOL macro to define.
15679         (__vdso_clock_gettime): Likewise.
15680         (__vdso_clock_getres): Likewise.
15681         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15682         Likewise.
15683         (__vdso_clock_gettime): Likewise.
15684         (__vdso_clock_getres): Likewise.
15685         (__vdso_get_tbfreq): Likewise.
15686         (__vdso_getcpu): Likewise.
15687         (__vdso_time): Likewise.
15688         (__vdso_sigtramp_rt64): Likewise.
15689         (__vdso_signtramp32): Likewise.
15690         (__vdso_sigtramp_rt32): Likewise.
15691         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15692         Likewise.
15693         (__vdso_clock_gettime): Likewise.
15694         (__vdso_clock_getres): Likewise.
15695         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15696         Likewise.
15697         (__vdso_clock_gettime): Likewise.
15698         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15699         Likewise.
15700         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15701         macro.
15702         (INTERNAL_VSYSCALL): Likewise.
15703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15704         Remove macro.
15705         (INTERNAL_VSYSCALL): Likewise.
15706         (INTERNAL_VSYSCALL_NCS): Likewise.
15707         (INTERNAL_VSYSCALL_CALL): New macro.
15708         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15710         Likewise.
15711         (INTERNAL_VSYSCALL): Likewise.
15712         (INTERNAL_VSYSCALL_NCS): Likewise.
15713         (INTERNAL_VSYSCALL_CALL): New macro.
15714         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15716         (INLINE_VSYSCALL): Remove macro.
15717         (INTERNAL_VSYSCALL): Remove macro.
15718         (INTERNAL_VSYSCALL_NCS): Remove macro.
15719         (INTERNAL_VSYSCALL_CALL): New macro.
15720         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15721         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15722         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15723         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15724         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15726         (INLINE_VSYSCALL): Remove macro.
15727         (INTERNAL_VSYSCALL): Likewise.
15728         (INTERNAL_VSYSCALL_NCS): Likewise.
15729         (INTERNAL_VSYSCALL_CALL): New macro.
15730         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15731         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15732         PTR_DEMANGLE on vDSO pointer.
15733         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15734         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15735         macro.
15736         (INTERNAL_SYSCALL): Likewise.
15737         (INTERNAL_VSYSCALL_NCS): Remove macro.
15738         (INTERNAL_VSYSCALL_CALL): New macro.
15739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15740         Remove macro.
15741         (INTERNAL_VSYSCALL): Likewise.
15742         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15743         sysdep-vdso.h instead of libc-vdso.h.
15744         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15745         definition.
15746         (INLINE_VSYSCALL): Likewise.
15747         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15748         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15749         definition.
15750         (INLINE_VSYSCALL): Likewise.
15751         (INTERNAL_VSYSCALL): Likewise.
15752         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15753         * sysdeps/unix/sysv/linux/timespec_get.c
15754         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15755         (timespec_get): Use ANSI prototype.
15756         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15757         and definition for Linux.
15759 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15761         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15762         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15764 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15766         [BZ #2981]
15767         [BZ #18410]
15768         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15769         for missing DT_PLTRELSZ.
15771 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15773         Remove obsolete aliases that broke 'locale -a'
15774         [BZ #18412]
15775         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15776         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15777         breaking some applications that use 'locale -a' output.
15778         Change the encoding of this file from Latin-1 to ASCII to avoid
15779         other potential problems with people grepping this file.
15781 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15783         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15784         -fasynchronous-unwind-tables.
15785         (CFLAGS-sendto.c): Likewise.
15786         (CFLAGS-sendmsg.c): Likewise.
15787         (CFLAGS-connect.c): Likewise.
15788         (CFLAGS-recvmsg.c): Likewise.
15789         (CFLAGS-recvfrom.c): Likewise.
15790         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15791         (SOCKETCALL): New macro: non-cancellable socketcall.
15792         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15793         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15794         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15795         * sysdeps/unix/sysv/linux/accept.c: New file.
15796         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15797         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15798         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15799         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15800         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15801         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15802         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15803         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15804         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15805         * sysdeps/unix/sysv/linux/send.c: Likewise.
15806         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15807         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15808         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15809         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15810         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15811         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15812         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15813         prototype.
15814         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15815         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15816         instead of __internal_xxx function.
15817         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15818         prototype.
15819         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15820         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15821         instead of __internal_xxx function.
15822         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15823         prototype.
15824         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15825         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15826         instead of __internal_xxx function.
15827         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15828         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15829         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15830         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15831         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15832         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15833         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15834         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15835         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15836         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15837         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15838         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15839         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15840         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15841         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15842         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15843         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15844         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15845         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15846         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15849         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15850         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15851         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15852         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15853         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15854         * sysdeps/unix/sysv/linux/send.S: Likewise.
15855         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15856         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15857         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15858         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15859         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15860         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15861         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15862         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15863         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15864         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15865         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15866         socketcall is implemented in GLIBC.
15868 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15870         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15871         (__fma): Ignore uninitialized warnings around packing.
15872         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15873         (__fmaf): Ignore uninitialized warnings around packing.
15874         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15875         (__fmal): Ignore uninitialized warnings around packing.
15877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15878         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15879         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15880         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15882         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15883         switch statement into default case.
15884         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15886         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15887         a conditional in forcing "inexact".
15888         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15889         Likewise.
15891 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15893         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15894         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15895         for each INTERNAL_SYSCALL use.
15897 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15899         [BZ #438]
15900         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15901         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15902         variable.
15904         [BZ #18444]
15905         * string/basename.c (basename): Rename to __basename and define as
15906         weak alias of __basename.  Use libc_hidden_weak.
15907         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15908         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15909         __basename instead of basename.
15910         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15911         Remove variable.
15912         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15914 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15916         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15917         (_IO_JUMPS_FILE_plus): New.
15918         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15919         _IO_CAST_FIELD_ACCESS.
15920         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15921         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15922         * libio/freopen.c (freopen): Likewise.
15923         * libio/freopen64.c (freopen64): Likewise.
15924         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15925         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15926         * libio/iofwide.c (_IO_fwide): Likewise.
15927         * libio/memstream.c (open_memstream): Likewise.
15928         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15929         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15930         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15932 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15934         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15935         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15936         NADJ.
15937         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15938         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15939         NADJ.
15940         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15941         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15942         NADJ.
15944         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15945         (p == 4) case.
15947         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15948         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15949         Remove variable.
15950         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15951         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15952         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15954 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15956         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15957         Adjust jump table label generation macros.
15959 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15961         * stdio-common/vfprintf.c (vfprintf): Move local variables
15962         args_malloced, specs, specs_malloced, and the code after
15963         do_positional to the printf_positional function.
15964         (printf_positional): New function.
15966 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15968         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15969         function.
15970         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15971         STEP4_TABLE, process_arg): Move macro definitions
15972         out of the vfprintf function.  (Cosmetic change only.)
15974 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15976         * benchtests/Makefile (stdio-common-bench): Define.
15977         (benchset): Add stdio-common-bench.
15978         * sprintf-inputs: New file.
15979         * sprintf-source.c: New file.
15981 2015-05-21  Andreas Schwab  <schwab@suse.de>
15983         [BZ #13028]
15984         [BZ #17053]
15985         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15986         of struct __res_state.
15987         * resolv/res_send.c (__libc_res_nsend): Likewise.
15988         (get_nsaddr): New function.
15989         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15990         statp directly.
15992 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15994         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15995         -D_POSIX_C_SOURCE=199506L.
15997         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15999         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16000         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16001         Do not mention otherwise.
16002         [POSIX] (_XOPEN_VERSION): Do not expect.
16003         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16004         [POSIX] (_POSIX2_C_BIND): Likewise.
16005         [POSIX] (_POSIX2_VERSION): Likewise.
16006         [POSIX] (_XOPEN_XPG2): Likewise.
16007         [POSIX] (_XOPEN_XPG3): Likewise.
16008         [POSIX] (_XOPEN_XPG4): Likewise.
16009         [POSIX] (_XOPEN_UNIX): Likewise.
16010         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16011         [POSIX] (_POSIX_BARRIERS): Likewise.
16012         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16013         [POSIX] (_POSIX_CPUTIME): Likewise.
16014         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16015         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16016         [POSIX] (_POSIX_SHELL): Likewise.
16017         [POSIX] (_POSIX_SPAWN): Likewise.
16018         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16019         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16020         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16021         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16022         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16023         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16024         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16025         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16026         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16027         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16028         [POSIX] (_POSIX2_PBS): Likewise.
16029         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16030         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16031         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16032         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16033         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16034         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16035         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16036         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16037         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16038         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16039         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16040         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16041         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16042         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16043         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16044         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16045         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16046         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16047         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16048         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16049         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16050         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16051         [POSIX] (_SC_2_C_BIND): Likewise.
16052         [POSIX] (_SC_2_C_VERSION): Likewise.
16053         [POSIX] (_SC_2_PBS): Likewise.
16054         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16055         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16056         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16057         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16058         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16059         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16060         [POSIX] (_SC_BARRIERS): Likewise.
16061         [POSIX] (_SC_BASE): Likewise.
16062         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16063         [POSIX] (_SC_DEVICE_IO): Likewise.
16064         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16065         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16066         [POSIX] (_SC_FD_MGMT): Likewise.
16067         [POSIX] (_SC_FIFO): Likewise.
16068         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16069         [POSIX] (_SC_FILE_LOCKING): Likewise.
16070         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16071         [POSIX] (_SC_IOV_MAX): Likewise.
16072         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16073         [POSIX] (_SC_NETWORKING): Likewise.
16074         [POSIX] (_SC_PAGE_SIZE): Likewise.
16075         [POSIX] (_SC_PASS_MAX): Likewise.
16076         [POSIX] (_SC_PIPE): Likewise.
16077         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16078         [POSIX] (_SC_REGEXP): Likewise.
16079         [POSIX] (_SC_SHELL): Likewise.
16080         [POSIX] (_SC_SIGNALS): Likewise.
16081         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16082         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16083         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16084         [POSIX] (_SC_USER_GROUPS): Likewise.
16085         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16086         [POSIX] (_SC_STREAMS): Likewise.
16087         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16088         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16089         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16090         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16091         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16092         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16093         [POSIX] (_PC_FILESIZEBITS): Likewise.
16094         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16095         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16096         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16097         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16098         [POSIX] (uid_t): Likewise.
16099         [POSIX] (gid_t): Likewise.
16100         [POSIX] (off_t): Likewise.
16101         [POSIX] (pid_t): Likewise.
16102         [POSIX] (cuserid): Allow.
16103         (_SC_2_CHAR_TERM): Require constant.
16104         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16105         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16106         variable.
16108 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16110         * sysdeps/nacl/pthread-pids.h: New file.
16111         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16112         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16114         * nptl/pthread-pids.h: New file.
16115         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16116         * nptl/nptl-init.c: Include <pthread-pids.h>.
16117         (__pthread_initialize_minimal_internal):
16118         Call __pthread_initialize_pids instead of set_tid_address syscall.
16120         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16121         * sysdeps/posix/usleep.c: ... here.
16123 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16125         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16126         call_pselect6 object.
16127         [$(subdir) = io]: Remove call_sync_file_range object.
16128         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16129         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16130         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16131         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16133 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16135         * math/s_cproj.c: Add include "math_private.h".
16136         * math/s_cprojf.c: Likewise.
16137         * math/s_cprojl.c: Likewise.
16139 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16141         [BZ #18244]
16142         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16143         high mantissa bit when testing whether P is a NaN.
16144         * math/libm-test.inc (remainder_test_data): Add more tests.
16145         (remquo_test_data): Likewise.
16147         [BZ #18049]
16148         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16149         below -32, return the argument, with underflow if subnormal.
16150         * math/auto-libm-test-in: Add more tests of atanh.
16151         * math/auto-libm-test-out: Regenerated.
16153 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16155         [BZ #18434]
16156         * nptl/tst-sem15.c: New file.
16157         * nptl/Makefile (tests): Add it.
16158         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16159         s/<</>>/ to fix typo in EOVERFLOW check.
16160         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16162 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16164         * manual/strings.texi (envz_remove): Fix typo in safety
16165         annotations.
16167 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16168             Steve Ellcey  <sellcey@imgtec.com>
16170         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16171         in order to avoid strict alias warnings.
16172         (iruserok_af): Ditto for ra.
16174 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16176         [BZ #17581]
16177         * malloc/hooks.c
16178         (magicbyte): Convert to a function and avoid returning 0x01.
16179         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16180         (mem2chunk_check): Fix unsigned comparisons to zero.
16181         Hoist defs of sz and magic.
16183 2015-05-19  Richard Henderson  <rth@redhat.com>
16185         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16187         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16189 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16191         [BZ #16159]
16192         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16193         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16194         (reused_arena): Find a non-corrupt arena.
16195         (heap_trim): Pass arena to unlink.
16196         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16197         malloc_printerr.
16198         (top_check): Likewise.
16199         (free_check): Likewise.
16200         (realloc_check): Likewise.
16201         * malloc/malloc.c (malloc_printerr): Add arena argument.
16202         (unlink): Likewise.
16203         (munmap_chunk): Adjust.
16204         (ARENA_CORRUPTION_BIT): New macro.
16205         (arena_is_corrupt): Likewise.
16206         (set_arena_corrupt): Likewise.
16207         (sysmalloc): Use mmap if there are no usable arenas.
16208         (_int_malloc): Likewise.
16209         (__libc_malloc): Don't fail if arena_get returns NULL.
16210         (_mid_memalign): Likewise.
16211         (__libc_calloc): Likewise.
16212         (__libc_realloc): Adjust for additional argument to
16213         malloc_printerr.
16214         (_int_free): Likewise.
16215         (malloc_consolidate): Likewise.
16216         (_int_realloc): Likewise.
16217         (_int_memalign): Don't touch corrupt arenas.
16218         * malloc/tst-malloc-backtrace.c: New test case.
16220         * Makefile (summarize-tests): Fix return value on success.
16222         * manual/string.texi (Envz Functions): Add envz_remove.
16224 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16226         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16227         (invalid_name): New function, broken out of ...
16228         (__opendirat): ... here.  Call it.
16229         (need_isdir_precheck): New function, broken out of ...
16230         (__opendirat): ... here.  Call it.
16231         Use __fxstatat64, not __xstatat64.
16232         (opendir_oflags): New function, broken out of ...
16233         (__opendirat): ... here.  Call it.
16234         (opendir_tail): New function, broken out of ...
16235         (__opendirat): ... here.  Call it.
16236         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16237         opendir_tail, rather than punting to __opendirat.
16238         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16240 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16242         * .gitignore: Ignore generated *.pyc.
16244 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16246         * include/stdio.h: Define __need_wint_t.
16247         * test-skeleton.c: Avoid `for' loop initial declaration.
16248         * nptl/tst-initializers1.c: Use test-skeleton.c.
16250 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16252         [BZ #18418]
16253         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16255 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16257         [BZ #16352]
16258         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16259         (__ieee754_atanh): Force underflow exception for results with
16260         small absolute value.
16261         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16262         (__ieee754_atanhf): Force underflow exception for results with
16263         small absolute value.
16264         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16265         (__ieee754_atanh): Force underflow exception for results with
16266         small absolute value.
16267         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16268         (__ieee754_atanhf): Force underflow exception for results with
16269         small absolute value.
16270         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16271         (__ieee754_atanhl): Force underflow exception for results with
16272         small absolute value.
16273         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16274         (__ieee754_atanhl): Force underflow exception for results with
16275         small absolute value.
16276         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16277         (__ieee754_atanhl): Force underflow exception for results with
16278         small absolute value.
16279         * math/auto-libm-test-in: Do not allow missing underflow
16280         exceptions from atanh.
16281         * math/auto-libm-test-out: Regenerated.
16283         [BZ #18221]
16284         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16285         2**-28 as threshold for returning x or +/- 1/x.
16286         * math/auto-libm-test-in: Add more tests of tan.
16287         * math/auto-libm-test-out: Regenerated.
16289         [BZ #18220]
16290         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16291         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16292         * math/auto-libm-test-in: Add another test of lgamma.
16293         * math/auto-libm-test-out: Regenerated.
16295 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16297         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16298         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16299         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16300         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16301         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16302         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16303         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16304         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16305         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16306         (log1): Use fabs.  (my_log2): Use fabs.
16307         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16308         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16309         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16310         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16311         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16312         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16313         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16314         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16315         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16316         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16317         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16319 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16321         [BZ #18217]
16322         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16323         as threshold for returning 1 - x.
16324         * math/auto-libm-test-in: Add more tests of erfc.
16325         * math/auto-libm-test-out: Regenerated.
16327 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16329         [BZ #18196]
16330         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16331         threshold for large arguments.
16332         * math/auto-libm-test-in: Add another test of atan.
16333         * math/auto-libm-test-out: Regenerated.
16335         [BZ #16339]
16336         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16337         (__log1p): Force underflow exception for results with small
16338         absolute value.
16339         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16340         (__log1pf): Force underflow exception for results with small
16341         absolute value.
16342         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16343         (__log1p): Force underflow exception for results with small
16344         absolute value.
16345         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16346         (__log1pf): Force underflow exception for results with small
16347         absolute value.
16348         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16349         (__log1pl): Force underflow exception for results with small
16350         absolute value.
16351         * math/auto-libm-test-in: Do not allow missing underflow
16352         exceptions from log1p.
16353         * math/auto-libm-test-out: Regenerated.
16355 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16356             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16358         [BZ #16704]
16359         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16361 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16363         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16364         (libmvec): New variable.
16365         * configure.ac: Added option for mathvec build.
16366         * configure: Regenerated.
16367         * mathvec/Depend: New file.
16368         * mathvec/Makefile: New file.
16369         * shlib-versions: Added libmvec.
16370         * math/Makefile: Added rule for libm.so installation.
16372         * bits/math-vector.h: New file.
16373         * bits/libm-simd-decl-stubs.h: New header.
16374         * math/Makefile (headers): Added new header
16375         libm-simd-decl-stubs.h.
16376         * math/math.h (__MATHCALL_VEC): New macro.
16378         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16379         for conditions in testing functions.
16380         * math/Makefile: Added call of libm-have-vector-test.sh.
16381         * math/libm-test.inc (HAVE_VECTOR): New macros.
16383         * math/libm-test.inc: START refactored.
16384         * math/test-double.c (TEST_MATHVEC): Add define.
16385         * math/test-float.c: Likewise.
16386         * math/test-idouble.c: Likewise.
16387         * math/test-ifloat.c: Likewise.
16388         * math/test-ildoubl.c: Likewise.
16389         * math/test-ldouble.c: Likewise.
16390         * sysdeps/generic/math-tests-arch.h
16391         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16392         architecture check.
16394         * math/test-double.c (FUNC_TEST): New macro.
16395         * math/test-float.c: Likewise.
16396         * math/test-idouble.c: Likewise.
16397         * math/test-ifloat.c: Likewise.
16398         * math/test-ildoubl.c: Likewise.
16399         * math/test-ldouble.c: Likewise.
16400         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16402 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16404         * sysdeps/nacl/fdopendir.c: New file.
16406         * dirent/scandir-tail.c: New file.
16407         * dirent/scandir64-tail.c: New file.
16408         * dirent/Makefile (routines): Add them.
16409         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16410         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16411         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16412         [!SCANDIR] (SCANDIR_TAIL): New macro.
16413         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16414         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16415         (SCANDIRAT): Macro removed.
16416         (SCANDIR_TAIL): New macro.
16417         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16418         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16419         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16420         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16421         (READDIR): Macro removed.
16422         (SCANDIR_TAIL): New macro.
16423         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16424         (SCANDIR_TAIL): New macro.
16426         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16427         * dirent/scandir-cancel.c: ... to this new file.
16428         * dirent/Makefile (routines): Add it.
16429         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16430         * sysdeps/unix/sysv/linux/i386/scandir64.c
16431         (SKIP_SCANDIR_CANCEL): Macro removed.
16432         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16434         * dirent/tst-scandir.c: New file.
16435         * dirent/tst-scandir64.c: New file.
16436         * dirent/Makefile (tests): Add them.
16438 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16440         [BZ #18409]
16441         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16443 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16445         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16446         list.
16448 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16450         * benchtests/bench-strcoll.c: New benchmark.
16451         * benchtests/Makefile: Generate locales and run benchmark.
16452         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16453         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16454         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16455         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16456         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16457         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16458         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16459         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16460         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16461         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16462         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16463         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16464         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16465         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16466         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16467         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16468         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16469         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16470         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16471         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16472         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16473         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16474         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16475         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16477 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16479         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16480         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16482 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16484         * posix/uname-values.h: New file.
16485         * posix/uname.c: Include that instead of <config-name.h>.
16486         * sysdeps/nacl/uname-values.h: New file.
16487         * sysdeps/arm/nacl/uname-values.h: New file.
16489 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16491         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16492         splitting into fields.
16494 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16496         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16497         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16498         * locale/localeinfo.h: Add enum collation_encoding_type.
16499         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16500         * programs/ld-collate.c (collate_output): Add encoding type info.
16501         * string/strcoll_l.c (STRDIFF): New function.
16502         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16503         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16505 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16507         [BZ #18397]
16508         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16509         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16510         <fpu_control.h> instead of <math/fpu_control.c>.
16511         * sysdeps/mips/mips32/fpu/Makefile: New file.
16513 2015-05-11  Andreas Schwab  <schwab@suse.de>
16515         [BZ #18007]
16516         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16517         nss_endgrent.
16518         (_nss_compat_endgrent): Call nss_endgrent.
16519         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16520         nss_endpwent.
16521         (_nss_compat_endpwent): Call nss_endpwent.
16522         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16523         needent, call nss_setspent only if non-zero.
16524         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16525         (internal_endspent): Don't call nss_endspent.
16526         (_nss_compat_endspent): Call nss_endspent.
16527         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16528         Remove.  All uses removed.
16529         (internal_setent): Remove parameter stayopen, add parameter
16530         stream.  Use it instead of global variable.
16531         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16532         (internal_endent, internal_getent): Add parameter stream.  Use it
16533         instead of global variable.
16534         (CONCAT(_nss_files_end,ENTNAME))
16535         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16536         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16537         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16538         uses removed.
16539         (internal_setent, internal_endent): Add parameter stream.  Use it
16540         instead of global variable.
16541         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16542         stream.
16543         (get_next_alias): Add parameter stream.
16544         (_nss_files_getaliasent_r): Pass global stream.
16545         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16546         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16547         (_nss_files_gethostbyname4_r): Pass local stream to
16548         internal_setent, internal_getent and internal_endent.  Remove
16549         locking.
16551 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16553         * tst-strfmon1.c (tests): Update expected currency symbol.
16555 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16557         * sysdeps/nacl/gethostname.c: New file.
16559 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16561         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16562         and sinh.
16563         * math/auto-libm-test-out: Regenerated.
16564         * sysdeps/i386/fpu/libm-test-ulps: Update.
16565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16567 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16569         [BZ #18125]
16570         * stdlib/tst-setcontext3.c: New file.
16571         * stdlib/tst-setcontext3.sh: New file.
16572         * stdlib/Makefile (tests): Add tst-setcontext3.
16573         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16574         to verify test program created output file.
16575         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16576         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16577         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16578         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16580 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16582         [BZ #18383]
16583         * elf/tst-tlsalign.c: New file.
16584         * elf/tst-tlsalign-static.c: New file.
16585         * elf/tst-tlsalign-lib.c: New file.
16586         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16587         (tests-static): Add tst-tlsalign-static.
16588         (modules-names): Add tst-tlsalign-lib.
16589         (test-xfail-tst-tlsalign): New variable.
16590         (test-xfail-tst-tlsalign-static): New variable.
16592         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16593         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16595 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16597         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16598         csqrt, erfc, sin and sincos.
16599         * math/auto-libm-test-out: Regenerated.
16600         * sysdeps/i386/fpu/libm-test-ulps: Update.
16601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16603 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16605         * sysdeps/aarch64/libm-test-ulps: Update.
16607 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16609         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16610         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16611         * math/auto-libm-test-out: Regenerated.
16612         * sysdeps/i386/fpu/libm-test-ulps: Update.
16613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16615 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16617         [BZ #18265]
16618         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16619         (wcsncpy): Likewise.
16621 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16623         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16624         Assume __ASSUME_FALLOCATE is always true.
16625         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16626         (__posix_fallocate64_l64): Likweise.
16627         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16628         (posix_fallocate): Likewise.
16629         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16630         (__posix_fallocate64_l64): Likewise.
16631         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16632         [!__ASSUME_FALLOCATE]: Add comment.
16634 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16636         * sysdeps/unix/sysv/linux/i386/Makefile
16637         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16638         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16639         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16640         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16641         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16642         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16643         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16645 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16647         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16648         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16649         tgamma.
16650         * math/auto-libm-test-out: Regenerated.
16651         * sysdeps/i386/fpu/libm-test-ulps: Update.
16652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16654 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16656         * math/auto-libm-test-in: Add more tests of tgamma.
16657         * math/auto-libm-test-out: Regenerated.
16658         * sysdeps/i386/fpu/libm-test-ulps: Update.
16659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16661         * math/auto-libm-test-in: Add more tests of tanh.
16662         * math/auto-libm-test-out: Regenerated.
16663         * sysdeps/i386/fpu/libm-test-ulps: Update.
16664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16666         * math/auto-libm-test-in: Add more tests of tan.
16667         * math/auto-libm-test-out: Regenerated.
16668         * sysdeps/i386/fpu/libm-test-ulps: Update.
16669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16671         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16672         * math/auto-libm-test-out: Regenerated.
16673         * sysdeps/i386/fpu/libm-test-ulps: Update.
16674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16676         * math/auto-libm-test-in: Add another test of pow.
16677         * math/auto-libm-test-out: Regenerated.
16678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16680         * math/auto-libm-test-in: Add more tests of lgamma.
16681         * math/auto-libm-test-out: Regenerated.
16682         * sysdeps/i386/fpu/libm-test-ulps: Update.
16683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16685         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16686         log1p.
16687         * math/auto-libm-test-out: Regenerated.
16688         * sysdeps/i386/fpu/libm-test-ulps: Update.
16689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16691 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16693         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16694         Elf64_Chdr structs and ELFCOMPRESS constants.
16696 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16698         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16699         expm1.
16700         * math/auto-libm-test-out: Regenerated.
16701         * sysdeps/i386/fpu/libm-test-ulps: Update.
16702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16704         * math/auto-libm-test-in: Add more tests of erf and erfc.
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  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16711         * config.h.in (HAVE_AARCH64_BE): Add.
16713 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16715         * math/auto-libm-test-in: Add more tests of csqrt.
16716         * math/auto-libm-test-out: Regenerated.
16717         * sysdeps/i386/fpu/libm-test-ulps: Update.
16718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16720         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16721         * math/auto-libm-test-out: Regenerated.
16722         * sysdeps/i386/fpu/libm-test-ulps: Update.
16723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16725         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16727 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16729         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16730         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16732         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16733         (euidaccess, eaccess): Define as weak aliases.
16735         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16736         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16737         but __suseconds_t is often 'long int' so some sources assume that
16738         type is being used (e.g. they use %ld to print tv_usec).
16740 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16742         [BZ #18007]
16743         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16744         (CVE-2014-8121)
16745         * nss/tst-nss-getpwent.c: New file.
16746         * nss/Makefile (tests): Add new test.
16748 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16750         [BZ #18346]
16751         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16752         exponents less than 48 as cases where high part of mantissa needs
16753         examining to determine whether argument is integral.
16754         * math/libm-test.inc (round_test_data): Add more tests.
16756 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16758         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16760 2015-04-27  David S. Miller  <davem@davemloft.net>
16762         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16763         __tls_get_addr.
16764         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16766 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16768         [BZ#18333]
16769         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16771 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16773         [BZ#18333]
16774         * time/tzset.c (parse_tzname): Return error on memory allocation
16775         failure.
16776         * test-skeleton.c (struct temp_name_list): Change type of name
16777         member to non-const.
16778         (add_temp_file): Create a copy of the file name.
16779         (delete_temp_files): Deallocate memory.
16780         (create_temp_file): Add comment.
16782 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16784         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16785         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16787 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16789         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16790         * sysdeps/arm/configure: Regenerated.
16792 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16794         [BZ #17715]
16795         * time/tzfile.c (__tzfile_read): Check for large values of
16796         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16797         * time/tzset.c (__tzstring_len): New function, based on the old
16798         __tzstring function.
16799         (__tzstring): Call __tzstring_len.
16800         (parse_tzname): New helper function extracted from
16801         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16802         the input string.
16803         (parse_offset): New helper function extracted from
16804         __tzset_parse_tz.  Replace switch with fallthrough with
16805         initialization before sscanf.
16806         (parse_rule): Likewise.
16807         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16808         new-style function definition.
16809         * timezone/Makefile (tests): Add tst-tzset.
16810         (tst-tzset.out): Dependencies on time zone files.
16811         (tst-tzset-ENV): Set TZDIR.
16812         (testdata/XT%): Copy crafted time zone files.
16813         * timezone/README: Mention crafted time zone files.
16814         * timezone/testdata/XT1, timezone/testdata/XT2,
16815         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16816         files.
16817         * timezone/tst-tzset.c: New test.
16819 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16821         * Makeconfig (+gccwarn): Remove -Winline.
16823 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16825         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16827 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16829         * NEWS: Mention sysconf() cache information support for s390.
16830         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16832 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16834         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16835         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16836         (__nearbyint): Likewise.
16837         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16838         (copysignl): Likewise.
16840 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16842         [BZ #18287]
16843         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16844         based on padding.  (CVE-2015-1781)
16846 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16848         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16849         libc-vdso.h.
16850         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16851         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16852         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16853         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16854         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16855         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16856         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16858         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16859         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16860         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16861         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16862         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16863         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16864         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16865         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16866         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16867         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16868         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16869         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16870         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16871         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16872         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16874 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16876         * stdlib/setenv.c (__add_to_environ):
16877         Dump core quickly if setenv (..., NULL, ...) is called.
16878         This time, do it the right way, and pacify GCC with a pragma.
16880 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16882         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16883         IMAP->l_prev cannot be null, and #if out the code for the contrary
16884         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16885         believe that NS (&_dl_ns[NSID]) could point outside the array.
16887         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16888         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16889         before using NSID as an index.
16891 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16893         [BZ #17825]
16894         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16895         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16896         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16898 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16900         Add preliminary port to Google Native Client on ARM.
16901         * abi-tags (.*-.*-nacl.*): New entry.
16902         * sysdeps/arm/nacl: New directory.
16903         * sysdeps/nacl: New directory.
16905 2015-04-16  David S. Miller  <davem@davemloft.net>
16907         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16908         lowlevellock-futex.h
16910 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16912         * sysdeps/tile/configure.ac: New file.
16913         * sysdeps/tile/configure: Regenerated.
16915 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16917         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16918         conditionals for weak_alias and libc_hidden_weak.
16919         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16920         libc_hidden_weak and weak_alias.
16921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16922         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16923         and weak_alias for static one.
16925 2015-04-15  David S. Miller  <davem@davemloft.net>
16927         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16929 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16931         [BZ #18206]
16932         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16933           Use signed comparision instead of substraction to avoid
16934           overflow bug.
16935         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16936           Take the sign of ret.
16937         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16938           Do not expect precise return values. Only the sign matters.
16939         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16940         * wcsmbs/test-wcsncmp.c: New File.
16941         * string/test-strncmp.c: Add wcsncmp support.
16943 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16945         [BZ #6792]
16946         * math/w_log1p.c: New file.
16947         * math/w_log1pf.c: Likewise.
16948         * math/w_log1pl.c: Likewise.
16949         * math/Makefile (libm-calls): Add w_log1p.
16950         * math/s_log1pl.c (log1pl): Remove weak_alias.
16951         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16952         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16953         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16954         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16955         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16956         [NO_LONG_DOUBLE] (log1pl): Likewise.
16957         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16958         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16959         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16960         (log1p): Remove long_double_symbol.
16961         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16962         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16963         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16964         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16965         remove weak_alias for corresponding log1p function.
16966         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16967         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16968         * sysdeps/ia64/fpu/w_log1p.c: New file.
16969         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16970         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16971         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16973 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16975         [BZ #18247]
16976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16977         decimal exponent by 1.
16978         * stdlib/tst-strtod-round-data: Add more tests.
16979         * stdlib/tst-strtod-round.c (tests): Regenerated.
16981 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16983         * math/auto-libm-test-in: Add more tests of clog and clog10.
16984         * math/auto-libm-test-out: Regenerated.
16985         * sysdeps/i386/fpu/libm-test-ulps: Update.
16986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16988 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16990         * Makeconfig (module-cppflags): Exclude all .v.i files.
16991         (skip-module-cppflags): Variable removed.
16993         * configure.ac (libc_config_ok): Initialize before reading
16994         preconfigure scripts, not after.
16995         * configure: Regenerated.
16997         * test-skeleton.c (TIMEOUT): Move #define to top level.
16998         (main): Grok environment variable TEST_DIRECT.  If set, print
16999         test expectation details into that file and then behave as if
17000         given --direct.
17002 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17004         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17005         warning on 32-bit.
17007 2015-04-08  David S. Miller  <davem@davemloft.net>
17009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17011 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17013         * math/auto-libm-test-in: Add more tests of atanh.
17014         * math/auto-libm-test-out: Regenerated.
17015         * sysdeps/i386/fpu/libm-test-ulps: Update.
17016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17018         * math/auto-libm-test-in: Add more tests of atan.
17019         * math/auto-libm-test-out: Regenerated.
17020         * sysdeps/i386/fpu/libm-test-ulps: Update.
17021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17023 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17025         * elf/pldd.c (main): Rewrite to use struct
17026         scratch_buffer instead of extend_alloca.
17027         * elf/pldd-xx.c (find_maps): Likewise.
17028         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17029         <alloca.h>.
17030         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17031         scratch_buffer instead of extend_alloca.
17032         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17033         grp/compat-initgroups.c.
17034         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17035         Rewrite to use struct scratch_buffer instead of extend_alloca.
17036         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17037         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17039 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17041         * math/auto-libm-test-in: Add more tests of cbrt.
17042         * math/auto-libm-test-out: Regenerated.
17043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17045         * math/auto-libm-test-in: Add more tests of cabs.
17046         * math/auto-libm-test-out: Regenerated.
17047         * sysdeps/i386/fpu/libm-test-ulps: Update.
17048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17050         [BZ #18210]
17051         [BZ #18211]
17052         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17053         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17054         computations.
17055         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17056         clog10.
17057         * math/auto-libm-test-out: Regenerated.
17058         * sysdeps/i386/fpu/libm-test-ulps: Update.
17059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17061         [BZ #18197]
17062         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17063         (atan): Set FE_TONEAREST mode for internal computations.
17064         * math/auto-libm-test-in: Add more tests of atan.
17065         * math/auto-libm-test-out: Regenerated.
17067 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17069         [BZ #17930]
17070         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17072 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17074         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17076 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17078         * include/scratch_buffer.h: New file.
17079         * malloc/scratch_buffer_grow.c: Likewise.
17080         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17081         * malloc/scratch_buffer_set_array_size.c: Likewise.
17082         * malloc/tst-scratch_buffer.c: Likewise.
17083         * malloc/Makefile (routines): Add scratch_buffer_grow.
17084         (tests): Add test case.
17085         * malloc/Versions (GLIBC_PRIVATE): Export
17086         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17087         __libc_scratch_buffer_set_array_size.
17089 2015-04-06  Richard Henderson  <rth@redhat.com>
17091         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17092         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17094         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17095         unsigned int before printing.
17097 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17099         [BZ #17596]
17100         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17101         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17103 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17105         * include/libc-internal.h (libc_max_align_t): Define.
17107 2015-04-02  Andreas Schwab  <schwab@suse.de>
17109         [BZ #16850]
17110         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17112 2015-04-02  Mel Gorman  <mgorman@suse.de>
17114         [BZ #17195]
17115         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17116         as well as the main arena.
17118 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17120         [BZ #18185]
17121         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17122         sharing L2 cache to 2 for Silvermont/Knights Landing.
17124 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17126         [BZ #17711]
17127         * config.make.in (have-protected-data): New.
17128         * configure.ac: Check linker support for protected data symbol.
17129         * configure: Regenerated.
17130         * elf/Makefile (modules-names): Add tst-protected1moda and
17131         tst-protected1modb if $(have-protected-data) is yes.
17132         (tests): Add tst-protected1a and tst-protected1b if
17133         $(have-protected-data) is yes.
17134         ($(objpfx)tst-protected1a): New.
17135         ($(objpfx)tst-protected1b): Likewise.
17136         (tst-protected1modb.so-no-z-defs): Likewise.
17137         * elf/tst-protected1a.c: New file.
17138         * elf/tst-protected1b.c: Likewise.
17139         * elf/tst-protected1mod.h: Likewise.
17140         * elf/tst-protected1moda.c: Likewise.
17141         * elf/tst-protected1modb.c: Likewise.
17143 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17145         [BZ #17711]
17146         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17147         indicates it is called from do_lookup_x on relocation against
17148         protected data, skip the data definion in the executable from
17149         copy reloc.
17150         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17151         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17152         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17153         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17154         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17155         otherwise to 0.
17156         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17157         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17158         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17159         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17160         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17161         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17163 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17165         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17166         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17168 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17170         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17171         THREAD_SETMEM_NC.
17172         * sysdeps/x86_64/nptl/tls.h: Ditto.
17174 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17176         * dlfcn/tststatic.c (main): Converted to ...
17177         (do_test): ... this.
17178         (TEST_FUNCTION): New macro.
17179         Include test-skeleton.c.
17181 2015-03-26  Alan Modra  <amodra@gmail.com>
17183         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17184         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17185         zero for undefined weak.
17186         (elf_machine_plt_conflict): Similarly.
17188 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17190         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17191         atanh.
17192         * math/auto-libm-test-out: Regenerated.
17193         * sysdeps/i386/fpu/libm-test-ulps: Update.
17194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17196         * math/auto-libm-test-in: Add another test of asin.
17197         * math/auto-libm-test-out: Regenerated.
17198         * sysdeps/i386/fpu/libm-test-ulps: Update.
17199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17201         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17202         Remove macro.
17203         (LLL_EBX_REG): Likewise.
17204         (LLL_ENTER_KERNEL): Likewise.
17206         * math/auto-libm-test-in: Add more tests of asin.
17207         * math/auto-libm-test-out: Regenerated.
17208         * sysdeps/i386/fpu/libm-test-ulps: Update.
17209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17211         [BZ #18138]
17212         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17213         libc_do_syscall_args): New structure.
17214         (INTERNAL_SYSCALL_MAIN_0): New macro.
17215         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17216         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17217         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17218         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17219         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17220         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17221         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17222         Replace conditional definitions by conditional definitions of ....
17223         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17224         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17225         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17226         (libpthread-sysdep_routines): Add libc-do-syscall.
17227         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17228         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17229         to __NR_futex not 240.
17231 2015-03-25  Alan Modra  <amodra@gmail.com>
17233         * NEWS: Advertise TLS optimization.
17234         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17235         (DT_PPC_NUM): Increment.
17236         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17237         (CHECK_STATIC_TLS): Use here.
17238         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17239         TLS descriptors.
17240         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17241         * sysdeps/powerpc/dl-tls.c: New file.
17242         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17243         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17244         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17245         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17250 2015-03-25  Alan Modra  <amodra@gmail.com>
17252         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17253         for overlapping .opd entries" to "support...".
17254         * sysdeps/powerpc/powerpc64/configure: Regenerate
17256 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17258         * math/auto-libm-test-in: Add more tests of acos.
17259         * math/auto-libm-test-out: Regenerated.
17260         * sysdeps/i386/fpu/libm-test-ulps: Update.
17261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17263         * math/auto-libm-test-in: Add more tests of expm1.
17264         * math/auto-libm-test-out: Regenerated.
17265         * sysdeps/i386/fpu/libm-test-ulps: Update.
17266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17268 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17270         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17271         * math/auto-libm-test-out: Regenerated.
17272         * sysdeps/i386/fpu/libm-test-ulps: Update.
17273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17275         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17278         * math/auto-libm-test-in: Add more tests of log2.
17279         * math/auto-libm-test-out: Regenerated.
17280         * sysdeps/i386/fpu/libm-test-ulps: Update.
17281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17283 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17285         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17286         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17287         _IO_IS_APPENDING bit in READ_WRITE instead.
17289 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17291         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17292         (__determine_cpumask_size): Replace extend_alloca with a
17293         variable-length array.  Do not treat res == 0 as an error.
17295 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17297         [BZ #18100]
17298         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17299         and integer overflow.
17300         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17301         (main): Add integer overflow tests.
17302         * manual/pattern.texi (Calling Wordexp): Document additional use
17303         for WRDE_SYNTAX.
17305 2015-03-23  Alan Modra  <amodra@gmail.com>
17307         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17308         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17309         and false branch of conditional.
17310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17311         Likewise.
17313 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17315         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17316         libc-modules.h
17317         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17318         unused declaration of _hurd_intr_rpc_msg_in_trap.
17319         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17320         defined instead of whether it is non-zero.
17321         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17322         input constraint instead of both input and output constraint.  Use ecx
17323         clobber instead of %ecx.
17324         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17325         mutex_unlock): Use a statement expression instead of an expression list.
17326         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17327         type to vm_size_t instead of vm_address_t.
17328         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17329         defined instead of whether it is non-zero.
17330         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17331         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17332         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17333         comparisons with mapaddr.
17334         * nscd/nscd-client.h: Include <time.h>.
17335         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17336         9th parameter to __vm_region instead of int.
17337         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17338         * scripts/check-local-headers.sh (exclude): Add device/,
17339         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17340         cthreads.h.
17342 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17344         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17345         to account for alignment padding.
17346         * sysdeps/arm/memmove.S: Likewise.
17348 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17350         * sysdeps/unix/sysv/linux/generic/README: New file.
17352 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17354         [BZ #18138]
17355         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17356         (futex_abstimed_wait)
17357         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17358         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17359         of lll_futex_timed_wait.
17361 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17363         [BZ #17542]
17364         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17366 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17368         [BZ #17090]
17369         [BZ #17620]
17370         [BZ #17621]
17371         [BZ #17628]
17372         * NEWS: Update.
17373         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17374         entries with Static TLS too.  Skip entries past the end of the
17375         allocated DTV, from Alan Modra.
17376         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17377         Static TLS DTV entry set up from...
17378         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17379         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17380         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17381         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17382         for Static TLS.
17383         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17384         that the slot we find is associated with the given map before
17385         using its generation count.
17386         * nptl_db/db_info.c: Include ldsodefs.h.
17387         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17388         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17389         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17390         (link_map::l_tls_offset): New struct field.
17391         (dtv_t::counter): Likewise.
17392         (rtld_global): New struct.
17393         (_rtld_global): New rtld variable.
17394         (dl_tls_dtv_slotinfo_list): New rtld global field.
17395         (dtv_slotinfo_list): New struct.
17396         (dtv_slotinfo): Likewise.
17397         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17398         (td_lookup): Rename to...
17399         (td_mod_lookup): ... this.  Use new mod parameter instead of
17400         LIBPTHREAD_SO.
17401         * nptl_db/td_thr_tlsbase.c: Include link.h.
17402         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17403         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17404         addresses even if the DTV is out of date or missing them.
17405         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17406         index zero-length arrays.
17407         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17408         (td_lookup): Make it a macro implemented in terms of...
17409         (td_mod_lookup): ... this declaration.
17410         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17411         (DB_MAIN_VARIABLE): Likewise.
17413 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17415         [BZ #18134]
17416         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17418 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17420         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17422 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17424         [BZ #18128]
17425         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17426         (atomic_add, atomic_increment_and_test)
17427         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17429 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17431         * stdlib/setenv.c (__add_to_environ):
17432         Dump core quickly if setenv (..., NULL, ...) is called.
17434 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17436         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17437         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17438         all the necessary asm magic in one place.
17439         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17440         using those.
17442 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17444         [BZ #14906]
17445         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17446         traced file mtime. Use consistent log message.
17447         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17448         (register_traced_file): Call install_watches. Always set mtime.
17449         (invalidate_cache): Iterate over all trace files. Call install_watches.
17450         (inotify_check_files): Don't inline. Handle watching parent
17451         directories and configuration file movement in and out.
17452         (handle_inotify_events): New function.
17453         (main_loop_poll): Call handle_inotify_events.
17454         (main_loop_epoll): Likewise.
17455         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17456         (struct traced_file): Use array of inotify fds. Add parent directory,
17457         and basename.
17458         (struct database_dyn): Remove unused file_mtime.
17459         (init_traced_file): New inline function.
17460         (define_traced_file): New macro.
17461         * nss/nss_db/db-init.c: Use define_traced_file.
17462         (_nss_db_init): Use init_traced_file.
17463         * nss/nss_files/files-init.c: Use define_traced_file.
17464         (_nss_files_init): Use init_traced_file.
17466 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17468         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17469         [_LIBC]: Do not include <stdlib.h>.
17470         [!_LIBC] (abort): Remove declaration.
17471         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17472         _FP_STATIC_ASSERT instead of conditionally calling abort.
17473         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17474         (_FP_EXTEND_CNAN): Likewise.
17475         (FP_TRUNC): Likewise.
17476         (__FP_CLZ): Likewise.
17477         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17479 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17481         * manual/string.texi (XPG basename): Fix prototype.
17483 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17485         [BZ #18080]
17486         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17487         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17488         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17489         (__setcontext): Likewise.
17490         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17491         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17492         Call rt_sigprocmask syscall one time to set new signal mask
17493         and retrieve the current signal mask instead of two calls.
17494         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17495         (__swapcontext): Likewise.
17496         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17497         * stdlib/tst-setcontext2.c: New file.
17499 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17501         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17503 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17505         [BZ #18093]
17506         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17507         the wrong size.
17509 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17511         [BZ #18043]
17512         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17514 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17516         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17517         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17518         Remove define.
17519         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17520         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17521         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17522         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17523         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17524         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17525         define.
17526         * nptl_db/td_symbol_list.c (td_lookup): Remove
17527         HAVE_ASM_GLOBAL_DOT_NAME code.
17528         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17529         HAVE_ASM_GLOBAL_DOT_NAME check.
17530         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17531         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17532         (DOT_LABEL): Remove define.
17533         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17534         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17535         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17536         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17537         (__TLS_GET_ADDR): Likewise.
17538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17539         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17541 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17543         [BZ #18111]
17544         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17545         (_FPU_SETCW): Initialize cw from fpsr before storing.
17546         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17547         (fesetexceptflag): Rewrite using fpu_control.h.
17548         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17550 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17552         [BZ #18110]
17553         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17554         asms.
17555         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17557 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17559         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17560         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17561         abort.
17562         (_FP_FMA): Likewise.
17563         (_FP_DIV): Likewise.
17565 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17567         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17568         with 0 in that case.
17569         * Makefile (summarize-tests): New canned sequence, factored out of
17570         commands for targets tests and xtests.  Display summary lines that
17571         don't start with PASS: or XFAIL: rather than ones that do start with
17572         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17573         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17574         do start with ERROR: or FAIL:.
17575         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17576         (except for [$(build-shared) = yes]).
17577         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17578         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17579         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17580         * nptl/Makefile: Revert 2015-03-04 changes.
17581         [$(CXX) empty] (tests-unsupported): New variable.
17582         * debug/Makefile: Likewise.
17584         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17585         gnulib file.  Replace __attribute with __attribute__ throughout.
17587 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17589         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17591 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17593         [BZ #18104]
17594         * math/auto-libm-test-in: Add another test of pow.
17595         * math/auto-libm-test-out: Regenerated.
17597 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17599         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17600         $(config-cflags-nofma).
17602 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17604         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17605         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17606         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17607         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17608         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17609         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17610         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17611         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17612         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17613         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17614         Add comment on closing #endif.
17616 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17618         * posix/wordexp.c (CHAR_IN_SET): New macro.
17619         (parse_param): Use it.
17621 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17623         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17625 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17627         [BZ #18043]
17628         * posix/wordexp.c (parse_param): Fix buffer overflow.
17629         * posix/wordexp-test.c (test_case): Add test case.
17631 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17633         [BZ #18042]
17634         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17635         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17637 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17639         [BZ #18043]
17640         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17641         (do_bz18043): Delete.
17642         (at_page_end): New.
17643         (testit): Refactor to have words at the edge of unreadable page.
17645 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17647         [BZ #16734]
17648         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17649         Cleanup read-only streams as well.
17650         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17652 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17654         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17655         <bits/libc-lockP.h>
17657 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17659         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17660         on [__KERNEL__].
17661         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17662         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17663         * soft-fp/op-common.h (_FP_DECL): Likewise.
17665 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17667         * elf/ifuncdep2.c (global): Replace
17668         __attribute__((visibility("protected"))) with
17669         asm (".protected global").
17670         * elf/ifuncmod1.c (global): Likewise.
17671         * elf/ifuncmod5.c (global): Likewise.
17673 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17675         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17676         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17678 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17680         * manual/install.texi (Configuring and compiling):
17681         Document test-wrapper-env-only.
17682         * INSTALL: Regenerated.
17684 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17686         [BZ #18043]
17687         * posix/wordexp.c (parse_param): Fix buffer overflow.
17688         * posix/wordexp-test.c (do_bz18043): Add test case.
17690 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17692         * time/tst-strptime2.c (do_test): Ensure failing tests are
17693         reported correctly.
17694         * time/tst-strptime3.c (do_test): Likewise.
17696 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17698         Fix aio_error thread-safety.
17699         * sysdeps/pthread/aio_error.c: New file
17700         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17701         synchronization.
17703 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17705         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17706         (group_number, vfprintf): Use it.
17707         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17708         (JUMP, REF): Use it.
17709         (WORK_BUFFER_SIZE): New enum constant.
17710         (process_arg, vfprintf): Use it.
17712 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17714         * manual/errno.texi (Error Messages): Complete example function
17715         by adding missing #define.
17716         (program_invocation_name): Add statement indicating GNU
17717         extension and reference which header file declares the variable.
17718         (program_invocation_short_name): Likewise.
17720 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17722         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17723         compatibility note.
17725 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17727         * Makeconfig (test-wrapper-env-only): New variable.
17728         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17729         then use that with $(test-wrapper-env-only) rather than using
17730         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17732 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17734         [BZ #18082]
17735         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17736         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17737         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17738         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17739         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17740         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17741         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17742         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17743         Likewise.
17744         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17745         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17746         Likewise.
17747         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17748         Likewise.
17749         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17750         Likewise.
17751         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17752         Likewise.
17753         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17754         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17755         Likewise.
17756         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17757         Likewise.
17758         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17759         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17761 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17763         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17764         (ETH_ALEN): New macro.
17765         (struct ether_addr): Use it for length of ether_addr_octet.
17767         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17768         (setdb): Don't call __nss_configure_lookup for "rpc".
17769         (do_test): Don't call test_rpc.
17770         (output_rpcent, test_rpc): Functions moved ...
17771         * sunrpc/test-rpcent.c: ... to this new file.
17772         * sunrpc/Makefile (tests): Add it.
17774         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17775         __xpg_sigpause.
17776         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17777         * nptl/tst-signal6.c: Likewise.
17778         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17779         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17781         * configure.ac (libc_cv_cxx_link_ok): New check.
17782         Reset CXX to empty if it fails to link.
17783         * configure: Regenerated.
17784         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17785         bug-atexit3-lib only if $(CXX) is nonempty.
17786         * nptl/Makefile (tests): Likewise for tst-cancel24.
17787         (tests, tests-static): Likewise for tst-cancel24-static.
17788         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17789         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17790         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17791         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17793 2015-03-04  Andreas Schwab  <schwab@suse.de>
17795         [BZ #17631]
17796         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17797         for non-GCC compilers.
17798         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17799         Likewise.
17801 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17803         [BZ #17776]
17804         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17805         integer before bitwise and assembly operations.
17806         (feclearexcept): Likewise.
17807         * math/test-fenvinline.c: New file.
17808         * math/Makefile: Add test-fenvinline test.
17810 2015-03-03  Alan Modra  <amodra@gmail.com>
17812         [BZ #16512]
17813         * scripts/localplt.awk: Strip off symbol version.
17814         * NEWS: Mention bug fix.
17816 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17818         * sysdeps/pthread/timer_routines.c
17819         (timer_free_list, thread_free_list, thread_active_list): Make static.
17821 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17823         [BZ #17779]
17824         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17825         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17826         Undefine.
17827         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17828         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17829         Likewise.
17830         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17831         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17832         Likewise.
17834 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17836         [BZ #18036]
17837         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17838         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17840 2015-03-02  Andreas Schwab  <schwab@suse.de>
17842         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17843         variable name.
17845 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17847         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17848         Return error status.
17850 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17852         [BZ #15969]
17853         * locale/findlocale.c (_nl_find_locale): Introduce const
17854         version of loc_name and drop unsafe type casts.
17856 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17858         * dlfcn/tststatic2.c (main): Converted to ...
17859         (do_test): ... this.
17860         (TEST_FUNCTION): New macro.
17861         Include test-skeleton.c.
17863 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17865         [BZ #17711]
17866         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17867         (tests-pie): Add vismain.
17868         (CFLAGS-vismain.c): New.
17869         * elf/vismain.c: Add comments for PIE requirement.
17871 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17873         [BZ #18046]
17874         [BZ #18047]
17875         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17876         0x1p-56L as threshold for just returning the argument.
17877         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17878         0x1p-32L as threshold for just returning the argument.
17879         * math/auto-libm-test-in: Add more tests of atanh.
17880         * math/auto-libm-test-out: Regenerated.
17881         * sysdeps/i386/fpu/libm-test-ulps: Update.
17882         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17884 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17886         * string/bcopy.c (bcopy): Call memmove for performance.
17888 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17890         * string/bzero.c (__bzero): Call memset for performance.
17892 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17894         [BZ #18068]
17895         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17896         to 00100000.
17898 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17900         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17902 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17904         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17905         (__kernel_standard): Use CSTR macro when setting exc.name.
17906         * sysdeps/ieee754/Makefile [$(subdir) = math]
17907         (CFLAGS-k_standard.c): Remove variable.
17909         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17910         setting p and q from "else if" to "else".
17911         (qzero): Likewise.
17912         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17913         (qone): Likewise.
17914         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17915         (qzerof): Likewise.
17916         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17917         (qonef): Likewise.
17918         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17919         (qzero): Likewise.
17920         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17921         (qone): Likewise.
17923         [BZ #18038]
17924         [BZ #18039]
17925         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17926         return pi/2 for arguments below 0x1p-113L.
17927         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17928         return pi/2 for arguments below 0x1p-106L.
17929         * math/auto-libm-test-in: Add more tests of acos.
17930         * math/auto-libm-test-out: Regenerated.
17932         [BZ #16351]
17933         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17934         (MO): New macro.
17935         (__ieee754_asin): Force underflow exception for results with small
17936         absolute value.
17937         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17938         (MO): New macro.
17939         (__ieee754_asinf): Force underflow exception for results with
17940         small absolute value.
17941         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17942         (__ieee754_asin): Force underflow exception for results with small
17943         absolute value.
17944         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17945         (__ieee754_asinf): Force underflow exception for results with
17946         small absolute value.
17947         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17948         (__ieee754_asinl): Force underflow exception for results with
17949         small absolute value.
17950         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17951         (__ieee754_asinl): Force underflow exception for results with
17952         small absolute value.
17953         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17954         (__ieee754_asinl): Force underflow exception for results with
17955         small absolute value.
17956         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17957         Include <math.h>.
17958         * math/auto-libm-test-in: Do not mark underflow exceptions as
17959         possibly missing for bug 16351.
17960         * math/auto-libm-test-out: Regenerated.
17962         [BZ #18030]
17963         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17964         of power of 2 down when low part has opposite sign.
17965         * math/libm-test.inc (logb_test_data): Add more tests.
17967 2015-02-26  Andreas Schwab  <schwab@suse.de>
17969         [BZ #18032]
17970         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17971         over collating symbol inside a bracket expression.  Minor cleanup.
17972         * posix/tst-fnmatch3.c (do_test): Add test case.
17974 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17976         [BZ #18029]
17977         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17978         Adjust exponent of power of 2 down when low part has opposite
17979         sign.
17980         * math/libm-test.inc (ilogb_test_data): Add more tests.
17982 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17984         [BZ #15969]
17985         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17986         the previous change.
17988         [BZ #15969]
17989         * locale/findlocale.c (_nl_find_locale): Retry archive search
17990         after alias expansion.
17992 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17994         * iconv/tst-iconv3.c (main): Converted to ...
17995         (do_test): ... this.
17996         (TEST_FUNCTION): New macro.
17997         Include test-skeleton.c.
17999         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18000         (convert): Make function static.
18001         (test_unalign): Likewise.  Add const to argument pointee types.
18002         (main): Replace with static function do_test.
18003         Print "Succeeded." only if RET is zero.
18004         (TEST_FUNCTION): New macro.
18005         Include test-skeleton.c.
18007         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18008         returns a null pointer.
18010 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18012         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18013         to __memcpy_ppc only for static builds.
18015 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18017         [BZ #18020]
18018         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18019         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18020         * math/auto-libm-test-in: Add more tests of asinh.
18021         * math/auto-libm-test-out: Regenerated.
18022         * sysdeps/i386/fpu/libm-test-ulps: Update.
18023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18025 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18027         [BZ #15850]
18028         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18029         and ip6_mtuinfo definitions here.
18030         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18031         in this define too.  Update comment.
18033 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18035         * elf/sprof.c (load_shobj): Tweak error message to match others.
18037 2015-02-24  Kevin Easton  <kevin@guarana.org>
18039         [BZ #16145] (partial fix)
18040         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18041         to reduce lock contention.
18043 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18045         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18046         (struct timex): Update time comment.
18047         (ADJ_SETOFFSET): Define.
18049 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18051         [BZ #18019]
18052         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18053         2**56 not 2**28 as threshold for log (2x) formula.
18054         * math/auto-libm-test-in: Add more tests of acosh.
18055         * math/auto-libm-test-out: Regenerated.
18056         * sysdeps/i386/fpu/libm-test-ulps: Update.
18057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18059 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18061         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18062         parenthesis around the buf assignment.
18063         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18065 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18067         [BZ #16783]
18068         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18069         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18070         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18071         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18072         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18073         * math/libm-test.inc (scalb_test_data): Add more tests.
18075 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18077         [BZ #17916]
18078         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18079         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18081 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18083         [BZ #17523]
18084         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18085         * io/bits/fcntl2.h (open): Use it.
18086         (openat): Likewise.
18087         * io/open.c (__libc_open): Likewise.
18088         * io/open64.c (__libc_open64): Likewise.
18089         * io/open64_2.c (__open64_2): Likewise.
18090         * io/open_2.c (__open_2): Likewise.
18091         * io/openat.c (__openat): Likewise.
18092         * io/openat64.c (__openat64): Likewise.
18093         * io/openat64_2.c (__openat64_2): Likewise.
18094         * io/openat_2.c (__openat_2): Likewise.
18095         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18096         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18097         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18098         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18099         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18100         (__open_nocancel): Likewise.
18101         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18102         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18103         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18105 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18107         [BZ #14841]
18108         * resolv/gethnamaddr.c (getanswer): Skip logging if
18109         RES_USE_DNSSEC is set.
18110         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18112 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18114         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18116 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18118         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18119         201304L, for Unicode 7.
18121 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18123         [BZ #17836]
18124         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18125         shared library.  Add gmon-start.os otherwise.
18126         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18127         $(objpfx)gmon-start.os if builing shared library.
18128         ($(objpfx)g$(static-start-installed-name)): Likewise.
18130 2015-02-23  Andreas Schwab  <schwab@suse.de>
18132         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18134 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18136         [BZ #17269]
18137         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18138         (enlarge_userbuf): Likewise.
18140 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18142         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18143         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18144         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18145         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18147 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18149         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18150         expression inside statement expression.
18152 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18154         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18155         <sysdeps/nptl/lowlevellock.h> and remove macros and
18156         functions that are now defined there.
18157         (SYS_futex): Remove.
18158         (lll_compare_and_swap): Remove.
18159         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18161 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18163         [BZ #17999]
18164         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18165         instead of scandirat.
18166         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18167         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18168         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18169         __scandirat.
18170         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18171         (__scandirat): Declare.  Use libc_hidden_proto.
18172         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18173         Remove variable.
18174         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18176 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18178         [BZ #15319]
18179         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18180         (MO): New macro.
18181         (__ieee754_atan2): For results with small absolute value, force
18182         underflow exception and remove excess range and precision from
18183         return value.
18184         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18185         (MO): New macro.
18186         (__ieee754_atan2f): For results with small absolute value, force
18187         underflow exception and remove excess range and precision from
18188         return value.
18189         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18190         (MO): New macro.
18191         (__atan): For results with small absolute value, force underflow
18192         exception and remove excess range and precision from return value.
18193         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18194         (MO): New macro.
18195         (__atanf): For results with small absolute value, force underflow
18196         exception and remove excess range and precision from return value.
18197         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18198         <math.h>.
18199         (__ieee754_atan2): Force underflow exception for results with
18200         small absolute value.
18201         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18202         <math_private.h>.
18203         (atan): Force underflow exception for results with small absolute
18204         value.
18205         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18206         (__atanf): Force underflow exception for results with small
18207         absolute value.
18208         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18209         <math.h>.
18210         (__atanl): Force underflow exception for results with small
18211         absolute value.
18212         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18213         (__atanl): Force underflow exception for results with small
18214         absolute value.
18215         * sysdeps/x86/fpu/bits/mathinline.h
18216         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18217         (__ieee754_atan2): Only define inline for long double.
18218         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18219         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18220         * math/auto-libm-test-in: Do not mark underflow exceptions as
18221         possibly missing for bug 15319.  Add more tests of atan2.
18222         * math/auto-libm-test-out: Regenerated.
18223         * math/libm-test.inc (casin_test_data): Do not mark underflow
18224         exceptions as possibly missing for bug 15319.
18225         (casinh_test_data): Likewise.
18226         * sysdeps/i386/fpu/libm-test-ulps: Update.
18228 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18230         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18231         * sysdeps/mips/bits/endian.h: Fix comments.
18233 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18235         [BZ #17996]
18236         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18237         (hdestroy_r): Likewise.
18238         (hsearch_r): Likewise.
18239         (__hcreate_r): Declare and use libc_hidden_proto.
18240         (__hdestroy_r): Likewise.
18241         (__hsearch_r): Likewise.
18242         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18243         (hcreate): Call __hcreate_r instead of hcreate_r.
18244         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18245         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18246         as weak alias of __hcreate_r.
18247         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18248         __hdestroy_r.
18249         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18250         __hsearch_r.
18251         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18252         Remove variable.
18253         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18254         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18255         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18256         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18258 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18260         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18261         arena_lock into a single arena_get.
18263 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18265         * dl-reloc.c: Inlucde libc-internal.h.
18266         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18267         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18268         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18269         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18270         (grow_heap): Likewise.
18271         * malloc/malloc.c: Include libc-internal.h.
18272         (do_check_malloc): Call powerof2.
18273         (sysmalloc): Use pagesize. Call ALIGN_UP.
18274         (systrim): Use pagesize.
18275         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18276         (__libc_valloc): Use pagesize.
18277         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18279 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18281         [BZ #17991]
18282         * include/sys/resource.h (__getrlimit64): Declare.  Use
18283         libc_hidden_proto.
18284         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18285         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18286         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18287         getrlimit64.
18288         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18289         __getrlimit64.
18290         [!getrlimit64] (getrlimit64): Define as weak alias of
18291         __getrlimit64.  Use libc_hidden_weak.
18292         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18293         using __getrlimit64 not __new_getrlimit64.
18294         (__GI_getrlimit64): Likewise.
18295         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18296         Likewise.
18297         (__GI_getrlimit64): Likewise.
18298         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18300         (getrlimit): Add __getrlimit64 alias.
18301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18302         Likewise.
18303         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18304         Remove variable.
18305         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18306         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18308 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18310         * libio/fileops.c: Add missing sys/mman.h
18311         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18313 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18315         * manual/math.texi (Errors in Math Functions): Clarify goals
18316         regarding inexact and underflow exceptions.
18318 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18320         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18321         * sysdeps/mips/memset.S: Ditto.
18323 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18325         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18327 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18329         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18330         (__v1longjmp): Remove versioned symbol.
18331         (__v1siglongjmp): Remove alias and versioned symbol.
18332         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18333         (__v2siglongjmp): Likewise.
18335 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18337         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18339 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18341         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18343 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18345         [BZ #17987]
18346         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18347         zero result does not depend on the sign resulting from
18348         subtraction.
18349         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18350         Likewise.
18351         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18352         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18353         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18354         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18355         * math/libm-test.inc (remquo_test_data): Add more tests.
18357 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18359         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18360         Problem reported by J William Piggott.
18362 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18364         [BZ #17978]
18365         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18366         products 4 * y and 2 * y where those would overflow.
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         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18377         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18378         [defined _COMPILING_NEWLIB].
18379         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18380         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18382         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18383         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18385 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18387         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18388         acquired.
18390 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18392         [BZ #17792]
18393         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18394         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18395         HOST_STACK_END_ADDR): Likewise.
18397 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18399         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18400         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18401         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18403 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18405         * sysdeps/generic/c++-types.data: New file.
18406         * sysdeps/generic/ld.abilist: New file.
18407         * sysdeps/generic/libBrokenLocale.abilist: New file.
18408         * sysdeps/generic/libanl.abilist: New file.
18409         * sysdeps/generic/libc.abilist: New file.
18410         * sysdeps/generic/libcrypt.abilist: New file.
18411         * sysdeps/generic/libdl.abilist: New file.
18412         * sysdeps/generic/libm.abilist: New file.
18413         * sysdeps/generic/libpthread.abilist: New file.
18414         * sysdeps/generic/libresolv.abilist: New file.
18415         * sysdeps/generic/librt.abilist: New file.
18417 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18419         [BZ #17569]
18420         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18421         Compute absolute value of x as modified by fmod, not original
18422         value of x.
18423         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18424         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18425         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18426         RUN_TEST_ffI_f1_mod8.
18427         (remquo_test_data): Add more tests.
18429 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18431         * sysdeps/init_array/pt-crti.S: New file.
18433 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18435         [BZ #17967]
18436         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18437         __builtin_fmaf instead of relying on contraction of a * b + c.
18439 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18441         [BZ #17969]
18442         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18443         node.
18445 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18447         [BZ #17964]
18448         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18449         __builtin_fma instead of relying on contraction of a * b + c.
18451 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18453         * Makeconfig (ASFLAGS): Add -Werror=undef.
18454         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18455         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18456         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18458         * Makeconfig (after-link): New variable.
18459         (+link-pie, +link-pie-tests): Use it.
18460         (+link-static, +link-static-tests): Likewise.
18461         (+link, +link-tests): Likewise.
18462         * Makerules (build-module, build-module-asneeded): Likewise.
18463         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18464         Likewise.
18465         * elf/Makefile ($(objpfx)ld.so): Likewise.
18467 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18469         [BZ #17965]
18470         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18471         both struct timeval and struct timespec.
18473 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18475         [BZ #16560]
18476         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18477         and redefine.
18478         (__ieee754_exp2l): Do not multiply small fractional parts by
18479         M_LN2l.
18480         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18481         small argument.
18482         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18483         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18484         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18485         * math/auto-libm-test-in: Add more tests of exp2.
18486         * math/auto-libm-test-out: Regenerated.
18488 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18490         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18491         unaligned path.
18493 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18495         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18496         little endian.
18498 2015-02-12  Andreas Schwab  <schwab@suse.de>
18500         [BZ #15790]
18501         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18502         Filter out elision flags from value returned in kind.
18503         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18504         * nptl/tst-pthread-mutexattr.c: New file.
18506 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18508         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18509         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18510         into gnu-gnu, and update comment to refer to abi-tags.
18512 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18514         [BZ #15467]
18515         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18516         (__sincos): Set errno to EDOM for infinite argument.
18517         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18518         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18519         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18520         (__sincosl): Set errno to EDOM for infinite argument.
18521         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18522         (__sincosl): Set errno to EDOM for infinite argument.
18523         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18524         (__sincosl): Set errno to EDOM for infinite argument.
18525         * math/libm-test.inc (sincos_test_data): Test errno setting.
18527 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18529         * string/strxfrm_l.c: Remove #define STRCMP.
18530         * string/strcoll_l.c: Remove #define STRLEN.
18531         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18532         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18534 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18536         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18537         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18538         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18539         * sysdeps/mips/mips64/Makefile: ... here.
18540         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18541         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18542         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18543         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18544         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18545         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18546         * sysdeps/mips/mips64/n64/Implies: Likewise.
18548 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18550         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18551         <sys/time.h>, <string.h>, and <errno.h>.
18552         (dest_offset, dest_address, value, zero): Remove unused variables.
18553         (ldouble): Remove typedef.
18554         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18555         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18556         1).  Fix code style.
18557         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18558         (check): Function removed.
18559         (CHECK): New macro.
18560         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18561         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18562         Don't call set_sigaction_FP and remove_sigaction_FP here.
18563         (ldouble_test): Just use 'long double' as macro argument, no need for
18564         the 'ldouble' typedef.
18565         (do_test): Set up SIGFPE handler at start, using plain signal rather
18566         than sigaction.  Fix code style.
18568 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18570         [BZ #17949]
18571         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18572         jump label.
18574 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18576         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18577         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18579         * sysdeps/powerpc/configure.ac: Remove file.
18580         * sysdeps/powerpc/configure: Likewise.
18582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18583         [sysdep_routines]: Remove wordcopy-power6 object.
18584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18585         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18586         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18587         (__memmove_ppc32): Likewise.
18588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18589         file.
18590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18591         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18592         Remove preprocessor.
18594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18595         [sysdep_routines]: Remove wide chars objects.
18596         [wcsmbs]: New rule for wide char objects.
18598         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18599         Remove wordcopy-power6 obejct.
18600         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18601         Use local call for wordcopy and memcpy symbols.
18602         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18603         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18604         implementation for loader.
18605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18607         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18608         Remove wordcopy-power7 object.
18609         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18610         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18611         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18612         (_wordcopy_fwd_dest_aligned): Likewise.
18613         (_wordcopy_bwd_aligned): Likewise.
18614         (_wordcopy_bwd_dest_aligned): Likewise.
18616         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18617         Rewrite to call __memmove_ppc instead of include default
18618         implementation.
18620         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18621         Remove wide chars objects.
18622         [wcsmbs]: New rule for wide char objects.
18624 2015-02-09  Andreas Schwab  <schwab@suse.de>
18626         [BZ #17912]
18627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18628         in terms of __O_DIRECTORY.
18630 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18632         * time/getdate.c: Include <stdbool.h>.
18633         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18634         call PTR_MANGLE.
18635         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18636         PTR_DEMANGLE.
18638 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18640         Add ersatz _Static_assert on older C hosts
18641         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18642         pre-C11 C platform that is not known to support _Static_assert.
18644 2015-02-07  Richard Braun  <rbraun@sceen.net>
18646         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18647         sigstate.
18648         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18650 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18652         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18653         priority against unexistent AIO_PRIO_DELTA_MAX.
18654         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18655         instead of int.
18656         * misc/fchflags.c (fchflags): Likewise.
18657         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18658         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18659         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18660         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18661         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18662         Declare macros.
18663         [__USE_MISC] (chflags, fchflags): Declare functions.
18664         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18665         EINVAL when nfds is greater than FD_SETSIZE.
18666         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18667         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18668         45.
18669         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18670         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18671         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18672         MACH_RCV_TIMED_OUT.
18673         * hurd/hurd/signal.h (_hurd_self_sigstate,
18674         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18675         Explicit casts from void *.
18676         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18677         * abi-tags: Rename gnu-gnu os into gnu.
18679         [BZ #4719]
18680         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18681         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18682         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18683         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18684         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18685         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18687         [BZ #17944]
18688         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18689         duplicates ADDR->sun_path with sockaddr LEN limitation.
18690         * sysdeps/mach/hurd/connect.c: Include <string.h>
18691         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18692         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18693         * sysdeps/mach/hurd/sendto.c: Likewise.
18694         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18695         implementing it by hand.
18697 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18699         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18700         Use sfi_breg on ldr.
18701         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18702         Likewise.
18704         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18705         it's defined.
18706         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18707         Test SIGSETXID only if it's defined.
18709         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18711         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18712         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18714         * nptl/tst-align2.c: Moved ...
18715         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18716         * nptl/Makefile (tests): Remove tst-align2.
18717         * sysdeps/unix/sysv/linux/Makefile
18718         [$(subdir) = nptl] (tests): Add tst-align-clone.
18719         * nptl/tst-getpid1.c: Moved ...
18720         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18721         * nptl/tst-getpid2.c: Moved ...
18722         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18723         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18724         * sysdeps/unix/sysv/linux/Makefile
18725         [$(subdir) = nptl] (tests): ... here.
18726         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18727         * sysdeps/unix/sysv/linux/Makefile
18728         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18730         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18731         Drop trailing \n from perror argument.  Use return rather than exit.
18733         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18734         on [SA_SIGINFO].
18735         * nptl/tst-cancel21.c (do_test): Likewise.
18736         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18737         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18738         [!SA_SIGINFO]: Make it a stub test.
18740         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18741         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18743         * posix/tst-getlogin.c: Move to ...
18744         * login/tst-getlogin.c: ... here.
18745         * posix/Makefile (tests): Move tst-getlogin to ...
18746         * login/Makefile (tests): ... here.
18748         * libio/tst-atime.c (do_test): Move local variables SV and E
18749         inside [ST_NOATIME] conditional.
18751         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18753         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18755         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18756         (wait_code): New function replaces macro.
18757         Call nanosleep rather than syscall.
18759         * nptl/pt-system.c: Rewritten.  Put everything under
18760         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18761         Use IFUNC to redirect when possible.
18763         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18764         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18765         Use IFUNC to redirect when possible.
18767         * nptl/pt-fork.c: Rewritten.  Put everything under
18768         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18769         Use IFUNC to redirect when possible.
18770         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18772         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18773         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18774         unconditionally nowadays.  This included the only reference to
18775         __vdso_clock_gettime that appears outside libc proper.
18776         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18777         Remove version set (containing only __vdso_clock_gettime).
18778         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18779         Add attribute_hidden.
18780         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18781         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18782         libc_hidden_data_def.
18783         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18784         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18786         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18787         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18788         setrpcent, and getrpcport to ...
18789         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18790         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18791         getrpcbynumber_r, and getrpcent_r to ...
18792         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18793         * inet/getrpcbyname.c: Moved ...
18794         * sunrpc/getrpcbyname.c: ... here.
18795         * inet/getrpcbyname_r.c: Moved ...
18796         * sunrpc/getrpcbyname_r.c: ... here.
18797         * inet/getrpcbynumber.c: Moved ...
18798         * sunrpc/getrpcbynumber.c: ... here.
18799         * inet/getrpcbynumber_r.c: Moved ...
18800         * sunrpc/getrpcbynumber_r.c: ... here.
18801         * inet/getrpcent.c: Moved ...
18802         * sunrpc/getrpcent.c: ... here.
18803         * inet/getrpcent_r.c: Moved ...
18804         * sunrpc/getrpcent_r.c: ... here.
18805         * inet/Makefile (routines): Move those to ...
18806         * sunrpc/Makefile (routines): ... here.
18807         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18808         the $(subdirs) list.
18809         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18810         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18811         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18812         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18814         * elf/Makefile (routines): Include $(all-dl-routines), not just
18815         $(dl-routines).
18816         (rtld-routines): Likewise.  Use = rather than :=.
18817         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18818         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18819         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18820         * sysdeps/arm/Makefile: Likewise.
18821         * sysdeps/i386/Makefile: Likewise.
18822         * sysdeps/x86_64/Makefile: Likewise.
18823         * sysdeps/hppa/Makefile [$(subdir) = elf]
18824         (sysdep_routines, sysdep-rtld-routines): Don't add
18825         $(sysdep-dl-routines) to these.
18826         * sysdeps/ia64/Makefile: Likewise.
18827         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18828         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18829         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18830         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18831         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18832         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18833         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18834         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18835         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18836         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18837         these; sysdep-dl-routines alone is enough.
18839 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18841         [BZ #17932]
18842         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18843         where multiplication results in zero and third argument is finite
18844         and nonzero.
18845         * math/auto-libm-test-in: Add more tests of fma.
18846         * math/auto-libm-test-out: Regenerated.
18848         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18849         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18850         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18851         (_FP_CMP_EQ): Likewise.
18852         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18854         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18855         extra argument CHECK_NAN.  Redefine as wrapper around
18856         _FP_EXTEND_CNAN.
18858 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18860         * version.h (RELEASE): Set to "stable".
18861         (VERSION): Set to "2.21"
18862         * include/features.h (__GLIBC_MINOR__): Set to 21.
18864         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18866 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18867             Paul Eggert  <eggert@cs.ucla.edu>
18869         [BZ #16618]
18870         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18871         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18872         size in bytes. Store needed elements in wpmax. Use needed size
18873         in bytes for extend_alloca.
18875 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18877         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18878         binutls 2.25, and texinfo 5.2.
18879         * INSTALL: Regenerate.
18880         * sysdeps/nios2/configure: Regenerate.
18881         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18882         * manual/contrib.texi: Update.
18883         * po/be.po: Update.
18884         * po/bg.po: Update.
18885         * po/ca.po: Update.
18886         * po/cs.po: Update.
18887         * po/da.po: Update.
18888         * po/de.po: Update.
18889         * po/el.po: Update.
18890         * po/eo.po: Update.
18891         * po/es.po: Update.
18892         * po/fi.po: Update.
18893         * po/fr.po: Update.
18894         * po/gl.po: Update.
18895         * po/hr.po: Update.
18896         * po/hu.po: Update.
18897         * po/ia.po: Update.
18898         * po/id.po: Update.
18899         * po/it.po: Update.
18900         * po/ja.po: Update.
18901         * po/ko.po: Update.
18902         * po/lt.po: Update.
18903         * po/nb.po: Update.
18904         * po/nl.po: Update.
18905         * po/pl.po: Update.
18906         * po/pt_BR.po: Update.
18907         * po/ru.po: Update.
18908         * po/rw.po: Update.
18909         * po/sk.po: Update.
18910         * po/sl.po: Update.
18911         * po/sv.po: Update.
18912         * po/tr.po: Update.
18913         * po/uk.po: Update.
18914         * po/vi.po: Update.
18915         * po/zh_CN.po: Update.
18916         * po/zh_TW.po: Update.
18918         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18919         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18920         * sysdeps/hppa/dl-irel.h: Remove #warning.
18921         * sysdeps/hppa/entry.h: Provide prototype for
18922         __canonicalize_funcptr_for_compare and cast argument.
18923         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18924         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18925         * sysdeps/hppa/sotruss-lib.c: New file.
18926         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18927         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18928         (atomic_compare_and_exchange_bool_acq): Likewise.
18929         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18930         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18932         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18933         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18934         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18936 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18938         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18939         called function in non-PIC case.
18941 2015-01-31  David S. Miller  <davem@davemloft.net>
18943         * sysdeps/sparc/sparc32/bits/atomic.h
18944         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18945         unlock not after it.
18946         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18947         volatile register usage warnings from the compiler.
18949         * sysdeps/sparc/nptl/sem_init.c: Delete.
18950         * sysdeps/sparc/nptl/sem_post.c: Delete.
18951         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18952         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18953         * sysdeps/sparc/sparc32/sem_init.c: New file.
18954         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18955         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18956         padding explicitly initialized.
18957         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18958         padding for in-semaphore spinlock.
18959         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18960         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18961         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18962         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18963         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18964         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18965         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18966         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18967         version.
18968         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18969         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18971 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18973         [BZ #17801]
18974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18975         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18976         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18977         New.
18978         (index_AVX_Fast_Unaligned_Load): Likewise.
18979         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18980         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18981         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18982         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18983         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18984         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18985         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18986         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18987         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18989 2015-01-29  Andreas Schwab  <schwab@suse.de>
18991         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18993 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18995         [BZ #17892]
18996         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18998 2015-01-28  Martin Sebor  <msebor@redhat.com>
19000         * math/README.libm-test: Clarify. Add "How to read the test output."
19002 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19004         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19005         Define to 0.
19007 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19009         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19010         (__HAVE_64B_ATOMICS): Define to 0.
19012 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19014         [BZ #17885]
19015         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19016         value to set as new flag.
19018         [BZ #16576]
19019         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19020         and use _ARCH_PPCSQ instead.
19021         (__ieee754_sqrt): Likewise.
19022         (__ieee754_sqrtf): Likewise.
19023         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19024         _ARCH_PPCSQ is defined.
19025         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19026         fsqrt instruction.
19027         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19028         _ARCH_PPCSQ is defined.
19029         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19030         fsqrts instruction.
19031         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19033 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19035         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19036         bug (GCC BZ #64739).
19038 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19040         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19041         Mark _retval as used.
19042         (lll_futex_wake_unlock): Likewise.
19043         (lll_futex_timed_wait_requeue_pi): Likewise.
19045         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19046         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19047         register variables.
19049         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19050         libm_hidden_def.
19052         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19053         (__bswap_64): Mark as __always_inline.
19055 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19057         [BZ #15378]
19058         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19059         when none of the search directories exist.
19061 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19063         [BZ #17869]
19064         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19065         power8 in .machine directive.
19067         [BZ #17868]
19068         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19069         set dependency from opd value.
19071 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19073         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19074         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19075         architecture.
19077 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19079         [BZ #17870]
19080         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19081         with uint64_t.
19082         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19083         (uint64_t) 1.
19084         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19085         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19086         Replace 1UL with (uint64_t) 1.
19087         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19088         int with uint64_t.
19090 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19092         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19093         (if_freenameindex): Likewise.
19095         * resource/getrlimit64.c: Add missing libc_hidden_def.
19097 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19099         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19100         __label__.
19101         (_FP_FMA): Likewise.
19102         (_FP_TO_INT_ROUND): Likewise.
19103         (_FP_FROM_INT): Likewise.
19105 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19107         [BZ #16418]
19108         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19109         Make code racy and cancel safe.
19111 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19113         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19114         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19115         attribution.
19117         * pwd/tst-getpw.c: Rewrite.
19119         [BZ #17702]
19120         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19121         (modules-names): Add moddummy1 and moddummy2.
19122         ($(objpfx)tst-rec-dlopen): Define.
19123         * dlfcn/moddummy1.c: New file.
19124         * dlfcn/moddummy2.c: New file.
19125         * dlfcn/tst-rec-dlopen.c: New file.
19126         * elf/dl-cache.c (_dl_load_cache_lookup):
19127         Return char*. Copy result with alloca/strcpy/strdup.
19128         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19129         returns char*. Free cached. If not saving realname
19130         free cached.
19131         * elf/dl-open.c (dl_open_worker): Do not assert that
19132         _r_debug->r_state is RT_CONSISTENT.
19133         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19134         returns char*.
19136 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19137             Carlos O'Donell  <carlos@redhat.com>
19139         [BZ #12674]
19140         * nptl/sem_waitcommon.c: New file.
19141         * nptl/sem_wait.c: Include sem_waitcommon.c.
19142         (__sem_wait_cleanup, do_futex_wait): Remove.
19143         (__new_sem_wait): Adapt.
19144         (__new_sem_trywait): New function.
19145         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19146         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19147         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19148         (sem_timedwait): Adapt.
19149         * nptl/sem_post.c (__new_sem_post): Adapt.
19150         (futex_wake): New function.
19151         (__old_sem_post): Add release MO fence.
19152         * nptl/sem_open.c (sem_open): Adapt.
19153         * nptl/sem_init.c (__new_sem_init): Adapt.
19154         (futex_private_if_supported): New function.
19155         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19156         (__old_sem_getvalue): Add using previous code.
19157         * sysdeps/nptl/internaltypes.h: Adapt.
19158         * nptl/tst-sem13.c (do_test): Adapt.
19159         * nptl/tst-sem11.c (main): Adapt.
19160         * nptl/sem_trywait.c: Remove.
19161         * nptl/DESIGN-sem.txt: Remove.
19162         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19163         (gen-as-const-headers): Remove structsem.sym.
19164         * nptl/structsem.sym: Remove.
19165         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19166         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19167         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19168         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19169         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19170         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19171         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19172         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19173         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19174         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19175         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19176         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19177         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19178         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19179         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19180         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19181         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19182         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19183         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19184         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19185         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19186         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19188 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19190         * INSTALL: Regenerated.
19192         * po/libc.pot: Regenerated.
19194 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19195             Sandra Loosemore  <sandra@codesourcery.com>
19196             Andrew Jenner  <andrew@codesourcery.com>
19197             Joseph Myers  <joseph@codesourcery.com>
19198             Nathan Sidwell  <nathan@codesourcery.com>
19200         * NEWS: Mention new Nios II port.
19201         * sysdeps/nios2/Implies: New file.
19202         * sysdeps/nios2/Makefile: New file.
19203         * sysdeps/nios2/Subdirs: New file.
19204         * sysdeps/nios2/Versions: New file.
19205         * sysdeps/nios2/__longjmp.S: New file.
19206         * sysdeps/nios2/abort-instr.h: New file.
19207         * sysdeps/nios2/backtrace.c: New file.
19208         * sysdeps/nios2/bits/endian.h: New file.
19209         * sysdeps/nios2/bits/fenv.h: New file.
19210         * sysdeps/nios2/bits/link.h: New file.
19211         * sysdeps/nios2/bits/setjmp.h: New file.
19212         * sysdeps/nios2/bsd-_setjmp.S: New file.
19213         * sysdeps/nios2/bsd-setjmp.S: New file.
19214         * sysdeps/nios2/configure: New generated file.
19215         * sysdeps/nios2/configure.ac: New file.
19216         * sysdeps/nios2/crti.S: New file.
19217         * sysdeps/nios2/crtn.S: New file.
19218         * sysdeps/nios2/dl-init.c: New file.
19219         * sysdeps/nios2/dl-machine.h: New file.
19220         * sysdeps/nios2/dl-sysdep.h: New file.
19221         * sysdeps/nios2/dl-tls.h: New file.
19222         * sysdeps/nios2/dl-trampoline.S: New file.
19223         * sysdeps/nios2/gccframe.h: New file.
19224         * sysdeps/nios2/gmp-mparam.h: New file.
19225         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19226         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19227         * sysdeps/nios2/ldsodefs.h: New file.
19228         * sysdeps/nios2/libc-tls.c: New file.
19229         * sysdeps/nios2/libm-test-ulps: New file.
19230         * sysdeps/nios2/machine-gmon.h: New file.
19231         * sysdeps/nios2/math-tests.h: New file.
19232         * sysdeps/nios2/math_private.h: New file.
19233         * sysdeps/nios2/memusage.h: New file.
19234         * sysdeps/nios2/nptl/Makefile: New file.
19235         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19236         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19237         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19238         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19239         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19240         * sysdeps/nios2/nptl/tls.h: New file.
19241         * sysdeps/nios2/preconfigure: New file.
19242         * sysdeps/nios2/s_fma.c: New file.
19243         * sysdeps/nios2/s_fmaf.c: New file.
19244         * sysdeps/nios2/setjmp.S: New file.
19245         * sysdeps/nios2/sfp-machine.h: New file.
19246         * sysdeps/nios2/sotruss-lib.c: New file.
19247         * sysdeps/nios2/stackguard-macros.h: New file.
19248         * sysdeps/nios2/stackinfo.h: New file.
19249         * sysdeps/nios2/start.S: New file.
19250         * sysdeps/nios2/sysdep.h: New file.
19251         * sysdeps/nios2/tls-macros.h: New file.
19252         * sysdeps/nios2/tst-audit.h: New file.
19253         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19254         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19255         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19256         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19257         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19258         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19259         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19260         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19261         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19262         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19263         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19264         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19265         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19266         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19267         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19268         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19269         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19270         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19271         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19272         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19273         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19274         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19275         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19276         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19277         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19278         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19279         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19280         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19281         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19282         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19283         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19284         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19285         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19286         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19287         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19288         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19289         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19290         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19291         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19292         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19293         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19294         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19295         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19296         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19298 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19300         [BZ #17844]
19301         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19302         (getutent): Use weak_alias in non SHARED case
19303         and default_symbol_version in SHARED case.
19304         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19305         (getutent_r, pututline): Likewise.
19306         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19307         (getutid): Likewise.
19308         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19309         (getutid_r): Likewise.
19310         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19311         (getutline): Likewise.
19312         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19313         (getutline_r): Likewise.
19314         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19315         (updwtmp): Likewise.
19317 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19319         [BZ #17848]
19320         * sysdeps/s390/s390-32/memcmp.S
19321         (memcmp_g5): Rename to __memcmp_g5.
19322         * sysdeps/s390/s390-32/memcpy.S
19323         (memcpy_g5): Rename to __memcpy_g5.
19324         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19325         (memcpy_mvcle) Rename to __memcpy_mvcle.
19326         * sysdeps/s390/s390-32/memset.S
19327         (memset_g5): Rename to __memset_g5.
19328         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19329         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19330         and use prefixed functions.
19331         * sysdeps/s390/s390-32/multiarch/memcmp.S
19332         (memcmp_z196): Rename to __memcmp_z196.
19333         (memcmp_z10): Rename to __memcmp_z10.
19334         (memcmp): Set alias to __memcmp_g5.
19335         (bcmp): Set alias to __memcmp_g5.
19336         * sysdeps/s390/s390-32/multiarch/memcpy.S
19337         (memcpy_z196): Rename to __memcpy_z196.
19338         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19339         (memcpy_z10): Rename to __memcpy_z10.
19340         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19341         (memcpy): Set alias to __memcpy_g5.
19342         * sysdeps/s390/s390-32/multiarch/memset.S
19343         (memset_z196): Rename to __memset_z196.
19344         Jump to __memset_mvcle instead of memset_mvcle.
19345         (memset_z10): Rename to __memset_z10.
19346         Jump to __memset_mvcle instead of memset_mvcle.
19347         (memset_mvcle) Rename to __memset_mvcle.
19348         (memset): Set alias to __memset_g5.
19349         * sysdeps/s390/s390-64/memcmp.S
19350         (memcmp_z900): Rename to __memcmp_z900.
19351         * sysdeps/s390/s390-64/memcpy.S
19352         (memcpy_z900): Rename to __memcpy_z900.
19353         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19354         (memcpy_mvcle) Rename to __memcpy_mvcle.
19355         * sysdeps/s390/s390-64/memset.S
19356         (memset_z900): Rename to __memset_z900.
19357         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19358         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19359         and use prefixed functions.
19360         * sysdeps/s390/s390-64/multiarch/memcmp.S
19361         (memcmp_z196): Rename to __memcmp_z196.
19362         (memcmp_z10): Rename to __memcmp_z10.
19363         (memcmp): Set alias to __memcmp_z900.
19364         (bcmp): Set alias to __memcmp_z900.
19365         * sysdeps/s390/s390-64/multiarch/memcpy.S
19366         (memcpy_z196): Rename to __memcpy_z196.
19367         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19368         (memcpy_z10): Rename to __memcpy_z10.
19369         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19370         (memcpy): Set alias to __memcpy_z900.
19371         * sysdeps/s390/s390-64/multiarch/memset.S
19372         (memset_z196): Rename to __memset_z196.
19373         Jump to __memset_mvcle instead of memset_mvcle.
19374         (memset_z10): Rename to __memset_z10.
19375         Jump to __memset_mvcle instead of memset_mvcle.
19376         (memset_mvcle) Rename to __memset_mvcle.
19377         (memset): Set alias to __memset_z900.
19379 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19381         [BZ #17748]
19382         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19383         __fesetenv instead of fesetenv.
19385 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19387         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19388         macro.
19390 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19392         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19393         regression on LE.
19395         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19396         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19397         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19398         strncmp-power8 object.
19399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19400         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19401         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19402         * NEWS: Update.
19404 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19405             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19407         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19408         trailing byte check.
19410 2015-01-13  David S. Miller  <davem@davemloft.net>
19412         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19414 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19416         * login/logout.c (logout): Use memset rather than bzero.
19417         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19418         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19419         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19420         (_gethtbyaddr): Likewise.
19421         * locale/programs/simple-hash.c (bcopy): Macro removed.
19423 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19425         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19426         Add strcmp-power8 object.
19427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19428         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19429         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19430         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19431         __strcmp_power8 implementation.
19432         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19433         * NEWS: Update.
19435         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19436         Add strncpy-power8 and stpncpy-power8 objects.
19437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19438         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19439         implementations.
19440         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19441         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19442         __stpncpy_power8 implementation.
19443         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19444         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19445         __strncpy_power8 implementation.
19446         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19447         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19448         * NEWS: Update.
19450         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19451         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19452         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19454         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19455         strncat-power8 object.
19456         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19457         __strcat_power8 implementation.
19458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19459         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19460         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19461         optimized strcat for power8.
19463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19464         strcpy-power8 and stpcpy-power8 objects.
19465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19466         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19467         implementations.
19468         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19469         multiarch stpcpy implementation for POWER8.
19470         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19471         multiarch strcpy implementation for POWER8.
19472         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19473         __strcpy_power8 function.
19474         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19475         stpcpy for POWER8.
19476         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19477         strcpy for POWER8.
19478         * NEWS: Update.
19480 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19482         [BZ #16009]
19483         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19484         weights and rules. Use do_xfrm_cached if data fits in cache,
19485         do_xfrm otherwise.  Moved former main loop to...
19486         * (do_xfrm_cached): New function.
19487         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19488         find_idx, find_position and stack_push.
19489         * (find_idx): New function.
19490         * (find_position): Likewise.
19491         * localedata/sort-test.sh: Added test run for do_xfrm.
19492         * localedata/xfrm-test.c (main): Added command line option
19493         -nocache to run the test with strings that are too large for
19494         the STRXFRM cache.
19496 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19498         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19499         variable to lll_futex_wake call, not the value itself.
19501 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19503         [BZ #17803]
19504         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19505         twom64.  Adjust value to 0x1p-64L.
19506         (__scalblnl): Only return standard underflowing result for K <=
19507         -64 not K <= -63; adjust exponent for underflowing result by 64
19508         not 63.
19509         * math/libm-test.inc (scalbn_test_data): Add more tests.
19510         (scalbln_test_data): Likewise.
19512         [BZ #17834]
19513         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19514         0x1p63L.
19515         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19516         not HX.
19517         * math/libm-test.inc (scalbn_test_data): Add more tests.
19518         (scalbln_test_data): Likewise.
19520 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19521             Stefani Seibold  <stefani@seibold.net>
19523         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19524         (sysdep_routines): Add dl-vdso here, ...
19525         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19526         (sysdep_routines): ... not here.
19527         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19528         fallback when vDSO is not presented.
19529         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19530         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19531         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19532         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19533         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19534         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19535         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19536         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19537         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19538         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19539         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19540         fallback configurable symbol when vDSO is not available.
19541         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19542         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19543         be able to redefine fallback symbol when vDSO is not available.
19544         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19545         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19547 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19549         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19550         (TLS_INIT_TP): Add tm_capable initialization.
19551         (TLS_DEFINE_INIT_TP): Likewise.
19552         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19553         TCB.
19554         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19555         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19556         calculation.
19557         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19558         transactoion is lock elision is built and TCB tm_capable is set.
19559         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19561         (INTERNAL_SYSCALL_NCS): Likewise.
19562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19563         (INTERNAL_SYSCALL_NCS): Likewise.
19564         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19566         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19567         for powerpc.
19568         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19569         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19570         and remove it for 32 bits case.
19571         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19573         initialization.
19574         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19575         Disable lock elision with rdlocks if elision is not available.
19577         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19578         (sysdep_routines): Add lock elision objects.
19579         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19580         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19581         [pthread_mutex_t] (__elision): Add field.
19582         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19583         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19584         elision definitions for powerpc.
19585         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19586         implementation of lock elision for powerpc.
19587         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19588         implementation of timed lock elision for powerpc.
19589         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19590         implementation of trylock with lock elision for powerpc.
19591         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19592         implementaion of unlock for lock elision for powerpc.
19593         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19594         automatic enable lock elision for mutexes.
19595         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19596         transaction execution definitions for powerpc.
19597         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19598         definitions.
19599         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19600         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19601         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19602         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19603         * NEWS: Update.
19605 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19607         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19608         for #include of <shm-directory.h>.
19610 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19612         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19613         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19615 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19617         [BZ #17791]
19618         * NEWS: Mention bug fix.
19619         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19620         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19621         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19623 2015-01-09  Torvald Riegel <triegel@redhat.com>
19625         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19627 2015-01-09  Torvald Riegel <triegel@redhat.com>
19629         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19631 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19633         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19634         pointer and cast to uintptr_t.
19636 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19638         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19639         removed.
19640         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19642 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19644         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19645         of 0.
19647 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19649         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19650         <nptl/pthreadP.h> instead.
19651         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19653         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19654         already defined.
19655         [__SIGRTMIN] (init): Function removed.
19656         [__SIGRTMIN] (initialized): Variable removed.
19657         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19658         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19659         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19660         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19661         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19662         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19663         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19664         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19665         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19666         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19667         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19668         * sysdeps/nptl/allocrtsig.c: New file.
19669         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19670         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19671         * sysdeps/generic/testrtsig.h: File removed.
19673         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19674         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19676         * nptl/nptl-init.c (pthread_functions): Conditionalize
19677         .ptr__nptl_setxid initialization on [SIGSETXID].
19679         * sysdeps/nptl/sys/procfs.h: New file.
19680         * nptl_db/Makefile (headers): Add it.
19681         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19683         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19684         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19685         * nptl/pthread_attr_setaffinity.c: Include it.
19686         * nptl/pthread_setattr_default_np.c: Likewise.
19687         * nptl/check-cpuset.h: New file.
19689 2015-01-08  Richard Henderson  <rth@redhat.com>
19691         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19692         (CFLAGS-tst-execstack-prog.c): Likewise.
19693         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19695 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19696             Sandra Loosemore  <sandra@codesourcery.com>
19697             Andrew Jenner  <andrew@codesourcery.com>
19698             Joseph Myers  <joseph@codesourcery.com>
19699             Nathan Sidwell  <nathan@codesourcery.com>
19701         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19702         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19703         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19704         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19705         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19706         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19707         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19708         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19709         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19710         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19711         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19712         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19713         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19714         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19715         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19716         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19717         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19719 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19721         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19722         timespec struct member in syscall macro.
19723         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19724         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19725         first timeval struct member in syscall macro.
19726         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19728 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19730         [BZ #17748]
19731         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19732         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19733         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19734         __feupdateenv and define as weak alias of __feupdateenv.  Use
19735         libm_hidden_weak.
19736         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19737         libm_hidden_def.
19738         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19739         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19740         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19741         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19742         libm_hidden_def.
19743         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19744         __feupdateenv and define as weak alias of __feupdateenv.  Use
19745         libm_hidden_weak.
19746         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19747         libm_hidden_def.
19748         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19749         __feupdateenv and define as weak alias of __feupdateenv.  Use
19750         libm_hidden_weak.
19751         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19752         libm_hidden_def.
19753         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19754         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19755         (__feupdateenv): Likewise.
19756         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19757         __feupdateenv and define as weak alias of __feupdateenv.  Use
19758         libm_hidden_weak.
19759         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19760         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19761         libm_hidden_def.
19762         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19763         function.
19764         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19765         libm_hidden_def.
19766         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19767         __feupdateenv instead of feupdateenv.
19768         (default_libc_feupdateenv_test): Likewise.
19769         (libc_feresetround_ctx): Likewise.
19771 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19773         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19774         prototype.
19776 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19778         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19779         COLL_SYM in a couple of places to avoid uninitialized variable
19780         wanings on tilegx gcc 4.8.2.
19782 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19784         * sysdeps/aarch64/strcpy.S: New file.
19785         * sysdeps/aarch64/stpcpy.S: New file.
19786         * NEWS: Updated.
19788 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19790         * sysdeps/aarch64/strrchr.S: New file.
19791         * NEWS: Updated.
19793 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19795         [BZ #17658]
19796         * stdlib/setenv.c: Fix memory leak when setting large,
19797         duplicate string.
19799 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19801         [BZ #17273]
19802         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19803         and tabs from buffer before parsing fstab entry.
19804         * misc/tst-mntent.c (main): Add test for mount entry with
19805         trailing spaces and tabs.
19807 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19809         [BZ #17748]
19810         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19811         * math/fesetround.c (fesetround): Rename to __fesetround and
19812         define as weak alias of __fesetround.  Use libm_hidden_weak.
19813         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19814         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19815         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19816         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19817         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19818         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19819         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19820         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19821         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19822         __fesetround_inline.
19823         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19824         __fesetround_inline instead of __fesetround.
19825         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19826         __fesetround and define as weak alias of __fesetround.  Use
19827         libm_hidden_weak.  Call __fesetround_inline instead of
19828         __fesetround.
19829         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19830         __fesetround and define as weak alias of __fesetround.  Use
19831         libm_hidden_weak.
19832         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19833         Likewise.
19834         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19835         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19836         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19837         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19838         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19839         __fesetround and define as weak alias of __fesetround.  Use
19840         libm_hidden_weak.
19841         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19842         __fesetround instead of fesetround.
19843         (default_libc_feholdexcept_setround): Likewise.
19844         (libc_feholdsetround_ctx): Likewise.
19845         (libc_feholdsetround_noex_ctx): Likewise.
19847         [BZ #17748]
19848         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19849         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19850         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19851         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19852         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19853         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19854         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19855         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19856         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19857         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19858         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19859         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19860         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19861         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19862         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19863         libm_hidden_def.
19864         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19865         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19866         Likewise.
19867         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19868         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19869         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19870         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19871         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19872         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19873         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19874         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19875         __fesetenv instead of fesetenv.
19876         (libc_feresetround_noex_ctx): Likewise.
19877         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19878         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19879         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19880         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19881         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19882         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19883         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19884         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19885         (__feupdateenv): Likewise.
19886         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19887         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19888         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19889         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19891 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19893         [BZ #17806]
19894         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19895         addresses have been freed.
19897 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19899         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19900         and nservall.
19902 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19904         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19905         Clean up check_pf allocation pattern. addresses
19907 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19909         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19910         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19911         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19912         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19913         * nptl/pthread_join.c (pthread_join): Likewise.
19914         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19915         * sysdeps/posix/waitid.c (__waitid): Likewise.
19916         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19917         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19918         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19919         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19920         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19921         Likewise.
19922         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19923         (__libc_pread64): Likewise.
19924         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19925         (__libc_pwrite): Likewise.
19926         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19927         (__libc_pwrite64): Likewsie.
19928         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19929         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19930         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19931         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19932         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19933         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19934         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19936         Likewise.
19937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19938         (__libc_pread64): Likewise.
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19940         Likewise.
19941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19942         (__libc_pwrite64): Likewise.
19943         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19944         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19945         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19946         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19947         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19948         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19949         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19950         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19951         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19952         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19953         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19954         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19955         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19956         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19957         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19958         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19959         Likewise.
19961 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19963         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19964         (CFLAGS-test-double.c): Likewise.
19965         (CFLAGS-test-ldouble.c): Likewise.
19966         (CPPFLAGS-test-ifloat.c): Likewise.
19967         (CPPFLAGS-test-idouble.c): Likewise.
19968         (CPPFLAGS-test-ildoubl.c): Likewise.
19969         (CFLAGS-test-test-fenv.c): Remove variable.
19970         (CFLAGS-test-misc.c): Likewise.
19972 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19974         [BZ #17797]
19975         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19976         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19977         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19978         CLOCKS_PER_SEC == 1000000.
19979         * time/clocktest.c (main): Replace %ld with %jd and cast to
19980         intmax_t.
19982 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19984         * sysdeps/generic/unwind-resume.h: New file.
19985         * sysdeps/gnu/unwind-resume.c: Include it.
19986         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19987         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19988         argument list.
19989         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19990         global rather than static.
19991         (_Unwind_Resume): Update user.
19992         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19993         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19994         rather than static.  Add __attribute__ ((cold)).
19995         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19996         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19997         * sysdeps/arm/arm-unwind-resume.S: New file.
19998         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19999         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20000         * sysdeps/arm/Makefile [$(subdir) = csu]
20001         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20002         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20003         Add rt-arm-unwind-resume.
20004         [$(subdir) = nptl]
20005         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20006         Add pt-arm-unwind-resume.
20007         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20008         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20010 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20012         [BZ #17748]
20013         * include/fenv.h (__feholdexcept): Declare.  Use
20014         libm_hidden_proto.
20015         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20016         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20017         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20018         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20019         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20020         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20021         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20022         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20023         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20024         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20025         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20026         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20027         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20028         (feholdexcept): Likewise.
20029         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20030         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20031         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20032         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20033         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20034         __feholdexcept instead of feholdexcept.
20035         (default_libc_feholdexcept_setround): Likewise.
20037 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20039         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20040         to avoid using stl/str to align destination.
20042 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20044         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20046 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20048         [BZ #17796]
20049         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20050         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20051         Define as weak alias not strong alias.
20053 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20055         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20056         bltzal with addiupc.
20057         (RTLD_START): Ditto.
20059 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20061         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20062         for __vdso_* functions in declarations.
20063         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20064         definitions.
20065         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20066         INTERNAL_VSYSCALL): Use struct return types to check for error.
20068         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20069         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20070         function with cast from llround().
20071         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20072         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20073         Define.
20075 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20077         [BZ #17793]
20078         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20079         Define as weak alias not strong alias.
20081         [BZ #17635]
20082         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20083         ...
20084         * ctype/ctype-extn.c: ... here.
20085         (__isblank_l): Move to ...
20086         * ctype/ctype-c99_l.c: ... here.  New file.
20087         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20088         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20089         Remove variable.
20090         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20091         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20092         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20093         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20094         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20096         [BZ #17777]
20097         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20098         (posix_fadvise64): Define as weak alias not strong alias.
20099         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20100         (posix_fallocate64): Likewise.
20101         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20102         Remove variable.
20103         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20104         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20105         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20106         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20107         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20109 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20111         [BZ #16191]
20112         * NEWS: Mention bug fix.
20113         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20114         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20115         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20116         (HOST_STACK_END_ADDR): Likewise.
20118 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20120         [BZ #17748]
20121         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20122         * math/fegetround.c (fegetround): Rename to __fegetround and
20123         define as weak alias of __fegetround.  Use libm_hidden_weak.
20124         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20125         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20126         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20127         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20128         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20129         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20130         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20131         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20132         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20133         Undefine after rather than before function definition; use
20134         parentheses around function name in definition.
20135         (__fegetround): Also undefine macro after function definition.
20136         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20137         __fegetround and define as weak alias of __fegetround.  Use
20138         libm_hidden_weak.  Do not undefine as macro.
20139         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20140         Likewise.
20141         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20142         __fegetround and define as weak alias of __fegetround.  Use
20143         libm_hidden_weak.
20144         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20145         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20146         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20147         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20148         __fegetround and define as weak alias of __fegetround.  Use
20149         libm_hidden_weak.
20150         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20151         __fegetround instead of fegetround.
20153         [BZ #17782]
20154         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20155         Condition macro definition on [__USE_MISC].
20157         [BZ #17781]
20158         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20159         (struct sigaction): Change type of sa_flags field to int.
20161         [BZ #17780]
20162         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20163         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20164         __glibc_reserved0.
20166         * nptl/version.c (banner): Use single year in copyright notice.
20168         * NEWS: Update copyright dates.
20169         * catgets/gencat.c (print_version): Likewise.
20170         * csu/version.c (banner): Likewise.
20171         * debug/catchsegv.sh: Likewise.
20172         * debug/pcprofiledump.c (print_version): Likewise.
20173         * debug/xtrace.sh (do_version): Likewise.
20174         * elf/ldconfig.c (print_version): Likewise.
20175         * elf/ldd.bash.in: Likewise.
20176         * elf/pldd.c (print_version): Likewise.
20177         * elf/sotruss.sh: Likewise.
20178         * elf/sprof.c (print_version): Likewise.
20179         * iconv/iconv_prog.c (print_version): Likewise.
20180         * iconv/iconvconfig.c (print_version): Likewise.
20181         * locale/programs/locale.c (print_version): Likewise.
20182         * locale/programs/localedef.c (print_version): Likewise.
20183         * login/programs/pt_chown.c (print_version): Likewise.
20184         * malloc/memusage.sh (do_version): Likewise.
20185         * malloc/memusagestat.c (print_version): Likewise.
20186         * malloc/mtrace.pl: Likewise.
20187         * manual/libc.texinfo: Likewise.
20188         * nptl/version.c (banner): Likewise.
20189         * nscd/nscd.c (print_version): Likewise.
20190         * nss/getent.c (print_version): Likewise.
20191         * nss/makedb.c (print_version): Likewise.
20192         * posix/getconf.c (main): Likewise.
20193         * scripts/test-installation.pl: Likewise.
20194         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20196 2015-01-02  Will Newton  <will.newton@linaro.org>
20198         * sysdeps/arm/armv7/configure: Removed.
20199         * sysdeps/arm/armv7/configure.ac: Likewise.
20201 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20203         * All files with FSF copyright notices: Update copyright dates
20204         using scripts/update-copyrights.
20205         * intl/plural.c: Regenerated.
20206         * locale/programs/charmap-kw.h: Likewise.
20207         * locale/programs/locfile-kw.h: Likewise.
20209 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20211         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20213 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20215         [BZ #17748]
20216         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20217         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20218         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20219         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20220         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20221         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20222         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20223         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20224         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20225         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20226         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20227         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20228         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20229         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20230         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20231         libm_hidden_def.
20232         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20233         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20234         Likewise.
20235         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20236         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20237         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20238         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20239         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20240         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20241         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20242         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20243         __fegetenv instead of fegetenv.
20244         (libc_feholdsetround_noex_ctx): Likewise.
20246 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20248         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20249         (Elf_MIPS_ABIFlags_v0): New structure.
20250         (EF_MIPS_FP64): Define.
20251         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20252         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20253         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20254         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20255         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20256         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20257         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20258         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20259         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20260         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20261         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20262         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20263         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20264         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20265         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20266         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20267         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20268         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20269         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20270         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20271         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20272         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20273         field.
20274         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20275         EF_MIPS_FP64.
20276         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20277         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20278         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20279         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20280         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20281         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20282         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20283         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20284         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20285         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20286         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20287         record the current FP ABI extension.
20288         (mips-mode-switch): Define to show if kernel headers support mode
20289         switching.
20290         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20291         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20292         supported SYSV ABI version to 3.
20293         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20294         feature.
20296 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20297             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20299         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20300         path.
20301         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20303 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20305         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20306         __fegetround and redefine to call __fegetround.  Remove condition
20307         on [!__NO_MATH_INLINES].
20308         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20309         function.
20310         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20311         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20312         Remove macro.
20313         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20314         instead of <fenv_libc.h>.
20315         (__llrintl): Call fegetround instead of __fegetround.
20316         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20317         instead of <fenv_libc.h>.
20318         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20319         (__lrintl): Call fegetround instead of __fegetround.
20320         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20321         instead of <fenv_libc.h>.
20322         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20323         (__rintl): Call fegetround instead of __fegetround.
20325 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20327         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20328         arrays.
20330 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20332         [BZ #17775]
20333         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20334         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20335         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20337 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20339         * sysdeps/i386/tls-macros.h: Include <features.h>.
20340         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20341         (TLS_IE): Likewise.
20342         (TLS_LD): Likewise.
20343         (TLS_GD): Likewise.
20344         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20345         define for GCC >= 5.0.
20347 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20349         * math/test-fenv.c (test_single_exception, set_single_exc,
20350         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20351         feexcp_mask_test, feenable_test, fe_single_test): Add
20352         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20353         case where they are not used.
20354         * math/libm-test.inc: Likewise.
20355         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20356         unused in the absence of FP rounding/exception support.
20357         * stdio-common/tst-printf-round.c: Likewise.
20358         * stdlib/tst-strtod-round.c: Likewise.
20359         * stdlib/tst-strtod-underflow.c: Likewise.
20361 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20363         [BZ #17723]
20364         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20365         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20366         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20367         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20368         libm_hidden_weak.
20369         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20370         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20371         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20372         libm_hidden_def.
20373         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20374         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20375         libm_hidden_weak.
20376         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20377         Likewise.
20378         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20379         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20380         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20381         libm_hidden_weak.
20382         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20383         libm_hidden_def.
20384         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20385         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20386         (__feraiseexcept): Likewise.
20387         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20388         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20389         libm_hidden_weak.
20390         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20391         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20392         libm_hidden_def.
20393         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20394         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20395         Use libm_hidden_def.
20396         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20397         libm_hidden_def.
20398         (feraiseexcept): Define as weak not strong alias.  Use
20399         libm_hidden_weak.
20400         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20401         New inline function.  Factored out of ...
20402         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20403         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20404         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20405         feraiseexcept.
20406         * math/w_acos.c (__acos): Likewise.
20407         * math/w_asin.c (__asin): Likewise.
20408         * math/w_ilogb.c (__ilogb): Likewise.
20409         * math/w_j0.c (y0): Likewise.
20410         * math/w_j1.c (y1): Likewise.
20411         * math/w_jn.c (yn): Likewise.
20412         * math/w_log.c (__log): Likewise.
20413         * math/w_log10.c (__log10): Likewise.
20414         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20415         * sysdeps/aarch64/fpu/math_private.h
20416         (libc_feupdateenv_test_aarch64): Likewise.
20417         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20418         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20419         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20420         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20421         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20422         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20423         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20424         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20425         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20426         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20428 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20430         [BZ #17732]
20431         * io/test-utime.c (main): Replace %ld with %jd and cast to
20432         intmax_t.
20433         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20434         * nptl/tst-mutex5.c: Include <stdint.h>.
20435         (do_test): Replace %ld with %jd and cast to intmax_t.
20436         * posix/tst-regex.c (run_test): Likewise.
20437         (run_test_backwards): Likewise.
20438         * rt/tst-clock.c: Include <stdint.h>.
20439         (clock_test): Replace %ld with %jd and cast to intmax_t.
20440         * rt/tst-cpuclock1.c: Include <stdint.h>.
20441         (do_test): Replace %lu with %ju and cast to uintmax_t.
20442         * rt/tst-cpuclock2.c: Include <stdint.h>.
20443         (do_test): Replace %lu with %ju and cast to uintmax_t.
20444         * rt/tst-mqueue1.c: Include <stdint.h>.
20445         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20446         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20447         intmax_t.
20448         * rt/tst-mqueue4.c (do_test): Likewise.
20449         * rt/tst-timer4.c: Include <stdint.h>.
20450         (check_ts): Replace %ld with %jd and cast to intmax_t.
20451         (do_test): Likewise.
20452         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20453         and cast to intmax_t.
20454         * sysdeps/pthread/tst-timer.c (main): Likewise.
20455         * time/clocktest.c (main): Likewise.
20456         * time/tst-posixtz.c (do_test): Likewise.
20457         * timezone/tst-timezone.c (main): Likewise.
20459 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20460             H.J. Lu  <hongjiu.lu@intel.com>
20462         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20463         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20464         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20465         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20466         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20467         version if bit_Fast_Unaligned_Load is set.
20468         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20469         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20470         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20471         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20472         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20473         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20474         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20475         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20476         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20477         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20478         to 4.
20479         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20480         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20481         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20482         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20484 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20486         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20487         instead of #if to avoid a Wundef warning.
20488         * stdlib/tst-limits.c (do_test): Likewise.
20490         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20491         parallel other exception macros.
20492         (fegetenv): Convert from macro to extern inline so that it applies
20493         retroactively to inline functions already seen by the compiler.
20494         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20496         * posix/Makefile (before-compile): Use $(objpfx) for
20497         posix-conf-vars-def.h.
20499 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20501         * posix/getconf.c (main): Use size_t for type of I.
20502         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20503         NSPEC.
20505         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20506         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20507         * posix/posix-envs.def: Likewise.
20508         * sysdeps/posix/sysconf.c: Likewise.
20509         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20510         (specs): Remove array.
20511         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20512         array.
20514         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20515         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20516         (__sysconf): Use CONF_IS_* macros.
20518         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20519         ($(objpfx)posix-conf-vars-def.h): New target.
20520         * posix/posix-conf-vars.list: New file.
20521         * posix/posix-conf-vars.h: New file.
20522         * posix/confstr.c: Include posix-conf-vars.h.
20523         (confstr): Use CONF_IS_* macros.
20524         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20525         CONF_IS_* macros.
20526         * scripts/gen-posix-conf-vars.awk: New file.
20528 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20530         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20531         fegetround): Add no-op macros to avoid linknamespace issues.
20533         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20534         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20536         * sysdeps/unix/sysv/linux/tile/sysdep.h
20537         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20538         assembly-specific section to avoid a redefinition warning.
20540         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20541         long before casting to pointer to avoid a cast warning.
20543 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20545         * sysdeps/tile/tilegx/Implies: New file.
20547 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20549         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20551 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20553         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20555 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20558         not define.
20559         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20560         <kernel-features.h>.
20561         (__utimes) [__NR_utimes]: Make code unconditional.
20562         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20563         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20564         (__ASSUME_UTIMES): Do not undefine.
20565         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20566         (__ASSUME_UTIMES): Likewise.
20567         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20568         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20569         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20570         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20572 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20574         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20576 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20578         [BZ #17747]
20579         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20580         alias to weak alias for j0l, y0l.
20581         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20582         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20584         [BZ #17746]
20585         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20586         conversion.
20588 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20590         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20591         to zero if not already defined.
20593 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20595         [BZ #17724]
20596         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20597         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20598         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20599         (char *) casts added.
20600         * sysdeps/ieee754/k_standardf.c: New file.
20601         * sysdeps/ieee754/k_standardl.c: Likewise.
20602         * math/Makefile (libm-support): Remove k_standard.
20603         (libm-calls): Add k_standard.
20605 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20607         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20608         Optimize to avoid an unnecessary FPCR read.
20610 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20612         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20613         Optimize to reduce FPCR/FPSR accesses.
20615 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20617         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20618         Call libc_fetestexcept_aarch64.
20620 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20622         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20623         Call libc_fesetround_aarch64.
20625 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20627         [BZ #17733]
20628         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20629         (__bind): Do not define as weak alias.
20630         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20631         define.
20632         (__getsockname): Do not define as weak alias.
20634 2014-12-22  Will Newton  <will.newton@linaro.org>
20636         * manual/install.texi: Document that we require bison 2.7
20637         or above.
20638         * INSTALL: Regenerate.
20639         * configure.ac: Use AC_CHECK_PROG_VER instead of
20640         AC_PATH_PROG when checking for bison and check for
20641         version 2.7 or above.
20642         * configure: Regenerate.
20644 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20646         [BZ #17745]
20647         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20648         * sysdeps/tile/ffsll.c (ffsll): To here.
20650         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20652 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20654         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20655         if not defined.
20656         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20657         definition.
20658         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20659         hidden ___tls_get_addr.
20660         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20661         hidden __tls_get_addr.
20662         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20663         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20664         Likewise.
20666 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20668         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20669         _dl_init call.
20671 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20673         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20674         from "call _dl_init@PLT".
20675         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20677 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20679         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20680         guarantees.
20682 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20684         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20686 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20688         [BZ #17744]
20689         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20690         strnlen.
20692 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20694         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20695         of multu on MIPSr6.
20696         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20697         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20698         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20699         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20700         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20702 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20704         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20705         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20706         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20707         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20708         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20709         mips32r6/mips64r6.
20710         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20712 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20714         * string/strncat.c (STRNCAT): Simplify implementation.
20716 2014-12-19  David S. Miller  <davem@davemloft.net>
20718         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20719         access the quad as both a long double and as a series of 4 words.
20721         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20722         link_map->l_info array access.
20724 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20726         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20728         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20729         * math/atest-exp2.c (TIMEOUT): Likewise.
20730         * math/atest-sincos.c (TIMEOUT): Likewise.
20732 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20734         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20735         -Wno-error with -fno-builtin-lround.
20737 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20739         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20740         Contains futex constants and functions moved over from ...
20741         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20742         <lowlevellock-futex.h>.
20743         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20744         (lll_timedwait_tid): Add comments and parentheses around macro
20745         arguments.
20747 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20749         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20750         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20751         (__lll_private_flag): Remove.
20752         (lll_futex_wait): Likewise.
20753         (lll_futex_timed_wait): Likewise.
20754         (lll_futex_wake): Likewise.
20755         (lll_futex_requeue): Likewise.
20756         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20757         (__lll_timedwait_tid): Spell out argument names.
20758         (lll_timedwait_tid): Add comments and parentheses around macro
20759         arguments.
20760         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20761         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20763 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20765         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20766         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20767         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20768         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20769         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20770         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20771         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20772         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20773         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20774         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20775         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20776         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20777         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20778         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20779         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20780         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20781         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20782         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20783         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20785 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20787         * sysdeps/x86_64/x32/Makefile: New file.
20789 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20791         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20792         1L with (mp_limb_t) 1.
20794 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20796         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20797         * nptl/libc_pthread_init.c: ... here.
20798         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20799         * nptl/register-atfork.c: ... here.
20801         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20802         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20803         Use assert_perror to check its return value.
20804         (__gai_create_helper_thread): Likewise.
20806         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20808         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20810 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20812         [BZ #17725]
20813         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20814         __profil_counter.
20815         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20816         Likewise.
20817         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20818         Likewise.
20819         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20820         Likewise.
20821         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20822         (profil_counter): Likewise.
20823         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20824         (profil_counter): Likewise.
20825         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20826         Likewise.
20827         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20828         Likewise.
20829         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20830         (profil_counter): Likewise.
20831         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20832         Likewise.
20833         [!__profil_counter] (profil_counter): Define as weak alias of
20834         __profil_counter.
20835         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20836         (profil_counter): Rename to __profil_counter.
20837         [!__profil_counter] (profil_counter): Define as weak alias of
20838         __profil_counter.
20839         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20840         (profil_counter): Rename to __profil_counter.
20841         [!__profil_counter] (profil_counter): Define as weak alias of
20842         __profil_counter.
20843         * sysdeps/posix/profil.c: Update comment referring to
20844         profil_counter.
20845         (__profil): Use __profil_counter instead of profil_counter.
20846         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20847         __profil_counter.  Use __profil_counter_ushort and
20848         __profil_counter_uint in definitions.
20849         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20850         instead of profil_counter_uint and profil_counter_ushort.
20852         [BZ #17722]
20853         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20854         define as weak alias of __inet_makeaddr.
20855         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20856         as weak alias of __inet_addr.
20857         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20858         as weak alias of __inet_pton.  Use libc_hidden_weak.
20859         * include/arpa/inet.h (__inet_pton): Declare.  Use
20860         libc_hidden_proto.
20861         (inet_makeaddr): Don't use libc_hidden_proto.
20862         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20863         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20864         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20865         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20866         Remove variable.
20867         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20868         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20870 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20872         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20874 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20876         * stdio-common/bug-vfprintf-nargs.c (do_test):
20877         Cast value to intptr_t to avoid format warning
20878         for usage with PRIdPTR printing macro.
20880 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20882         * libio/tst-widetext.c (do_test):
20883         Use format type %td instead of %Zd for ptrdiff_t
20884         in order to avoid format warning.
20886 2014-12-17  Andreas Schwab  <schwab@suse.de>
20888         * nscd/mem.c (gc): Add size_t cast to match printf format.
20890 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20892         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20893         (init): Apply PTR_MANGLE to pointers before storing them.
20894         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20895         before using them.
20897 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20899         [BZ #17719]
20900         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20901         define as weak alias of __memrchr.
20902         (__memrchr): Do not define as strong alias of memrchr.
20903         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20904         Remove variable.
20905         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20906         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20907         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20909         [BZ #17717]
20910         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20911         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20912         (if_indextoname): Rename to __if_indextoname and define as weak
20913         alias of __if_indextoname.  Use libc_hidden_weak.
20914         (if_freenameindex): Rename to __if_freenameindex and define as
20915         weak alias of __if_freenameindex.
20916         (if_nameindex): Rename to __if_nameindex and define as weak alias
20917         of __if_nameindex.
20918         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20919         __if_nametoindex and define as weak alias of __if_nametoindex.
20920         Use libc_hidden_weak.
20921         (if_freenameindex): Rename to __if_freenameindex and define as
20922         weak alias of __if_freenameindex.
20923         (if_nameindex): Rename to __if_nameindex and define as weak alias
20924         of __if_nameindex.
20925         (if_indextoname): Rename to __if_indextoname and define as weak
20926         alias of __if_indextoname.  Use libc_hidden_weak.
20927         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20928         __if_nametoindex and define as weak alias of __if_nametoindex.
20929         Use libc_hidden_weak.
20930         (if_freenameindex): Rename to __if_freenameindex and define as
20931         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20932         (if_nameindex_netlink): Use __if_freenameindex instead of
20933         if_freenameindex.
20934         (if_nameindex): Rename to __if_nameindex and define as weak alias
20935         of __if_nameindex.  Use libc_hidden_weak.
20936         (if_indextoname): Rename to __if_indextoname and define as weak
20937         alias of __if_indextoname.  Use libc_hidden_weak.
20938         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20939         libc_hidden_proto.
20940         [!_ISOMAC] (__if_freenameindex): Likewise.
20941         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20942         if_nametoindex.
20943         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20944         variable.
20945         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20946         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20947         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20948         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20949         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20950         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20951         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20953         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20954         Remove variable.
20955         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20956         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20958 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20960         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20961         subscript above bounds'
20963         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20964         bounds.
20966 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20968         * libio/tst-fopenloc.c: Use test-skeleton.c.
20970         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20971         (entry): Rename to ITEM.
20972         (do_test, comp): Adjust.
20974         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20976 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20978         * string/tester.c: Include <libc-internal.h>.
20979         (test_memset): Ignore -Wmemset-transposed-args.
20981 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20983         * misc/tst-mntent2.c (do_test): Fix warning.
20985 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20987         * elf/tst-unique4lib.cc(a): Mark as used.
20989 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20991         [BZ #17630]
20992         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20993         names.
20995 2014-12-16  Allan McRae  <allan@archlinux.org>
20997         * stdio-common/Makefile (tests): Re-add bug26.
20999 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21001         [BZ #17657]
21002         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21003         static array.
21005 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21007         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21008         (__lll_lock_wait): Likewise.
21009         (__lll_timedlock_wait): Likewise.
21010         (__lll_timedwait_tid): Likewise.
21011         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21012         (__lll_robust_timedlock_wait): Likewise.
21013         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21014         (lll_cond_trylock): Likewise.
21015         (__lll_lock): Likewise.
21016         (__lll_robust_lock): Likewise.
21017         (__lll_cond_lock): Likewise.
21018         (lll_robust_cond_lock): Likewise.
21019         (__lll_timedlock): Likewise.
21020         (__lll_robust_timedlock): Likewise.
21021         (__lll_unlock): Likewise.
21022         (__lll_robust_unlock): Likewise.
21023         (lll_wait_tid): Likewise.
21024         (lll_timedwait_tid): Likewise.
21026 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21028         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21030 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21032         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21034 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21036         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21037         * stdio-common/tst-sprintf.c: Likewise.
21039 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21041         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21043 2014-12-15  Jeff Law  <law@redhat.com>
21045         [BZ #16617]
21046         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21047         on the heap.  (CVE-2012-3406)
21048         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21049         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21050         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21052 2014-12-15  Will Newton  <will.newton@linaro.org>
21054         * manual/install.texi: Bump required version of texinfo
21055         to 4.7 from 4.5.
21056         * INSTALL: Regenerated.
21057         * configure.ac: Check for makeinfo version 4.7 and above.
21058         * configure: Regenerated.
21060 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21062         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21063         PREFIX, string constant to insert between directory and name.
21064         * sysdeps/posix/shm_open.c: Update caller.
21065         * sysdeps/posix/shm_unlink.c: Likewise.
21066         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21067         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21068         (SEM_SHM_PREFIX): New macro.
21069         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21070         [$(have-thread-library) = no].
21071         * nptl/Makefile (libpthread-routines): Add shm-directory.
21072         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21073         * sysdeps/nptl/shm-directory.h: New file.
21074         * sysdeps/posix/shm-directory.c
21075         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21076         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21077         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21078         INTERNAL_SYSCALL.
21079         (__where_is_shmfs): Function removed.
21080         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21081         Variables removed.
21082         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21083         Use SHM_GET_NAME.
21084         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21086         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21087         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21088         unconditional for use inside libpthread.
21089         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21091 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21093         * nptl/pthread_getaffinity.c: New file.
21094         * nptl/pthread_setaffinity.c: New file.
21095         * nptl/pthread_getname.c: New file.
21096         * nptl/pthread_setname.c: New file.
21098         * nptl/pthread_create.c (START_THREAD_DEFN)
21099         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21101 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21102             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21104         * resolv/res_send.c (send_vc): Disable warning resplen may
21105         be used uninitialized.
21107 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21109         * nptl/tst-mutex6.c
21110         (ATTR_NULL): New define checks ATTR against NULL.
21111         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21112         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21114 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21116         [BZ #17581]
21117         * malloc/hooks.c
21118         (mem2mem_check): Revert my previous change.
21119         (malloc_check_get_size): Revert my previous change.
21120         (mem2chunk_check): Revert my previous change.
21122 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21124         * sysdeps/posix/shm-directory.c: New file.
21125         * sysdeps/posix/shm-directory.h: New file.
21126         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21127         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21128         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21129         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21130         Transmute EPERM to EACCES.
21131         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21132         from ...
21133         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21134         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21136 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21138         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21139         pointer and cast to uintptr_t.
21140         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21141         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21142         Add cast to avoid warning.
21143         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21145 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21147         * nptl/semaphore.h: Move to ...
21148         * sysdeps/pthread/semaphore.h: ... here.
21149         * Makefile (installed-headers): Change nptl/semaphore.h to
21150         sysdeps/pthread/semaphore.h.
21152 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21154         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21155         generated error format strings.
21157         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21158         -Wformat-extra-args warnings for scanf formats.
21159         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21160         test of zero-length format (duh).
21161         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21162         corner-case scanf format test.
21163         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21164         generated fprintf format string.
21165         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21166         corner-case sprintf format tests.
21167         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21168         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21169         -Wformat-extra-args warnings throughout.
21170         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21171         (CFLAGS-scanf4.c): Likewise.
21172         (CFLAGS-scanf7.c): Likewise.
21173         (CFLAGS-tst-sprintf.c): Likewise.
21174         (CFLAGS-tst-printf.c): Likewise.
21175         (CFLAGS-tst-printfsz.c): Likewise.
21177 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21179         * include/cpio.h: New file.
21180         * include/fmtmsg.h: Likewise.
21182         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21183         corresponding format argument to size_t.
21184         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21185         arguments.
21186         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21187         corresponding format argument to size_t.
21188         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21189         arguments.
21190         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21191         corresponding format argument to size_t.
21192         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21193         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21194         (CFLAGS-tst-mbswcs2.c): Likewise.
21195         (CFLAGS-tst-mbswcs3.c): Likewise.
21196         (CFLAGS-tst-mbswcs4.c): Likewise.
21197         (CFLAGS-tst-mbswcs5.c): Likewise.
21198         (CFLAGS-tst-trans.c): Likewise.
21200 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21202         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21203         rather than assuming they won't contain any '%'s.
21205 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21207         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21208         inhibit_loop_to_libcall to avoid recursive calls.
21209         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21210         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21212 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21214         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21215         prototype.
21217 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21219         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21220         integer value instead of boolean.
21222 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21224         * malloc/malloc.c: Fix powerof2 check.
21226 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21228         * locale/programs/locfile.h (maybe_swap_uint32):
21229         Remove inline and add unused attribute.
21231 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21234         Truncating assembler expression to a .long expression.
21236 2014-12-11  Andreas Schwab  <schwab@suse.de>
21238         * elf/rtld.c (struct map_args): Constify str member.
21239         (do_preload): Constify fname argument.
21241 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21243         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21244         constants definition.
21246 2014-12-11  Andreas Schwab  <schwab@suse.de>
21248         [BZ #16657]
21249         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21250         FORCE_ELISION instead of DO_ELISION.
21251         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21252         Remove.
21253         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21254         Likewise.
21256         * iconvdata/gconv-modules: Remove duplicate entry.
21258 2014-12-11  Will Newton  <will.newton@linaro.org>
21260         Merge gettext 0.19.3 into intl/.
21262         This involves a number of cosmetic changes to comments
21263         and ANSI function definitions and prototypes throughout
21264         all the files. The gettext copyright header is used but
21265         with the date ranges taken from the glibc copy.
21267         * NEWS: Add gettext merge to 2.21.
21268         * intl/bindtextdom.c: Switch to gettext copyright.
21269         Use ANSI definitions and prototypes.
21270         Use gl_* locking primitives rather than __libc_* ones.
21271         Use __builtin_expect rather than __glibc_likely/unlikely.
21272         * intl/dcgettext.c: Switch to gettext copyright.
21273         Use ANSI definitions and prototypes.
21274         * intl/dcigettext.c: Switch to gettext copyright.
21275         Use ANSI definitions and prototypes.
21276         (INTDIV0_RAISES_SIGFPE): New define.
21277         Use gl_* locking primitives rather than __libc_* ones.
21278         Include eval-plural.h instead of plural-eval.c.
21279         Use __builtin_expect rather than __glibc_likely/unlikely.
21280         * intl/dcngettext.c: Switch to gettext copyright.
21281         Use ANSI definitions and prototypes.
21282         * intl/dgettext.c: Likewise.
21283         * intl/dngettext.c: Likewise.
21284         * intl/plural-eval.c: Renamed to...
21285         * intl/eval-plural.h: ...this.
21286         * intl/explodename.c: Switch to gettext copyright.
21287         Use ANSI definitions and prototypes.
21288         (_nl_explode_name): Use strchr instead of __rawmemchr.
21289         * intl/finddomain.c: Switch to gettext copyright.
21290         Use ANSI definitions and prototypes.
21291         Use gl_* locking primitives rather than __libc_* ones.
21292         (_nl_find_domain): Use malloc rather than alloca for
21293         allocation of temporary locale name.
21294         * intl/gettext.c: Switch to gettext copyright.
21295         Use ANSI definitions and prototypes.
21296         * intl/gettextP.h: Switch to gettext copyright.
21297         Use ANSI definitions and prototypes.
21298         Use gl_* locking primitives rather than __libc_* ones.
21299         * intl/gmo.h: Switch to gettext copyright.
21300         (struct sysdep_string): Move struct segment_pair outside of
21301         struct definition.
21302         * intl/hash-string.c: Use ANSI definitions and prototypes.
21303         * intl/hash-string.h: Switch to gettext copyright.
21304         Use ANSI definitions and prototypes.
21305         * intl/l10nflist.c: Switch to gettext copyright.
21306         Use ANSI definitions and prototypes.
21307         (_nl_normalize_codeset): Avoid integer overflow.
21308         * intl/loadinfo.h: Switch to gettext copyright.
21309         Use ANSI definitions and prototypes.
21310         (LIBINTL_DLL_EXPORTED): New define.
21311         (PATH_SEPARATOR): New define.
21312         * intl/loadmsgcat.c: Switch to gettext copyright.
21313         * intl/localealias.c: Switch to gettext copyright.
21314         Use ANSI definitions and prototypes.
21315         (_nl_expand_alias): Use PATH_SEPARATOR.
21316         * intl/ngettext.c: Switch to gettext copyright.
21317         Use ANSI definitions and prototypes.
21318         * intl/plural-exp.c: Likewise.
21319         * intl/plural-exp.h: Switch to gettext copyright.
21320         Use ANSI definitions and prototypes.
21321         (struct expression): Move definition of enum operator outside
21322         of struct definition.
21323         * intl/plural.c: Regenerate.
21324         * intl/plural.y: Switch to gettext copyright.
21325         Use ANSI definitions and prototypes.
21326         Port to bison 3.0.
21327         * intl/textdomain.c: Switch to gettext copyright.
21328         Use ANSI definitions and prototypes.
21329         Use gl_* locking primitives rather than __libc_* ones.
21331 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21333         * debug/warning-nop.c: Add used atrribute.
21335 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21337         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21339         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21340         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21341         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21343 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21344             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21346         [BZ #17634]
21347         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21348         Undefine after defining function.  Define as weak alias of
21349         __wcschr.  Use libc_hidden_weak.
21350         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21351         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21352         (libc_hidden_def): Also define __GI___wcschr alias.
21353         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21354         __wcschr and define as weak alias of __wcschr.
21355         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21356         __wcschr.
21357         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21358         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21359         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21360         libc_hidden_weak.  Do not use libc_hidden_def.
21361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21362         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21363         __GI___wcschr alias.
21364         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21365         [IS_IN (libc)] (wcschr): Define as macro expanding to
21366         __redirect_wcschr.
21367         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21368         [IS_IN (libc)] (__wcschr_power6): Likewise.
21369         [IS_IN (libc)] (__wcschr_power7): Likewise.
21370         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21371         instead of wcschr.
21372         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21373         __libc_wcschr.
21374         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21375         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21376         __wcschr and define as weak alias of __wcschr.  Use
21377         libc_hidden_builtin_def.
21378         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21379         as weak alias of __wcschr.  Use libc_hidden_weak.
21380         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21381         wcschr.
21382         * time/era.c (_nl_init_era_entries): Likewise.
21383         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21384         variable.
21385         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21386         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21388 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21390         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21391         format for long int variable.
21393 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21395         [BZ #10672]
21396         * manual/search.texi: (Array Sort Function): Remove claim how to make
21397         qsort stable.
21399 2014-12-10  Andreas Schwab  <schwab@suse.de>
21401         [BZ #12847]
21402         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21403         user-controlled locks.
21405 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21407         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21408         register.
21410 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21412         * configure.ac (--disable-werror): New configure option.
21413         (enable_werror): New AC_SUBST.
21414         * configure: Regenerated.
21415         * config.make.in (enable-werror): New variable.
21416         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21417         -Wno-error=undef.
21418         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21419         * manual/install.texi (Configuring and compiling): Document
21420         --disable-werror.
21421         * INSTALL: Regenerated.
21422         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21423         (CFLAGS-tst-chk2.c): Likewise.
21424         (CFLAGS-tst-chk3.c): Likewise.
21425         (CFLAGS-tst-chk4.cc): Likewise.
21426         (CFLAGS-tst-chk5.cc): Likewise.
21427         (CFLAGS-tst-chk6.cc): Likewise.
21428         (CFLAGS-tst-lfschk1.c): Likewise.
21429         (CFLAGS-tst-lfschk2.c): Likewise.
21430         (CFLAGS-tst-lfschk3.c): Likewise.
21431         (CFLAGS-tst-lfschk4.cc): Likewise.
21432         (CFLAGS-tst-lfschk5.cc): Likewise.
21433         (CFLAGS-tst-lfschk6.cc): Likewise.
21435         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21436         (main): Disable -Wdeprecated-declarations around calls to
21437         register_printf_function.
21439         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21440         (do_test): Disable -Wdiv-by-zero around some calls to
21441         fwrite_unlocked and fread_unlocked.
21443         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21444         (DIAG_POP_NEEDS_COMMENT): Likewise.
21445         (_DIAG_STR1): Likewise.
21446         (_DIAG_STR): Likewise.
21447         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21448         * stdio-common/bug21.c: Include <libc-internal.h>.
21449         (do_test): Disable -Wformat around call to sscanf.
21450         * stdio-common/scanf14.c: Include <libc-internal.h>.
21451         (main): Disable -Wformat around some calls to scanf functions.
21453 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21455         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21457 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21459         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21460         stack variable alignment.
21462 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21464         [BZ #17682]
21465         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21466         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21467         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21468         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21469         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21470         __getrlimit instead of getrlimit.
21471         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21472         __gettimeofday instead of gettimeofday.
21473         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21474         Likewise.
21475         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21476         Likewise.
21477         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21478         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21479         Remove variable.
21480         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21481         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21483 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21485         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21486         for wide-character tests.
21488 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21490         * io/openat64.c: #include <libc-internal.h>
21491         (__openat64): Prototypify.  Use ignore_value on MODE.
21492         * io/openat.c: Likewise.
21493         * misc/reboot.c: #include <libc-internal.h>
21494         (reboot): Prototypify.  Use ignore_value on HOWTO.
21495         * misc/ptrace.c: #include <libc-internal.h>
21496         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21498 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21500         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21501         XPG4, UNIX98 and XOPEN2K.
21502         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21503         Remove variable.
21504         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21506 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21508         * libio/fileops.c: Use ISO C style for function definitions.
21509         * libio/iofopen.c: Likewise.
21510         * libio/wfileops.c: Likewise.
21512         [BZ #17653]
21513         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21514         offset on EOF.
21515         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21516         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21517         (fgets_func): Function pointer to fgets and fgetws.
21518         (do_ftell_test): Add test to verify ftell value after read
21519         EOF.
21520         (do_test): Set fgets_func.
21522         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21523         O_TRUNC flag for w and w+ modes.
21524         (do_rewind_test): Likewise.
21525         (do_ftell_test): Likewise.
21526         (do_write_test): Likewise.
21528         [BZ #17647]
21529         * libio/fileops.c (do_ftell): Seek only when there are
21530         unflushed writes.
21531         * libio/wfileops.c (do_ftell_wide): Likewise.
21532         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21533         test case.
21534         (do_one_test): Call it.
21536 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21538         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21539         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21540         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21541         Remove variable.
21542         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21543         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21544         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21546 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21548         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21549         Remove variable.
21550         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21552         [BZ #17668]
21553         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21554         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21555         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21556         __freeifaddrs.  Use libc_hidden_weak.
21557         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21558         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21559         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21560         __freeifaddrs.  Use libc_hidden_weak.
21561         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21562         __getifaddrs and define as weak alias of __getifaddrs.  Use
21563         libc_hidden_weak.
21564         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21565         __freeifaddrs.  Use libc_hidden_weak.
21566         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21567         Remove variable.
21568         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21569         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21571 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21573         [BZ #17601]
21574         * sysdeps/mips/start.S (__start): Use indirect jump to call
21575         __libc_start_main.
21577 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21579         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21581         * nptl/tst-mutex1.c: Include <stdbool.h>.
21582         [!ATTR] (ATTR_NULL): New macro.
21583         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21584         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21585         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21587         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21588         to char *.
21590         [BZ #17665]
21591         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21592         Change conditional to [__USE_MISC].
21594         [BZ #17664]
21595         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21596         fgets_unlocked.
21597         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21598         __fgets_unlocked.
21599         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21600         fgets_unlocked.
21601         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21602         Remove variable.
21603         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21604         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21605         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21606         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21607         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21608         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21609         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21610         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21611         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21613         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21615 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21617         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21618         Remove strpbrk objects.
21619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21620         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21621         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21622         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21623         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21624         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21626         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21627         Remove strcspn objects.
21628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21629         (__libc_ifunc_impl_list): Remove strcspn implementation.
21630         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21631         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21632         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21633         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21635         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21636         Remove strspn objetcs.
21637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21638         (__libc_ifunc_impl_list): Remove strspn implementation.
21639         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21640         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21641         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21642         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21644 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21646         [BZ #17581]
21647         * malloc/hooks.c
21648         (mem2mem_check): Add a terminator to the chain of checking blocks.
21649         (malloc_check_get_size): Use it here.
21650         (mem2chunk_check): Ditto.
21652 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21654         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21655         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21657 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21659         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21661         * nptl/nptl-init.c: Include libc-internal.h.
21662         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21664         * elf/ldconfig.c (search_dir): Expand comment.
21666 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21668         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21669         variable.
21670         (linknamespace-symlist-stdlibs-tests): Likewise.
21671         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21672         instead of $(objpfx)symlist-stdlibs.
21673         (linknamespace-libs-isoc): New variable.
21674         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21675         (linknamespace-libs-ISO): New variable.
21676         (linknamespace-libs-ISO99): Likewise.
21677         (linknamespace-libs-ISO11): Likewise.
21678         (linknamespace-libs-XPG3): Likewise.
21679         (linknamespace-libs-XPG4): Likewise.
21680         (linknamespace-libs-POSIX): Likewise.
21681         (linknamespace-libs-UNIX98): Likewise.
21682         (linknamespace-libs-XOPEN2K): Likewise.
21683         (linknamespace-libs-POSIX2008): Likewise.
21684         (linknamespace-libs-XOPEN2K8): Likewise.
21685         ($(objpfx)symlist-stdlibs): Replace by
21686         $(linknamespace-symlist-stdlibs-tests).  Use
21687         $(linknamespace-libs-$*) as set of libraries.
21688         ($(linknamespace-header-tests)): Update dependencies.  Use
21689         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21690         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21691         * conform/linknamespace.pl: Remove comment about considering
21692         definitions of symbols from irrelevant libraries.
21694 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21696         [BZ #13862]
21697         * elf/dl-tls.c: Include <atomic.h>.
21698         (oom): Remove #ifdef SHARED/#endif.
21699         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21700         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21701         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21702         big enough.
21703         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21704         * nptl/Makefile (tests): Add tst-stack4.
21705         (modules-names): Add tst-stack4mod.
21706         ($(objpfx)tst-stack4): New.
21707         (tst-stack4mod.sos): Likewise.
21708         ($(objpfx)tst-stack4.out): Likewise.
21709         ($(tst-stack4mod.sos)): Likewise.
21710         (clean): Likewise.
21711         * nptl/tst-stack4.c: New file.
21712         * nptl/tst-stack4mod.c: Likewise.
21714 2014-11-27  J. Brown  <jb999@gmx.de>
21716         * sysdeps/x86/bits/string.h: Add recent CPUs.
21718 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21720         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21721         sigblock.
21723         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21724         feof.
21726         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21727         variable.
21729 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21731         * nscd/connections.c: Include libc-internal.h because of macro
21732         usage ignore_value.
21734 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21736         * string/bits/string3.h (__warn_memset_zero_len): Don't
21737         declare for gcc newer than 5.0.
21738         (memset): Don't test for zero-length __LEN for gcc newer than
21739         5.0.
21741 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21743         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21744         size_t for %zu format.
21746         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21747         difference, not %ju.
21749 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21751         * include/libc-internal.h (ignore_value): New macro.
21752         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21753         with ignore_value.
21755         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21756         definition.
21758         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21759         pthread_cleanup_push to void *.
21761         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21762         Undefine.
21764         [BZ #16619]
21765         [BZ #16740]
21766         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21767         instead of 1L << 52.
21769         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21770         * libio/bug-rewind2.c (do_test): Likewise.
21772         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21773         * debug/test-strcpy_chk-ifunc.c: Likewise.
21774         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21775         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21776         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21777         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21778         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21779         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21780         * Rules [$(multi-arch) = no] (tests): Do not filter out
21781         $(tests-ifunc).
21782         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21783         * debug/Makefile (tests-ifunc): Remove variable.
21784         (tests): Do not add $(tests-ifunc).
21785         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21786         (tests): Do not add $(tests-ifunc).
21787         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21788         [TEST_IFUNC]: Remove conditionals.
21789         * string/test-string.h (TEST_IFUNC): Remove macro.
21790         [TEST_IFUNC]: Remove conditionals.
21792         * string/test-strchr.c [!WIDE] (L): New macro.
21793         [WIDE] (L): Likewise.
21794         (check1): Use CHAR instead of char.  Use L on string and character
21795         constants.
21797 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21799         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21800         tests.
21801         * sysdeps/powerpc/bits/atomic.h
21802         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21803         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21804         (atomic_exchange_and_add_acq): Likewise.
21805         (atomic_exchange_and_add_rel): Likewise.
21806         * sysdeps/powerpc/powerpc32/bits/atomic.h
21807         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21808         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21809         * sysdeps/powerpc/powerpc64/bits/atomic.h
21810         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21811         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21813 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21815         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21816         Change synchronization of __sched_fifo_min_prio and
21817         __sched_fifo_max_prio.
21818         * nptl/pthread_mutexattr_getprioceiling.c
21819         (pthread_mutexattr_getprioceiling): Likewise.
21820         * nptl/pthread_mutexattr_setprioceiling.c
21821         (pthread_mutexattr_setprioceiling): Likewise.
21822         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21823         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21824         Likewise.
21826 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21828         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21829         void.
21831 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21833         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21834         third argument const.
21836 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21838         fnmatch: work around GCC compiler warning bug with uninit var
21839         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21840         This works around a bug with x86-64 GCC 4.9.2 and earlier
21841         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21842         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21843         used uninitialized in this function [-Wmaybe-uninitialized]".
21845 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21847         * posix/bug-regex31.c (main): Return RES not 0.
21849 2014-11-25  Anton Blanchard <anton@samba.org>
21851         * sysdeps/powerpc/bits/atomic.h
21852         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21854 2014-11-24  Sterling Augustine  <saugustine@google.com>
21856         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21858 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21860         [BZ #17608]
21861         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21863 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21865         [BZ #17633]
21866         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21867         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21868         variable.
21869         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21870         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21872 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21874         * string/strncpy.c (strncpy): Improve performance by using memset.
21876 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21878         * string/strcpy.c (strcpy):
21879         Improve performance by using strlen and memcpy.
21881 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21883         * string/strcoll_l.c (get_next_seq): __always_inline.
21884         * string/strcoll_l.c (do_compare): __always_inline.
21886 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21888         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21889         defined.
21890         * include/mqueue.h: Likewise.
21891         * include/stdlib.h: Likewise.
21893         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21894         (get_null_defines): Adjust.
21895         * sunrpc/Makefile: Adjust comment.
21896         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21897         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21898         (CFLAGS-interp.c): Likewise.
21899         (CFLAGS-ldconfig.c): Likewise.
21900         (CPPFLAGS-.os): Likewise.
21901         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21902         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21903         * extra-modules.mk (extra-modules.mk): Likewise.
21904         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21905         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21906         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21907         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21908         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21909         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21910         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21911         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21912         * iconvdata/Makefile (CPPFLAGS): Likewise.
21913         (cpp-srcs-left): Add libof for all iconvdata routines.
21914         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21915         * include/assert.h: Likewise.
21916         * include/ctype.h: Likewise.
21917         * include/errno.h: Likewise.
21918         * include/libc-symbols.h: Likewise.
21919         * include/math.h: Likewise.
21920         * include/netdb.h: Likewise.
21921         * include/resolv.h: Likewise.
21922         * include/stdio.h: Likewise.
21923         * include/stdlib.h: Likewise.
21924         * include/string.h: Likewise.
21925         * include/sys/stat.h: Likewise.
21926         * include/wctype.h: Likewise.
21927         * intl/l10nflist.c: Likewise.
21928         * libidn/idn-stub.c: Likewise.
21929         * libio/libioP.h: Likewise.
21930         * nptl/libc_multiple_threads.c: Likewise.
21931         * nptl/pthreadP.h: Likewise.
21932         * posix/regex_internal.h: Likewise.
21933         * resolv/res_hconf.c: Likewise.
21934         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21935         * sysdeps/arm/memmove.S: Likewise.
21936         * sysdeps/arm/sysdep.h: Likewise.
21937         * sysdeps/generic/_itoa.h: Likewise.
21938         * sysdeps/generic/symbol-hacks.h: Likewise.
21939         * sysdeps/gnu/errlist.awk: Likewise.
21940         * sysdeps/gnu/errlist.c: Likewise.
21941         * sysdeps/i386/i586/memcpy.S: Likewise.
21942         * sysdeps/i386/i586/memset.S: Likewise.
21943         * sysdeps/i386/i686/memcpy.S: Likewise.
21944         * sysdeps/i386/i686/memmove.S: Likewise.
21945         * sysdeps/i386/i686/mempcpy.S: Likewise.
21946         * sysdeps/i386/i686/memset.S: Likewise.
21947         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21948         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21949         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21950         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21951         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21952         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21953         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21954         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21955         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21956         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21957         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21958         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21959         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21960         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21961         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21963         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21964         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21965         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21966         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21967         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21968         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21969         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21970         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21971         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21973         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21974         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21975         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21976         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21977         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21978         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21979         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21980         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21981         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21982         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21983         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21984         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21985         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21986         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21987         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21988         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21989         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21990         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21991         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21992         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21993         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21994         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21995         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21996         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21997         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21998         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21999         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22000         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22001         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22002         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22003         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22004         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22005         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22006         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22007         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22008         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22009         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22010         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22011         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22012         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22013         * sysdeps/posix/closedir.c: Likewise.
22014         * sysdeps/posix/opendir.c: Likewise.
22015         * sysdeps/posix/readdir.c: Likewise.
22016         * sysdeps/posix/rewinddir.c: Likewise.
22017         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22018         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22019         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22020         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22021         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22022         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22023         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22024         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22025         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22028         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22029         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22030         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22031         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22032         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22033         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22034         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22035         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22036         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22037         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22038         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22039         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22040         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22041         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22042         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22043         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22044         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22045         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22047         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22049         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22052         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22053         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22054         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22055         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22056         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22057         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22058         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22059         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22060         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22061         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22062         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22063         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22064         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22065         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22066         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22067         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22068         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22069         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22070         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22071         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22074         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22075         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22076         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22077         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22078         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22079         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22080         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22081         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22082         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22083         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22084         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22085         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22086         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22087         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22088         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22089         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22090         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22091         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22092         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22093         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22094         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22095         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22096         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22097         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22098         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22099         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22100         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22101         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22102         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22103         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22104         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22105         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22106         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22107         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22108         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22109         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22113         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22115         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22116         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22117         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22118         * sysdeps/unix/alpha/sysdep.S: Likewise.
22119         * sysdeps/unix/alpha/sysdep.h: Likewise.
22120         * sysdeps/unix/make-syscalls.sh: Likewise.
22121         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22122         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22123         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22124         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22125         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22126         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22127         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22128         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22129         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22130         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22131         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22132         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22133         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22134         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22135         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22136         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22137         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22138         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22139         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22140         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22141         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22142         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22143         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22144         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22145         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22146         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22150         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22151         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22152         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22153         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22154         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22155         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22156         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22158         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22159         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22160         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22161         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22162         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22163         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22164         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22165         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22166         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22168         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22170         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22171         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22172         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22173         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22174         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22175         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22176         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22177         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22179         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22180         * sysdeps/x86_64/memcpy.S: Likewise.
22181         * sysdeps/x86_64/memmove.c: Likewise.
22182         * sysdeps/x86_64/memset.S: Likewise.
22183         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22184         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22185         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22186         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22187         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22188         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22189         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22190         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22191         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22192         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22193         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22194         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22195         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22196         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22197         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22198         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22199         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22200         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22201         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22202         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22203         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22204         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22205         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22206         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22207         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22208         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22209         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22210         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22211         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22212         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22213         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22214         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22215         * sysdeps/x86_64/strcmp.S: Likewise.
22217         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22219         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22220         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22221         * elf/rtld-Rules: Likewise.
22222         * elf/setup-vdso.h: Likewise.
22223         * include/assert.h: Likewise.
22224         * include/bits/stdlib-float.h: Likewise.
22225         * include/errno.h: Likewise.
22226         * include/sys/stat.h: Likewise.
22227         * include/unistd.h: Likewise.
22228         * sysdeps/aarch64/setjmp.S: Likewise.
22229         * sysdeps/alpha/setjmp.S: Likewise.
22230         * sysdeps/arm/__longjmp.S: Likewise.
22231         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22232         * sysdeps/arm/setjmp.S: Likewise.
22233         * sysdeps/arm/sysdep.h: Likewise.
22234         * sysdeps/generic/_itoa.h: Likewise.
22235         * sysdeps/generic/dl-sysdep.h: Likewise.
22236         * sysdeps/generic/ldsodefs.h: Likewise.
22237         * sysdeps/i386/dl-tls.h: Likewise.
22238         * sysdeps/i386/setjmp.S: Likewise.
22239         * sysdeps/m68k/setjmp.c: Likewise.
22240         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22241         * sysdeps/mach/hurd/opendir.c: Likewise.
22242         * sysdeps/posix/getcwd.c: Likewise.
22243         * sysdeps/posix/opendir.c: Likewise.
22244         * sysdeps/posix/profil.c: Likewise.
22245         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22246         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22247         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22248         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22249         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22250         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22251         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22252         * sysdeps/s390/dl-tls.h: Likewise.
22253         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22254         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22255         * sysdeps/sh/sh3/setjmp.S: Likewise.
22256         * sysdeps/sh/sh4/setjmp.S: Likewise.
22257         * sysdeps/unix/alpha/sysdep.h: Likewise.
22258         * sysdeps/unix/arm/sysdep.S: Likewise.
22259         * sysdeps/unix/i386/sysdep.S: Likewise.
22260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22261         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22262         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22263         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22265         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22266         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22267         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22268         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22269         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22270         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22271         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22272         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22275         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22276         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22278         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22279         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22280         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22283         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22284         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22285         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22286         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22287         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22288         * sysdeps/x86_64/setjmp.S: Likewise.
22290         * include/math.h: Use IS_IN instead of IS_IN_libm.
22291         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22292         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22293         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22294         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22295         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22296         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22297         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22298         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22299         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22300         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22301         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22302         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22303         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22304         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22305         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22306         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22307         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22308         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22309         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22310         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22311         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22312         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22313         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22314         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22315         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22316         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22317         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22318         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22319         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22320         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22321         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22322         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22323         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22325         Likewise.
22326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22327         Likewise.
22328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22329         Likewise.
22330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22331         Likewise.
22332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22333         Likewise.
22334         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22335         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22336         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22337         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22338         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22339         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22345         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22346         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22347         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22348         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22349         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22350         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22351         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22352         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22353         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22354         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22355         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22357         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22358         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22360         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22362         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22363         * nptl/pthreadP.h: Likewise.
22364         * nptl_db/structs.def: Likewise.
22365         * sysdeps/arm/sysdep.h: Likewise.
22366         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22367         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22368         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22369         * sysdeps/unix/alpha/sysdep.h: Likewise.
22370         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22372         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22373         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22374         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22375         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22376         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22377         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22378         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22379         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22380         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22381         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22382         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22383         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22388         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22390         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22391         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22392         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22393         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22394         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22395         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22397         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22398         * nptl/pthreadP.h: Likewise.
22399         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22400         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22401         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22402         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22403         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22404         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22405         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22406         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22407         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22408         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22409         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22410         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22412         Likewise.
22413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22414         Likewise.
22415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22417         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22418         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22420         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22421         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22422         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22424         * dlfcn/dladdr.c: Use IS_IN.
22425         * dlfcn/dladdr1.c: Likewise.
22426         * dlfcn/dlclose.c: Likewise.
22427         * dlfcn/dlerror.c: Likewise.
22428         * dlfcn/dlinfo.c: Likewise.
22429         * dlfcn/dlmopen.c: Likewise.
22430         * dlfcn/dlopen.c: Likewise.
22431         * dlfcn/dlsym.c: Likewise.
22432         * dlfcn/dlvsym.c: Likewise.
22434         * include/ifaddrs.h: Use IS_IN.
22435         * inet/check_pf.c: Likewise.
22436         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22437         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22439         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22440         IS_IN_ldconfig.
22441         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22442         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22444         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22445         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22446         IS_IN (libc).
22448         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22450         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22451         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22452         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22453         * include/libc-symbols.h (IS_IN_LIB): New macro.
22454         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22455         * include/netdb.h: Likewise.
22456         * include/stap-probe.h: Remove all uses of IN_LIB.
22458         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22459         instead of IN_MODULE.
22460         * include/libc-symbols.h (IN_MODULE): Define using
22461         MODULE_NAME.
22462         (PASTE_NAME, PASTE_NAME1): New macros.
22463         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22464         of IN_LIB.
22465         (STAP_PROBE_ASM): Likewise.
22467 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22469         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22470         __mach_init in dlopened libc.
22472 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22474         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22475         * sysdeps/arm/preconfigure: Regenerate.
22477 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22479         * nptl/pthread_create.c (__pthread_create_2_1): Set
22480         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22481         when copying values from IATTR into PD.
22483 2014-11-21  Will Newton  <will.newton@linaro.org>
22484             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22486         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22487         Refactor inline-asm.  Also add comment.
22489         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22490         ElfW macro instead of hardcoded Elf64 types.
22491         (la_aarch64_gnu_pltenter): Likewise.
22492         * sysdeps/aarch64/dl-machine.h
22493         (elf_machine_runtime_setup): Use ElfW(Addr).
22495         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22496         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22497         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22498         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22499         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22500         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22501         (R_AARCH64_TLS_DTPMOD): This.
22502         (R_AARCH64_TLS_DTPREL64): Rename to ...
22503         (R_AARCH64_TLS_DTPREL): This.
22504         (R_AARCH64_TLS_TPREL64): Rename to ...
22505         (R_AARCH64_TLS_TPREL): This.
22506         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22507         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22508         R_AARCH64_TLS_TPREL64.
22509         (elf_machine_rela): Likewise.
22511 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22513         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22514         by setting it to 0.  64b atomics are not supported currently.
22516 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22518         [BZ #16469]
22519         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22520         search domain names.
22522 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22524         [BZ #16469]
22525         * NEWS: Update.
22526         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22527         trailing dot.
22528         * posix/tst-getaddrinfo5.c: New.
22529         * posix/Makefile (tests): Add it.
22531 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22533         [BZ #14498]
22534         * NEWS: Fixed.
22535         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22536         after parsing line but before break_if_match.
22537         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22538         if there is a protocol mismatch.
22540 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22542         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22543         because the potential race is on the user-supplied stream.
22545 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22547         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22548         string literal if not passed a buffer.
22549         * manual/job.texi (ctermid): Update reasoning, note deviation
22550         from posix, suggest mtasurace when not passed a buffer, for
22551         future non-preliminary safety notes.
22553 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22555         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22556         of not passing it a buffer.
22557         Reported by Peng Haitao.
22559 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22561         * manual/Makefile ($(objpfx)stamp-summary): Require
22562         check-safety.sh to pass.
22563         * manual/check-safety.sh: Wish for verification that every
22564         @deftypefn and @deftypefun is followed by a @safety remark.
22566 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22568         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22570         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22571         PTHREAD_CANCEL_ASYNCHRONOUS.
22572         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22573         send SIGCANCEL.
22575         * nptl/default-sched.h: New file.
22576         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22577         * nptl/pthread_create.c: Include it.
22578         (__pthread_create_2_1): Use collect_default_sched instead of making
22579         Linux syscalls here directly.
22581 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22583         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22584         __pthread_once): Use C11 atomics.
22586 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22588         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22590 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22592         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22593         atomic_thread_fence_acquire, atomic_thread_fence_release,
22594         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22595         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22596         atomic_compare_exchange_weak_relaxed,
22597         atomic_compare_exchange_weak_acquire,
22598         atomic_compare_exchange_weak_release,
22599         atomic_exchange_acquire, atomic_exchange_release,
22600         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22601         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22602         atomic_fetch_and_acquire,
22603         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22605 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22607         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22608         USE_ATOMIC_COMPILER_BUILTINS): Define.
22609         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22611         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22613         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22615         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22617         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22619         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22620         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22621         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22623         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22625         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22626         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22627         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22628         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22629         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22630         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22631         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22632         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22633         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22634         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22635         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22636         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22637         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22638         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22639         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22640         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22641         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22642         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22643         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22644         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22645         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22646         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22647         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22648         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22650 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22652         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22653         the sched_priority value here.  It was already checked when the user
22654         called pthread_attr_setschedparam.
22656         * nptl/tst-bad-schedattr.c: New file.
22657         * nptl/Makefile (tests): Add it.
22659 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22660             Florian Weimer  <fweimer@redhat.com>
22661             Joseph Myers  <joseph@codesourcery.com>
22662             Adam Conrad  <adconrad@0c3.net>
22663             Andreas Schwab  <schwab@suse.de>
22664             Brooks  <bmoses@google.com>
22666         [BZ #17625]
22667         * wordexp-test.c (__dso_handle): Add prototype.
22668         (__register_atfork): Likewise.
22669         (__app_register_atfork): New function.
22670         (registered_forks): New global.
22671         (register_fork): New function.
22672         (test_case): Add 3 new tests for WRDE_CMDSUB.
22673         (main): Call __app_register_atfork.
22674         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22675         fork count is non-zero fail the test.
22676         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22677         is set.
22678         (parse_dollars): Remove check for WRDE_NOCMD.
22679         (parse_dquote): Likewise.
22681 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22683         * Makeconfig (built-modules): List non-library modules to be
22684         built.
22685         (module-cppflags): Include libc-modules.h for
22686         everything except shlib-versions.v.i.
22687         (CPPFLAGS): Use it.
22688         (before-compile): Add libc-modules.h.
22689         ($(common-objpfx)libc-modules.h,
22690         $(common-objpfx)libc-modules.stmp): New targets.
22691         (common-generated): Add libc-modules.h and libc-modules.stmp.
22692         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22693         * include/libc-symbols.h: Don't include libc-modules.h.
22694         * include/libc-modules.h: Remove file.
22695         * scripts/gen-libc-modules.awk: New script to generate
22696         libc-modules.h.
22697         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22698         Depend on libc-modules.stmp.
22700         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22702         * Makeconfig (in-module): Get value of libof set for the
22703         translation unit.
22704         (CPPFLAGS): Use $(in-module).
22705         * Makerules: Don't suffix routine names for nonlib.
22706         * include/libc-modules.h: New file.
22707         * include/libc-symbols.h: Include libc-modules.h
22708         (IS_IN): New macro to replace IS_IN_* macros.
22709         * elf/Makefile: Set libof-* for each routine.
22710         * elf/rtld-Rules: Likewise.
22711         * extra-modules.mk: Likewise.
22712         * iconv/Makefile: Likewise.
22713         * iconvdata/Makefile: Likewise.
22714         * locale/Makefile: Likewise.
22715         * malloc/Makefile: Likewise.
22716         * nss/Makefile: Likewise.
22717         * sysdeps/gnu/Makefile: Likewise.
22718         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22719         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22720         * sysdeps/s390/s390-64/Makefile: Likewise.
22721         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22722         CPPFLAGS for nscd instead of nonlib.
22724 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22726         * nptl/createthread.c: New file.
22728         * nptl/createthread.c: Moved ...
22729         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22731         * nptl/createthread.c: Add proper top-line comment.
22732         (do_clone): Folded into ...
22733         (create_thread): ... here.  Take new arguments STOPPED_START and
22734         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22735         increment __nptl_threads, do event-reporting logic, do
22736         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22737         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22738         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22739         just send SIGCANCEL.
22740         * nptl/pthread_create.c: Forward-declare create_thread before
22741         including createthread.c.
22742         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22743         declaration, and new macro START_THREAD_SELF to replace argument.
22744         Remove return statement.
22745         (report_thread_creation): New function.
22746         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22747         synchronization logic, and __nptl_nthreads increment here, around
22748         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22749         PD->parent_cancelhandling here, before create_thread.  When
22750         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22751         __deallocate_stack, and ENOMEM translation here.
22753 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22755         [BZ #17616]
22756         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22757         (mptwo): Rename to __mptwo.
22758         (__inv): Use __mptwo instead of mptwo.
22759         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22760         (mptwo): Rename to __mptwo.
22761         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22762         of mpone and __mptwo instead of mptwo.
22763         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22764         instead of mpone.
22765         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22766         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22767         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22768         of mpone and __mptwo instead of mptwo.
22769         (__mpranred): Use __mpone instead of mpone.
22770         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22771         variable.
22772         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22773         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22774         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22775         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22776         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22777         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22778         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22779         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22780         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22781         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22782         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22783         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22784         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22785         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22786         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22787         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22788         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22789         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22790         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22792 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22794         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22795         replace BSD Handler xref with BSD Signal Handling.
22797 2014-11-17  Richard Henderson  <rth@redhat.com>
22799         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22800         (_FP_PACK_RAW_2): Remove.
22801         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22802         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22803         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22804         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22805         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22806         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22807         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22808         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22809         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22810         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22811         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22812         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22813         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22814         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22815         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22816         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22818 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22820         * signal/signal.h [__USE_MISC]
22821         (struct sigvec): Remove type.
22822         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22823         (sigvec): Remove declaration.
22824         * sysdeps/posix/sigvec.c: Moved ...
22825         * signal/sigvec.c: ... here, replacing old file.
22826         (struct sigvec): New type, copied from old signal.h definition.
22827         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22828         (__sigvec): Convert definition to prototype.
22829         (sigvec): Replace weak_alias with compat_symbol.
22830         * signal/Versions (libc: GLIBC_2.21): New version set.
22831         * include/signal.h: Remove __sigvec declaration.
22832         * sysdeps/unix/bsd/sigvec.c: Remove file.
22833         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22834         * manual/signal.texi (BSD Handler): Remove subsection.
22835         Move siginterrupt up to ...
22836         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22837         (Blocking in BSD): Fold subsection into its parent.
22838         * NEWS: Mention sigvec removal.
22840 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22842         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22843         (DLA_FMS): Make definition conditional only on [__FMA4__].
22844         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22845         definition.
22847         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22848         Make definition conditional only on [PROF].
22849         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22850         definition.
22851         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22852         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22854         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22855         !__GNUC__].
22856         * include/signal.h (__sigpause): Move declaration above call to
22857         libc_hidden_proto.
22858         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22859         variable.
22860         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22861         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22863 2014-11-14  David S. Miller  <davem@davemloft.net>
22865         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22866         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22868 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22870         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22871         * configure: Regenerated.
22872         * manual/install.texi (Tools for Compilation): Document a
22873         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22874         compiler verified to work.
22875         * INSTALL: Regenerated.
22877         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22878         redeclare with asm name.
22879         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22880         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22881         including <string.h>.
22882         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22883         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22884         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22885         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22886         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22888         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22890 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22892         * stdlib/strtol.c (__strtol): Use prototype definition.
22894         [BZ #17594]
22895         * stdlib/strtol.c (SYM__): New macro.
22896         (SYM__1): Likewise.
22897         (__strtol): Likewise.
22898         (strtol): Rename to __strtol and define as weak alias of
22899         __strtol.  Use libc_hidden_weak.
22901 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22903         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22904         Use numbered labels in inline assembly.
22906 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22908         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22909         Add setjmp LIBC_PROBE.
22910         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22911         Likewise.
22912         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22913         Add longjmp, longjmp_target LIBC_PROBE.
22914         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22915         Likewise.
22917 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22919         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22920         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22921         to get rid of unused variable warning.
22923 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22925         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22926         Check for unwind_backtrace ==  NULL only in SHARED case.
22927         (__backchain_backtrace): Compile only in SHARED case.
22928         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22929         Likewise.
22930         (__backchain_backtrace): Declare as static.
22932 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22934         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22935         (__libc_multiple_threads_ptr): Variable moved ...
22936         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22938 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22940         * conform/GlibcConform.pm: New file.
22941         * conform/conformtest.pl: Use GlibcConform module.
22942         * conform/linknamespace.pl: New file.
22943         * conform/list-header-symbols.pl: Likewise.
22944         * conform/Makefile (linknamespace-symlists-base): New variable.
22945         (linknamespace-symlists-tests): Likewise.
22946         (linknamespace-header-base): Likewise.
22947         (linknamespace-header-tests): Likewise.
22948         (tests-special): Add new tests.
22949         ($(linknamespace-symlists-tests)): New rule.
22950         (linknamespace-libs): New variable.
22951         ($(objpfx)symlist-stdlibs): New rule.
22952         ($(linknamespace-header-tests)): Likewise.
22953         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22954         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22955         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22956         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22957         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22958         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22959         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22960         (test-xfail-ISO/math.h/linknamespace): Likewise.
22961         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22962         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22963         (test-xfail-ISO/time.h/linknamespace): Likewise.
22964         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22965         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22966         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22967         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22968         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22969         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22970         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22971         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22972         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22973         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22974         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22975         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22976         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22977         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22978         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22979         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22980         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22981         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22982         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22983         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22984         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22985         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22986         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22987         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22988         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22989         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22990         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22991         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22992         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22993         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22994         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22995         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22996         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22997         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22998         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22999         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23000         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23001         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23002         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23003         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23004         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23005         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23006         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23007         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23008         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23009         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23010         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23011         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23012         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23013         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23014         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23015         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23016         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23017         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23018         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23019         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23020         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23021         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23022         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23023         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23024         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23025         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23026         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23027         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23028         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23029         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23030         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23031         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23032         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23033         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23034         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23035         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23036         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23037         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23038         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23039         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23040         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23041         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23042         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23043         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23044         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23045         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23046         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23047         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23048         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23049         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23050         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23051         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23052         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23053         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23054         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23055         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23056         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23057         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23058         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23059         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23060         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23061         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23062         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23063         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23064         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23065         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23066         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23067         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23068         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23069         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23070         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23071         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23072         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23073         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23074         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23075         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23076         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23077         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23078         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23079         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23080         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23081         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23082         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23083         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23084         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23085         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23086         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23087         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23088         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23089         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23090         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23091         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23092         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23093         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23094         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23095         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23096         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23097         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23098         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23099         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23100         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23101         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23102         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23103         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23104         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23105         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23106         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23107         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23108         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23109         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23110         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23111         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23112         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23113         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23115         [BZ #17589]
23116         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23117         of fgets_unlocked.
23119         [BZ #17585]
23120         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23121         (memmem): Rename to __memmem and define as weak alias of
23122         __memmem.  Use libc_hidden_weak.
23123         (__memmem): Use libc_hidden_def.
23124         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23125         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23126         memmem.
23128         [BZ #17582]
23129         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23130         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23131         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23132         and define as weak alias of __fgets_unlocked.  Use
23133         libc_hidden_weak.
23134         (__fgets_unlocked): Use libc_hidden_def.
23135         * include/stdio.h (__fgets_unlocked): Declare.  Use
23136         libc_hidden_proto.
23137         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23138         __fgets_unlocked instead of fgets_unlocked.
23139         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23140         (GET_NPROCS_CONF_PARSER): Likewise.
23141         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23142         (GET_NPROCS_CONF_PARSER): Likewise.
23144         [BZ #17574]
23145         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23146         weak alias of __wmemset.  Use libc_hidden_weak.
23147         (__wmemset): Use libc_hidden_def.
23148         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23149         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23150         of wmemset.
23152         [BZ #17573]
23153         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23154         with asm name __mempcpy.
23155         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23157         [BZ #17572]
23158         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23159         and define as weak alias of __rawmemchr.
23160         (__rawmemchr): Do not define as strong alias of rawmemchr.
23162         [BZ #17571]
23163         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23164         alias of __qsort_r.
23165         (qsort): Call __qsort_r instead of qsort_r.
23166         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23167         (__qsort_r): Declare.  Call libc_hidden_proto.
23168         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23169         instead of qsort_r.
23170         * nscd/gai.c (__qsort_r): Define to qsort_r.
23171         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23172         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23173         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23175         [BZ #17570]
23176         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23177         define as weak alias of __malloc_info.
23179         [BZ #17584]
23180         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23181         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23182         (__rewinddir): Use libc_hidden_def.
23183         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23184         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23185         (__rewinddir): Use libc_hidden_def.
23186         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23187         weak alias of __rewinddir.  Don't use libc_hidden_def.
23188         (__rewinddir): Use libc_hidden_def.
23189         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23190         (__rewinddir): Use libc_hidden_proto.
23191         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23192         rewinddir.
23193         (__getcwd): Use __rewinddir instead of rewinddir.
23195         [BZ #17583]
23196         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23197         alias of __fileno.  Use libc_hidden_weak.
23198         (__fileno): Use libc_hidden_def.
23199         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23200         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23201         alias of __ftello.
23202         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23203         __ftello.
23204         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23205         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23206         libc_hidden_def.
23207         (fread_unlocked): Don't use libc_hidden_ver.
23208         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23209         and define as weak alias of __fread_unlocked.  Don't use
23210         libc_hidden_def.
23211         (__fread_unlocked): Use libc_hidden_def.
23212         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23213         (ftello): Don't use libc_hidden_proto.
23214         (__ftello): Declare.  Use libc_hidden_proto.
23215         (fread_unlocked): Don't use libc_hidden_proto.
23216         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23217         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23218         and __ftello instead of fileno, fread_unlocked and ftello.
23220 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23222         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23223         GOT12.
23224         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23225         Likewise.
23226         (_dl_start_user): Likewise.
23227         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23229 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23230             Siddhesh Poyarekar  <siddhesh@redhat.com>
23232         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23233         Move argv and envp down instead of moving argc up.
23234         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23236 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23238         [BZ #17506]
23239         * test-skeleton.c (main): Return successful if one of
23240         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23241         * string/tst-strcoll-overflow.c: Define expected status.
23243 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23245         [BZ #17475]
23246         * locale/iso-639.def: Define Bhili and Tulu language codes.
23248 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23250         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23252 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23254         [BZ #17555]
23255         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23257 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23259         * configure.ac: Updated check of minimal required version to
23260         2.22.
23261         * manual/install.texi (Tools for Compilation): Updated version
23262         number.
23263         * configure: Regenerated.
23264         * INSTALL: Likewise.
23266 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23268         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23269         __tls_get_addr.
23271 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23273         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23274         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23275         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23276         libc_hidden_weak.
23277         (waitpid): Define as alias of __waitpid.
23278         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23279         __waitpid.
23280         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23281         libc_hidden_weak.
23282         (waitpid): Define as alias of __waitpid.
23283         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23284         __libc_waitpid alias.
23285         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23286         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23287         Likewise.
23288         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23289         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23290         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23291         alias.
23292         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23293         __waitpid.
23294         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23295         libc_hidden_weak.
23296         (waitpid): Define as alias of __waitpid.
23298 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23300         * manual/llio.texi: Add comment that write safety has been
23301         fixed in Linux.
23303         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23304         (localplt-build-dso): Add elf/ld.so.
23305         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23306         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23307         and free for ld.so.
23308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23309         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23311         Likewise.
23312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23313         Likewise.
23314         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23315         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23316         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23317         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23318         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23319         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23320         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23321         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23322         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23323         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23324         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23326 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23328         [BZ #14132]
23329         * include/libc-symbols.h (INTUSE): Remove macro.
23330         (INTDEF): Likewise.
23331         (INTVARDEF): Likewise.
23332         (_INTVARDEF): Likewise.
23333         (INTDEF2): Likewise.
23334         (INTVARDEF2): Likewise.
23335         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23336         rtld_hidden_def instead of INTVARDEF.
23337         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23338         (_dl_starting_up_internal): Remove declaration.
23339         (_dl_starting_up): Use rtld_hidden_proto.
23340         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23341         declaration.
23342         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23343         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23344         _dl_starting_up.
23345         * elf/dl-writev.h (_dl_writev): Likewise.
23346         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23347         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23348         _dl_starting_up_internal.
23350 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23352         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23353         test-skeleton.c.
23355 2014-11-05  Will Newton  <will.newton@linaro.org>
23357         * benchtests/Makefile: (bench-malloc): Add malloc thread
23358         scalability benchmark.
23359         * benchtests/bench-malloc-threads.c: New file.
23361 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23363         * sysdeps/aarch64/strchrnul.S: New file.
23365 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23367         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23368         definition.
23369         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23370         Likwise.
23371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23372         Likewise.
23373         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23374         Likewise.
23375         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23376         Likewise.
23377         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23378         Likewise.
23380 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23382         * catgets/test-gencat.c: Use test-skeleton.c.
23383         * catgets/tst-catgets.c: Likewise.
23384         * csu/tst-empty.c: Likewise.
23385         * elf/tst-audit2.c: Likewise.
23386         * elf/tst-global1.c: Likewise.
23387         * elf/tst-pathopt.c: Likewise.
23388         * elf/tst-piemod1.c: Likewise.
23389         * elf/tst-tls10.c: Likewise.
23390         * elf/tst-tls11.c: Likewise.
23391         * elf/tst-tls12.c: Likewise.
23392         * gnulib/tst-gcc.c: Likewise.
23393         * iconvdata/tst-e2big.c: Likewise.
23394         * iconvdata/tst-loading.c: Likewise.
23395         * iconv/tst-iconv1.c: Likewise.
23396         * iconv/tst-iconv2.c: Likewise.
23397         * inet/test-inet6_opt.c: Likewise.
23398         * inet/tst-gethnm.c: Likewise.
23399         * inet/tst-network.c: Likewise.
23400         * inet/tst-ntoa.c: Likewise.
23401         * intl/tst-codeset.c: Likewise.
23402         * intl/tst-gettext2.c: Likewise.
23403         * intl/tst-gettext3.c: Likewise.
23404         * intl/tst-ngettext.c: Likewise.
23405         * intl/tst-translit.c: Likewise.
23406         * io/test-stat.c: Likewise.
23407         * libio/test-fmemopen.c: Likewise.
23408         * libio/tst-freopen.c: Likewise.
23409         * libio/tst-sscanf.c: Likewise.
23410         * libio/tst-ungetwc1.c: Likewise.
23411         * libio/tst-ungetwc2.c: Likewise.
23412         * libio/tst-widetext.c: Likewise.
23413         * localedata/tst-ctype.c: Likewise.
23414         * localedata/tst-digits.c: Likewise.
23415         * localedata/tst-leaks.c: Likewise.
23416         * localedata/tst-mbswcs1.c: Likewise.
23417         * localedata/tst-mbswcs2.c: Likewise.
23418         * localedata/tst-mbswcs3.c: Likewise.
23419         * localedata/tst-mbswcs4.c: Likewise.
23420         * localedata/tst-mbswcs5.c: Likewise.
23421         * localedata/tst-setlocale.c: Likewise.
23422         * localedata/tst-trans.c: Likewise.
23423         * localedata/tst-wctype.c: Likewise.
23424         * localedata/tst-xlocale1.c: Likewise.
23425         * login/tst-grantpt.c: Likewise.
23426         * malloc/tst-calloc.c: Likewise.
23427         * malloc/tst-malloc.c: Likewise.
23428         * malloc/tst-mallocstate.c: Likewise.
23429         * malloc/tst-mcheck.c: Likewise.
23430         * malloc/tst-mtrace.c: Likewise.
23431         * malloc/tst-obstack.c: Likewise.
23432         * math/atest-exp2.c: Likewise.
23433         * math/atest-exp.c: Likewise.
23434         * math/atest-sincos.c: Likewise.
23435         * math/test-matherr.c: Likewise.
23436         * math/test-misc.c: Likewise.
23437         * math/test-powl.c: Likewise.
23438         * math/tst-definitions.c: Likewise.
23439         * misc/tst-dirname.c: Likewise.
23440         * misc/tst-efgcvt.c: Likewise.
23441         * misc/tst-fdset.c: Likewise.
23442         * misc/tst-hsearch.c: Likewise.
23443         * misc/tst-mntent2.c: Likewise.
23444         * nptl/tst-sem7.c: Likewise.
23445         * nptl/tst-sem8.c: Likewise.
23446         * nptl/tst-sem9.c: Likewise.
23447         * nss/test-netdb.c: Likewise.
23448         * posix/tst-fnmatch.c: Likewise.
23449         * posix/tst-getlogin.c: Likewise.
23450         * posix/tst-gnuglob.c: Likewise.
23451         * posix/tst-mmap.c: Likewise.
23452         * pwd/tst-getpw.c: Likewise.
23453         * resolv/tst-inet_ntop.c: Likewise.
23454         * rt/tst-timer.c: Likewise.
23455         * stdio-common/test-fseek.c: Likewise.
23456         * stdio-common/test-popen.c: Likewise.
23457         * stdio-common/test-vfprintf.c: Likewise.
23458         * stdio-common/tst-cookie.c: Likewise.
23459         * stdio-common/tst-fileno.c: Likewise.
23460         * stdio-common/tst-gets.c: Likewise.
23461         * stdio-common/tst-obprintf.c: Likewise.
23462         * stdio-common/tst-perror.c: Likewise.
23463         * stdio-common/tst-sprintf2.c: Likewise.
23464         * stdio-common/tst-sprintf3.c: Likewise.
23465         * stdio-common/tst-sprintf.c: Likewise.
23466         * stdio-common/tst-swprintf.c: Likewise.
23467         * stdio-common/tst-tmpnam.c: Likewise.
23468         * stdio-common/tst-unbputc.c: Likewise.
23469         * stdio-common/tst-wc-printf.c: Likewise.
23470         * stdlib/tst-environ.c: Likewise.
23471         * stdlib/tst-fmtmsg.c: Likewise.
23472         * stdlib/tst-limits.c: Likewise.
23473         * stdlib/tst-rand48-2.c: Likewise.
23474         * stdlib/tst-rand48.c: Likewise.
23475         * stdlib/tst-random2.c: Likewise.
23476         * stdlib/tst-random.c: Likewise.
23477         * stdlib/tst-strtol.c: Likewise.
23478         * stdlib/tst-strtoll.c: Likewise.
23479         * stdlib/tst-tls-atexit.c: Likewise.
23480         * stdlib/tst-xpg-basename.c: Likewise.
23481         * string/test-ffs.c: Likewise.
23482         * string/tst-bswap.c: Likewise.
23483         * string/tst-inlcall.c: Likewise.
23484         * string/tst-strtok.c: Likewise.
23485         * string/tst-strxfrm.c: Likewise.
23486         * sysdeps/x86_64/tst-audit10.c: Likewise.
23487         * sysdeps/x86_64/tst-audit3.c: Likewise.
23488         * sysdeps/x86_64/tst-audit4.c: Likewise.
23489         * sysdeps/x86_64/tst-audit5.c: Likewise.
23490         * time/tst-ftime_l.c: Likewise.
23491         * time/tst-getdate.c: Likewise.
23492         * time/tst-mktime3.c: Likewise.
23493         * time/tst-mktime.c: Likewise.
23494         * time/tst-posixtz.c: Likewise.
23495         * time/tst-strptime2.c: Likewise.
23496         * time/tst-strptime3.c: Likewise.
23497         * wcsmbs/tst-btowc.c: Likewise.
23498         * wcsmbs/tst-mbrtowc.c: Likewise.
23499         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23500         * wcsmbs/tst-wchar-h.c: Likewise.
23501         * wcsmbs/tst-wcpncpy.c: Likewise.
23502         * wcsmbs/tst-wcrtomb.c: Likewise.
23503         * wcsmbs/tst-wcsnlen.c: Likewise.
23504         * wcsmbs/tst-wcstof.c: Likewise.
23506 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23508         [BZ #14132]
23509         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23510         INTDEF.
23511         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23512         declaration.
23513         (_dl_mcount): Use rtld_hidden_proto.
23514         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23515         _dl_mcount.
23516         * elf/rtld.c (_rtld_global_ro): Likewise.
23518         [BZ #14132]
23519         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23520         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23521         of _dl_init_internal.
23522         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23523         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23524         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23525         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23526         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23527         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23528         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23529         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23530         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23531         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23532         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23533         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23534         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23535         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23536         * sysdeps/tile/dl-start.S (_start): Likewise.
23537         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23538         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23540         [BZ #14132]
23541         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23542         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23543         (rtld_progname): Make macro definition unconditional.
23544         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23545         INTDEF.
23546         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23547         (dl_main): Likewise.
23548         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23549         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23550         instead of _dl_argv_internal.
23551         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23552         __GI__dl_argv instead of INTUSE(_dl_argv).
23553         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23554         __GI__dl_argv instead of _dl_argv_internal.
23556         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23557         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23558         macro.
23559         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23560         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23561         New macro.
23562         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23563         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23564         macro.
23565         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23566         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23568 2014-11-04  Andreas Schwab  <schwab@suse.de>
23570         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23572 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23574         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23575         mtvsrd instruction in binary form.
23577 2014-11-03  Andreas Schwab  <schwab@suse.de>
23579         [BZ #17522]
23580         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23581         for less than MB_LEN_MAX use a local buffer of that size.
23582         * libio/tst-fputws.c: New file.
23583         * libio/Makefile (tests): Add tst-fputws.
23585 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23587         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23588         the size of the fpu_fr.fpu_dregs[] array.
23590 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23592         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23593         (__nanosleep): Do not define as alias.
23594         (nanosleep): Define as alias of __nanosleep.
23595         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23596         __libc_nanosleep name.
23598 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23600         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23601         install.texi in comment.
23603 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23605         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23606         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23607         ... add here and use lwsync or sync ...
23608         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23609         ... and add here using lwsync.
23611 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23613         * elf/dl-machine-reject-phdr.h: New file.
23614         * elf/dl-load.c: #include that.
23615         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23616         if that returned true.
23618 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23620         [BZ #17496]
23621         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23622         gen-as-const-headers chunk.  Add a big scare comment after the last
23623         safe place to touch before-compile.
23625 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23627         * manual/install.texi (Tools for Compilation): Update autoconf
23628         version requirements.
23629         * INSTALL: Regenerated.
23631         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23632         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23633         (__libc_pselect): Likewise.
23635         [BZ #14138]
23636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23641 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23643         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23644         correct barrier instruction.
23645         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23646         Likewise.
23647         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23648         Likewise.
23650 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23652         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23653         after defining inlines.  Instead, just use parens to defeat macro
23654         expansion of __isctype in its declaration.
23656 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23658         * include/sys/uio.h (__libc_readv): Remove declaration.
23659         (__libc_writev): Likewise.
23660         * misc/readv.c (__libc_readv): Rename to __readv.
23661         (__readv): Do not define as alias.
23662         (readv): Define as alias of __readv.
23663         * misc/writev.c (__libc_writev): Rename to __writev.
23664         (__writev): Do not define as alias.
23665         (writev): Define as alias of __writev.
23666         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23667         (__readv): Do not define as alias.
23668         (readv): Define unconditionally as alias of __readv.
23669         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23670         (__writev): Do not define as alias.
23671         (writev): Define unconditionally as alias of __writev.
23672         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23673         name.
23674         (writev): Do not define __libc_writev name.
23676 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23678         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23679         (convert_charseq): New function, broken out of ...
23680         (use_from_charmap): ... here.  Call it.
23681         (use_to_charmap): Use convert_charseq and free instead of duplicating
23682         its code with a variable-length stack struct.
23684 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23686         * include/fcntl.h (__libc_creat): Remove declaration.
23687         * io/creat.c (__libc_creat): Rename to creat.
23688         (creat): Do not define as alias.
23689         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23690         of creat instead of __libc_creat.
23691         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23692         to creat.
23693         (creat): Do not define as alias.
23694         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23695         __libc_creat.
23696         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23697         __libc_creat name.
23698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23699         Likewise.
23701 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23703         * manual/llio.texi: Add comments discussing why write() may be
23704         considered MT-unsafe on Linux.
23706 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23708         * dl-load.c (local_strdup): Remove.
23709         (expand_dynamic_string_token): Use __strdup.
23710         (decompose_rpath): Likewise.
23711         (_dl_map_object): Likewise.
23713 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23715         [BZ #14132]
23716         * sysdeps/generic/unwind-dw2-fde.c
23717         (__register_frame_info_bases_internal): Do not declare.
23718         (__register_frame_info_table_bases_internal): Likewise.
23719         (__deregister_frame_info_bases_internal): Likewise.
23720         (__register_frame_info_bases): Declare and use hidden_proto before
23721         definition.  Use hidden_def instead of INTDEF.
23722         (__register_frame_info_table_bases): Likewise.
23723         (__deregister_frame_info_bases): Likewise.
23724         (__register_frame_info): Do not use INTUSE.
23725         (__register_frame): Likewise.
23726         (__register_frame_info_table): Likewise.
23727         (__register_frame_table): Likewise.
23728         (__deregister_frame_info): Likewise.
23729         (__deregister_frame): Likewise.
23731 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23734         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23735         not undefine.
23736         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23737         Likewise.
23738         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23739         Likewise.
23741 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #14138]
23744         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23745         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23746         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23747         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23748         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23749         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23750         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23751         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23752         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23753         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23754         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23755         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23756         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23757         syscall.
23758         (setfsuid): Likewise.
23759         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23760         (setfsuid): Likewise.
23761         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23762         (setfsuid): Likewise.
23763         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23764         Likewise.
23765         (setfsuid): Likewise.
23766         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23767         (setfsuid): Likewise.
23768         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23769         Likewise.
23770         (setfsuid): Likewise.
23772 2014-10-27  Andreas Schwab  <schwab@suse.de>
23774         [BZ #17501]
23775         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23776         check for Slow_SSE4_2 feature bit.
23777         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23778         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23779         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23780         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23782 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23784         * configure.ac: Validate compiler version with a empirical test of
23785         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23786         $CC -v output.
23787         * configure: Regenerated.
23789         * inet/htons.c (htons): Prototypify.
23790         * inet/htonl.c (htonl): Likewise.
23792 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23794         * string/strncat.c (strncat): Improve performance by using strlen.
23796 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23798         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23800 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23802         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23803         Call libc_fetestexcept_aarch64.
23805 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23807         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23808         Call libc_feholdexcept_aarch64.
23810 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23812         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23813         Call get_rounding_mode.
23815 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23817         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23818         Simplify logic.
23820 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23822         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23823         Simplify logic.
23825 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23827         [BZ #14138]
23828         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23829         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23830         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23831         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23832         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23833         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23834         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23835         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23836         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23837         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23838         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23839         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23840         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23841         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23842         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23843         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23844         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23845         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23846         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23847         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23848         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23849         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23850         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23851         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23852         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23853         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23854         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23855         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23856         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23857         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23858         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23859         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23860         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23861         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23862         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23863         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23864         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23865         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23866         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23867         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23868         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23869         syscall.
23870         (geteuid): Likewise.
23871         (getgid): Likewise.
23872         (getuid): Likewise.
23873         (getresgid): Likewise.
23874         (getresuid): Likewise.
23875         (getgroups): Likewise.
23876         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23877         (geteuid): Likewise.
23878         (getgid): Likewise.
23879         (getuid): Likewise.
23880         (getresgid): Likewise.
23881         (getresuid): Likewise.
23882         (getgroups): Likewise.
23883         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23884         (geteuid): Likewise.
23885         (getgid): Likewise.
23886         (getuid): Likewise.
23887         (getresgid): Likewise.
23888         (getresuid): Likewise.
23889         (getgroups): Likewise.
23890         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23891         Likewise.
23892         (geteuid): Likewise.
23893         (getgid): Likewise.
23894         (getuid): Likewise.
23895         (getresgid): Likewise.
23896         (getresuid): Likewise.
23897         (getgroups): Likewise.
23898         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23899         (geteuid): Likewise.
23900         (getgid): Likewise.
23901         (getuid): Likewise.
23902         (getresgid): Likewise.
23903         (getresuid): Likewise.
23904         (getgroups): Likewise.
23905         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23906         Likewise.
23907         (geteuid): Likewise.
23908         (getgid): Likewise.
23909         (getuid): Likewise.
23910         (getgroups): Likewise.
23912         [BZ #14138]
23913         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23914         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23915         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23916         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23917         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23918         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23919         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23920         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23921         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23922         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23923         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23924         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23925         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23926         __chown.
23927         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23928         (lchown): Likewise.
23929         (fchown): Likewise.
23930         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23931         Likewise.
23932         (lchown): Likewise.
23933         (fchown): Likewise.
23934         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23935         (lchown): Likewise.
23936         (fchown): Likewise.
23937         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23938         Likewise.
23939         (lchown): Likewise.
23940         (fchown): Likewise.
23942 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23944         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23945         Simplify logic.
23947 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23949         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23950         Cleanup logic.
23952 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23954         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23955         Remove unused include.
23957 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23959         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23960         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23961         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23962         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23964 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23965             Helge Deller <deller@gmx.de>
23967         [BZ #17508]
23968         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23969         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23970         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23972 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23974         [BZ #14132]
23975         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23976         Remove macro definition.
23977         (__ashrdi3_v_glibc20): Likewise.
23978         (__lshrdi3_v_glibc20): Likewise.
23979         (__cmpdi2_v_glibc20): Likewise.
23980         (__ucmpdi2_v_glibc20): Likewise.
23981         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23982         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23983         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23984         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23985         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23986         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23988 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23990         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23991         old GNU extension [0] syntax.
23992         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23993         alloca rather than an array member with variable length.
23994         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23995         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23996         (parse_opt): ... here.  Likewise use alloca there.
23997         Validate the -i argument before checking for rootness.
23998         (send_shutdown): New function, broken out of ...
23999         (parse_opt): ... here.
24001 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24003         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24004         macro to get at the _rt_local_ro field.
24005         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24006         ([PIC] case) or _dl_hwcap ([!PIC] case).
24007         * sysdeps/arm/setjmp.S: Likewise.
24009         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24010         * sysdeps/arm/configure.ac: New check to define it.
24011         * sysdeps/arm/configure: Regenerated.
24012         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24013         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24014         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24015         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24016         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24017         Use move/movt pair instead of a load.
24018         (LDST_GLOBAL): Macro removed.
24019         (LDR_GLOBAL): New macro replaces it.
24020         (LDR_HIDDEN): New macro.
24021         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24022         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24024         * setjmp/tst-setjmp-static.c: New file.
24025         * setjmp/Makefile (tests): Add it.
24026         (tests-static): New variable.
24028 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24030         [BZ #17485]
24031         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24033 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24035         [BZ #14132]
24036         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24038 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24040         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24042 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24044         * io/fts.c (dirent_not_directory): New function.
24045         (fts_build): Call it.
24047 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24049         * nptl/version.c (__nptl_main): Use normal __write rather than
24050         INTERNAL_SYSCALL.
24051         (banner): Update copyright years.
24053         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24054         gettimeofday.
24055         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24056         * nptl/pthread_cond_timedwait.c: Likewise.
24057         * nptl/pthread_mutex_timedlock.c: Likewise.
24058         * nptl/sem_timedwait.c: Likewise.
24060         * sysdeps/nptl/bits/libc-lock.h
24061         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24062         (__libc_lock_init_recursive): Return void, not 0.
24063         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24064         (__libc_rwlock_init): Likewise.
24065         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24067 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24069         [BZ #15215]
24070         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24071         (__pthread_once_slow): ... here.
24072         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24073         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24075 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24077         [BZ #15215]
24078         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24079         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24080         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24081         * nptl/pthread_once.c (__pthread_once): Likewise.
24082         Update comments.
24084 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24086         [BZ #14138]
24087         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24088         name.
24089         (writev): Use __libc_writev as strong name.
24090         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24091         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24093 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24095         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24097         * sysdeps/i386/nptl/tls.h
24098         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24099         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24100         New macros.
24101         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24102         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24103         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24104         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24105         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24106         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24108         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24109         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24110         on [__NR_futex].
24111         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24112         broken out of ...
24113         (__pthread_mutex_init): ... here.  Call it.
24114         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24115         Conditionalize PI cases on [__NR_futex].
24116         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24117         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24118         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24120         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24121         conditional on [SIGSETXID].
24122         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24123         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24124         is defined.  Likewise for SIGSETXID.
24125         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24126         Conditionalize definitions on [SIGSETXID].
24127         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24128         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24129         unblocking on [SIGCANCEL].
24131         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24132         [__NR_set_robust_list].
24134 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24136         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24137         (do_compare): Likewise.
24139 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24141         [BZ #15884]
24142         * string/strcoll_l.c: Don't include stdio.h.
24143         (coll_seq): Remove members idxarr and rulearr.
24144         (get_next_seq_cached): Remove function.
24145         (get_next_seq): Likewise.
24146         (get_next_seq_nocache): Rename to get_next_seq.
24147         (do_compare): Remove function.
24148         (do_compare_nocache): Rename to do_compare.
24149         (STRCOLL): Remove weight and rules cache.
24151 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24153         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24154         * sysdeps/arm/sfp-machine.h: ... to here.
24155         * sysdeps/arm/Implies: Remove arm/soft-fp.
24157 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24159         * conform/data/sys/utsname.h-data (*_t): Allow.
24160         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24161         [POSIX] (WEXITED): Do not expect constant.
24162         [POSIX] (WSTOPPED): Likewise.
24163         [POSIX] (WNOHANG): Likewise.
24164         [POSIX] (WNOWAIT): Likewise.
24165         [POSIX] (siginfo_t): Do not expect type or elements.
24166         [POSIX] (pid_t): Do not expect type.
24167         [POSIX] (signal.h): Do not allow header.
24168         [POSIX] (sys/resource.h): Likewise.
24169         [POSIX] (si_*): Do not allow pattern.
24170         [POSIX] (W*): Likewise.
24171         [POSIX] (P_*): Likewise.
24172         [POSIX] (BUS_*): Likewise.
24173         [POSIX] (CLD_*): Likewise.
24174         [POSIX] (FPE_*): Likewise.
24175         [POSIX] (ILL_*): Likewise.
24176         [POSIX] (POLL_*): Likewise.
24177         [POSIX] (SEGV_*): Likewise.
24178         [POSIX] (SI_*): Likewise.
24179         [POSIX] (TRAP_*): Likewise.
24180         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24181         variable.
24183 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24185         [BZ #12926]
24186         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24187         infinite loop when __recvmsg returns 0.
24189 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24191         * CANCEL-FCT-WAIVE: Remove file.
24192         * CANCEL-FILE-WAIVE: Likewise.
24194         [BZ #14132]
24195         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24196         instead of INTVARDEF.
24197         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24198         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24199         rtld_hidden_data_def instead of INTVARDEF.
24200         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24201         * elf/dl-deps.c (expand_dst): Likewise.
24202         * elf/dl-load.c (_dl_dst_count): Likewise.
24203         (_dl_dst_substitute): Likewise.
24204         (decompose_rpath): Likewise.
24205         (_dl_init_paths): Likewise.
24206         (open_path): Likewise.
24207         (_dl_map_object): Likewise.
24208         * elf/rtld.c (dl_main): Likewise.
24209         (process_dl_audit): Likewise.
24210         (process_envvars): Likewise.
24211         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24212         Remove declaration.
24213         (__libc_enable_secure): Use rtld_hidden_proto.
24215 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24217         * elf/dl-load.c
24218         (add_path): New function broken out of _dl_rtld_di_serinfo.
24219         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24221 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24223         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24224         parentheses around macro arguments.
24225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24228         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24229         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24230         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24231         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24232         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24233         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24234         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24235         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24236         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24237         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24238         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24239         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24240         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24241         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
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         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24261         Likewise.
24262         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24263         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24264         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24268         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24269         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24270         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24271         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24272         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24273         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24274         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24276         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24277         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24278         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24279         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24280         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24281         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24283         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24284         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24285         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24286         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24287         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24288         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24289         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24290         (_FP_FRAC_SRS_1): Likewise.
24291         (_FP_FRAC_CLZ_1): Likewise.
24292         (_FP_MUL_MEAT_1_imm): Likewise.
24293         (_FP_MUL_MEAT_1_wide): Likewise.
24294         (_FP_MUL_MEAT_1_hard): Likewise.
24295         (_FP_SQRT_MEAT_1): Likewise.
24296         (_FP_FRAC_ASSEMBLE_1): Likewise.
24297         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24298         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24299         (__FP_CLZ_2): Likewise.
24300         (_FP_MUL_MEAT_2_wide): Likewise.
24301         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24302         (_FP_MUL_MEAT_2_gmp): Likewise.
24303         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24304         (_FP_SQRT_MEAT_2): Likewise.
24305         (_FP_FRAC_ASSEMBLE_2): Likewise.
24306         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24307         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24308         (_FP_FRAC_CLZ_4): Likewise.
24309         (_FP_MUL_MEAT_4_wide): Likewise.
24310         (_FP_MUL_MEAT_4_gmp): Likewise.
24311         (_FP_SQRT_MEAT_4): Likewise.
24312         (_FP_FRAC_ASSEMBLE_4): Likewise.
24313         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24314         * soft-fp/op-common.h (_FP_CMP): Likewise.
24315         (_FP_CMP_EQ): Likewise.
24316         (_FP_CMP_UNORD): Likewise.
24317         (_FP_TO_INT): Likewise.
24318         (_FP_FROM_INT): Likewise.
24319         [!__FP_CLZ] (__FP_CLZ): Likewise.
24320         (_FP_DIV_HELP_imm): Likewise.
24321         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24322         Likewise.
24323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24324         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24327         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24328         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24332         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24333         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24334         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24335         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24336         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24337         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24338         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24339         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): 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         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24359         (FP_UNPACK_RAW_SP): Likewise.
24360         (FP_PACK_RAW_S): Likewise.
24361         (FP_PACK_RAW_SP): Likewise.
24362         (FP_UNPACK_S): Likewise.
24363         (FP_UNPACK_SP): Likewise.
24364         (FP_UNPACK_SEMIRAW_S): Likewise.
24365         (FP_UNPACK_SEMIRAW_SP): Likewise.
24366         (FP_PACK_S): Likewise.
24367         (FP_PACK_SP): Likewise.
24368         (FP_PACK_SEMIRAW_S): Likewise.
24369         (FP_PACK_SEMIRAW_SP): Likewise.
24370         (_FP_SQRT_MEAT_S): Likewise.
24371         (FP_CMP_S): Likewise.
24372         (FP_CMP_EQ_S): Likewise.
24373         (FP_CMP_UNORD_S): Likewise.
24374         (FP_TO_INT_S): Likewise.
24375         (FP_FROM_INT_S): Likewise.
24377         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24379         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24380         (FP_EX_INVALID_IMZ): Likewise.
24381         (FP_EX_INVALID_IMZ_FMA): Likewise.
24382         (FP_EX_INVALID_ISI): Likewise.
24383         (FP_EX_INVALID_ZDZ): Likewise.
24384         (FP_EX_INVALID_IDI): Likewise.
24385         (FP_EX_INVALID_SQRT): Likewise.
24386         (FP_EX_INVALID_CVI): Likewise.
24387         (FP_EX_INVALID_VC): Likewise.
24388         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24389         "invalid" exceptions.
24390         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24391         (_FP_ADD_INTERNAL): Likewise.
24392         (_FP_MUL): Likewise.
24393         (_FP_FMA): Likewise.
24394         (_FP_DIV): Likewise.
24395         (_FP_CMP_CHECK_NAN): Likewise.
24396         (_FP_SQRT): Likewise.
24397         (_FP_TO_INT): Likewise.
24398         (FP_EXTEND): Likewise.
24400 2014-10-09  Allan McRae  <allan@archlinux.org>
24402         * po/fr.po: Update French translation from translation project.
24404 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24406         [BZ #14132]
24407         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24408         of INTDEF.
24409         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24410         (__cxa_atexit): Use libc_hidden_proto.
24411         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24413         [BZ #14132]
24414         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24415         declaration.
24416         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24417         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24418         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24419         [!_ISOMAC] (__iswctype_internal): Likewise.
24420         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24421         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24422         alias.
24423         (fcntl): Remove __fcntl_internal alias.
24424         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24425         __connect_internal alias.
24426         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24427         Likewise.
24429         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24430         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24431         FP_DENORM_ZERO.
24432         (_FP_CHECK_FLUSH_ZERO): New macro.
24433         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24434         (_FP_CMP): Likewise.
24435         (_FP_CMP_EQ): Likewise.
24436         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24437         FP_DENORM_ZERO.
24438         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24439         (FP_TRUNC): Likewise.
24441         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24442         treated as invalid conversion, not as normal exponent.
24444         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24445         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24446         (_FP_CMP_EQ): Likewise.
24447         (_FP_CMP_UNORD): Likewise.
24448         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24449         (FP_CMP_EQ_D): Likewise.
24450         (FP_CMP_UNORD_D): Likewise.
24451         * soft-fp/extended.h (FP_CMP_E): Likewise.
24452         (FP_CMP_EQ_E): Likewise.
24453         (FP_CMP_UNORD_E): Likewise.
24454         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24455         (FP_CMP_EQ_Q): Likewise.
24456         (FP_CMP_UNORD_Q): Likewise.
24457         * soft-fp/single.h (FP_CMP_S): Likewise.
24458         (FP_CMP_EQ_S): Likewise.
24459         (FP_CMP_UNORD_S): Likewise.
24460         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24461         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24462         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24463         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24464         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24465         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24466         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24467         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24468         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24469         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24470         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24471         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24472         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24473         to FP_CMP_Q.
24474         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24475         FP_CMP_Q.
24476         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24477         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24478         FP_CMP_EQ_Q.
24479         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24480         FP_CMP_Q.
24481         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24482         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24483         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24484         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24485         FP_CMP_EQ_Q.
24486         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24487         FP_CMP_Q.
24488         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24489         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24490         FP_CMP_EQ_Q.
24491         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24492         FP_CMP_Q.
24493         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24494         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24495         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24496         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24497         FP_CMP_EQ_Q.
24499         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24500         a subnormal result, set the underflow exception if trapping on
24501         underflow is enabled.
24502         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24503         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24504         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24505         redefine to 0.
24506         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24507         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24508         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24509         * soft-fp/extendxftf2.c (__extendxftf2): Use
24510         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24512         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24513         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24514         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24515         FP_HANDLE_EXCEPTIONS.
24516         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24517         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24518         FP_HANDLE_EXCEPTIONS.
24519         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24520         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24521         FP_HANDLE_EXCEPTIONS.
24522         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24523         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24524         FP_HANDLE_EXCEPTIONS.
24526 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24528         [BZ #14132]
24529         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24530         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24531         use INTUSE.
24532         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24533         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24534         Remove alias.
24535         (__adjtimex): Define using libc_hidden_ver.
24536         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24537         Remove declaration.
24538         (ntp_gettime): Call __adjtimex directly.
24539         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24540         Remove declaration.
24541         (ntp_gettimex): Call __adjtimex directly.
24542         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24543         __adjtimex_internal alias.
24545 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24547         [BZ #17460]
24548         * nscd/nscd.c (more_help): Rewrite list of tables collection
24549         using xstrdup and asprintf.
24551         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24553 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24554             Roland McGrath  <roland@hack.frob.com>
24556         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24557         (do_lookup_unique): ... local function 'enter' here; update callers.
24559 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24561         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24562         compat_symbol calls on [SHARED].
24563         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24564         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24565         Remove.
24566         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24567         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24568         (oldsetrlimit): Remove.
24569         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24571         (lchown): New syscall entry.
24572         (oldsetrlimit): Remove.
24573         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24574         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24575         (oldsetrlimit): Remove.
24576         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24578         [BZ #14138]
24579         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24580         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24581         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24582         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24583         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24584         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24585         (fchown): Likewise.
24586         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24587         (fchown): Likewise.
24588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24589         Likewise.
24591 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24593         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24594         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24595         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24596         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24597         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24598         Likewise.
24599         (__old_sem_post): Likewise.
24601 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24603         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24604         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24605         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24606         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24607         Use INLINE_VSYSCALL macro.
24608         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24609         __vdso_clock_gettime.
24610         * sysdeps/unix/sysv/linux/tile/init-first.c
24611         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24612         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24613         __vdso_clock_gettime.
24615         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24616         to set up frame more cleanly.
24618         * sysdeps/tile/memcmp.c: New file.
24620         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24622         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24623         * sysdeps/tile/tilegx/strcasestr.c: New file.
24624         * sysdeps/tile/tilegx/strnlen.c: New file.
24625         * sysdeps/tile/tilegx/strstr.c: New file.
24627         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24629 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24631         * nptl/tst-setuid3.c: Write errors to stdout.
24633 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24635         * elf/dl-deps.c
24636         (preload): New functions broken out of _dl_map_object_deps.
24637         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24639 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24641         [BZ #14138]
24642         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24643         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24645 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24647         * sysdeps/mips/strcmp.S: New.
24649 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24651         [BZ #14138]
24652         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24653         (linkat): Likewise.
24654         (mkdirat): Likewise.
24655         (readlinkat): Likewise.
24656         (renameat): Likewise.
24657         (symlinkat): Likewise.
24658         (unlinkat): Likewise.
24659         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24660         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24661         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24662         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24663         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24664         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24665         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24667 2014-09-30  Will Newton  <will.newton@linaro.org>
24669         * math/math.h: Define long double math functions if
24670         _LIBC_TEST is defined.
24671         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24673         * localedata/Makefile: Move assignment to tests-special
24674         into an ifdef testing run-built-tests.
24675         * timezone/Makefile: Likewise.
24677 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24679         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24680         with $(BASH) not $(SHELL).
24682 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24683             Matthew LeGendre  <legendre1@llnl.gov>
24685         [BZ #17411]
24686         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24687         l_reloc_result.
24689 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24691         * stdio-common/printf_fp.c
24692         (hack_digit): New function, broken out of ...
24693         (__printf_fp): ... local function here.  Update call sites.
24694         hack_digit now takes an additional parameter that is a pointer
24695         to a struct of the referenced locals.  Those locals moved inside
24696         the struct and references updated.
24698 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24700         * aclocal.m4: Require autoconf 2.69.
24701         * configure: Regenerated.
24702         * sysdeps/aarch64/configure: Likewise.
24703         * sysdeps/alpha/configure: Likewise.
24704         * sysdeps/arm/armv7/configure: Likewise.
24705         * sysdeps/arm/configure: Likewise.
24706         * sysdeps/ia64/configure: Likewise.
24707         * sysdeps/mach/configure: Likewise.
24708         * sysdeps/mips/configure: Likewise.
24709         * sysdeps/s390/configure: Likewise.
24710         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24713         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24714         file.
24715         * sysdeps/ia64/configure.ac: Likewise.
24717 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24720         specify symbol version for ld.so.  Do not include entry for
24721         libpthread.
24722         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24723         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24724         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24726         [BZ #14171]
24727         * Makeconfig [$(build-shared) = yes]
24728         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24729         makefiles.
24730         [$(build-shared) = yes && $(soversions.mk-done) = t]
24731         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24732         [$(build-shared) = yes && $(soversions.mk-done) = t]
24733         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24734         to Makerules.
24735         [$(build-shared) = yes && $(soversions.mk-done) = t]
24736         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24737         here.
24738         [$(build-shared) = yes && $(soversions.mk-done) = t]
24739         (common-generated): Don't append gnu/lib-names.h and
24740         gnu/lib-names.stmp here.
24741         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24742         (lib-names-h-abi): New variable.
24743         [$(build-shared) = yes && $(soversions.mk-done) = t]
24744         (lib-names-stmp-abi): Likewise.
24745         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24746         abi-variants] (before-compile): Append
24747         $(common-objpfx)$(lib-names-h-abi).
24748         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24749         abi-variants] (common-generated): Append gnu/lib-names.h.
24750         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24751         abi-variants] (install-others-nosubdir): Depend on
24752         $(inst_includedir)/$(lib-names-h-abi).
24753         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24754         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24755         [$(build-shared) = yes && $(soversions.mk-done) = t]
24756         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24757         [$(build-shared) = yes && $(soversions.mk-done) = t]
24758         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24759         [$(build-shared) = yes && $(soversions.mk-done) = t]
24760         (common-generated): Append $(lib-names-h-abi) and
24761         $(lib-names-stmp-abi).
24762         * scripts/lib-names.awk: Do not handle multi being set.
24763         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24764         Remove variable.
24765         (abi-lp64_be-ld-soname): Likewise.
24766         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24767         Likewise.
24768         (abi-hard-ld-soname): Likewise.
24769         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24770         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24771         Remove variable.
24772         (abi-o32_hard-ld-soname): Likewise.
24773         (abi-o32_soft_2008-ld-soname): Likewise.
24774         (abi-o32_hard_2008-ld-soname): Likewise.
24775         (abi-n32_soft-ld-soname): Likewise.
24776         (abi-n32_hard-ld-soname): Likewise.
24777         (abi-n32_soft_2008-ld-soname): Likewise.
24778         (abi-n32_hard_2008-ld-soname): Likewise.
24779         (abi-n64_soft-ld-soname): Likewise.
24780         (abi-n64_hard-ld-soname): Likewise.
24781         (abi-n64_soft_2008-ld-soname): Likewise.
24782         (abi-n64_hard_2008-ld-soname): Likewise.
24783         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24784         Likewise.
24785         (abi-64-v2-ld-soname): Likewise.
24786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24787         ld.so entries.
24788         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24789         variable.
24790         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24791         entry.
24792         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24793         variable.
24794         (abi-64-ld-soname): Likewise.
24795         (abi-x32-ld-soname): Likewise.
24796         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24797         entry.
24798         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24800 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24802         [BZ #14138]
24803         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24804         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24805         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24806         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24807         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24808         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24809         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24810         syscall entry for GLIBC_2.2 symbol version.
24811         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24812         Likewise.
24813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24814         (setrlimit): Likewise.
24815         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24816         Likewise.
24818 2014-09-23  Will Newton  <will.newton@linaro.org>
24820         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24821         _LINUX_ARM_SYSDEP_H include guard too.
24822         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24823         define.
24825 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24827         * sysdeps/unix/sysv/linux/eventfd.c:
24828         Make first argument unsigned.
24829         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24830         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24832 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24834         [BZ #16852]
24835         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24836         * socket/sys/socket.h: Likewise.
24837         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24839 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24841         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24843 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24845         * time/tst-ftime.c: New test.
24846         * time/Makefile (tests): Add tst-ftime.
24848 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24850         * soft-fp/extended.h: Fix comment formatting.
24851         * soft-fp/op-1.h: Likewise.
24852         * soft-fp/op-2.h: Likewise.
24853         * soft-fp/op-4.h: Likewise.
24854         * soft-fp/op-8.h: Likewise.
24855         * soft-fp/op-common.h: Likewise.
24856         * soft-fp/soft-fp.h: Likewise.
24858         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24860 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24862         [BZ #6652]
24863         * Makeconfig (soversions-default-setname): Remove variable.
24864         ($(common-objpfx)soversions.i): Don't pass default_setname to
24865         soversions.awk.
24866         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24867         oldest_abi to abi-versions.awk.
24868         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24869         * config.make.in (oldest-abi): Remove variable.
24870         * configure.ac (--enable-oldest-abi): Remove configure option.
24871         * configure: Regenerated.
24872         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24873         text.
24874         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24875         * scripts/soversions.awk: Do not handle default_setname variable.
24876         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24877         variable.
24878         * sysdeps/mach/hurd/configure: Regenerated.
24879         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24880         variable.
24881         * sysdeps/unix/sysv/linux/configure: Regenerated.
24883 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24885         * elf/Makefile (CFLAGS-interp.c): Remove.
24886         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24887         path string.
24888         * elf/interp.c: Include generated runtime-linker.h
24890         * Makerules (lib%.so): Don't include $(+interp) in
24891         prerequisites.
24892         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24893         * dlfcn/eval.c: Remove file.
24895         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24896         macros.
24898         [BZ #17266]
24899         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24900         4.2 and newer.
24902         [BZ #17370]
24903         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24905 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24906             Jakub Jelinek  <jakub@redhat.com>
24908         [BZ #17266]
24909         * libio/stdio.h: Check definition of __fortify_function
24910         instead of __extern_always_inline to include bits/stdio2.h.
24911         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24912         check if __extern_always_inline is defined.
24913         [__USE_MISC || __USE_XOPEN]: Likewise.
24914         [__USE_ISOC99] Likewise.
24915         * misc/sys/cdefs.h (__fortify_function): Define only if
24916         __extern_always_inline is defined.
24917         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24918         __extern_always_inline and __extern_inline only for g++-4.3
24919         and newer or a compatible gcc.
24921 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24923         [BZ #17371]
24924         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24925         last change to handle zero prefix length.
24927 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24929         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24930         _SC_REGEX_VERSION.
24932         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24933         _POSIX_RAW_SOCKETS.
24935 2014-09-13  Allan McRae  <allan@archlinux.org>
24937         * po/ru.po: Update Russian translation from translation project.
24939 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24941         * locale/programs/locale.c (show_locale_vars): Inline local function
24942         into its sole call site.  Clean up some style nits.
24943         (print_item): New function, broken out of ...
24944         (show_info): ... local function here.  Clean up style nits.
24946         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24947         out of ...
24948         (set_class_defaults): ... local function set_default here.
24949         Define set_default as a macro locally to pass constant parameters.
24950         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24951         rather than a shared local.
24953         * stdlib/rpmatch.c (try): New function, broken out of ...
24954         (rpmatch): ... local function here.  Also, prototypify definition.
24956 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24958         * scripts/soversions.awk: Do not handle configuration names.
24959         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24960         vendor and os variables to soversions.awk.
24961         * configure.ac: Do not modify gnu-* host_os.
24962         * configure: Regenerated
24963         * shlib-versions: Remove first column with configuration names.
24964         * nptl/shlib-versions: Likewise.
24965         * nptl_db/shlib-versions: Likewise.
24966         * sysdeps/hppa/shlib-versions: Likewise.
24967         * sysdeps/m68k/shlib-versions: Likewise.
24968         * sysdeps/mach/hurd/shlib-versions: Likewise.
24969         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24970         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24971         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24972         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24973         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24974         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24975         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24976         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24978         Likewise.
24979         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24980         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24981         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24982         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24983         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24984         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24985         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24986         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24989         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24991         Regenerated.
24992         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24994         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24996         * shlib-versions: Remove OS-specific entries.  Moved to files in
24997         sysdeps.
24998         * sysdeps/mach/hurd/shlib-versions: New file.
24999         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25001         * nptl/shlib-versions: Remove architecture-specific entries.
25002         Moved to files in sysdeps.
25003         * shlib-versions: Likewise.
25004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25005         file.
25006         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25007         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25008         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25009         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25011         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25012         (UDP_NO_CHECK6_RX): Likewise.
25014 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25016         * sysdeps/posix/sysconf.c (__sysconf): Spell
25017         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25019 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25021         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25022         loading.
25023         * iconv/Versions (__gconv_transliterate): Export for use from
25024         gconv modules.
25025         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25026         (struct __gconv_trans_data, __gconv_trans_fct,
25027         __gconv_trans_context_fct, __gconv_trans_query_fct,
25028         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25029         definitions.
25030         (struct __gconv_step_data): Remove __trans member.
25031         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25032         longer hidden.  Remove unused trans_data argument.
25033         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25034         (__gconv_translit_find): Remove declaration.
25035         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25036         prototype.
25037         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25038         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25039         trans_data argument.  Add hidden definition.
25040         (__gconv_translit_find): Remove.
25041         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25042         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25043         * iconv/skeleton.c: Remove transliteration initialization.
25044         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25045         __gconv_step_data initialization.
25046         * libio/iofwide.c (__libio_translit_): Remove.
25047         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25048         * wcsmbs/btowc.c (__btowc): Likewise.
25049         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25050         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25051         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25052         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25053         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25054         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25055         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25056         * wcsmbs/wctob.c (wctob): Likewise.
25058 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25060         [BZ #16194]
25061         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25062         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25063         register usage.
25064         * sysdeps/x86/Makefile: Adjust.
25066 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25067             Roland McGrath  <roland@hack.frob.com>
25069         * locale/weight.h: Add include guard.
25070         (findidx): Make static rather than auto; take new parameters
25071         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25072         * locale/weightwc.h: Likewise.
25073         * posix/fnmatch_loop.c
25074         (FCT): Change type of EXTRA from int32_t to wint_t.
25075         Don't include either header inside the function.
25076         Call FINDIDX rather than findidx, and pass new arguments.
25077         #undef FINDIDX at the end of the file.
25078         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25079         FINDIDX before including fnmatch_loop.c for the non-wide version.
25080         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25081         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25082         for the wide version.
25083         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25084         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25085         Pass new arguments to findidx.
25086         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25087         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25088         Don't #include it inside the function.  Pass new arguments to findidx.
25089         * posix/regex_internal.h
25090         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25091         (re_string_elem_size_at): Don't #include it inside the function.
25092         Pass new arguments to findidx.
25093         * string/strcoll_l.c: #include WEIGHT_H at top level.
25094         (get_next_seq): Don't #include it inside the function.
25095         Pass new arguments to findidx.
25096         (get_next_seq_nocache): Likewise.
25097         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25098         (STRXFRM): Don't #include it inside the function.
25099         Pass new arguments to findidx.
25101 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25103         [BZ #17344]
25104         * malloc/malloc.c (unlink): Turn asserts into a call to
25105         malloc_printerr.
25107 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25109         [BZ #17370]
25110         * libio/wfileops (do_ftell_wide): Free OUT.
25112 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25114         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25116 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25118         [BZ #17363]
25119         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25120         group if the current group is empty.
25122 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25124         * benchtests/bench-memset.c (test_main): Add more test from size
25125         from 32 to 512 bytes.
25126         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25127         Add POWER8 memset object.
25128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25129         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25130         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25131         implementation.
25132         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25133         Likewise.
25134         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25135         multiarch POWER8 memset optimization.
25136         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25137         POWER8 memset optimization.
25139         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25140         Remove bzero multiarch objects.
25141         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25142         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25143         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25144         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25145         Remove define.
25146         [__bzero]: Redefine to specific name.
25147         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25148         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25149         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25150         define.
25151         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25152         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25154 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25156         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25157         warnings into errors.
25159         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25160         __cxa_thread_atexit_impl prototype.
25162 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25164         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25165         Fix capitalization of error message.
25167 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25169         * sysdeps/mips/preconfigure: Modify ABI tests.
25171 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25173         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25175 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25176             Carlos O'Donell  <carlos@systemhalted.org>
25178         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25179         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25180         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25181         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25182         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25183         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25184         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25185         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25186         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25187         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25189         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25190         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25191         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25192         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25193         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25194         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25195         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25196         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25197         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25198         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25199         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25200         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25201         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25202         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25203         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25204         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25205         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25206         Deconditionalize the code that was previously under [RESET_PID].
25207         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25208         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25209         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25210         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25211         include sysdep.h.
25213 2014-09-08  Allan McRae  <allan@archlinux.org>
25215         * version.h (RELEASE): Set to "development".
25216         (VERSION): Set to "2.20.90"
25218 2014-09-07  Allan McRae  <allan@archlinux.org
25220         * version.h (RELEASE): Set to "stable".
25221         (VERSION): Set to "2.20"
25222         * include/features.h (__GLIBC_MINOR__): Set to 20.
25224         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25225         Liebler.
25227         * po/ko.po: Update Korean translation from translation project.
25229 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25231         [BZ #17354]
25232         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25233         macro for handling signed relocations.
25235 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25237         [BZ #17325]
25238         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25239         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25240         assert.
25241         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25242         * iconvdata/ibm935.c (BODY): Likewise.
25243         * iconvdata/ibm937.c (BODY): Likewise.
25244         * iconvdata/ibm939.c (BODY): Likewise.
25245         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25246         assert.
25247         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25248         script.
25249         * iconvdata/run-iconv-test.sh: New test loop for checking for
25250         decoder crashers.
25252 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25254         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25255         libm_hidden_ver.
25257 2014-09-01  Allan McRae  <allan@archlinux.org>
25259         * po/eo.po: Update Esperanto translation from translation project.
25261         * po/ca.po: Update Catalan translation from translation project.
25263 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25265         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25266         __proc_dostop call.
25268 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25270         [BZ #17319]
25271         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25272         to call set_thread_area instead of hand written asm.
25273         (__NR_set_thread_area): Removed define.
25274         (TLS_FLAG_WRITABLE): Likewise.
25275         (__ASSUME_SET_THREAD_AREA): Remove check.
25276         (TLS_EBX_ARG): Remove define.
25277         (TLS_LOAD_EBX): Likewise.
25279 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25281         Simplify atomicity of socket creation in bind.
25283         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25284         looking up the name after linking the file.
25286 2014-08-27  Allan McRae  <allan@archlinux.org>
25288         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25290 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25292         [BZ #17187]
25293         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25294         trans_compare, open_translit, __gconv_translit_find):
25295         Remove module loading code.
25297 2014-08-26  Allan McRae  <allan@archlinux.org>
25299         * po/vi.po: Update Vietnamese translation from translation project.
25301         * po/uk.po: Update Ukrainian translation from translation project.
25303         * po/fr.po: Update French translation from translation project.
25305         * po/ru.po: Update Russian translation from translation project.
25307         * po/pl.po: Update Polish translation from translation project.
25309         * po/cs.po: Update Czech translation from translation project.
25311         * po/de.po: Update German translation from translation project.
25313         * po/bg.po: Update Bulgarian translation from translation project.
25315         * po/sv.po: Update Sweedish translation from translation project.
25317         * po/nl.po: Update Dutch translation from translation project.
25319         * po/es.po: Update Spanish translation from translation project.
25321 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25323         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25325         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25326         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25327         (CPPFLAGS-iconvconfig): Likewise.
25328         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25330         * include/libc-symbols.h: Remove unnecessary check for
25331         NOT_IN_libc.
25332         * nptl/pthreadP.h: Likewise.
25333         * sysdeps/aarch64/setjmp.S: Likewise.
25334         * sysdeps/alpha/setjmp.S: Likewise.
25335         * sysdeps/arm/sysdep.h: Likewise.
25336         * sysdeps/i386/setjmp.S: Likewise.
25337         * sysdeps/m68k/setjmp.c: Likewise.
25338         * sysdeps/posix/getcwd.c: Likewise.
25339         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25340         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25341         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25342         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25343         * sysdeps/sh/sh3/setjmp.S: Likewise.
25344         * sysdeps/sh/sh4/setjmp.S: Likewise.
25345         * sysdeps/unix/alpha/sysdep.h: Likewise.
25346         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25347         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25348         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25349         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25354         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25356         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25357         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25359         * sysdeps/x86_64/setjmp.S: Likewise.
25361 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25363         [BZ #17263]
25364         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25365         <stdint.h>.
25366         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25367         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25369 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25371         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25373         [BZ #17262]
25374         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25375         and __x86_64__ when disabling x87 inline functions.
25377 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25379         [BZ #17259]
25380         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25381         asm statement with __cpuid_count.
25383 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25385         * configure.ac: Change __ehdr_start code to dereference the struct.
25386         Run readelf on the output to look for relocations.
25387         * configure: Regenerated.
25389 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25391         [BZ #17261]
25392         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25393         value to 0.
25394         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25396 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25398         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25400 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25402         [BZ #16892]
25403         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25404         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25406 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25408         * malloc/malloc.c: Fix typo in comment.
25410 2014-08-09  Allan McRae  <allan@archlinux.org>
25412         * Regenerate libc.po.
25414 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25416         * intl/tst-gettext2.sh: Check every lang file for creation.
25418 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25420         * sysdeps/aarch64/fpu/math_private.h
25421         (libc_feholdsetround_noex_aarch64_ctx): New function.
25423 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25425         * sysdeps/arm/armv6/strcpy.S (strcpy):
25426         Fix performance issue in misaligned cases.
25428 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25430         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25431         Move definition from termios.h.
25432         (struct termio): Likewise.
25433         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25434         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25435         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25436         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25437         Likewise.
25438         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25439         Move definition to ioctl-types.h
25440         (struct termio): Likewise.
25441         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25442         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25443         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25444         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25445         Likewise.
25447 2014-08-05  Richard Henderson  <rth@redhat.com>
25449         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25450         exceptions.
25451         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25452         Add fraiseexcpt.
25453         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25454         Use __feraiseexcept.
25455         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25456         Protect libm symbols with IS_IN_libm.
25458         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25460 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25462         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25464 2014-08-04  Will Newton  <will.newton@linaro.org>
25466         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25467         file.
25469 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25471         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25472         variants for each function.
25474 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25476         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25477         appended ...
25478         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25479         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25480         appended ...
25481         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25482         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25483         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25484         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25485         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25486         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25487         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25488         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25489         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25490         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25491         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25492         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25493         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25494         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25495         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25496         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25497         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25498         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25499         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25500         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25501         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25502         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25503         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25504         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25505         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25506         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25507         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25508         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25509         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25510         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25511         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25512         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25513         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25514         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25515         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25516         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25517         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25518         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25519         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25520         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25521         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25522         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25523         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25524         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25525         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25526         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25527         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25528         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25529         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25530         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25531         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25532         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25533         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25534         Update #include.
25535         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25536         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25538 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25540         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25541         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25542         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25543         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25545         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25547 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25549         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25550         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25551         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25552         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25554 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25556         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25557         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25558         (__libc_vfork): Define function under this name.
25559         (__vfork): Define as an alias.
25560         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25561         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25563 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25565         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25566         that was previously under [RESET_PID].
25567         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25569 2014-08-04  Andreas Schwab  <schwab@suse.de>
25571         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25573 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25575         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25576         (main): Likewise.
25578 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25580         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25582 2014-08-01  Richard Henderon  <rth@redhat.com>
25584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25585         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25586         typo in exact zero test.
25587         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25588         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25591 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25593         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25594         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25595         * sysdeps/arm/sysdep.h: ... here.
25596         [!__ASSEMBLER__]: Include <stdint.h>.
25598 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25600         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25601         (HAVE_WCTYPE_H): Likewise.
25602         (HAVE_ISWCTYPE): Likewise.
25603         (ENABLE_NLS): Likewise.
25604         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25605         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25607         * posix/regex_internal.c: Check if DEBUG is defined and is
25608         set.
25610         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25611         (HAVE_MBSRTOWCS): Likewise.
25612         * posix/fnmatch.c: Include string.h unconditionally.
25614 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25616         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25617         reversal.
25619 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25621         * sysdeps/generic/safe-fatal.h: New file.
25622         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25623         * nptl/forward.c: Include it.
25624         (__pthread_unwind): Use __safe_fatal as default action, rather
25625         than a bogus use of INTERNAL_SYSCALL that could never work.
25627         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25628         * configure.ac (libc_cv_builtin_trap): New test.
25629         * configure: Regenerated.
25630         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25631         (ABORT_INSTRUCTION): Define using __builtin_trap.
25633         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25634         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25635         * sysdeps/nptl/nptl-signals.h: New file.
25636         * nptl/pthreadP.h: Include <nptl-signals.h>.
25638 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25640         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25641         (ONE_DIRECTION): Define.
25642         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25643         (ONE_DIRECTION): Define.
25644         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25645         (ONE_DIRECTION): Define.
25647 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25649         * sysdeps/s390/Makefile: Delete file.
25650         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25651         * sysdeps/s390/__longjmp.c: Delete file.
25652         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25653         Remove fields __flags and __reserved.
25654         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25655         and add versioning.
25656         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25657         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25658         * sysdeps/s390/rtld-setjmp.S: Likewise.
25659         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25660         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25661         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25662         * sysdeps/s390/s390-32/setjmp.S: ... here.
25663         Add versioning.
25664         (__sigsetjmp): Remove setting __flags field.
25665         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25666         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25667         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25668         * sysdeps/s390/s390-64/setjmp.S: ... here.
25669         Add versioning.
25670         (__sigsetjmp): Remove setting __flags field.
25671         * sysdeps/s390/setjmp.S: Delete file.
25672         * sysdeps/s390/sigjmp.c: Likewise.
25673         * sysdeps/s390/v1-longjmp.c: Likewise.
25674         * sysdeps/s390/v1-setjmp.h: Likewise.
25675         * sysdeps/s390/v1-sigjmp.c: Likewise.
25676         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25677         Remove v1-longjmp_chk.
25678         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25679         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25680         Include debug/longjmp_chk.c and add versioning.
25681         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25682         Include nptl/pt-longjmp.c and add versioning.
25683         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25684         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25685         Include __longjmp.c.
25686         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25687         Move to ...
25688         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25689         (__getcontext): Remove setting __flags field.
25690         Add versioning.
25691         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25692         Don't restore upper high grps.
25693         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25694         Likewise.
25695         (__swapcontext): Remove setting uc_flags field.
25696         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25697         Delete file.
25698         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25699         Include __longjmp.c.
25700         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25701         Move to ...
25702         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25703         (__getcontext): Remove setting __flags field.
25704         Add versioning.
25705         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25706         (__swapcontext): Remove setting uc_flags field.
25707         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25708         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25709         Remove fields uc_high_gprs and __reserved.
25710         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25711         New file with reverted content.
25712         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25713         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25714         Regenerated.
25715         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25716         Regenerated.
25718 2014-07-31  Andreas Schwab  <schwab@suse.de>
25720         * config.h.in (HAVE_IFUNC): Define to 0.
25721         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25722         definedness.
25724 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25727         memmove-avx-unaligned, memcpy-avx-unaligned and
25728         mempcpy-avx-unaligned.
25729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25730         Add tests for AVX memcpy functions.
25731         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25732         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25733         memcpy_chk.
25734         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25735         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25736         memmove_chk.
25737         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25738         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25739         mempcpy_chk.
25740         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25741         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25742         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25744 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25746         [BZ #17213]
25747         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25748         powerpc64le.
25750 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25752         [BZ #16839]
25753         * manual/llio.texi: Add section about open file description locks.
25754         * manual/examples/ofdlocks.c: Example of open file description
25755         lock usage.
25756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25757         F_OFD_SETLK, and F_OFD_SETLKW.
25759 2014-07-23  Allan McRae  <allan@archlinux.org>
25761         * po/es.po: Update Spanish translation from translation project.
25763 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25765         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25767 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25769         [BZ #17078]
25770         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25771         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25772         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25774 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25776         [BZ #17088]
25777         * math/fesetenv.c (__fesetenv)
25778         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25779         * math/feupdateenv.c (__feupdateenv)
25780         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25782         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25783         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25784         (__ASSUME_SOCKETCALL): Do not define.
25786         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25787         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25788         (__ASSUME_SOCKETCALL): Do not define.
25789         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25790         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25791         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25792         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25793         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25794         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25795         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25796         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25798         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25799         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25800         (__ASSUME_SOCKETCALL): Do not define.
25801         (__ASSUME_IPC64): Define unconditionally.
25802         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25803         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25804         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25806         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25808         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25809         Likewise.
25811         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25812         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25813         (__ASSUME_SOCKETCALL): Do not define.
25814         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25815         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25816         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25817         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25818         (__ASSUME_REQUEUE_PI): Define unconditionally.
25819         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25820         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25821         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25822         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25823         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25824         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25826         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25827         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25828         (__ASSUME_SOCKETCALL): Do not define.
25829         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25830         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25831         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25832         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25833         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25834         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25836         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25837         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25838         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25839         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25840         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25841         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25842         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25843         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25844         (__ASSUME_GETCPU_SYSCALL): Likewise.
25846         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25847         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25848         cases for individual architectures.
25849         * sysdeps/gnu/configure: Regenerated.
25850         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25851         LIBC_SLIBDIR_RTLDDIR.
25852         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25853         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25854         LIBC_SLIBDIR_RTLDDIR.
25855         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25857         LIBC_SLIBDIR_RTLDDIR.
25858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25859         Regenerated.
25860         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25861         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25862         file.
25863         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25864         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25865         file.
25866         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25867         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25868         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25869         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25871         * sysdeps/aarch64/shlib-versions: Move to ...
25872         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25873         * sysdeps/alpha/shlib-versions: Move to ...
25874         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25875         * sysdeps/arm/shlib-versions: Move to ...
25876         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25877         * sysdeps/hppa/shlib-versions: Move all contents except for
25878         libgcc_s entry to ...
25879         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25880         entry from ...
25881         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25882         * sysdeps/ia64/shlib-versions: Move to ...
25883         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25884         entry from ...
25885         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25886         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25887         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25888         * sysdeps/microblaze/shlib-versions: Move to ...
25889         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25890         * sysdeps/mips/shlib-versions: Move to ...
25891         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25892         entry from ...
25893         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25894         * sysdeps/tile/shlib-versions: Move to ...
25895         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25896         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25897         from ...
25898         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25899         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25900         entry from ...
25901         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25903 2014-07-17  Will Newton  <will.newton@linaro.org>
25905         * sysdeps/arm/bits/atomic.h
25906         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25907         (__arch_compare_and_exchange_bool_16_int): Likewise.
25908         (__arch_compare_and_exchange_bool_64_int): Likewise.
25910         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25911         into an #else block.
25913 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25915         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25916         just Linux configurations.  Test empirically that the compiler sets
25917         __ARM_EABI__, rather than using the tuple to decide.
25918         * sysdeps/arm/preconfigure: Regenerated.
25919         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25920         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25921         contents appended ...
25922         * sysdeps/arm/configure.ac: ... here.
25923         * sysdeps/arm/configure: Regenerated.
25925 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25927         * nptl/pthread_kill.c: New file.
25928         * nptl/pthread_sigmask.c: New file.
25929         * nptl/pthread_sigqueue.c: New file.
25931         * sysdeps/nptl/lowlevellock.h: New file.
25932         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25933         * sysdeps/nptl/lowlevellock-futex.h: New file.
25935         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25936         Remove dead declarations.
25938 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25940         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25941         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25942         config-cflags-avx2.
25943         * sysdeps/x86_64/configure.ac: Likewise.
25944         * sysdeps/i386/configure: Regenerated.
25945         * sysdeps/x86_64/configure: Likewise.
25946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25947         memset-avx2 only if config-cflags-avx2 is yes.
25948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25949         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25950         defined.
25951         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25952         only if HAVE_AVX2_SUPPORT is defined.
25953         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25955 2014-07-14  Alan Modra  <amodra@gmail.com>
25957         [BZ #17153]
25958         * elf/elf.h (DT_PPC64_NUM): Correct value.
25959         * NEWS: Add to fixed bug list.
25961 2014-07-13  Jim Meyering  <meyering@fb.com>
25963         [BZ 17150]
25964         regex: don't deref NULL upon heap allocation failure
25965         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25966         failure in one more place.
25967         To trigger the segfault, configure grep -with-included-regex,
25968         build it, and run these commands:
25969         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25971 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25973         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25975 2014-07-11  Richard Henderson  <rth@redhat.com>
25977         * sysdeps/aarch64/libm-test-ulps: Update.
25979 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25981         [BZ #17135]
25982         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25983         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25984         (__nptl_setxid): Initialize error member.  Call
25985         __nptl_setxid_error.
25986         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25987         * nptl/descr.h (struct xid_command): Add error member.
25988         * nptl/tst-setuid3.c: New file.
25989         * nptl/Makefile (tests): Add it.
25991 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25993         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25994         New define.
25995         (__lll_trylock): Use __lll_base_trylock.
25996         (__lll_cond_trylock): Likewise.
25998 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26000         * nptl/pthread_create.c (start_thread): Use atomic_or and
26001         lll_futex_wake directly rather than lll_robust_dead.
26002         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26003         (lll_robust_dead): Macro removed.
26004         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26005         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26006         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26007         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26008         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26009         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26010         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26011         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26012         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26013         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26015         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26016         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26017         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26020         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26021         Use atomic_compare_and_exchange_val_acq directly rather than
26022         lll_robust_trylock.
26023         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26024         (__lll_robust_trylock, lll_robust_trylock): Removed.
26025         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26026         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26027         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26028         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26029         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26030         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26031         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26032         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26034         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26035         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26036         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26037         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26038         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26040 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26042         * manual/locale.texi (Locale Names): New section documenting
26043         locale name syntax.  Adjust menu and node chaining accordingly.
26044         (Choosing Locale): Reference Locale Names, Locale Categories.
26045         Mention setting LC_ALL=C.  Reflect that name syntax is now
26046         documented.
26047         (Locale Categories): New section title.  Reference Locale Names.
26048         LC_ALL is an environment variable, but not a category.
26049         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26050         description, now in Locale Name.  Reference that section.  Locale
26051         name syntax is now documented.
26053 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26055         [BZ #17137]
26056         * locale/findlocale.c (name_present, valid_locale_name): New
26057         functions.
26058         (_nl_find_locale): Use the loc_name variable to store name
26059         candidates.  Call name_present and valid_locale_name to check and
26060         validate locale names.  Return an error if the locale is invalid.
26062 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26064         * locale/setlocale.c (setlocale): Use strdup for allocating
26065         composite name copy.
26067 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26069         Sync up with gnulib.
26070         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26071         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26072         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26073         and _GL_ARG_NONNULL.
26074         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26075         [!_LIBC]: Include code for Windows and Cygwin.
26076         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26077         Include prototype for int strerror_r.
26078         [!_LIBC] (is_open): New function.
26079         (flush_stdout): New function.
26080         (print_errno_message): Use it.
26081         (error): Likewise.
26082         (error_at_line): Likewise.
26083         (error_tail) Add function attribute macros.  Use
26084         __builtin_expect.
26086         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26088         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26090         * io/ftw.c: Include sys/param.h unconditionally.
26092         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26094         [BZ #17125]
26095         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26096         libc_freeres_ptr.
26097         (freecache): New function to free CACHE on exit.
26099         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26100         initialization.
26102 2014-07-09  David S. Miller  <davem@davemloft.net>
26104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26106         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26107         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26108         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26109         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26110         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26111         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26112         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26113         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26114         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26115         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26116         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26117         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26118         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26120 2014-07-09  Andreas Schwab  <schwab@suse.de>
26122         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26123         output.
26124         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26125         (do_test): Likewise.
26127         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26129 2014-07-09  Will Newton  <will.newton@linaro.org>
26131         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26132         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26133         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26134         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26135         * sysdeps/hppa/start.S (_start): Likewise.
26137 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26139         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26141         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26142         defined.
26144 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26146         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26147         after checking that it is non-NULL.
26149         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26151 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26153         * sysdeps/powerpc/memmove.c: Remove file.
26154         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26155         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26156         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26157         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26158         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26159         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26160         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26161         string memmove instead of removed powerpc one.
26163         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26164         [weak_alias]: Fix compiler warning due trailing data.
26165         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26166         [weak_alias]: Likewise.
26167         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26168         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26170         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26171         (__libc_ifunc_impl_list): Add memmove functions.
26173 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26175         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26176         Remove code.
26177         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26178         Likewise.
26179         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26180         Likewise.
26181         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26182         Likewise.
26183         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26184         Likewise.
26185         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26186         Likewise.
26187         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26188         Likewise.
26189         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26190         Likewise.
26191         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26192         Likewise.
26193         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26194         Likewise.
26195         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26196         Likewise.
26197         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26198         Likewise.
26199         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26200         Likewise.
26201         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26202         Likewise.
26203         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26204         Likewise.
26205         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26206         Likewise.
26207         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26208         Likewise.
26210 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26212         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26213         to avoid alignment traps in non-cacheable memory.
26214         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26216         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26217         multiarch objects.
26218         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26219         file: multiarch power7 memmove.
26220         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26221         multiarch default memmove.
26222         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26223         multiarch memove for powerpc32/power4.
26225         * string/bcopy.c: Use full path to include memmove.c.
26226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26227         multiarch objects.
26228         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26229         bcopy for powerpc64.
26230         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26231         bcopy for powerpc64.
26232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26233         and memmove implementations.
26234         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26235         optimized multiarch memmove for POWER7/powerpc64.
26236         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26237         default multiarch memmove for powerpc64.
26238         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26239         multiarch for powerpc64.
26240         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26241         for POWER7/powerpc64.
26242         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26243         memmove for POWER7/powerpc64.
26245         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26246         glibc default one.
26248         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26249         __ELF_NATIVE_CLASS equal to 64.
26251 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26253         * sysdeps/nptl/lowlevellock.h: File removed.
26255         * NEWS: NPTL is no longer an add-on!
26256         * nptl/internaltypes.h: Moved ...
26257         * sysdeps/nptl/internaltypes.h: ... here.
26258         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26259         * sysdeps/nptl/fork.c: Likewise.
26260         * sysdeps/nptl/gai_misc.h: Likewise.
26261         * sysdeps/nptl/librt-cancellation.c: Likewise.
26262         * sysdeps/nptl/jmp-unwind.c: Likewise.
26263         * sysdeps/nptl/setxid.h: Likewise.
26264         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26265         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26266         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26267         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26268         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26269         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26270         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26271         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26272         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26273         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26274         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26275         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26276         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26277         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26278         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26279         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26280         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26281         * nptl/Makeconfig: Moved ...
26282         * sysdeps/nptl/Makeconfig: ... here.
26283         * nptl/configure: File removed.
26284         * nptl/ANNOUNCE: File removed.
26285         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26286         * sysdeps/unix/sysv/linux/configure: Regenerated.
26288         * nptl/Makefile (routines): Add libc_pthread_init,
26289         libc_multiple_threads, register-atfork and unregister-atfork.
26290         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26291         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26292         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26293         pthread-pi-defines.sym, structsem.sym.
26294         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26295         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26296         [$(subdir) = nptl] (tests): Add tst-setgetname.
26297         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26298         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26299         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26300         [!LIBC_SIGACTION]: Remove aliases.
26301         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26302         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26303         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26304         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26305         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26306         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26307         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26309         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26310         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26311         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26312         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26313         __libc_allocate_rtsig_private.
26314         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26315         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26316         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26317         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26318         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26319         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26320         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26321         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26322         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26323         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26324         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26325         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26326         * nptl/internaltypes.h: ... here.
26327         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26328         * sysdeps/nptl/jmp-unwind.c: ... here.
26329         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26330         * nptl/libc-lowlevellock.c: ... here.
26331         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26332         * nptl/libc_multiple_threads.c: ... here.
26333         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26334         * nptl/libc_pthread_init.c: ... here.
26335         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26336         * nptl/lowlevelbarrier.sym: ... here.
26337         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26338         * nptl/lowlevelcond.sym: ... here.
26339         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26340         * nptl/lowlevellock.c: ... here.
26341         * nptl/lowlevellock.h: Moved ...
26342         * sysdeps/nptl/lowlevellock.h: ... here.
26343         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26344         * nptl/lowlevelrobustlock.c: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26346         * nptl/lowlevelrobustlock.sym: ... here.
26347         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26348         * nptl/lowlevelrwlock.sym: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26350         * nptl/pt-fork.c: ... here.
26351         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26352         * nptl/pthread-pi-defines.sym: ... here.
26353         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26354         * nptl/pthread_attr_getaffinity.c: ... here.
26355         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26356         * nptl/pthread_attr_setaffinity.c: ... here.
26357         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26358         * nptl/pthread_mutex_cond_lock.c: ... here.
26359         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26360         Update #include.
26361         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26362         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26363         * nptl/pthread_once.c: ... here, replacing old file.
26364         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26365         * nptl/pthread_yield.c: ... here.
26366         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26367         * nptl/register-atfork.c: ... here.
26368         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26369         * nptl/sem_post.c: ... here.
26370         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26371         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26372         * nptl/sem_timedwait.c: ... here.
26373         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26374         * nptl/sem_trywait.c: ... here.
26375         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26376         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26377         * nptl/sem_wait.c: ... here.
26378         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26379         * nptl/structsem.sym: ... here.
26380         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26381         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26382         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26383         * nptl/unregister-atfork.c: ... here.
26384         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26385         * nptl/unwindbuf.sym: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26387         * sysdeps/nptl/fork.c: ... here.
26388         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26389         * sysdeps/nptl/fork.h: ... here.
26390         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26391         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26392         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26393         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26394         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26395         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26396         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26397         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26398         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26399         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26400         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26401         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26402         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26403         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26404         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26405         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26406         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26407         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26408         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26409         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26410         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26411         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26412         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26413         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26414         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26415         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26416         * sysdeps/unix/sysv/linux/raise.c: ... here.
26417         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26418         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26419         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26420         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26421         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26422         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26423         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26424         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26425         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26426         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26427         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26428         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26429         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26430         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26431         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26433 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26435         * sysdeps/generic/memcopy.h: Add comment for
26436         MEMCPY_OK_FOR_FWD_MEMMOVE.
26438 2014-07-04  Will Newton  <will.newton@linaro.org>
26440         * string/memchr.c: Merge from gnulib.
26441         [_LIBC]: Remove conditionals.
26442         (__ptr_t): Remove define.
26443         (LONG_MAX_32_BITS): Likewise.
26444         (LONG_MAX): Likewise.
26445         (MEMCHR): Use ANSI prototype and optimize algorithm.
26447         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26449 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26451         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26452         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26454         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26455         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26456         in a bare environment with no <stdlib.h> installed.
26457         * sysdeps/nptl/configure: Regenerated.
26459         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26461         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26462         AC_EGREP_CPP for kernel header checks, so they only succeed if
26463         including <linux/version.h> actually works right.
26464         * sysdeps/unix/sysv/linux/configure: Regenerated.
26466         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26467         value so it's not diagnosed as unused.
26469         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26470         thing) with "ifeq ($(subdir),rt)".
26472 2014-07-03  Richard Henderson  <rth@redhat.com>
26474         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26475         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26476         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26478         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26479         (math_force_eval): New.
26481         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26482         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26484         * sysdeps/alpha/fpu/s_round.c: Remove file.
26485         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26487         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26488         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26489         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26490         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26491         (_dl_start, print_statistics): Likewise.
26492         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26493         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26495         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26496         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26497         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26498         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26500         (HP_SMALL_TIMING_AVAIL): Define.
26501         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26502         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26503         (HP_SMALL_TIMING_AVAIL): Define.
26504         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26505         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26507         * sysdeps/aarch64/hp-timing.h: New file.
26509         * sysdeps/generic/hp-timing.h: Remove dead comment.
26510         * sysdeps/generic/hp-timing-common.h: New file.
26511         * sysdeps/alpha/hp-timing.h: Include it.
26512         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26513         * sysdeps/i386/i686/hp-timing.h: Likewise.
26514         * sysdeps/ia64/hp-timing.h: Likewise.
26515         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26516         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26517         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26518         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26519         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26520         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26521         (hp_timing_t): New.
26523         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26524         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26525         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26526         * elf/rtld.c (_dl_start_final): Likewise.
26527         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26528         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26529         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26530         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26531         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26532         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26533         (HP_TIMING_DIFF_INIT): Remove.
26534         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26535         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26536         (HP_TIMING_DIFF_INIT): Remove.
26537         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26538         * sysdeps/i386/i686/hp-timing.c: Remove file.
26539         * sysdeps/x86_64/hp-timing.c: Remove file.
26540         * sysdeps/ia64/hp-timing.c: Remove file.
26541         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26542         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26543         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26544         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26546         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26547         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26548         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26549         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26550         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26551         (HP_TIMING_ACCUM): Remove.
26552         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26553         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26554         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26556         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26557         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26558         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26559         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26561         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26562         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26563         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26565         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26567 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26569         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26571 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26573         Sync up with gettext.
26574         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26575         [_MSC_VER]: Include malloc.h
26576         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26577         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26578         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26579         TEMP_FAILURE_RETRY.  Cast return of alloca.
26580         [!_LIBC] Call gl_rwlock_init.
26581         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26583 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26585         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26586         before checking its value.
26588 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26590         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26592         * debug/memcpy_chk.c: Don't include pagecopy.h.
26593         * debug/mempcpy_chk.c: Likewise.
26594         * string/memcpy.c: Likewise.
26595         * string/memmove.c: Likewise.
26596         * sysdeps/powerpc/memmove.c: Likewise.
26597         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26598         definition of PAGE_COPY_FWD_MAYBE here...
26599         * sysdeps/generic/pagecopy.h: ... from here.
26600         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26602 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26603             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26605         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26606         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26607         optimizations.
26608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26609         (__libc_ifunc_impl_list): Likewise.
26610         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26611         multiarch strcat for PPC64.
26612         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26613         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26615 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26617         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26619 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26621         * intl/loadmsgcat.c: Remove declaration of
26622         get_sysdep_segment_value.
26623         (get_sysdep_segment_value): Use ISO C style.
26624         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26625         semicolon.  Fix typo and formatting in comment.
26626         (_nl_unload_domain): Use ISO C style.
26628         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26630 2014-07-02  Will Newton  <will.newton@linaro.org>
26632         * malloc/obstack.c: Merge from gnulib master.
26633         [HAVE_CONFIG_H]: Remove conditional code.
26634         [!_LIBC]: Include config.h.
26635         [!ELIDE_CODE]: Don't include inttypes.h, include
26636         stdint.h unconditionally.
26637         (print_and_abort): Mark as _Noreturn.
26638         (_obstack_allocated_p): Mark as __attribute_pure__.
26639         (obstack_free): Rename to __obstack_free.
26640         [!__attribute__]: Remove conditional code.
26641         * malloc/obstack.h: Merge from gnulib master.
26642         [__cplusplus]: Move conditional down.
26643         [!__attribute_pure__]: Define __attribute_pure__ here
26644         if it is not already defined.
26645         (_obstack_memory_used): Mark as __attribute_pure__.
26646         [!__obstack_free]: Define as obstack_free.
26647         [__GNUC__]: Remove check for ancient NeXT gcc.
26649 2014-07-02  Will Newton  <will.newton@linaro.org>
26650             Paul Eggert  <eggert@cs.ucla.edu>
26652         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26654 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26656         * resolv/gethnamaddr.c: Add comment warning that the file is
26657         not maintained.
26659 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26661         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26662         entries.
26664         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26665         entry for aio_cancel and aio_cancel64.
26666         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26667         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26668         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26669         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26670         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26671         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26672         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26673         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26674         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26675         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26676         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26677         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26678         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26680 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26682         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26683         * nptl/pthread_mutex_lock.c: Likewise.
26684         * nptl/pthread_mutex_timedlock.c: Likewise.
26685         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26687 2014-07-01  Richard henderson  <rth@redhat.com>
26689         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26690         (__isnan, __isnanl): Remove.
26691         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26693         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26695 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26697         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26699 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26701         * resolv/nss_dns/dns-host.c (getanswer_r)
26702         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26704 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26706         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26707         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26708         undefine.
26709         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26710         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26712 2014-07-01  Roland McGrath <roland@hack.frob.com>
26714         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26715         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26717         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26718         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26720         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26721         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26722         ... here.
26723         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26724         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26726         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26727         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26728         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26729         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26731         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26732         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26733         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26734         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26735         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26736         Moved ...
26737         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26738         ... here.
26739         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26740         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26741         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26742         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26743         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26744         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26745         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26746         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26747         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26748         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26749         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26750         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26751         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26752         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26753         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26754         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26755         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26756         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26757         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26758         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26759         ... here.
26760         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26761         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26762         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26763         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26764         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26765         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26766         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26767         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26769 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26771         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26772         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26773         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26774         Add sysdep.
26776 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26780 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26782         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26783         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26785         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26787         * sysdeps/arm/libm-test-ulps: Regenerated.
26789 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26790             Roland McGrath <roland@hack.frob.com>
26792         * test-skeleton.c (signal_handler): Kill the whole process group
26793         before killing the child individually.
26794         (main): Report any failure on `setpgid'.
26796 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26798         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26799         from _TLS_H to _ARM_NPTL_TLS_H.
26800         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26801         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26803 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26805         [BZ #16539]
26806         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26807         (__expm1l): Return argument unchanged when small but not
26808         subnormal.
26810         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26811         include macro name.
26812         (_FP_UNPACK_RAW_1_P): Likewise.
26813         (_FP_PACK_RAW_1): Likewise.
26814         (_FP_PACK_RAW_1_P): Likewise.
26815         (_FP_MUL_MEAT_1_wide): Likewise.
26816         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26817         (_FP_MUL_MEAT_1_hard): Likewise.
26818         (_FP_DIV_MEAT_1_imm): Likewise.
26819         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26820         (_FP_DIV_MEAT_1_udiv): Likewise.
26821         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26822         (_FP_UNPACK_RAW_2): Likewise.
26823         (_FP_UNPACK_RAW_2_P): Likewise.
26824         (_FP_PACK_RAW_2): Likewise.
26825         (_FP_PACK_RAW_2_P): Likewise.
26826         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26827         (_FP_MUL_MEAT_2_wide): Likewise.
26828         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26829         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26830         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26831         (_FP_MUL_MEAT_2_gmp): Likewise.
26832         (_FP_DIV_MEAT_2_udiv): Likewise.
26833         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26834         (_FP_FRAC_SRL_4): Likewise.
26835         (_FP_FRAC_SRST_4): Likewise.
26836         (_FP_FRAC_SRS_4): Likewise.
26837         (_FP_UNPACK_RAW_4): Likewise.
26838         (_FP_UNPACK_RAW_4_P): Likewise.
26839         (_FP_PACK_RAW_4): Likewise.
26840         (_FP_PACK_RAW_4_P): Likewise.
26841         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26842         (_FP_MUL_MEAT_4_wide): Likewise.
26843         (_FP_MUL_MEAT_4_gmp): Likewise.
26844         (umul_ppppmnnn): Likewise.
26845         (_FP_DIV_MEAT_4_udiv): Likewise.
26846         (__FP_FRAC_ADD_4): Likewise.
26847         (__FP_FRAC_SUB_3): Likewise.
26848         (__FP_FRAC_SUB_4): Likewise.
26849         (__FP_FRAC_DEC_3): Likewise.
26850         (__FP_FRAC_DEC_4): Likewise.
26851         (__FP_FRAC_ADDI_4): Likewise.
26852         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26853         (_FP_FRAC_SRL_8): Likewise.
26854         (_FP_FRAC_SRS_8): Likewise.
26856         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26857         include macro name.
26858         (FP_UNPACK_RAW_EP): Likewise.
26859         (FP_PACK_RAW_E): Likewise.
26860         (FP_PACK_RAW_EP): Likewise.
26861         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26862         (_FP_ISSIGNAN): Likewise.
26863         (_FP_ADD_INTERNAL): Likewise.
26864         (_FP_FMA): Likewise.
26865         (_FP_CMP): Likewise.
26866         (_FP_SQRT): Likewise.
26867         (_FP_TO_INT): Likewise.
26868         (_FP_FROM_INT): Likewise.
26869         (FP_EXTEND): Likewise.
26870         (_FP_DIV_MEAT_N_loop): Likewise.
26872 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26874         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26875         throughout.
26877 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26879         [BZ #17097]
26880         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26881         result with correct sign in case of exponents that produce
26882         overflow except for X very close to 1.
26884 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26886         mktime: merge #if/#ifdef usage from glibc
26887         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26888         as that works with both Glibc's and Gnulib's style.
26889         See thread starting at Siddhesh Poyarekar's bug report at:
26890         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26892 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26894         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26895         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26896         * sysdeps/tile/tilegx/memmove.c: Remove file.
26898 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26900         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26901         abi-name definition.
26902         * scripts/soversions.awk: Do not handle or generate ABI lines.
26903         * shlib-versions: Remove ABI entries.
26904         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26905         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26907 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26910         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26911         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26912         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26914         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26916         Moved ...
26917         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26918         ... here.
26919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26920         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26922         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26923         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26924         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26926         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26927         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26928         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26930         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26932         Moved ...
26933         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26934         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26937         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26938         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26939         Moved ...
26940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26942         Moved ...
26943         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26945         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26947         Moved ...
26948         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26949         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26950         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26951         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26952         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26954         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26955         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26956         Moved ...
26957         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26958         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26959         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26960         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26961         Moved ...
26962         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26963         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26964         Moved ...
26965         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26967         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26969         Moved ...
26970         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26971         ... here.
26972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26973         Identical file removed.
26974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26975         Moved ...
26976         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26977         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26978         Identical file removed.
26979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26980         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26982         Moved ...
26983         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26984         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26985         Identical file removed.
26986         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26987         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26988         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26989         Identical file removed.
26990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26991         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26993         Identical file removed.
26994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26995         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26997         Identical file removed.
26998         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26999         Moved ...
27000         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27001         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27002         Identical file removed.
27003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27004         Moved ...
27005         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27006         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27007         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27008         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27009         Identical file removed.
27010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27011         Moved ...
27012         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27013         ... here.
27014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27015         Identical file removed.
27016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27017         Moved ...
27018         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27019         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27020         Identical file removed.
27021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27022         Moved ...
27023         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27024         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27025         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27026         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27027         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27028         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27029         Moved ...
27030         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27031         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27032         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27034         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27035         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27036         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27037         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27038         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27040 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27042         [BZ #17092]
27043         * nscd/nscd.c (monitor_child): Return exit status of child
27044         instead of return value from wait syscall.
27046 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27048         * configure.ac (libc_commonpagesize): Remove variable.
27049         (libc_relro_required): Likewise.
27050         (libc_cv_z_relro): Remove configure test.
27051         * configure: Regenerated.
27052         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27053         variable.
27054         (libc_relro_required): Likewise.
27055         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27056         (libc_relro_required): Likewise.
27057         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27058         (libc_relro_required): Likewise.
27059         * sysdeps/arm/preconfigure: Regenerated.
27060         * sysdeps/ia64/preconfigure: Remove file.
27061         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27062         variable.
27063         (libc_relro_required): Likewise.
27065         [BZ #16561]
27066         [BZ #16562]
27067         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27068         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27069         recompute overflowing results in original rounding mode.
27070         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27071         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27072         recompute overflowing results in original rounding mode.
27073         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27074         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27075         recompute overflowing results in original rounding mode.
27076         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27077         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27078         recompute overflowing results in original rounding mode.
27079         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27080         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27081         recompute overflowing results in original rounding mode.
27082         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27083         (libc_feholdsetround_ctx): New macro.
27084         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27085         * sysdeps/i386/fpu/libm-test-ulps: Update.
27086         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27088 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27090         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27091         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27092         corresponding .cpsetup call.
27094 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27096         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27097         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27098         * sysdeps/arm/Makefile [$(subdir) = csu]
27099         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27100         (static-only-routines): Add aeabi_read_tp here.
27101         (shared-only-routines): Add libc-aeabi_read_tp here.
27102         (CFLAGS-libc-start.c): Add -fexceptions here.
27103         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27104         (sysdep_routines, static-only-routines, shared-only-routines):
27105         Don't add to these here.
27106         (CFLAGS-libc-start.c): Likewise.
27108         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27109         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27110         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27111         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27112         * sysdeps/arm/Makefile [$(subdir) = rt]
27113         (librt-sysdep_routines, librt-shared-only-routines):
27114         Append rt-aeabi_unwind_cpp_pr1 here.
27115         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27116         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27117         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27118         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27119         Append nptl-aeabi_unwind_cpp_pr1 here.
27120         (tests): Filter out tst-cleanupx4 here.
27121         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27122         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27123         Don't do those here.
27125 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27127         * scripts/list-sources.sh: Do not handle ports specially.
27129 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27131         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27132         * sysdeps/arm/feupdateenv.c: Likewise.
27134         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27136 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27138         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27139         trailing whitespace removed.
27140         * scripts/config.guess: Update to version 2014-03-23.
27141         * scripts/config.sub: Update to version 2014-05-01
27142         * scripts/install-sh: Update to version 2013-12-25.23.
27143         * scripts/move-if-change: Update from gnulib.
27145 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27147         * debug/memmove_chk.c: Remove pagecopy.h include.
27149 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27151         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27152         identical to gnulib mktime.
27154 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27156         * configure.ac: Do not test for machine being rs6000.  Do not test
27157         for powerpc*-*soft.
27158         * configure: Regenerated.
27160         [BZ #11505]
27161         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27162         test.
27163         * configure: Regenerated.
27164         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27165         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27166         Remove configure test.
27167         * sysdeps/arm/configure: Regenerated.
27168         * sysdeps/nptl/configure.ac: Do not check
27169         libc_cv_asm_cfi_directives.
27170         * sysdeps/nptl/configure: Regenerated.
27171         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27172         * sysdeps/x86_64/nptl/configure: Remove generated file.
27173         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27174         unconditional.
27175         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27177 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27179         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27180         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27181         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27182         it is defined.
27184         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27185         instead of whether it is defined.
27186         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27187         * sysdeps/hppa/dl-machine.h: Likewise.
27188         * sysdeps/ia64/dl-machine.h: Likewise.
27189         * sysdeps/m68k/dl-machine.h: Likewise.
27190         * sysdeps/microblaze/dl-machine.h: Likewise.
27191         * sysdeps/mips/dl-machine.: Likewise.
27192         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27193         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27194         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27195         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27196         * sysdeps/sh/dl-machine.h: Likewise.
27197         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27198         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27199         * sysdeps/tile/dl-machine.h: Likewise.
27200         * sysdeps/x86_64/dl-machine.h: Likewise.
27202         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27203         code.
27204         (verify_persistent_db): Likewise.
27206 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27209         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27211         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27213         Moved ...
27214         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27215         ... here.
27216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27217         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27219         Identical file removed.
27220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27221         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27223         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27225         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27227         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27229         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27231         Moved ...
27232         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27234         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27236         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27238         Moved ...
27239         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27241         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27243         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27245         Identical file removed.
27246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27247         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27249         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27251         Moved ...
27252         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27253         ... here.
27254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27255         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27257         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27258         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27259         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27260         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27261         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27263         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27265         Moved ...
27266         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27268         Moved ...
27269         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27271         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27273         Moved ...
27274         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27276         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27278         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27279         folded into ...
27280         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27281         * sysdeps/unix/sysv/linux/s390/Versions
27282         (libpthread: GLIBC_2.19): New version set.
27283         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27284         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27285         (librt: GLIBC_2.3.3): New version set.
27286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27287         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27288         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27289         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27290         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27291         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27292         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27293         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27294         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27295         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27296         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27297         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27298         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27299         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27300         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27301         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27302         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27303         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27304         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27305         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27306         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27307         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27308         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27309         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27310         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27311         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27312         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27313         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27314         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27315         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27316         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27317         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27320         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27322         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27324         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27326         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27327         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27328         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27330         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27332         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27333         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27334         (__libc_vfork): Define the function under this name.
27335         [!NOT_IN_libc] (__vfork): Make this an alias.
27336         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27337         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27338         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27339         (__libc_vfork): Define the function under this name.
27340         [!NOT_IN_libc] (__vfork): Make this an alias.
27341         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27342         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27343         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27344         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27346         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27348         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27349         code that was previously under [RESET_PID].
27350         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27351         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27352         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27354         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27355         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27356         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27357         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27358         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27359         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27360         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27361         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27362         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27363         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27364         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27365         Moved ...
27366         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27367         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27368         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27369         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27370         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27371         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27372         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27373         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27374         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27375         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27376         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27377         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27378         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27379         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27380         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27381         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27382         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27383         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27384         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27385         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27386         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27387         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27388         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27389         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27390         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27391         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27392         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27394         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27396 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27398         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27399         that was previously under [RESET_PID].
27400         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27402 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27404         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27405         not undefine and redefine.
27406         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27407         [O_CLOEXEC]: Make code unconditional.
27408         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27409         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27410         <kernel-features.h>.
27411         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27412         conditional variable definition.
27413         (shm_open) [O_CLOEXEC]: Make code unconditional.
27414         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27415         code.
27417         * configure.ac (USE_REGPARMS): Don't define here.
27418         * configure: Regenerated.
27419         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27420         * sysdeps/i386/configure: Regenerated.
27422         * nptl/createthread.c: Don't include kernel-features.h.
27423         * nptl/pthread_cancel.c: Likewise.
27424         * nptl/pthread_condattr_setclock.c: Likewise.
27425         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27426         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27427         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27428         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27429         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27430         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27431         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27434         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27435         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27436         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27437         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27438         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27439         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27440         * nscd/gai.c: Likewise.
27441         * nss/nss_db/db-open.c: Likewise.
27442         * sysdeps/generic/ldsodefs.h: Likewise.
27443         * sysdeps/sh/nptl/tls.h: Likewise.
27444         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27445         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27446         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27447         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27448         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27449         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27450         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27451         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27452         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27453         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27454         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27455         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27456         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27457         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27458         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27459         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27460         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27461         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27462         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27463         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27466         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27467         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27468         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27469         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27472         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27473         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27474         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27475         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27476         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27477         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27478         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27479         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27480         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27481         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27482         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27483         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27484         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27485         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27486         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27487         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27488         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27489         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27490         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27491         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27492         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27493         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27494         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27495         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27496         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27497         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27498         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27499         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27500         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27501         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27524         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27525         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27526         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27527         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27528         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27530         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27531         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27532         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27533         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27534         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27535         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27536         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27537         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27538         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27539         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27540         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27541         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27542         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27543         * sysdeps/unix/sysv/linux/system.c: Likewise.
27544         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27545         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27546         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27547         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27548         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27549         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27550         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27552         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27553         * configure: Regenerated.
27554         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27556         * configure.ac (base_machine): Do not set specially for particular
27557         machines here.
27558         * configure: Regenerated.
27559         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27560         settings from configure.ac.
27561         * sysdeps/i386/preconfigure: New file.
27562         * sysdeps/s390/preconfigure: Likewise.
27563         * sysdeps/sh/preconfigure: Likewise.
27564         * sysdeps/sparc/preconfigure: Likewise.
27566 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27568         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27569         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27570         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27571         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27572         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27573         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27574         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27575         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27576         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27577         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27578         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27579         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27580         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27581         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27582         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27583         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27585         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27586         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27588         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27589         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27590         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27591         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27592         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27593         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27594         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27595         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27596         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27597         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27598         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27599         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27600         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27601         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27602         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27603         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27604         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27605         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27606         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27607         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27609         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27610         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27611         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27613         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27615         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27616         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27617         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27618         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27619         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27620         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27621         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27622         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27623         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27624         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27625         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27628         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27630         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27632         Moved ...
27633         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27634         ... here.
27635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27636         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27638         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27640         Moved ...
27641         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27643         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27645         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27647         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27649         Moved ...
27650         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27652         Moved ...
27653         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27655         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27657         Moved ...
27658         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27660         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27662         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27664         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27666         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27668         Moved ...
27669         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27670         ... here.
27671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27672         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27674         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27676         Moved ...
27677         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27679         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27681         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27683         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27685         Moved ...
27686         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27688         Moved ...
27689         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27691         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27693         Moved ...
27694         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27696         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27698         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27700 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27702         * timezone/checktab.awk: Update from tzcode 2014e.
27703         * timezone/private.h: Likewise.
27704         * timezone/tzfile.h: Likewise.
27705         * timezone/zdump.c: Likewise.
27706         * timezone/zic.c: Likewise.
27708         * sysdeps/unix/sysv/linux/kernel-features.h
27709         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27710         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27711         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27712         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27713         Remove conditional code.
27715 2014-06-25  Will Newton  <will.newton@linaro.org>
27717         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27718         (_dl_arm_cap_flags): Add HWCAP2 values.
27719         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27720         (_DL_HWCAP_COUNT): Increase to 37.
27721         (_DL_HWCAP_LAST): New define.
27722         (_DL_HWCAP2_LAST): New define.
27723         (_dl_procinfo): Add support for printing
27724         AT_HWCAP2 entries.
27725         (_dl_string_hwcap): Use _dl_hwcap_string.
27727 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27731 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27733         * README: Do not mention ports directory.
27735         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27736         Remove macro.
27737         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27738         <kernel-features.h>.
27739         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27740         conditional variable definition.
27741         (__futimes): Update comment.
27742         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27743         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27745         [BZ #16560]
27746         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27747         arguments close to 0.
27748         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27749         Likewise.
27750         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27751         Likewise.
27752         * math/auto-libm-test-in: Add more tests of exp10.
27753         * math/auto-libm-test-out: Regenerated.
27754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27756         * sysdeps/unix/sysv/linux/kernel-features.h
27757         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27758         * sysdeps/unix/sysv/linux/readv.c: Do not include
27759         <kernel-features.h>.
27760         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27761         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27762         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27763         unconditional.
27764         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27765         conditional code.
27766         * sysdeps/unix/sysv/linux/writev.c: Do not include
27767         <kernel-features.h>.
27768         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27769         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27770         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27771         unconditional.
27772         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27773         conditional code.
27775 2014-06-25  Will Newton  <will.newton@linaro.org>
27777         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27778         comment changes throughout the file.  Remove checks
27779         for HAVE_*_H definitions that are not required.
27780         (__gen_tempname): Call abort if an unknown kind value is
27781         passed.
27783 2014-06-25  Andreas Schwab  <schwab@suse.de>
27785         [BZ #17086]
27786         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27787         scalbln, scalblnf, scalblnl in libc.
27789 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27791         [BZ #17086]
27792         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27793         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27794         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27796 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27798         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27799         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27800         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27801         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27802         Update #include.
27803         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27804         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27805         Update #include.
27806         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27807         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27808         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27809         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27810         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27811         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27812         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27813         * sysdeps/x86/bits/semaphore.h: ... here.
27814         * sysdeps/x86/nptl/elide.h: Moved ...
27815         * sysdeps/x86/elide.h: ... here.
27816         * sysdeps/x86_64/nptl/Implies: File removed.
27817         * sysdeps/i386/nptl/Implies: File removed.
27819 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27821         [BZ #16539]
27822         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27823         return the argument for normal arguments with exponent below -64.
27824         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27825         Likewise.
27826         * math/auto-libm-test-in: Add another test of expm1.
27827         * math/auto-libm-test-out: Regenerated.
27829         [BZ #16287]
27830         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27831         calling __erfcl for arguments at least 16.
27832         * math/auto-libm-test-in: Add more tests of erf.
27833         * math/auto-libm-test-out: Regenerated.
27835         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27836         individual architectures.
27837         * sysdeps/unix/sysv/linux/configure: Regenerated.
27838         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27839         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27840         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27841         (ldd_rewrite_script): Define variable.
27842         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27844         file.
27845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27846         generated file.
27847         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27848         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27849         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27850         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27851         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27852         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27853         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27854         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27856 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27858         [BZ #17084]
27859         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27860         Rename member __data.d to __data.__elision_data.
27862 2014-06-24  Wilco  <wdijkstr@arm.com>
27864         * NEWS: Add 16918 to fixed bug list.
27866 2014-06-24  Wilco  <wdijkstr@arm.com>
27868         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27870 2014-06-24  Wilco  <wdijkstr@arm.com>
27872         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27873         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27874         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27875         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27876         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27877         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27878         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27879         Use _FPU_MASK_RM.
27881 2014-06-24  Wilco  <wdijkstr@arm.com>
27883         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27885 2014-06-24  Wilco  <wdijkstr@arm.com>
27887         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27888         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27889         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27890         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27892 2014-06-24  Wilco  <wdijkstr@arm.com>
27894         [BZ #16918]
27895         * sysdeps/arm/feupdateenv.c (feupdateenv):
27896         Rewrite to reduce FPSCR accesses and fix return value.
27898 2014-06-24  Wilco  <wdijkstr@arm.com>
27900         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27901         Optimize to avoid unnecessary FPSCR writes.
27902         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27903         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27904         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27905         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27907 2014-06-24  Wilco  <wdijkstr@arm.com>
27909         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27910         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27911         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27912         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27913         Call libc_fetestexcept_vfp.
27914         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27915         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27916         __SOFTFP__ ifdef so that they can be built for softfp.
27918 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27920         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27921         argument type signed char.
27923         * Makerules (check-abi): Dump diff of symlist if the test
27924         fails.
27926 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27928         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27929         using abort.
27931         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27932         Remove unused variable ST.
27934 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27936         [BZ #16354]
27937         [BZ #17061]
27938         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27939         small arguments before calling __expm1.
27940         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27941         small arguments before calling __expm1f.
27942         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27943         small arguments before calling __expm1l.
27944         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27945         Likewise.
27946         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27947         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27948         spurious underflow for some cosh tests.
27949         * math/auto-libm-test-out: Regenerated.
27950         * sysdeps/i386/fpu/libm-test-ulps: Update.
27952         [BZ #17050]
27953         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27954         (__ieee754_y1): Set errno if return value overflows.
27955         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27956         (__ieee754_y1f): Set errno if return value overflows.
27957         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27958         (__ieee754_y1l): Set errno if return value overflows.
27959         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27960         (__ieee754_y1l): Set errno if return value overflows.
27961         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27962         * math/auto-libm-test-out: Regenerated.
27964         * math/gen-auto-libm-tests.c: Document use of
27965         ignore-zero-inf-sign.
27966         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27967         (input_flags): Add ignore-zero-inf-sign.
27968         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27969         * math/gen-libm-test.pl (generate_testfile): Handle
27970         ignore-zero-inf-sign.
27971         * math/auto-libm-test-in: Mark some cpow tests with
27972         ignore-zero-inf-sign and some with xfail-rounding.
27973         * math/auto-libm-test-out: Regenerated.
27974         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27975         * sysdeps/i386/fpu/libm-test-ulps: Update.
27976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27978         [BZ #16315]
27979         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27980         overflowing or underflowing operations take place with sign of
27981         result.
27982         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27983         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27984         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27985         (__ieee754_pow): Recompute overflowing and underflowing results in
27986         original rounding mode.
27987         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27988         (__powl_helper): Allow negative argument X and scale negated value
27989         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27990         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27991         overflowing or underflowing operations take place with sign of
27992         result.
27993         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27994         Include <math.h>.
27995         * math/auto-libm-test-in: Add more tests of pow.
27996         * math/auto-libm-test-out: Regenerated.
27997         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27998         (pow_tonearest_test_data): Remove.
27999         (pow_test_tonearest): Likewise.
28000         (pow_towardzero_test_data): Likewise.
28001         (pow_test_towardzero): Likewise.
28002         (pow_downward_test_data): Likewise.
28003         (pow_test_downward): Likewise.
28004         (pow_upward_test_data): Likewise.
28005         (pow_test_upward): Likewise.
28006         (main): Don't call removed functions.
28007         * sysdeps/i386/fpu/libm-test-ulps: Update.
28008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28010 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28013         Moved ...
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28016         Moved ...
28017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28019         Moved ...
28020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28022         Moved ...
28023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28025         File removed.
28026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28027         File removed.
28028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28029         File removed.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28031         File removed.
28032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28033         File removed.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28035         File removed.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28037         File removed.
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28039         File removed.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28041         File removed.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28043         File removed.
28044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28045         File removed.
28046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28047         File removed.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28049         Moved ...
28050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28052         Moved ...
28053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28054         ... here.
28055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28056         Moved ...
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28059         Moved ...
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28062         Moved ...
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28065         Moved ...
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28068         Moved ...
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28071         Moved ...
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28074         Moved ...
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28078         ... here.
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28080         Moved ...
28081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28083         Moved ...
28084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28085         ... here.
28086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28087         Moved ...
28088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28089         ... here.
28090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28091         Moved ...
28092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28093         ... here.
28094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28095         Moved ...
28096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28098         Moved ...
28099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28103         Moved ...
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28105         ... here.
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28107         Moved ...
28108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28109         ... here.
28110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28111         Moved ...
28112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28114         Moved ...
28115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28117         Moved ...
28118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28120         Moved ...
28121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28123         Moved ...
28124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28125         ... here.
28126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28127         Moved ...
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28130         Moved ...
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28133         Moved ...
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28136         Moved ...
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28141         Moved ...
28142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28144         Moved ...
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28147         Moved ...
28148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28149         ... here.
28150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28151         Moved ...
28152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28153         ... here.
28154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28155         Moved ...
28156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28157         ... here.
28158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28159         Moved ...
28160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28162         Moved ...
28163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28165         Moved ...
28166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28168         Moved ...
28169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28170         ... here.
28171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28172         Moved ...
28173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28174         ... here.
28175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28176         Moved ...
28177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28178         ... here.
28179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28180         Moved ...
28181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28183         Moved ...
28184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28186 2014-06-23  Will Newton  <will.newton@linaro.org>
28187             Wilco  <wdijkstr@arm.com>
28189         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28190         implementation.  Include get-rounding-mode.h.
28191         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28192         [!libc_feholdsetround_noex_ctx]: Define
28193         libc_feholdsetround_noex_ctx.
28194         [!libc_feholdsetround_noexf_ctx]: Define
28195         libc_feholdsetround_noexf_ctx.
28196         [!libc_feholdsetround_noexl_ctx]: Define
28197         libc_feholdsetround_noexl_ctx.
28198         (libc_feholdsetround_ctx): New function.
28199         (libc_feresetround_ctx): New function.
28200         (libc_feholdsetround_noex_ctx): New function.
28201         (libc_feresetround_noex_ctx): New function.
28203 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28205         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28206         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28207         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28208         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28209         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28210         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28212         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28213         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28214         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28215         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28216         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28217         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28219         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28221         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28223         Moved ...
28224         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28225         ... here.
28226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28227         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28229         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28231         Moved ...
28232         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28233         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28234         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28235         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28236         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28238         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28239         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28240         Moved ...
28241         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28243         Moved ...
28244         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28246         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28247         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28248         Moved ...
28249         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28250         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28251         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28252         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28253         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28254         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28255         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28256         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28257         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28259         Moved ...
28260         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28261         ... here.
28262         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28263         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28264         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28265         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28266         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28267         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28269         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28270         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28271         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28273         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28274         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28275         Moved ...
28276         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28277         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28278         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28280         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28281         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28282         Moved ...
28283         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28284         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28285         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28286         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28287         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28289         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28290         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28291         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28292         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28293         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28294         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28295         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28296         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28297         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28298         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28299         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28300         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28301         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28302         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28303         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28304         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28305         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28306         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28307         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28308         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28309         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28310         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28311         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28312         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28313         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28314         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28315         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28316         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28318 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28321         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28322         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28323         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28324         (IPV6_PMTUDISC_INTERFACE): Likewise.
28325         (IPV6_PMTUDISC_OMIT): Likewise.
28327 2014-06-23  Andreas Schwab  <schwab@suse.de>
28329         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28330         Remove unused errout label.
28332 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28334         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28335         macro: hardware supports Vector Crypto instructions.
28337 2014-06-23  Will Newton  <will.newton@linaro.org>
28339         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28340         rather than __builtin_expect.
28342         * elf/dl-lookup.c (undefined_msg): Remove variable.
28343         (_dl_lookup_symbol_x): Replace undefined_msg with string
28344         literal.
28346         * elf/dl-lookup.c (do_lookup_unique): New function.
28347         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28348         to a separate function.
28350 2014-06-23  Andreas Schwab  <schwab@suse.de>
28352         [BZ #17079]
28353         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28354         before reading the next line.
28356 2014-06-23  Will Newton  <will.newton@linaro.org>
28358         * test-skeleton.c (signal_handler): Use printf and %m
28359         rather than perror.  Use printf rather than fprintf to
28360         stderr.  Use puts rather than fputs to stderr.
28361         (main): Likewise.
28363 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28365         * nscd/nscd.c (thread_info_t): Remove typedef.
28366         (thread_info): Remove variable.
28368 2014-06-21  Allan McRae  <allan@archlinux.org>
28370         * NEWS: Mention CVE-2014-4043.
28372 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28374         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28375         * nptl/smp.h: ... here.
28377         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28379         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28380         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28381         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28382         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28384         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28385         * nptl/stack-aliasing.h: New file.
28386         * sysdeps/i386/i686/stack-aliasing.h: New file.
28387         * sysdeps/i386/i686/nptl/Makefile: File removed.
28388         * sysdeps/x86_64/stack-aliasing.h: New file.
28389         * sysdeps/x86_64/nptl/Makefile
28390         (CFLAGS-pthread_create.c): Variable removed.
28392         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28393         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28394         old file.
28395         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28396         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28397         old file.
28399 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28401         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28402         (__ASSUME_SIGFRAME_V2): Remove macro.
28403         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28404         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28405         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28406         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28407         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28408         Declare as function.  Remove conditional macro definitions.
28409         (__default_rt_sa_restorer): Likewise.
28410         (__default_sa_restorer_v1): Remove declaration.
28411         (__default_sa_restorer_v2): Likewise.
28412         (__default_rt_sa_restorer_v1): Likewise.
28413         (__default_rt_sa_restorer_v2): Likewise.
28414         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28415         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28416         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28418 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28420         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28421         (libpthread-routines): Add sysdep.
28422         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28423         * sysdeps/unix/sysv/linux/sparc/Versions
28424         (libpthread: GLIBC_2.3.3): New version set.
28425         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28426         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28427         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28428         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28429         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28430         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28431         Moved ...
28432         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28433         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28434         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28435         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28436         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28437         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28438         * sysdeps/sparc/nptl/sem_init.c: ... here.
28439         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28440         * sysdeps/sparc/nptl/sem_post.c: ... here.
28441         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28442         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28443         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28444         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28445         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28446         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28447         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28448         (libpthread-routines): Add cpu_relax.
28449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28450         File removed.
28451         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28452         (librt: GLIBC_2.3.3): New version set.
28453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28454         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28455         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28456         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28459         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28461         Moved ...
28462         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28464         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28466         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28468         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28470         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28472         Moved ...
28473         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28474         Update #include.
28475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28476         Moved ...
28477         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28478         Update #include.
28479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28480         Moved ...
28481         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28482         Update #include.
28483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28484         Moved ...
28485         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28486         Update #include.
28487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28488         Moved ...
28489         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28490         Update #include.
28491         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28492         Moved ...
28493         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28494         Update #include.
28495         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28496         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28497         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28498         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28499         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28501         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28502         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28504         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28506         Moved ...
28507         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28508         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28509         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28511         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28513 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28515         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28516         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28517         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28518         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28519         * nscd/nscd.c: Likewise.
28520         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28521         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28522         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28523         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28525         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28526         <kernel-features.h>.
28527         (init_mq_netlink): Remove conditional have_sock_cloexec
28528         definitions.  Remove code conditional on have_sock_cloexec < 0.
28529         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28530         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28531         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28532         <kernel-features.h>.
28533         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28534         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28536 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28539         Add tests for memset_chk and memset.
28541         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28542         with AVX2_Usable.
28544 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28546         [BZ #16046]
28547         * elf/tst-dl-iter-static.c: New file.
28548         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28550         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28551         error.
28553 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28555         * sysdeps/unix/sysv/linux/kernel-features.h
28556         (__ASSUME_F_GETOWN_EX): Remove macro.
28557         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28558         <kernel-features.h>.
28559         (miss_F_GETOWN_EX): Remove variable or macro.
28560         (do_fcntl): Do not check miss_F_GETOWN_EX.
28561         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28563         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28564         Remove macro.
28565         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28566         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28567         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28569         * sysdeps/unix/sysv/linux/kernel-features.h
28570         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28571         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28572         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28573         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28575 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28577         [BZ #17075]
28578         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28579         Fix calculation of the symbol's value.
28580         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28581         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28582         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28583         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28584         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28585         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28586         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28587         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28588         (modules-names): Add `tst-armtlsdescmod',
28589         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28590         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28591         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28592         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28593         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28594         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28595         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28596         ($(objpfx)tst-armtlsdescloc): New dependency.
28597         ($(objpfx)tst-armtlsdescextnow): Likewise.
28598         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28599         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28600         TLS scheme support.
28601         * sysdeps/arm/configure: Regenerate.
28603 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28605         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28606         (__atfct_seterrno_2): Likewise.
28607         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28608         <kernel-features.h>.
28609         (__ASSUME_ATFCTS): Do not undefine and redefine.
28610         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28611         (__have_atfcts): Remove conditional definition.
28612         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28613         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28614         unreachable if [__ASSUME_ATFCTS].
28615         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28616         not undefine and redefine.
28617         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28618         <kernel-features.h>.
28619         (faccessat) [__NR_faccessat]: Make code unconditional.
28620         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28621         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28622         <kernel-features.h>.
28623         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28624         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28625         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28626         <kernel-features.h>.
28627         (fchownat) [__NR_fchownat]: Make code unconditional.
28628         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28629         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28630         <kernel-features.h>.
28631         (futimesat) [__NR_futimesat]: Make code unconditional.
28632         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28633         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28634         <kernel-features.h>.
28635         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28636         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28637         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28638         <kernel-features.h>.
28639         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28640         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28641         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28642         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28643         <kernel-features.h>.
28644         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28645         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28646         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28647         <kernel-features.h>.
28648         (linkat) [__NR_linkat]: Make code unconditional.
28649         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28650         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28651         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28652         <kernel-features.h>.
28653         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28654         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28655         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28656         <kernel-features.h>.
28657         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28658         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28659         * sysdeps/unix/sysv/linux/openat.c: Do not include
28660         <kernel-features.h>.
28661         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28662         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28663         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28664         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28665         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28666         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28667         <kernel-features.h>.
28668         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28669         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28670         result of INLINE_SYSCALL directly, not via int variable.
28671         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28672         <kernel-features.h>.
28673         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28674         (renameat) [__NR_renameat]: Make code unconditional.
28675         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28676         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28677         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28678         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28679         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28680         (__ASSUME_ATFCTS): Do not undefine and redefine.
28681         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28682         <kernel-features.h>.
28683         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28684         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28685         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28686         <kernel-features.h>.
28687         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28688         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28689         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28690         (__ASSUME_ATFCTS): Do not undefine and redefine.
28691         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28692         <kernel-features.h>.
28693         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28694         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28695         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28696         <kernel-features.h>.
28697         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28698         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28700 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28702         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28704 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28706         [BZ #17069]
28707         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28708         constructed tree before returning error.
28709         * posix/bug-regexp36.c: Expand test case.
28711 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28713         [BZ #6803]
28714         * math/libm-test.inc (scalbln_test_date):
28715         Add errno expectations.
28716         * math/w_scalblnf.c: New File.
28717         Add wrapper which checks for setting errno to ERANGE.
28718         Add weak_alias for corresponding scalbln function.
28719         * math/w_scalbln.c: Likewise.
28720         * math/w_scalblnl.c: Likewise.
28721         * math/Makefile (libm-calls): Add w_scalbln.
28722         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28723         Remove weak_alias for corresponding scalbln function.
28724         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28725         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28726         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28727         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28728         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28729         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28730         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28731         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28732         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28733         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28734         Remove long_double_symbol for scalblnl function in libm, libc.
28735         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28736         Add wrapper which checks for setting errno to ERANGE.
28737         Add long_double_symbol for scalblnl function in libm, libc.
28738         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28739         Remove long_double_symbol for scalblnl in libm.
28740         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28741         Add wrapper which checks for setting errno to ERANGE.
28742         Add long_double_symbol for scalblnl function in libm.
28743         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28744         Do not use wrapper because of own implementation.
28746 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28748         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28749         3 bytes for __pad1 for x32.
28750         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28752 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28753             H.J. Lu  <hongjiu.lu@intel.com>
28755         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28756         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28757         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28758         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28759         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28761 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28763         [BZ #17069]
28764         * posix/regcomp.c (parse_expression): Deallocate partially
28765         constructed tree before returning error.
28766         * posix/Makefile.c (tests): Add bug-regex36.
28767         (generated): Add bug-regex36.mtrace.
28768         (tests-special): Add $(objpfx)bug-regex36-mem.out
28769         (bug-regex36-ENV): New variable.
28770         ($(objpfx)bug-regex36-mem.out): New rule.
28771         * posix/bug-regex36.c: New file.
28773 2014-06-19  Will Newton  <will.newton@linaro.org>
28775         * malloc/malloc.c (systrim): If extra is zero then return
28776         early.
28778 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28780         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28782 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28784         * sysdeps/aarch64/strchr.S: New file.
28786 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28788         [BZ #17022]
28789         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28790         from arguments -2 or below.
28791         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28792         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28794 2014-06-18  Andreas Schwab  <schwab@suse.de>
28796         [BZ #17062]
28797         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28798         of a bracket expr not to run off the end of the string.
28799         * posix/Makefile (tests): Add tst-fnmatch3.
28800         * posix/tst-fnmatch3.c: New file.
28802 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28804         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28805         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28806         [$(cross-compiling) = no]: Likewise.
28807         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28808         [$(cross-compiling) = no]: Likewise.
28810 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28812         [BZ #17031]
28813         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28814         double, adjusted for any remainder from the high double.
28815         * math/libm-test.inc (nearbyint): Add tests.
28816         (rint): Likewise.
28818 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28820         * nptl/sysdeps/powerpc/Makefile: Moved ...
28821         * sysdeps/powerpc/nptl/Makefile: ... here.
28822         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28823         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28824         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28825         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28826         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28827         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28828         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28829         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28830         * nptl/sysdeps/powerpc/tls.h: Moved ...
28831         * sysdeps/powerpc/nptl/tls.h: ... here.
28833 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28835         [BZ #16681]
28836         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28837         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28838         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28839         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28840         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28841         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28842         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28843         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28844         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28846 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28848         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28850 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28852         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28853         defined operator.
28855         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28856         $TIMEOUTFACTOR.
28858 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28860         [BZ #17058]
28861         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28862         non-executed part of the test.
28864 2014-06-16  Andreas Schwab  <schwab@suse.de>
28866         * string/bits/string2.h (strdup, strndup): Update feature guard.
28868 2014-06-14  David S. Miller  <davem@davemloft.net>
28870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28872 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28874         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28875         that was previously under [RESET_PID].
28876         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28878         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28879         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28880         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28881         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28882         (__libc_vfork): New strong alias.
28883         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28885 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28887         * sysdeps/generic/elide.h: New file.
28889 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28891         * Makefile (installed-headers): Adjust path of pthread.h header.
28893 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28895         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28896         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28897         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28898         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28900         * nptl/sysdeps/s390/Makefile: Moved ...
28901         * sysdeps/s390/nptl/Makefile: ... here.
28902         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28903         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28904         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28905         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28906         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28907         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28908         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28909         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28910         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28911         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28912         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28913         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28914         * nptl/sysdeps/s390/tls.h: Moved ...
28915         * sysdeps/s390/nptl/tls.h: ... here.
28917         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28918         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28920 2014-06-13  David S. Miller  <davem@davemloft.net>
28922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28925         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28929         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28930         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28931         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28932         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28933         Remove RESET_PID cpp guards.
28934         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28935         Remove RESET_PID cpp guards.
28936         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28938 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28940         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28941         __sp to uintptr_t.
28943 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28946         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28947         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28948         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28950         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28952         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28953         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28954         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28955         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28956         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28957         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28958         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28959         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28960         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28961         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28962         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28963         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28964         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28966         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28967         (pthread_rwlock_rdlock): Add elision.
28968         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28969         (pthread_rwlock_wrlock): Add elision.
28970         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28971         (pthread_rwlock_trywrlock): Add elision.
28972         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28973         (pthread_rwlock_tryrdlock): Add elision.
28974         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28975         (pthread_rwlock_tryrdlock): Add elision unlock.
28976         * nptl/sysdeps/pthread/pthread.h:
28977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28978         (PTHREAD_RWLOCK_INITIALIZER,
28979         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28980         Handle new elision field.
28981         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28982         * sysdeps/arm/nptl/bits/pthreadtypes.h
28983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28984         * sysdeps/sh/nptl/bits/pthreadtypes.h
28985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28986         * sysdeps/tile/nptl/bits/pthreadtypes.h
28987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28988         * sysdeps/a/nptl/bits/pthreadtypes.h
28989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28990         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28991         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28992         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28993         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28994         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28995         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28996         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28997         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28998         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28999         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29000         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29001         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29002         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29003         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29004         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29006         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29007         (elision_init): Set try_xbegin to zero when no RTM.
29008         * sysdeps/x86/nptl/bits/pthreadtypes.h
29009         (pthread_rwlock_t): Change __pad1 to __rwelision.
29010         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29012 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29014         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29015         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29016         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29017         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29019 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29021         [BZ #16996]
29022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29023         that the cached result has been set before returning it.
29025 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29027         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29028         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29029         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29030         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29031         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29032         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29034         * nptl/sysdeps/sparc/Makefile: Moved ...
29035         * sysdeps/sparc/nptl/Makefile: ... here.
29036         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29037         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29038         * nptl/sysdeps/sparc/tls.h: Moved ...
29039         * sysdeps/sparc/nptl/tls.h: ... here.
29040         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29041         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29042         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29043         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29044         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29045         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29046         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29047         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29048         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29049         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29050         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29051         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29052         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29053         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29054         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29055         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29056         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29057         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29058         Update #include.
29059         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29060         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29061         Update #include.
29062         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29063         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29064         Update #include.
29065         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29066         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29067         Update #include.
29069         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29071         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29072         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29074         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29075         (struct list_links): Type removed.
29076         (struct thread_node, struct timer_node): Replace struct list_links
29077         with struct list_head.
29078         (list_unlink_ip): Likewise.
29079         * sysdeps/pthread/timer_routines.c
29080         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29081         (list_append, list_insbefore): Likewise.
29082         (list_init): Function removed.
29083         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29084         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29085         * sysdeps/pthread/Makefile: ... here, new file.
29087         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29088         * sysdeps/nptl/Implies: ... here.
29089         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29090         * nptl/sysdeps/pthread/list.h: Moved ...
29091         * include/list.h: ... here.
29092         * nptl/sysdeps/pthread/createthread.c: Moved ...
29093         * nptl/createthread.c: ... here.
29094         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29095         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29096         * nptl/pt-longjmp.c: ... here.
29097         * nptl/sysdeps/pthread/Makefile: Moved ...
29098         * sysdeps/nptl/Makefile: ... here.
29099         * nptl/sysdeps/pthread/Subdirs: Moved ...
29100         * sysdeps/nptl/Subdirs: ... here.
29101         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29102         * sysdeps/nptl/aio_misc.h: ... here.
29103         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29104         * sysdeps/nptl/bits/libc-lock.h: ... here.
29105         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29106         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29107         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29108         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29109         * nptl/sysdeps/pthread/configure: Moved ...
29110         * sysdeps/nptl/configure: ... here.
29111         * nptl/sysdeps/pthread/configure.ac: Moved ...
29112         * sysdeps/nptl/configure.ac: ... here.
29113         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29114         * sysdeps/nptl/gai_misc.h: ... here.
29115         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29116         * sysdeps/nptl/librt-cancellation.c: ... here.
29117         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29118         * sysdeps/nptl/malloc-machine.h: ... here.
29119         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29120         * sysdeps/nptl/pthread-functions.h: ... here.
29121         * nptl/sysdeps/pthread/pthread.h: Moved ...
29122         * sysdeps/nptl/pthread.h: ... here.
29123         * nptl/sysdeps/pthread/setxid.h: Moved ...
29124         * sysdeps/nptl/setxid.h: ... here.
29125         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29126         * sysdeps/nptl/sigfillset.c: ... here.
29127         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29128         * sysdeps/nptl/tcb-offsets.h: ... here.
29129         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29130         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29131         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29132         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29133         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29134         * sysdeps/pthread/allocalim.h: ... here.
29135         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29136         * sysdeps/pthread/bits/sigthread.h: ... here.
29137         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29138         * sysdeps/pthread/flockfile.c: ... here.
29139         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29140         * sysdeps/pthread/ftrylockfile.c: ... here.
29141         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29142         * sysdeps/pthread/funlockfile.c: ... here.
29143         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29144         * sysdeps/pthread/posix-timer.h: ... here.
29145         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29146         * sysdeps/pthread/timer_create.c: ... here.
29147         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29148         * sysdeps/pthread/timer_delete.c: ... here.
29149         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29150         * sysdeps/pthread/timer_getoverr.c: ... here.
29151         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29152         * sysdeps/pthread/timer_gettime.c: ... here.
29153         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29154         * sysdeps/pthread/timer_routines.c: ... here.
29155         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29156         * sysdeps/pthread/timer_settime.c: ... here.
29157         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29158         * sysdeps/pthread/tst-timer.c: ... here.
29159         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29160         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29162         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29163         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29165         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29166         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29167         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29168         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29169         Update #include target.
29170         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29171         * sysdeps/i386/i686/nptl/Makefile: ... here.
29172         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29173         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29174         Update #include target.
29175         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29176         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29177         * nptl/sysdeps/i386/Makefile: Moved ...
29178         * sysdeps/i386/nptl/Makefile: ... here.
29179         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29180         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29181         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29182         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29183         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29184         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29185         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29186         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29187         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29188         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29189         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29190         * nptl/sysdeps/i386/tls.h: Moved ...
29191         * sysdeps/i386/nptl/tls.h: ... here.
29193         * sysdeps/sh/Makefile [$(subdir) = csu]
29194         (gen-as-const-headers): Add tcb-offsets.sym.
29195         * nptl/sysdeps/sh/Makefile: File removed.
29196         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29197         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29198         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29199         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29200         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29201         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29202         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29203         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29204         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29205         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29206         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29207         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29208         * nptl/sysdeps/sh/tls.h: Moved ...
29209         * sysdeps/sh/nptl/tls.h: ... here.
29210         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29211         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29212         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29213         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29214         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29215         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29216         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29217         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29218         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29219         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29221         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29223         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29225         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29227         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29229         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29231         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29233         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29234         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29235         Moved ...
29236         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29238         Moved ...
29239         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29241         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29243         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29245         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29246         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29247         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29248         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29249         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29250         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29251         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29252         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29253         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29254         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29255         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29257         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29259 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29261         * posix/spawn_faction_addopen.c: Include string.h.
29263 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29265         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29266         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29267         * nptl/sysdeps/x86_64/Makefile: Moved ...
29268         * sysdeps/x86_64/nptl/Makefile: ... here.
29269         * nptl/sysdeps/x86_64/configure: Moved ...
29270         * sysdeps/x86_64/nptl/configure: ... here.
29271         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29272         * sysdeps/x86_64/nptl/configure.ac: ... here.
29273         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29274         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29275         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29276         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29277         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29278         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29279         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29280         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29281         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29282         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29283         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29284         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29285         * nptl/sysdeps/x86_64/tls.h: Moved ...
29286         * sysdeps/x86_64/nptl/tls.h: ... here.
29287         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29288         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29289         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29290         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29292         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29294 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29298 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29300         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29301         type.
29302         [POSIX] (off_t): Likewise.
29303         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29304         [POSIX] (S_ISBLK): Require macro.
29305         [POSIX] (S_ISCHR): Likewise.
29306         [POSIX] (S_ISDIR): Likewise.
29307         [POSIX] (S_ISFIFO): Likewise.
29308         [POSIX] (S_ISREG): Likewise.
29309         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29310         optional-macro.
29311         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29312         type.
29313         [POSIX] (time_t): Likewise.
29314         [POSIX] (timer_t): Likewise.
29316 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29318         [BZ #17048]
29319         * posix/spawn_int.h (struct __spawn_action): Make the path string
29320         non-const to support deallocation.
29321         * posix/spawn_faction_addopen.c
29322         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29323         * posix/spawn_faction_destroy.c
29324         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29325         path in all spawn_do_open actions.
29326         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29327         posix_spawn_file_actions_addopen.
29329 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29331         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29332         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29333         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29334         conditional code always true.
29335         (__libc_vfork): New alias.
29337 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29339         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29340         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29342         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29344         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29345         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29347         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29348         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29350         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29351         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29353 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29355         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29356         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29357         multiarch strcmp for PPC64.
29358         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29359         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29361         multiarch optimizations.
29362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29363         (__libc_ifunc_impl_list): Likewise.
29365 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29367         * benchtests/scripts/validate_benchout.py: New script.
29368         * benchtests/Makefile (bench-func): Call it.
29369         * benchtests/scripts/benchout.schema.json: New file.
29371 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29373         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29374         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29375         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29376         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29377         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29378         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29379         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29380         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29381         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29382         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29383         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29384         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29385         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29386         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29387         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29388         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29390         Moved ...
29391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29392         ... here.
29393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29394         Moved ...
29395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29397         Moved ...
29398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29399         ... here.
29400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29401         Moved ...
29402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29403         ... here.
29404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29405         Moved ...
29406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29408         Moved ...
29409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29410         ... here.
29411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29412         Moved ...
29413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29414         ... here.
29415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29416         Moved ...
29417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29419         Moved ...
29420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29421         ... here.
29422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29423         Moved ...
29424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29425         ... here.
29426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29427         Moved ...
29428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29429         ... here.
29430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29431         Moved ...
29432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29434         Moved ...
29435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29436         ... here.
29437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29438         Moved ...
29439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29440         ... here.
29441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29442         Moved ...
29443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29444         ... here.
29445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29446         Moved ...
29447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29449         Moved ...
29450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29451         ... here.
29452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29453         Moved ...
29454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29455         ... here.
29456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29457         Moved ...
29458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29460         Moved ...
29461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29462         ... here.
29463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29464         Moved ...
29465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29467         Moved ...
29468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29470         Moved ...
29471         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29472         ... here.
29473         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29474         Moved ...
29475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29476         ... here.
29477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29478         Moved ...
29479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29480         ... here.
29481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29482         Moved ...
29483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29485         Moved ...
29486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29487         ... here.
29488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29489         Moved ...
29490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29491         ... here.
29492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29493         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29495         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29497         Moved ...
29498         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29499         ... here.
29500         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29501         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29503         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29505         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29506         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29507         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29508         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29509         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29511         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29512         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29513         Moved ...
29514         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29516         Moved ...
29517         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29519         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29520         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29521         Moved ...
29522         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29523         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29524         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29525         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29526         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29527         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29528         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29530 2014-06-10  Wilco  <wdijkstr@arm.com>
29532         * math/test-fenv-return.c: New file.
29533         * math/Makefile: Add new test test-fenv-return.
29535 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29537         [BZ #17042]
29538         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29539         when x - 1 is zero.
29540         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29541         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29542         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29543         0.0L for an argument of 1.0L.
29544         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29545         Likewise.
29546         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29547         value when x - 1 is zero.
29548         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29549         * sysdeps/i386/fpu/libm-test-ulps: Update.
29550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29552 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29554         [BZ #15119]
29555         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29557 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29559         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29560         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29562 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29564         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29565         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29567         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29568         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29570         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29571         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29573         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29574         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29576         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29577         if not already defined.
29578         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29579         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29580         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29581         (TLS_INIT_TP): Use it.
29582         (TLS_DEFINE_INIT_TP): New macro.
29583         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29585 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29587         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29588         constant.
29589         [POSIX] (IXANY): Likewise.
29590         [POSIX] (OLCUC): Likewise.
29591         [POSIX || POSIX2008] (CBAUD): Do not allow.
29592         [POSIX || POSIX2008] (DEFECHO): Likewise.
29593         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29594         [POSIX || POSIX2008] (ECHOKE): Likewise.
29595         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29596         [POSIX || POSIX2008] (EXTA): Likewise.
29597         [POSIX || POSIX2008] (EXTB): Likewise.
29598         [POSIX || POSIX2008] (FLUSHO): Likewise.
29599         [POSIX || POSIX2008] (LOBLK): Likewise.
29600         [POSIX || POSIX2008] (PENDIN): Likewise.
29601         [POSIX || POSIX2008] (SWTCH): Likewise.
29602         [POSIX || POSIX2008] (VDISCARD): Likewise.
29603         [POSIX || POSIX2008] (VDSUSP): Likewise.
29604         [POSIX || POSIX2008] (VLNEXT): Likewise.
29605         [POSIX || POSIX2008] (VREPRINT): Likewise.
29606         [POSIX || POSIX2008] (VSTATUS): Likewise.
29607         [POSIX || POSIX2008] (VWERASE): Likewise.
29608         (B*): Change to B[0123456789]*.
29609         * conform/data/time.h-data [POSIX || UNIX98]
29610         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29611         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29612         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29613         [POSIX] (tm_*): Do not allow.
29615 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29617         * Makefile (install): Don't set LANGUAGE.
29618         * Makefile.in (install): Likewise.
29619         * assert/Makefile (test-assert-ENV): Remove variable.
29620         (test-assert-perr-ENV): Likewise.
29621         * elf/Makefile (neededtest4-ENV): Likewise.
29622         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29623         [$(cross-compiling) = no]: Don't set LANGUAGE.
29624         * io/ftwtest-sh (LANG): Remove variable.
29625         * libio/Makefile (tst-widetext-ENV): Likewise.
29626         * manual/install.texi (Running make install): Don't refer to
29627         environment settings for make install.
29628         * INSTALL: Regenerated.
29629         * nptl/tst-tls6.sh: Don't set LANG.
29630         * posix/globtest.sh (LANG): Remove variable.
29631         * string/Makefile (tester-ENV): Likewise.
29632         (inl-tester-ENV): Likewise.
29633         (noinl-tester-ENV): Likewise.
29634         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29635         [$(cross-compiling) = no]: Don't set LANGUAGE.
29636         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29637         without explicit environment settings.
29639 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29641         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29642         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29643         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29644         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29646 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29648         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29649         other files in the crypt directory.
29650         * crypt/crypt.c: Remove duplicate includes.
29651         * crypt/crypt-entry.c: Likewise.
29652         * crypt/crypt_util.c: Likewise.
29654 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29656         * Makeconfig (run-program-env): New variable.
29657         (run-program-prefix-before-env): Likewise.
29658         (run-program-prefix-after-env): Likewise.
29659         (run-program-prefix): Define in terms of new variables.
29660         (built-program-cmd-before-env): New variable.
29661         (built-program-cmd-after-env): Likewise.
29662         (built-program-cmd): Define in terms of new variables.
29663         (test-program-prefix-before-env): New variable.
29664         (test-program-prefix-after-env): Likewise.
29665         (test-program-prefix): Define in terms of new variables.
29666         (test-program-cmd-before-env): New variable.
29667         (test-program-cmd-after-env): Likewise.
29668         (test-program-cmd): Define in terms of new variables.
29669         * Rules (make-test-out): Use $(run-program-env).
29670         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29671         (help): Do not mention environment variables.  Mention
29672         --timeoutfactor option.
29673         (timeoutfactor): New variable.
29674         (blacklist_exports): Remove function.
29675         (exports): Remove variable.
29676         (command): Do not include ${exports}.
29677         * manual/install.texi (Configuring and compiling): Do not mention
29678         test wrappers preserving environment variables.  Mention that last
29679         assignment to a variable must take precedence.
29680         * INSTALL: Regenerated.
29681         * benchtests/Makefile (run-bench): Use $(run-program-env).
29682         * catgets/Makefile ($(objpfx)test1.cat): Use
29683         $(built-program-cmd-before-env), $(run-program-env) and
29684         $(built-program-cmd-after-env).
29685         ($(objpfx)test2.cat): Do not specify environment variables
29686         explicitly.
29687         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29688         $(run-program-env) and $(built-program-cmd-after-env).
29689         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29690         $(run-program-env) and $(test-program-cmd-after-env).
29691         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29692         explicitly.
29693         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29694         run_program_env and test_program_cmd_after_env arguments.
29695         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29696         * elf/tst-pathopt.sh: Use run_program_env argument.
29697         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29698         $(test-wrapper-env) and $(run-program-env).
29699         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29700         run_program_env arguments.
29701         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29702         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29703         $(test-program-prefix-before-env), $(run-program-env) and
29704         $(test-program-prefix-after-env).
29705         ($(objpfx)tst-gettext2.out): Likewise.
29706         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29707         run_program_env and test_program_prefix_after_env arguments.
29708         * intl/tst-gettext2.sh: Likewise.
29709         * intl/tst-gettext4.sh: Do not set environment variables
29710         explicitly.
29711         * intl/tst-gettext6.sh: Likewise.
29712         * intl/tst-translit.sh: Likewise.
29713         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29714         $(test-program-prefix-before-env), $(run-program-env) and
29715         $(test-program-prefix-after-env).
29716         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29717         run_program_env and test_program_prefix_after_env arguments.
29718         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29719         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29720         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29721         explicitly with each use of ${test_wrapper_env}.
29722         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29723         $(test-program-prefix-before-env), $(run-program-env) and
29724         $(test-program-prefix-after-env).
29725         * posix/tst-getconf.sh: Do not set environment variables
29726         explicitly.
29727         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29728         run_program_env and test_program_prefix_after_env arguments.
29729         * stdio-common/tst-printf.sh: Do not set environment variables
29730         explicitly.
29731         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29732         $(test-program-prefix-before-env), $(run-program-env) and
29733         $(test-program-prefix-after-env).
29734         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29735         run_program_env and test_program_prefix_after_env arguments.
29736         Split $test calls into $test_pre and $test.
29737         * timezone/Makefile (build-testdata): Use
29738         $(built-program-cmd-before-env), $(run-program-env) and
29739         $(built-program-cmd-after-env).
29741 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29743         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29744         strlen for non SHARED builds.
29746 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29748         * nptl/allocatestack.c (check_list): Inlined function...
29749         (__reclaim_stacks): ... here.
29751 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29753         [BZ #15698]
29754         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29755         memory overrun.
29757 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29759         * Rules (make-test-out): Include
29760         LOCPATH=$(common-objpfx)localedata in default environment.
29761         * debug/Makefile (tst-chk1-ENV): Remove variable.
29762         (tst-chk2-ENV): Likewise.
29763         (tst-chk3-ENV): Likewise.
29764         (tst-chk4-ENV): Likewise.
29765         (tst-chk5-ENV): Likewise.
29766         (tst-chk6-ENV): Likewise.
29767         (tst-lfschk1-ENV): Likewise.
29768         (tst-lfschk2-ENV): Likewise.
29769         (tst-lfschk3-ENV): Likewise.
29770         (tst-lfschk4-ENV): Likewise.
29771         (tst-lfschk5-ENV): Likewise.
29772         (tst-lfschk6-ENV): Likewise.
29773         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29774         (tst-iconv7-ENV): Likewise.
29775         * intl/Makefile (LOCPATH-ENV): Likewise.
29776         (tst-codeset-ENV): Likewise.
29777         (tst-gettext3-ENV): Likewise.
29778         (tst-gettext5-ENV): Likewise.
29779         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29780         (tst-fopenloc-ENV): Likewise.
29781         (tst-fgetws-ENV): Remove variable.
29782         (tst-ungetwc1-ENV): Likewise.
29783         (tst-ungetwc2-ENV): Likewise.
29784         (bug-ungetwc2-ENV): Likewise.
29785         (tst-swscanf-ENV): Likewise.
29786         (bug-ftell-ENV): Likewise.
29787         (tst-fgetwc-ENV): Likewise.
29788         (tst-fseek-ENV): Likewise.
29789         (tst-ftell-partial-wide-ENV): Likewise.
29790         (tst-ftell-active-handler-ENV): Likewise.
29791         (tst-ftell-append-ENV): Likewise.
29792         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29793         (tst-regexloc-ENV): Likewise.
29794         (bug-regex1-ENV): Likewise.
29795         (tst-regex-ENV): Likewise.
29796         (tst-regex2-ENV): Likewise.
29797         (bug-regex5-ENV): Likewise.
29798         (bug-regex6-ENV): Likewise.
29799         (bug-regex17-ENV): Likewise.
29800         (bug-regex18-ENV): Likewise.
29801         (bug-regex19-ENV): Likewise.
29802         (bug-regex20-ENV): Likewise.
29803         (bug-regex22-ENV): Likewise.
29804         (bug-regex23-ENV): Likewise.
29805         (bug-regex25-ENV): Likewise.
29806         (bug-regex26-ENV): Likewise.
29807         (bug-regex30-ENV): Likewise.
29808         (bug-regex32-ENV): Likewise.
29809         (bug-regex33-ENV): Likewise.
29810         (bug-regex34-ENV): Likewise.
29811         (bug-regex35-ENV): Likewise.
29812         (tst-rxspencer-ENV): Likewise.
29813         (tst-rxspencer-no-utf8-ENV): Likewise.
29814         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29815         (tst-sscanf-ENV): Likewise.
29816         (tst-swprintf-ENV): Likewise.
29817         (tst-swscanf-ENV): Likewise.
29818         (test-vfprintf-ENV): Likewise.
29819         (scanf13-ENV): Likewise.
29820         (bug14-ENV): Likewise.
29821         (tst-grouping-ENV): Likewise.
29822         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29823         (tst-strtod3-ENV): Likewise.
29824         (tst-strtod4-ENV): Likewise.
29825         (tst-strtod5-ENV): Likewise.
29826         (testmb2-ENV): Likewise./
29827         * string/Makefile (tst-strxfrm-ENV): Likewise.
29828         (tst-strxfrm2-ENV): Likewise.
29829         (bug-strcoll1-ENV): Likewise.
29830         (test-strcasecmp-ENV): Likewise.
29831         (test-strncasecmp-ENV): Likewise.
29832         * time/Makefile (tst-strptime-ENV): Likewise.
29833         (tst-ftime_l-ENV): Likewise.
29834         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29835         (tst-mbrtowc-ENV): Likewise.
29836         (tst-wcrtomb-ENV): Likewise.
29837         (tst-mbrtowc2-ENV): Likewise.
29838         (tst-c16c32-1-ENV): Likewise.
29839         (tst-mbsnrtowcs-ENV): Likewise.
29841 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29843         * manual/resource.texi (How to get information about the memory
29844         subsystem?): Fix typo.
29845         Reported by Peon de la Parra Ivan <peon@keba.com>
29847 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29849         [BZ #16882]
29850         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29851         (pthread_spin_lock): Branch out of spin loop to proper location.
29852         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29853         (pthread_spin_lock): Likewise.
29855         * nptl/tst-spin4.c: New test.
29856         * nptl/Makefile (tests): Add tst-spin4.
29858 2014-06-03  Andreas Schwab  <schwab@suse.de>
29860         [BZ #15946]
29861         * resolv/res_send.c (send_dg): Reload file descriptor after
29862         calling reopen.
29864 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29866         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29868 2014-06-03  Richard Henderson  <rth@redhat.com>
29870         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29871         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29872         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29873         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29874         in the SAVE_PID block.
29875         (__libc_vfork): New alias.
29876         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29878         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29879         child in registers, not on the stack.  Remove RESET_PID conditionals.
29880         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29882 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29884         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29886 2014-06-03  Wilco  <wdijkstr@arm.com>
29888         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29889         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29890         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29891         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29892         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29893         Likewise.
29895 2014-06-03  Wilco  <wdijkstr@arm.com>
29897         * sysdeps/aarch64/fpu/math_private.h
29898         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29899         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29900         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29901         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29902         Fix declarations.
29904 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29906         * crypt/crypt-private.h: Include ufc-crypt.h.
29907         (__b64_from_24bit): Declare extern.
29908         * crypt/crypt_util.c(__b64_from_24bit): New function.
29909         (b64t): New static const variable.
29910         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29911         (b64t): Remove variable.
29912         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29913         * crypt/sha256-crypt.c: Include crypt-private.h.
29914         (b64t): Remove variable.
29915         (__sha256_crypt_r): Remove b64_from_24bit and replace
29916         with __b64_from_24bit.
29917         * crypt/sha512-crypt.c: Likewise.
29919 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29921         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29922         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29923         Label the code __libc_vfork rather than __vfork.
29924         [!NOT_IN_libc] (vfork): Define as weak alias.
29925         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29926         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29927         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29929 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29931         * malloc/malloc.c (malloc_info): Fix format specifier for
29932         n_mmaps.
29934 2014-06-02  Wilco  <wdijkstr@arm.com>
29936         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29937         FPCR write.
29939 2014-06-02  Wilco  <wdijkstr@arm.com>
29941         [BZ #17009]
29942         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29943         Rewrite to reduce FPCR/FPSR accesses.
29945 2014-06-01  David S. Miller  <davem@davemloft.net>
29947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29949 2014-05-31  David S. Miller  <davem@davemloft.net>
29951         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29952         to occur in round to nearest mode when |x| >= 2.0
29954 2014-05-30  Richard Henderson  <rth@twiddle.net>
29956         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29957         (PSEUDO_RET_NOERRNO): Remove.
29958         (ret): Don't redefine.
29959         (ret_NOERRNO): Define in terms of ret.
29960         (ret_ERRVAL): Likewise.
29962         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29963         use of PSEUDO_RET; perform the error check directly.
29965 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29967         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29968         with __int128_t.
29970 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29972         * malloc/malloc (malloc_info): Fix formatting.
29974 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29975             Roland McGrath  <roland@hack.frob.com>
29977         * malloc/malloc (malloc_info): Also print mmapped statistics.
29979 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29981         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29982         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29984 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29986         * malloc/malloc.c (malloc_info): Inline mi_arena.
29988 2014-05-29  Richard Henderson  <rth@twiddle.net>
29990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29991         Remove comma before expanding ASM_ARGS_##nr.
29992         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29993         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29994         of ASM_ARGS_##nr.
29995         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29996         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29997         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29998         (ASM_ARGS_1): Add leading comma.
30000         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30001         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30002         to __errno_location.
30003         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30004         Remove the expected plt for __errno_location.
30006         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30007         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30008         call to __read_tp.
30010         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30011         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30012         it and break it down.
30013         (DOCARGS_0, DOCARGS_1): Do nothing.
30014         (DOCARGS_2): Update to store into the new stack frame.
30015         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30016         (UNDOCARGS_1): Update to restore from the new stack frame.
30017         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30018         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30020         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30021         (SINGLE_THREAD_P): New parameter for result regno.
30022         (PSEUDO): Update to match; use cbz instead of beq.
30024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30025         Use ENTRY to define the _nocancel entry point.  Share the syscall
30026         and syscall error check paths with the cancel path.
30027         (PSEUDO_END): New.
30029         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30030         whitespace; tabs before and after asm mnemonics.
30032 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30034         [BZ #15132]
30035         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30036         Call fstat64 or stat64 internally, depending on arguments passed.
30037         Replace stat buffer argument with file descriptor argument.
30038         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30039         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30040         Pass fd to __internal_statvfs instead of calling fstat64.
30041         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30042         Pass fd to __internal_statvfs64 instead of calling fstat64.
30043         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30044         Pass -1 to __internal_statvfs instead of calling stat64.
30045         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30046         Pass -1 to __internal_statvfs64 instead of calling stat64.
30048 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30050         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30051         that was previously under [RESET_PID].
30052         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30054         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30055         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30057 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30059         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30061         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30062         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30064 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30066         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30068 2014-05-27  Andreas Schwab  <schwab@suse.de>
30070         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30071         TLS_INIT_TP macro.
30072         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30073         * elf/rtld.c (init_tls, dl_main): Likewise.
30074         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30075         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30076         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30077         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30078         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30079         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30080         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30081         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30082         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30083         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30084         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30085         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30086         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30087         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30088         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30089         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30090         * sysdeps/generic/tls.h: Update description.
30092 2014-05-27  Will Newton  <will.newton@linaro.org>
30094         [BZ #16990]
30095         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30096         and restore r2 rather than just restoring.
30098 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30100         [BZ #16724]
30101         * libio/tst-ftell-append.c: New test case.
30102         * libio/Makefile (tests): Add test case.
30103         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30104         append mode.
30105         * libio/wfileops.c (do_ftell_wide): Likewise.
30107 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30111         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30112         ...
30113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30115         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30116         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30117         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30118         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30119         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30120         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30121         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30122         Moved ...
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30125         Moved ...
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30127         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30128         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30129         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30130         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30131         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30132         ...
30133         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30134         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30135         Moved ...
30136         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30137         here.
30138         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30139         ...
30140         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30141         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30142         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30144         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30145         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30146         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30147         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30150         merge into ...
30151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30152         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30153         ...
30154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30155         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30156         ...
30157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30159         Moved ...
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30161         here.
30162         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30163         Moved ...
30164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30166         Moved ...
30167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30170         conditional [RESET_PID].
30171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30172         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30173         removed.
30174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30175         removed.
30177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30178         <tcb-offsets.h>.
30179         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30180         (__libc_vfork): New strong alias.
30181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30182         removed.
30183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30184         Removed.
30186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30187         <tcb-offsets.h>.
30188         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30189         (__libc_vfork): New strong alias.
30190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30191         removed.
30192         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30193         removed.
30195 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30197         * malloc/malloc.c (mi_arena): New function.
30198         (malloc_info): Remove nested function mi_arena. Call non-nosted
30199         function mi_arena.
30201 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30203         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30204         by insrwi.
30205         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30206         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30207         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30208         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30209         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30210         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30211         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30213 2014-05-26  Andreas Schwab  <schwab@suse.de>
30215         [BZ #16984]
30216         * locale/programs/repertoire.c (repertoire_read): Add slash
30217         between I18NPATH element and file name.
30218         * locale/programs/locfile.c (locfile_read): Likewise.
30220 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30222         * nptl/pthread_mutexattr_settype.c
30223         (__pthread_mutexattr_settype):
30224         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30226 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30228         * nptl/tst-mutex5 (do_test):
30229         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30231 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30233         * benchtests/README: Document 'init' directive.
30234         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30235         BENCH_INIT.
30236         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30237         (parse_file): Recognize 'init' directive.
30239 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30241         [BZ #16796]
30242         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30243         alignment of struct pthread.
30245 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30247         [BZ #16878]
30248         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30249         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30250         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30251         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30253 2014-05-25  Richard Henderson  <rth@twiddle.net>
30255         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30256         (SINGLE_THREAD_P_PIC): Remove.
30257         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30258         (SINGLE_THREAD_P_PIC): Remove.
30260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30261         branch to syscall error ...
30262         (PSEUDO): ... here.
30263         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30264         from __local_syscall_error to .Lsyscall_error.
30265         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30266         (SYSCALL_ERROR): Update label name.
30268         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30269         Do not use DOARGS/UNDOARGS.
30270         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30271         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30272         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30273         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30274         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30276         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30277         block comment.
30279         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30280         define if !NOT_IN_libc.
30281         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30282         define with non-default symbol versions.
30284 2014-05-23  Richard Henderson  <rth@twiddle.net>
30286         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30287         (vfork, __vfork): Define via compat_symbol.
30289         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30290         [!HAVE_IFUNC] (vfork_compat): Remove.
30291         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30293 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30295         [BZ #16978]
30296         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30297         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30298         variable.
30300 2014-05-23  Richard Henderson  <rth@twiddle.net>
30302         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30303         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30304         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30305         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30307         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30308         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30309         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30310         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30311         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30312         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30313         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30314         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30315         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30316         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30317         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30318         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30319         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30320         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30321         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30322         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30323         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30324         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30325         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30326         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30327         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30328         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30329         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30330         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30331         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30332         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30333         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30334         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30335         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30336         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30337         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30338         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30339         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30340         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30341         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30342         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30343         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30344         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30345         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30346         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30347         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30348         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30349         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30350         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30351         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30352         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30353         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30354         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30355         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30356         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30357         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30358         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30359         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30360         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30362         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30364         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30365         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30366         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30367         before exiting on error.
30368         (__libc_vfork): New strong alias.
30369         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30370         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30372         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30373         that was previously under [RESET_PID].
30374         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30376         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30378 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30380         [BZ #16977]
30381         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30382         value when x - 1 is zero.
30383         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30384         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30385         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30386         0.0L for an argument of 1.0L.
30387         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30388         Likewise.
30389         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30390         value when x - 1 is zero.
30391         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30392         * sysdeps/i386/fpu/libm-test-ulps: Update.
30393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30395 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30397         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30398         alphasort and versionsort.
30400 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30402         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30403         macro.
30404         [copysignf]: Likewise.
30406 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30408         * crypt/md5-crypt.c: Fix formatting.
30410 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30412         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30413         (b64_from_24bit): New function.
30415 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30417         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30418         libc_hidden_builtin_def to ifunc.
30419         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30420         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30422 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30424         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30425         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30427 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30429         * nscd/Depend (linuxthreads): Remove.
30430         (nptl): Add.
30431         * resolv/Depend (linuxthreads): Remove.
30432         * rt/Depend (linuxthreads): Remove.
30434         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30435         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30436         $(common-objpfx)elf/.
30437         (link-libc-before-gnulib): Likewise.
30438         (elfobjdir): Remove variable.
30439         * Makefile (install): Use $(elf-objpfx) instead of
30440         $(common-objpfx)elf/.
30441         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30442         $(elfobjdir)/.
30443         (link-libc-deps): Likewise.
30444         ($(common-objpfx)libc.so): Likewise.
30445         ($(common-objpfx)linkobj/libc.so): Likewise.
30446         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30447         instead of $(common-objpfx)elf/.
30448         (symbolic-link-list): Likewise.
30449         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30450         [$(cross-compiling) = no]: Likewise.
30451         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30452         $(elfobjdir)/.
30453         (static-gnulib-arch): Likewise.
30454         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30455         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30456         $(common-objpfx)elf/.
30458 2014-05-21  Richard Henderson  <rth@redhat.com>
30460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30461         (SINGLE_THREAD_P): Use the correct width load.  Fold
30462         into the ldr offset.
30464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30465         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30467 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30469         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30470         (libgcc_s_resume): Use __attribute_used__.
30471         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30472         Likewise.
30474 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30476         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30477         optimization when used with float constants.
30479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30481 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30483         [BZ #16915]
30484         * locale/nl_langinfo_l.c: Make direct reference to every
30485         _nl_current_CATEGORY symbol.
30486         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30487         (tests-static): Add tst-langinfo-static.
30488         (tests-special): Add tst-langinfo-static.out.
30489         ($(objpfx)tst-langinfo.out): Redirect output.
30490         ($(objpfx)tst-langinfo-static.out): New.
30491         * localedata/tst-langinfo.sh: Send output to stdout.
30492         * localedata/tst-langinfo-static.c: New file.
30494         [BZ #16965]
30495         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30496         when the shift amount is modulo the limb size.
30498 2014-05-20  Richard Henderson  <rth@redhat.com>
30500         [BZ #16967]
30501         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30502         Change type of sa_flags from unsigned int to int.
30504         [BZ #16966]
30505         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30507         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30509 2014-05-20  Will Newton  <will.newton@linaro.org>
30511         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30512         Test the return value of the system call in the nocancel case.
30514 2014-05-20  Will Newton  <will.newton@linaro.org>
30515             Yvan Roux  <yvan.roux@linaro.org>
30517         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30518         #include of asm/ptrace.h.
30519         (PTRACE_GET_THREAD_AREA): Remove #undef.
30520         (PTRACE_GETHBPREGS): Likewise.
30521         (PTRACE_SETHBPREGS): Likewise.
30522         (struct user_regs_struct): New structure.
30523         (struct user_fpsimd_struct): New structure.
30524         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30525         #include of asm/ptrace.h and second #include of sys/user.h.
30526         (PTRACE_GET_THREAD_AREA): Remove #undef.
30527         (PTRACE_GETHBPREGS): Likewise.
30528         (PTRACE_SETHBPREGS): Likewise.
30529         (ELF_NGREG): Use new struct user_regs_struct.
30530         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30532 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30534         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30535         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30537 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30539         [BZ #16958]
30540         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30541         membar to avoid block loads/stores to overlap previous stores.
30543 2014-05-17  Richard Henderson  <rth@redhat.com>
30545         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30546         Create the __##syscall_name##_nocancel entry point.
30547         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30548         Remove; let the sysdep-cancel.h code create it.
30550 2014-05-17  David S. Miller  <davem@davemloft.net>
30552         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30553         Protect with __USE_GNU.
30554         (TIOCSET_TEMPT): Likewise.
30555         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30556         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30557         these are already provided in bits/ioctl-types.h
30559 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30561         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30562         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30564         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30565         Use wait4 regardless of [__NR_waitpid].
30567 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30569         PR libgcc/60166
30570         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30571         (_FP_NANSIGN_Q): Set the quiet bit.
30573 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30575         * benchtests/Makefile
30576         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30577         not $(common-objpfx)math/libm.so.
30578         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30579         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30580         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30581         $(common-objpfx)dlfcn/libdl.so.
30582         ($(objpfx)tst-audit8): Depend on $(libm), not
30583         $(common-objpfx)math/libm.so.
30584         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30585         not $(common-objpfx)dlfcn/libdl.so.
30586         * math/Makefile
30587         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30588         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30589         [$(build-shared) = yes].
30590         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30591         $(common-objpfx)nptl/libpthread.so.
30592         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30593         $(common-objpfx)math/libm.so$(libm.so-version) or
30594         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30595         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30596         $(common-objpfx)dlfcn/libdl.so.
30597         * setjmp/Makefile (link-libm): Remove variable.
30598         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30599         * stdio-common/Makefile (link-libm): Remove variable.
30600         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30601         * stdlib/Makefile (link-libm): Remove variable.
30602         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30603         ($(objpfx)tst-strtod-round): Likewise.
30604         ($(objpfx)tst-tininess): Likewise.
30605         ($(objpfx)tst-strtod-underflow): Likewise.
30606         ($(objpfx)tst-strtod6): Likewise.
30607         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30608         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30609         $(common-objpfx)dlfcn/libdl.so.
30611 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30613         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30614         BSD terminal modes definitions.
30616 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30618         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30619         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30621         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30622         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30623         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30624         Don't do #include_next.
30625         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30626         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30627         Don't do #include_next.
30628         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30629         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30630         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30631         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30633 2014-05-16  Allan McRae  <allan@archlinux.org>
30635         * po/sv.po: Update Swedish translation from translation project.
30637         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30638         in sed expression.
30640 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30642         [BZ #16917]
30643         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30644         errno if the TIOCGPTN ioctl fails with an error different than
30645         EINVAL.
30646         * login/tst-ptsname.c: New file.
30647         * login/Makefile (tests): Add tst-ptsname.
30649         [BZ #16943]
30650         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30651         and prlimit64.
30653 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30655         [BZ #16849]
30656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30657         herrno to return EAI_AGAIN.
30659 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30661         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30662         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30663         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30664         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30665         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30666         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30667         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30668         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30669         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30670         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30671         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30672         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30673         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30674         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30675         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30676         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30677         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30678         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30679         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30680         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30681         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30682         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30683         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30684         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30685         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30686         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30687         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30688         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30689         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30690         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30692         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30694         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30696         Moved ...
30697         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30699         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30701         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30703         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30705         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30707         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30709         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30711         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30713         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30715         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30717         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30719         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30721         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30723         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30725         Moved ...
30726         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30728         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30730         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30732         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30734         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30736         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30738         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30740         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30742         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30744         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30746         Moved ...
30747         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30749         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30751         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30752         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30753         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30754         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30755         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30756         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30757         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30758         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30759         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30760         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30761         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30762         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30763         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30764         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30765         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30766         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30767         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30768         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30769         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30770         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30771         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30772         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30773         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30774         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30775         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30776         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30777         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30778         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30779         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30780         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30781         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30783         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30784         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30786         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30787         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30788         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30789         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30790         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30791         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30792         Moved ...
30793         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30794         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30795         Moved ...
30796         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30798         Moved ...
30799         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30800         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30801         Moved ...
30802         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30803         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30804         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30806         Moved ...
30807         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30808         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30809         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30810         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30811         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30812         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30813         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30814         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30815         Moved ...
30816         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30817         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30818         Moved ...
30819         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30820         ... here.
30821         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30822         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30823         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30824         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30825         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30826         Moved ...
30827         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30828         ... here.
30829         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30830         Moved ...
30831         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30832         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30833         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30834         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30835         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30836         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30837         Moved ...
30838         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30839         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30840         Moved ...
30841         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30843         Moved ...
30844         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30845         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30846         Moved ...
30847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30848         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30849         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30851         Moved ...
30852         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30853         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30854         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30855         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30856         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30857         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30858         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30859         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30860         Moved ...
30861         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30862         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30863         Moved ...
30864         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30865         ... here.
30866         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30867         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30868         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30869         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30870         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30871         Moved ...
30872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30873         ... here.
30874         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30875         Moved ...
30876         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30877         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30878         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30879         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30880         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30881         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30882         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30883         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30884         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30885         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30886         Moved ...
30887         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30888         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30889         Moved ...
30890         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30891         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30892         Moved ...
30893         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30895         Moved ...
30896         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30897         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30898         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30899         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30900         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30902         Moved ...
30903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30904         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30905         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30906         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30908         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30909         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30910         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30911         Moved ...
30912         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30913         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30914         Moved ...
30915         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30916         ... here.
30917         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30918         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30919         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30920         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30921         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30922         Moved ...
30923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30924         ... here.
30925         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30926         Moved ...
30927         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30928         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30929         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30930         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30931         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30932         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30933         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30934         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30935         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30936         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30937         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30939         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30940         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30942         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30943         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30945         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30946         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30947         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30948         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30949         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30950         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30951         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30952         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30953         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30954         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30955         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30956         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30957         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30958         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30959         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30960         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30961         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30963         Moved ...
30964         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30966         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30968         Moved ...
30969         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30971         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30972         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30973         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30975         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30976         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30977         Moved ...
30978         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30980         Moved ...
30981         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30982         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30983         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30985         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30986         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30987         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30988         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30989         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30990         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30991         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30992         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30993         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30994         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30995         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30996         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30997         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30999         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31000         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31001         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31002         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31003         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31005         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31006         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31007         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31008         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31009         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31010         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31011         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31012         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31013         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31014         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31016         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31017         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31019         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31020         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31021         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31022         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31023         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31024         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31025         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31026         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31027         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31028         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31029         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31030         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31031         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31032         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31034         Update #include.
31035         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31036         Likewise.
31037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31038         Likewise.
31039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31040         Likewise.
31041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31042         Likewise.
31043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31044         Likewise.
31045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31046         Likewise.
31047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31048         Likewise.
31049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31050         Likewise.
31051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31052         Likewise.
31053         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31055         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31056         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31057         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31058         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31059         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31060         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31061         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31062         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31063         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31064         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31065         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31066         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31067         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31069         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31070         that was previously under [RESET_PID].
31071         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31072         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31073         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31075         * sysdeps/i386/nptl/Implies: New file.
31076         * sysdeps/x86_64/nptl/Implies: New file.
31077         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31078         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31079         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31080         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31082         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31083         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31084         (__libc_vfork): New strong alias.
31085         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31086         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31088         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31089         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31090         (__libc_vfork): New strong alias.
31091         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31092         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31094         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31095         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31096         (__libc_vfork): New strong alias.
31097         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31098         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31099         * nptl/pt-vfork.c: New file.
31100         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31101         (libpthread: GLIBC_2.20): New version set (empty).
31103 2014-05-14  Will Newton  <will.newton@linaro.org>
31105         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31106         rather than #if.
31108 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31110         [BZ #16564]
31111         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31112         arguments with exponent 65 or above.
31113         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31114         arguments 0x1p113L or above.
31115         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31116         to arguments 0x1p107L or above.
31117         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31118         positive arguments with exponent 65 or above.
31119         * math/auto-libm-test-in: Add more tests of log1p.
31120         * math/auto-libm-test-out: Regenerated.
31122         [BZ #16928]
31123         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31124         non-finite arguments is +0.
31125         * math/s_cacosf.c (__cacosf): Likewise.
31126         * math/s_cacosl.c (__cacosl): Likewise.
31127         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31131         [BZ #16927]
31132         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31133         value.
31134         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31135         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31136         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31137         for explicit high bit of mantissa when testing for argument equal
31138         to 1.
31139         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31140         * sysdeps/i386/fpu/libm-test-ulps: Update.
31141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31143         [BZ #16516]
31144         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31145         (__erf): Scale by 16 instead of 8 in potentially underflowing
31146         case.  Ensure exception if result actually underflows.
31147         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31148         (__erff): Scale by 16 instead of 8 in potentially underflowing
31149         case.  Ensure exception if result actually underflows.
31150         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31151         (efx8): Remove variable.
31152         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31153         case.  Ensure exception if result actually underflows.
31154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31155         (efx8): Remove variable.
31156         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31157         case.  Ensure exception if result actually underflows.
31158         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31159         (efx8): Remove variable.
31160         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31161         case.  Ensure exception if result actually underflows.
31162         * math/auto-libm-test-in: Add more tests of erf.
31163         * math/auto-libm-test-out: Regenerated.
31165 2014-05-14  Andreas Schwab  <schwab@suse.de>
31167         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31168         Remove code conditionalized on USE___THREAD.
31170         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31171         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31172         not definedness.
31174 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31176         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31177         Define unconditionally.
31178         (__ASSUME_O_CLOEXEC): Likewise.
31179         (__ASSUME_SOCK_CLOEXEC): Likewise.
31180         (__ASSUME_IN_NONBLOCK): Likewise.
31181         (__ASSUME_PIPE2): Likewise.
31182         (__ASSUME_EVENTFD2): Likewise.
31183         (__ASSUME_SIGNALFD4): Likewise.
31184         (__ASSUME_DUP3): Likewise.
31185         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31186         (__ASSUME_DUP3): Do not define.
31187         (__ASSUME_EVENTFD2): Likewise.
31188         (__ASSUME_IN_NONBLOCK): Likewise.
31189         (__ASSUME_O_CLOEXEC): Likewise.
31190         (__ASSUME_PIPE2): Likewise.
31191         (__ASSUME_SIGNALFD4): Likewise.
31192         (__ASSUME_SOCK_CLOEXEC): Likewise.
31193         (__ASSUME_UTIMES): Undefine.
31194         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31195         (__ASSUME_UTIMES): Do not define.
31196         (__ASSUME_O_CLOEXEC): Likewise.
31197         (__ASSUME_SOCK_CLOEXEC): Likewise.
31198         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31199         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31200         0x020621].
31201         (__ASSUME_PIPE2): Likewise.
31202         (__ASSUME_EVENTFD2): Likewise.
31203         (__ASSUME_SIGNALFD4): Likewise.
31204         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31205         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31206         Do not define.
31207         (__ASSUME_EVENTFD2): Likewise.
31208         (__ASSUME_SIGNALFD4): Likewise.
31209         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31210         (__ASSUME_32BITUIDS): Likewise.
31211         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31212         (__ASSUME_IPC64): Likewise.
31213         (__ASSUME_ST_INO_64_BIT): Likewise.
31214         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31215         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31216         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31217         (__ASSUME_UTIMES): Do not define.
31218         (__ASSUME_PSELECT): Likewise.
31219         (__ASSUME_PPOLL): Likewise.
31220         (__ASSUME_O_CLOEXEC): Likewise.
31221         (__ASSUME_SOCK_CLOEXEC): Likewise.
31222         (__ASSUME_IN_NONBLOCK): Likewise.
31223         (__ASSUME_PIPE2): Likewise.
31224         (__ASSUME_EVENTFD2): Likewise.
31225         (__ASSUME_SIGNALFD4): Likewise.
31226         (__ASSUME_DUP3): Likewise.
31227         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31228         (__ASSUME_UTIMES): Likewise.
31229         (__ASSUME_O_CLOEXEC): Likewise.
31230         (__ASSUME_SOCK_CLOEXEC): Likewise.
31231         (__ASSUME_IN_NONBLOCK): Likewise.
31232         (__ASSUME_PIPE2): Likewise.
31233         (__ASSUME_EVENTFD2): Likewise.
31234         (__ASSUME_SIGNALFD4): Likewise.
31235         (__ASSUME_DUP3): Likewise.
31236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31237         (__ASSUME_UTIMES): 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/mips/kernel-features.h (__ASSUME_IPC64):
31246         Likewise.
31247         (__ASSUME_UTIMES): Likewise.
31248         (__ASSUME_EVENTFD2): Likewise.
31249         (__ASSUME_SIGNALFD4): Likewise.
31250         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31251         (__ASSUME_O_CLOEXEC): Likewise.
31252         (__ASSUME_SOCK_CLOEXEC): Likewise.
31253         (__ASSUME_IN_NONBLOCK): Likewise.
31254         (__ASSUME_PIPE2): Likewise.
31255         (__ASSUME_EVENTFD2): Likewise.
31256         (__ASSUME_SIGNALFD4): Likewise.
31257         (__ASSUME_DUP3): Likewise.
31258         (__ASSUME_UTIMES): Undefine.
31260         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31261         feclearexcept.  Remove symbol versioning code.
31262         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31263         symbol versioning code.
31264         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31265         symbol versioning code.
31266         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31267         feupdateenv.  Remove symbol versioning code.
31268         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31269         fegetexceptflag.  Remove symbol versioning code.
31270         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31271         fesetexceptflag.  Remove symbol versioning code.
31272         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31273         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31274         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31275         (__posix_fadvise64_l32): Remove prototype.
31276         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31277         code.
31279 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31281         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31282         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31283         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31284         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31286 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31288         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31289         current working directory
31291 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31293         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31294         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31295         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31296         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31297         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31298         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31299         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31300         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31301         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31302         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31303         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31304         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31305         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31306         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31307         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31308         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31309         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31310         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31311         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31312         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31313         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31314         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31315         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31316         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31317         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31318         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31319         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31320         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31321         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31322         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31323         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31324         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31325         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31326         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31327         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31328         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31329         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31330         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31331         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31332         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31333         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31334         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31336         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31337         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31339         * sysdeps/unix/sysv/linux/arm/Makefile
31340         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31341         Add rt-aeabi_unwind_cpp_pr1.
31342         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31343         Add nptl-aeabi_unwind_cpp_pr1.
31344         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31345         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31346         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31347         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31348         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31349         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31351         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31352         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31353         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31354         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31356         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31357         Deconditionalize the code that was previously under [RESET_PID].
31358         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31360         * sysdeps/generic/exit-thread.h: New file.
31361         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31362         * include/unistd.h (__exit_thread): Remove declaration.
31363         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31364         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31365         * csu/libc-start.c: Include <exit-thread.h>.
31366         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31367         * nptl/pthread_create.c: Include <exit-thread.h>.
31368         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31369         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31370         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31371         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31372         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31373         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31374         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31375         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31376         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31377         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31378         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31379         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31380         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31381         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31382         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31383         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31384         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31386 2014-05-13  Andreas Schwab  <schwab@suse.de>
31388         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31390 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31392         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31393         (__ASSUME_UTIMES): Do not condition on kernel version.
31394         (__ASSUME_PSELECT): Define unconditionally.
31395         (__ASSUME_PPOLL): Likewise.
31396         (__ASSUME_ATFCTS): Likewise.
31397         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31398         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31399         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31400         (__ASSUME_UTIMENSAT): Define unconditionally.
31401         (__ASSUME_PRIVATE_FUTEX): Likewise.
31402         (__ASSUME_FALLOCATE): Likewise.
31403         (__ASSUME_O_CLOEXEC): Likewise.
31404         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31405         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31406         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31407         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31408         (__ASSUME_IN_NONBLOCK): Likewise.
31409         (__ASSUME_PIPE2): Likewise.
31410         (__ASSUME_EVENTFD2): Likewise.
31411         (__ASSUME_SIGNALFD4): Likewise.
31412         (__ASSUME_DUP3): Likewise.
31413         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31414         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31415         (__ASSUME_AT_RANDOM): Likewise.
31416         (__ASSUME_PREADV): Likewise.
31417         (__ASSUME_PWRITEV): Likewise.
31418         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31419         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31420         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31421         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31422         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31423         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31424         (__ASSUME_O_CLOEXEC): Define unconditionally.
31425         (__ASSUME_PSELECT): Do not undefine conditionally.
31426         (__ASSUME_PPOLL): Likewise.
31427         (__ASSUME_ATFCTS): Likewise.
31428         (__ASSUME_SET_ROBUST_LIST): Likewise.
31429         (__ASSUME_UTIMENSAT): Likewise.
31430         (__ASSUME_FDATASYNC): Define unconditionally.
31431         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31432         (__ASSUME_SIGFRAME_V2): Likewise.
31433         )__ASSUME_EVENTFD2): Likewise.
31434         (__ASSUME_SIGNALFD4): Likewise.
31435         (__ASSUME_PSELECT): Do not undefine conditionally.
31436         (__ASSUME_PPOLL): Likewise.
31437         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31438         (__ASSUME_PSELECT): Define unconditionally.
31439         (__ASSUME_PPOLL): Likewise.
31440         (__ASSUME_O_CLOEXEC): Likewise.
31441         (__ASSUME_SOCK_CLOEXEC): Likewise.
31442         (__ASSUME_IN_NONBLOCK): Likewise.
31443         (__ASSUME_PIPE2): Likewise.
31444         (__ASSUME_EVENTFD2): Likewise.
31445         (__ASSUME_SIGNALFD4): Likewise.
31446         (__ASSUME_DUP3): Likewise.
31447         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31448         (__ASSUME_O_CLOEXEC): Likewise.
31449         (__ASSUME_SOCK_CLOEXEC): Likewise.
31450         (__ASSUME_IN_NONBLOCK): Likewise.
31451         (__ASSUME_PIPE2): Likewise.
31452         (__ASSUME_EVENTFD2): Likewise.
31453         (__ASSUME_SIGNALFD4): Likewise.
31454         (__ASSUME_DUP3): Likewise.
31455         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31456         (__ASSUME_EVENTFD2): Likewise.
31457         (__ASSUME_SIGNALFD4): Likewise.
31458         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31460 2014-05-12  Andreas Schwab  <schwab@suse.de>
31462         [BZ #16932]
31463         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31464         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31465         than maximum RPC packet size.
31466         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31467         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31468         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31469         (_nss_nis_getservbyport_r): Likewise.
31471 2014-05-12  Will Newton  <will.newton@linaro.org>
31473         * malloc/Makefile (tests): Add tst-mallopt.
31474         * malloc/tst-mallopt.c: New file.
31476 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31478         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31479         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31481 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31483         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31484         (tst-tlsmod6.so): Likewise.
31486 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31488         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31490 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31492         [BZ #16064]
31493         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31494         and <dl-procinfo.h>.
31495         (__fegetenv): Save SSE state in envp->__eip if supported.
31496         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31497         envp->__eip if supported.
31498         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31499         and <dl-procinfo.h>.
31500         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31501         __data_offset and __data_selector in environment to 0.  Set SSE
31502         state if supported.
31503         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31504         test-fenv-sse.
31505         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31506         -mfpmath=sse.
31507         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31509 2014-05-09  Will Newton  <will.newton@linaro.org>
31511         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31512         and libc_relro_required for ARM.
31513         * sysdeps/arm/preconfigure: Regenerate.
31515 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31516             Stefan Liebler  <stli@linux.vnet.ibm.com>
31518         * config.make.in (enable-lock-elision): New Makefile variable.
31519         * configure.ac: Likewise.
31520         * configure: Regenerate.
31521         * sysdeps/s390/configure.ac:
31522         Add check for gcc transactions support.
31523         * sysdeps/s390/configure: Regenerate.
31524         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31525         Build elision files if enabled.
31526         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31527         Add lock elision support for s390.
31528         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31529         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31530         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31531         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31532         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31533         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31534         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31535         Likewise.
31536         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31537         Likewise.
31538         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31539         Likewise.
31540         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31541         Likewise.
31542         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31543         (__lll_timedlock_elision, __lll_lock_elision)
31544         (__lll_unlock_elision, __lll_trylock_elision)
31545         (lll_timedlock_elision, lll_lock_elision)
31546         (lll_unlock_elision, lll_trylock_elision): Add.
31547         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31548         (pthread_mutex_t): Add lock elision support for s390.
31550 2014-05-14  Wilco  <wdijkstr@arm.com>
31552         * sysdeps/arm/fclrexcpt.c: Cleanup.
31553         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31554         * sysdeps/arm/feenablxcpt.c: Cleanup.
31555         * sysdeps/arm/fegetenv.c: Cleanup.
31556         * sysdeps/arm/fegetexcept.c: Cleanup.
31557         * sysdeps/arm/fegetround.c: Cleanup.
31558         * sysdeps/arm/feholdexcpt.c: Cleanup.
31559         * sysdeps/arm/fesetenv.c: Cleanup.
31560         * sysdeps/arm/fesetround.c: Cleanup.
31561         * sysdeps/arm/feupdateenv.c: Cleanup.
31562         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31563         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31564         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31565         * sysdeps/arm/ftestexcept.c: Cleanup.
31566         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31567         * sysdeps/arm/setfpucw.c: Cleanup.
31569 2014-05-09  Will Newton  <will.newton@linaro.org>
31571         * sysdeps/arm/armv7/strcmp.S: New file.
31572         * NEWS: Mention addition of ARMv7 optimized strcmp.
31574 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31576         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31577         look for %.ac rather than %.in.
31579         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31580         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31581         * sysdeps/mach/hurd/configure: Regenerated.
31582         * sysdeps/unix/sysv/linux/configure: Regenerated.
31584         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31586 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31588         [BZ# 16922]
31589         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31590         (LONG_SUB): Ditto.
31591         (PTR_SUB): Ditto.
31593 2014-05-07  Andreas Schwab  <schwab@suse.de>
31595         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31596         when skipping over non-matching result from nscd.
31598 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31600         [BZ #16876]
31601         * nptl/sockperf.c (client): Check socket return value.
31603         [BZ #16877]
31604         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31605         nscd security class.
31607 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31609         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31610         * sysdeps/arm/unwind.h: ... here.
31612 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31614         [BZ# 16916]
31615         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31616         Define.
31618 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31620         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31621         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31622         multiarch strncpy for PPC64.
31623         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31624         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31625         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31626         multiarch optimizations.
31627         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31628         (__libc_ifunc_impl_list): Likewise.
31629         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31630         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31631         multiarch stpncpy for PPC64.
31632         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31635 2014-05-06  Andreas Schwab  <schwab@suse.de>
31637         [BZ #16912]
31638         * gmon/mcount.c (_MCOUNT_DECL): Use
31639         atomic_compare_and_exchange_bool_acq instead of
31640         catomic_compare_and_exchange_bool_acq.
31642 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31644         * elf/Makefile (others, install-bin): Remove pldd.
31645         (pldd-modules): Variable removed.
31646         ($(objpfx)pldd): Target removed.
31647         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31648         (others, install-bin): Append pldd here.
31649         ($(objpfx)pldd): New target.
31651         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31652         to 0, so the first #if test emitted later doesn't see it undefined.
31653         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31654         * sysdeps/gnu/errlist.c: Regenerated.
31656 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31658         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31659         [libc_hidden_builtin_def]: Define to empty value.
31660         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31661         [libc_hidden_builtin_def]: Likewise.
31662         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31663         [libc_hidden_builtin_def]: Likewise.
31664         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31665         [libc_hidden_builtin_def]: Likewise.
31666         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31667         __redirect_memcpy and define ifunc as default hidden symbol.
31668         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31669         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31671 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31673         * locale/iso-4217.def: Reintroduce XDR currency.
31675 2014-05-04  Allan McRae  <allan@archlinux.org>
31677         * po/eo.po: Update Esperanto translation from translation project.
31679 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31681         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31682         and FEATURE_INDEX_MAX to 1.
31683         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31685 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31687         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31688         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31689         * iconvdata/big5.c (ONE_DIRECTION): Define.
31690         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31691         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31692         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31693         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31694         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31695         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31696         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31697         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31698         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31699         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31700         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31701         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31702         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31703         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31704         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31705         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31706         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31707         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31708         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31709         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31710         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31711         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31712         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31713         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31714         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31715         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31716         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31717         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31718         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31719         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31720         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31721         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31722         * iconvdata/johab.c (ONE_DIRECTION): Define.
31723         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31724         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31725         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31726         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31727         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31728         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31729         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31730         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31731         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31732         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31734 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31736         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31737         (_IO_JUMPS_OFFSET): Define to 0.
31739         * nptl/sysdeps/pthread/bits/libc-lock.h
31740         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31741         (__libc_lock_define_initialized_recursive): Always define using
31742         initializer.  Modern compilers treat uninitialized (implicit zero) and
31743         explicit zero initializers the same (i.e. put the datum in bss).
31745 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31747         * nscd/nscd-client.h: Include <string.h>.
31749 2014-05-01  David S. Miller  <davem@davemloft.net>
31751         [BZ #16885]
31752         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31753         multiple zero bytes exist at the end of a string.
31754         Reported by Aurelien Jarno <aurelien@aurel32.net>
31756         * string/test-strcmp.c (check): Add explicit test for situations where
31757         there are multiple zero bytes after the first.
31759 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31761         [BZ #16890]
31762         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31763         when compiling wprintf.
31764         * stdio-common/tstdiomisc.c (t3): New function.
31765         (main): Call it.
31767 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31769         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31770         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31771         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31772         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31774 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31776         * stdlib/longlong.h: Updated from GCC.
31778 2014-05-01  Will Newton  <will.newton@linaro.org>
31779             Bernard Ogden  <bernie.ogden@linaro.org>
31781         * NEWS: Update fixed bug list.
31783         [BZ #15119]
31784         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31786 2014-04-30  David S. Miller  <davem@davemloft.net>
31788         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31789         (libc_feholdexcept_setround_sparc_ctx): New function.
31790         (libc_fesetenv_sparc_ctx): Likewise.
31791         (libc_feupdateenv_sparc_ctx): Likewise.
31792         (libc_feholdsetround_sparc_ctx): Likewise.
31793         (libc_feholdexcept_setround_ctx): Define.
31794         (libc_feholdexcept_setroundf_ctx): Likewise.
31795         (libc_feholdexcept_setroundl_ctx): Likewise.
31796         (libc_fesetenv_ctx): Likewise.
31797         (libc_fesetenvf_ctx): Likewise.
31798         (libc_fesetenvl_ctx): Likewise.
31799         (libc_feupdateenv_ctx): Likewise.
31800         (libc_feupdateenvf_ctx): Likewise.
31801         (libc_feupdateenvl_ctx): Likewise.
31802         (libc_feresetround_ctx): Likewise.
31803         (libc_feresetroundf_ctx): Likewise.
31804         (libc_feresetroundl_ctx): Likewise.
31805         (libc_feholdsetround_ctx): Likewise.
31806         (libc_feholdsetroundf_ctx): Likewise.
31807         (libc_feholdsetroundl_ctx): Likewise.
31809         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31810         with __USE_GNU instead of XOPEN cpp guards.
31812         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31813         0.
31815         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31816         with XOPEN cpp guards.
31818 2014-04-30  Julian Brown  <julian@codesourcery.com>
31820         [BZ #16888]
31821         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31822         handling.
31824 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31826         [BZ #9894]
31827         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31828         Change to 2.6.32.
31829         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31830         * sysdeps/unix/sysv/linux/configure: Regenerated.
31831         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31832         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31833         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31834         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31835         * README: Update reference to required Linux kernel version.
31836         * manual/install.texi (Linux): Update reference to required Linux
31837         kernel headers version.
31838         * INSTALL: Regenerated.
31840         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31841         header inclusion.
31842         [POSIX] (limits.h): Likewise.
31843         [POSIX] (math.h): Likewise.
31844         [POSIX] (sys/wait.h): Likewise.
31845         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31846         function.
31847         [POSIX] (stddef.h): Do not allow header inclusion.
31849 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31851         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31853 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31855         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31856         Return immediately after lll_futex_wake.
31858 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31860         [BZ #16791]
31861         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31862         structure.
31863         (datahead_init_pos): Call datahead_init_common early.
31864         (datahead_init_neg): Likewise.
31866         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31867         datahead_init_neg): New functions.
31868         * nscd/aicache.c (addhstaiX): Use them.
31869         * nscd/grpcache.c (cache_addgr): Likewise.
31870         * nscd/hstcache.c (cache_addhst): Likewise.
31871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31872         * nscd/netgroupcache.c (do_notfound): Likewise.
31873         (addgetnetgrentX): Likewise.
31874         (addinnetgrX): Likewise.
31875         * nscd/pwdcache.c (cache_addpw): Likewise.
31876         * nscd/servicescache.c (cache_addserv): Likewise.
31878 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31879             Atsushi Onoe  <atsushi@onoe.org>
31881         [BZ #14308]
31882         [BZ #12994]
31883         [BZ #13651]
31884         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31885         one response is valid.
31886         * resolv/res_send.c (send_dg): Check for validity of other
31887         response if the current response is a referral.
31889 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31891         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31893 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31895         [BZ #16823]
31896         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31897         Always divide by positive zero when computing -Inf result.
31898         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31899         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31901 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31903         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31904         FPSCR if value do not change.
31905         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31906         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31907         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31908         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31910         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31911         function.
31913 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31915         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31916         * sysdeps/unix/sysv/linux/hppa: Move directory from
31917         ports/systeps/unix/sysv/linux/hppa.
31918         * README: Update listing for hppa-*-linux-gnu.
31920 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31922         [BZ #16754]
31923         * manual/stdio.texi (Hook functions): Fix types of stream hook
31924         functions.
31925         [BZ #16854]
31926         * socket/sys/socket.h: Fix typo in comment.
31928 2014-04-28  Wilco  <wdijkstr@arm.com>
31930         * sysdeps/arm/fenv_private.h: New file.
31931         * sysdeps/arm/math_private.h: New file.
31932         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31934 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31936         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31937         with __int128_t.
31938         (La_x86_64_retval): Likewise.
31940 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31942         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31943         fpsr if value didn't change.
31944         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31945         to fpcr if value didn't change.
31946         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31947         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31948         fpsr or fpcr if value didn't change.
31949         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31950         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31951         fpcr if value didn't change.
31952         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31953         to fpsr if value didn't change.
31955 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31957         * nptl/tst-sem3.c: Use test-skeleton.c
31958         (main): Rename to do_test.  Use return instead of
31959         exit.
31960         * nptl/tst-sem4.c: Use test-skeleton.c
31961         (main): Rename to do_test.
31963 2014-04-22  David S. Miller  <davem@davemloft.net>
31965         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31966         (struct sigaction): New struct member __glibc_reserved0, change
31967         type of sa_flags to int.
31969 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31971         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31972         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31974 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31976         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31977         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31979 2014-04-22  Will Newton  <will.newton@linaro.org>
31980             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31982         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31983         (__longjmp): Add longjmp and longjmp_target SystemTap
31984         probes.
31985         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31986         (__sigsetjmp): Add setjmp SystemTap probe.
31988 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31990         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31991         match manual order.
31993 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31995         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31997         * sysdeps/powerpc/fpu/fenv_private.h
31998         (libc_feholdexcept_setroundl_ctx): Define to
31999         libc_feholdexcept_setround_ppc_ctx.
32000         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32001         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32002         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32003         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32005 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32007         * sysdeps/aarch64/math-tests.h: New file.
32009 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32011         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32012         New.
32013         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32014         Check and set bit_AVX2_Usable.
32015         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32016         macro.
32017         (bit_AVX2): Likewise.
32018         (index_AVX2_Usable): Likewise.
32019         (CPUID_AVX2): Likewise.
32020         (HAS_AVX2): Likewise.
32022 2014-04-17  Will Newton  <will.newton@linaro.org>
32024         * manual/setjmp.texi (System V contexts): Add note that
32025         calling setcontext on a context created by a call to a
32026         signal handler is undefined.  Update text to note that
32027         setcontext from a signal handler is possible but not
32028         recommended.
32030         [BZ #16629]
32031         * stdlib/tst-setcontext.c: Include signal.h.
32032         (main): Check that the signal stack before and
32033         after swapcontext is the same.
32035         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32036         Re-implement to restore registers in user code and avoid
32037         rt_sigreturn system call.
32039 2014-04-17  Wilco  <wdijkstr@arm.com>
32041         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32042         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32043         * math/test-fenv.c: Skip exception trap tests on targets which only
32044         support non-stop mode.
32046 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32047             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32049         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32050         (libc_feholdsetround_aarch64_ctx)
32051         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32052         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32053         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32054         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32055         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32056         (libc_feresetround_noexl_ctx): Define.
32058 2014-04-16  Richard Henderson  <rth@redhat.com>
32060         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32062         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32063         unwind tables.
32065         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32066         const from the non-libc, non-ldso copy.
32068         * sysdeps/alpha/libm-test-ulps: Regenerate.
32070 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32071             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32073         * sysdeps/aarch64/fpu/math_private.h: New file.
32075 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32077         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32079 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32081         [BZ #16275]
32082         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32083         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32085         Intel MPX bound registers before _dl_profile_fixup.
32086         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32087         registers after _dl_profile_fixup.  Save and restore bound
32088         registers bnd0/bnd1 when calling _dl_call_pltexit.
32089         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32090         (LR_BND_OFFSET): Likewise.
32091         (LRV_BND0_OFFSET): Likewise.
32092         (LRV_BND1_OFFSET): Likewise.
32094 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32096         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32097         to...
32098         * sysdeps/mach/hurd/i386/tls.h: ... here.
32099         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32100         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32101         fields.
32103 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32105         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32107 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32109         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32111 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32113         [BZ #14770]
32114         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32115         * sysdeps/s390/configure: Regenerate.
32117         [BZ #16824]
32118         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32119         Set round-to-nearest internally to reduce error accumulation.
32121 2014-04-16  Alan Modra  <amodra@gmail.com>
32123         [BZ #16740]
32124         [BZ #16619]
32125         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32126         * math/libm-test.inc (frexp_test_data): Add tests.
32127         * NEWS: Update fixed bug list.
32129 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32131         * benchtests/Makefile: Depend on libraries in build directory.
32132         (bench-math): Separate out math tests.
32133         (bench-pthread): Separate out pthread tests.
32134         (bench): Include math and pthread tests.
32136 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32138         [BZ #16831]
32139         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32140         _dl_debug_initialize.
32142         * configure.ac: Remove SELinux header check.
32143         * configure: Regenerate.
32144         * nscd/selinux.c (perms): Array of const char* to permission names.
32145         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32146         default policy. Call string_to_security_class and string_to_av_perm to
32147         translate strings. Enforce default policy and call avs_has_perm with
32148         results of translated strings.
32150 2014-04-13  David S. Miller  <davem@davemloft.net>
32152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32154 2014-04-12  Allan McRae  <allan@archlinux.org>
32156         [BZ #16838]
32157         * manual/string.texi (Collation Functions): Fix qsort argument
32158         order in example.
32159         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32161 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32163         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32164         Make the test a no-op if there are no exceptions defined.
32166 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32168         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32169         enable-hardcoded-path-in-tests
32171 2014-04-11  Will Newton  <will.newton@linaro.org>
32173         * benchtests/Makefile (extra-objs): Add json-lib.o.
32174         (bench-func): Tidy up JSON output.
32175         * benchtests/bench-skeleton.c: Include json-lib.h.
32176         (main): Use JSON library functions to do output of
32177         benchmark results.
32178         * benchtests/bench-timing-type.c (main): Output the
32179         timing type simply, leaving formatting to the user.
32180         * benchtests/json-lib.c: New file.
32181         * benchtests/json-lib.h: Likewise.
32183 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32185         [BZ #15215]
32186         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32187         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32188         memory barriers.  Add comments.
32189         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32190         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32191         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32192         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32193         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32194         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32196 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32198         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32199         * sysdeps/s390/s390-64/configure.ac: ... this ...
32200         * sysdeps/s390/configure.ac: ... to here.
32201         * sysdeps/s390/s390-32/configure: Delete file.
32202         * sysdeps/s390/s390-64/configure: Delete file.
32203         * sysdeps/s390/configure: Regenerate.
32205 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32207         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32209 2014-04-11  Will Newton  <will.newton@linaro.org>
32211         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32212         to zero if it is not defined elsewhere.  (mtrim): Test
32213         the value of MALLOC_DEBUG with #if rather than #ifdef.
32215 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32217         * benchtests/pthread_once-inputs: New file.
32218         * benchtests/pthread_once-source.c: New file.
32219         * benchtests/README: Update documentation.
32221 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32222             H.J. Lu  <hongjiu.lu@intel.com>
32224         [BZ #16275]
32225         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32226         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32227         * sysdeps/x86_64/configure: Regenerated.
32228         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32229         macro.
32230         (REGISTER_SAVE_RAX): Likewise.
32231         (REGISTER_SAVE_RCX): Likewise.
32232         (REGISTER_SAVE_RDX): Likewise.
32233         (REGISTER_SAVE_RSI): Likewise.
32234         (REGISTER_SAVE_RDI): Likewise.
32235         (REGISTER_SAVE_R8): Likewise.
32236         (REGISTER_SAVE_R9): Likewise.
32237         (REGISTER_SAVE_BND0): Likewise.
32238         (REGISTER_SAVE_BND1): Likewise.
32239         (REGISTER_SAVE_BND2): Likewise.
32240         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32241         bound registers when calling _dl_fixup.
32243 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32245         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32246         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32247         of its definition.
32248         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32249         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32250         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32251         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32252         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32253         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32254         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32256 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32258         [BZ #15514]
32259         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32260         pathconf(_PC_NAME_MAX).
32262 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32264         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32265         Remove macro usage.
32266         (__PTHREAD_SPINS): Move definition to ...
32267         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32268         (__PTHREAD_SPINS): ... here.
32269         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32270         (__PTHREAD_SPIN): Likewise.
32271         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32272         (__PTHREAD_SPIN): Likewise.
32273         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32274         (__PTHREAD_SPIN): Likewise.
32275         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32276         (__PTHREAD_SPIN): Likewise.
32277         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32278         (__PTHREAD_SPIN): Likewise.
32279         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32280         (__PTHREAD_SPIN): Likewise.
32281         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32282         (__PTHREAD_SPIN): Likewise.
32283         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32284         (__PTHREAD_SPIN): Likewise.
32285         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32286         (__PTHREAD_SPIN): Likewise.
32287         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32288         (__PTHREAD_SPIN): Likewise.
32289         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32290         (__PTHREAD_SPIN): Likewise.
32291         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32292         (__PTHREAD_SPIN): Likewise.
32294         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32295         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32296         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32297         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32298         imply folder.
32299         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32300         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32301         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32302         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32303         correct imply path.
32304         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32305         strlen symbol for non multi-arch builds.
32306         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32307         missing hidden_def and weak_alias.
32309 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32311         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32313 2014-04-07  Will Newton  <will.newton@linaro.org>
32315         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32316         and contents.  [!_LIBC] Remove #ifndef and contents.
32317         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32318         * string/memccpy.c (__memccpy): Use ANSI prototype.
32319         * string/memfrob.c (memfrob): Likewise.
32320         * string/strcoll.c (STRCOLL): Likewise.
32321         * string/strlen.c (strlen): Likewise.
32322         * string/strtok.c (STRTOK): Likewise.
32323         * string/strcat.c: Remove unused #include of memcopy.h.
32324         (strcat): Use ANSI prototype.
32325         * string/strchr.c: Remove unused #include of memcopy.h.
32326         (strchr): Use ANSI prototype.
32327         * string/strcmp.c: Remove unused #include of memcopy.h.
32328         (strcmp): Use ANSI prototype.
32329         * string/strcpy.c: Remove unused #include of memcopy.h.
32330         (strcpy): Use ANSI prototype.
32332 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32334         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32335         * config.make.in (config-extra-cppflags): Set it from
32336         libc_extra_cppflags.
32337         * configure.ac (libc_extra_cflags): Make it accumulate over
32338         configure fragments.
32339         (libc_extra_cppflags): New flag.
32340         * configure. Regenerate.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32342         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32343         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32346         [BZ #16815]
32347         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32348         result for FE_DOWNWARD rounding mode.
32349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32350         Likewise.
32351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32353 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32355         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32356         in function argument name.
32358 2014-04-03  David Svoboda  <svoboda@cert.org>
32360         [BZ #5666]
32361         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32362         explicitly.
32364 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32366         * elf/dl-unmap-segments.h: New file.
32367         * sysdeps/generic/ldsodefs.h
32368         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32369         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32370         * elf/dl-fptr.c: Likewise.
32371         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32372         * sysdeps/aarch64/tlsdesc.c: Likewise.
32373         * sysdeps/arm/tlsdesc.c: Likewise.
32374         * sysdeps/i386/tlsdesc.c: Likewise.
32375         * sysdeps/tile/dl-runtime.c: Likewise.
32376         * sysdeps/x86_64/tlsdesc.c: Likewise.
32377         * elf/dl-load.h: New file.
32378         * elf/dl-load.c: Include it.
32379         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32380         Macros moved to dl-load.h.
32381         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32382         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32383         Use _dl_unmap_segments in place of __munmap.
32384         Break out segment-mapping loop into ...
32385         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32387 2014-04-03  Will Newton  <will.newton@linaro.org>
32389         * elf/dl-lookup.c (do_lookup_x): Remove comment
32390         referring to nested function and move variable
32391         declarations down to before first use.
32393 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32395         [BZ #16799]
32396         [BZ #16800]
32397         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32398         with 0 numerator.
32399         * math/s_catanf.c (__catanf): Likewise.
32400         * math/s_catanh.c (__catanh): Likewise.
32401         * math/s_catanhf.c (__catanhf): Likewise.
32402         * math/s_catanhl.c (__catanhl): Likewise.
32403         * math/s_catanl.c (__catanl): Likewise.
32404         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32405         by positive zero when computing -Inf result.
32406         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32407         (catanh_test): Likewise.
32408         * sysdeps/i386/fpu/libm-test-ulps: Update.
32409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32411         [BZ #16789]
32412         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32413         instead of using underflowing value in computing result.
32414         * math/s_clog10.c (__clog10): Likewise.
32415         * math/s_clog10f.c (__clog10f): Likewise.
32416         * math/s_clog10l.c (__clog10l): Likewise.
32417         * math/s_clogf.c (__clogf): Likewise.
32418         * math/s_clogl.c (__clogl): Likewise.
32419         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32420         (clog10_test): Likewise.
32421         * sysdeps/i386/fpu/libm-test-ulps: Update.
32422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32424 2014-04-02  Alan Modra  <amodra@gmail.com>
32426         [BZ #16739]
32427         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32428         output when value is near a power of two.  Use int64_t for lx and
32429         remove casts.  Use decimal rather than hex exponent constants.
32430         Don't use long double multiplication when double will suffice.
32431         * math/libm-test.inc (nextafter_test_data): Add tests.
32432         * NEWS: Add 16739 and 16786 to bug list.
32434         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32436         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32438 2014-04-01  Will Newton  <will.newton@linaro.org>
32440         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32441         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32443 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32445         [BZ #13347]
32446         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32447         * nptl/tst-setuid2.c: New file.
32448         * nptl/Makefile (xtests): Add tst-setuid2.
32450 2014-04-01  Alan Modra  <amodra@gmail.com>
32452         [BZ #16786]
32453         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32455 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32457         [BZ #6803]
32458         [BZ #6804]
32459         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32460         set errno as appropriate.
32461         * math/w_scalbf.c (__scalbf): Likewise.
32462         * math/w_scalbl.c (__scalbl): Likewise.
32463         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32464         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32465         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32466         Add more NaN tests.
32468         [BZ #16349]
32469         * math/w_atan2.c: Include <errno.h>.
32470         (__atan2): Set errno for result underflowing to zero.
32471         * math/w_atan2f.c: Include <errno.h>.
32472         (__atan2f): Set errno for result underflowing to zero.
32473         * math/w_atan2l.c: Include <errno.h>.
32474         (__atan2l): Set errno for result underflowing to zero.
32475         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32476         tests.
32477         * math/auto-libm-test-out: Regenerated.
32479 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32481         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32482         Encode instruction correctly in little endian.
32483         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32484         Likewise.
32485         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32486         Likewise.
32487         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32488         Likewise.
32489         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32490         Likewise.
32492 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32494         [BZ #9894]
32495         * sysdeps/unix/sysv/linux/kernel-features.h
32496         [__sparc__ && !__arch64__ && !__sparc_v9__]
32497         (__ASSUME_SET_ROBUST_LIST): Do not define.
32498         [__sparc__ && !__arch64__ && !__sparc_v9__]
32499         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32500         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32501         Likewise.
32502         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32503         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32504         (__ASSUME_REQUEUE_PI): Likewise.
32505         (__ASSUME_SET_ROBUST_LIST): Likewise.
32506         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32507         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32508         Undefine.
32509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32510         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32511         Likewise.
32512         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32513         Likewise.
32514         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32515         Likewise.
32516         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32517         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32518         Undefine.
32519         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32520         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32521         Likewise.
32523         [BZ #16648]
32524         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32525         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32526         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32528 2014-03-31  Will Newton  <will.newton@linaro.org>
32530         * benchtests/Makefile (bench): Add ffs and ffsll to list
32531         of tests.
32532         * benchtests/ffs-inputs: New file.
32533         * benchtests/ffsll-inputs: Likewise.
32535 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32537         [BZ #16770]
32538         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32539         too large before casting to int.
32540         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32541         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32542         * math/libm-test.inc (scalb_test_data): Add more tests.
32544 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32546         * benchtests/Makefile (DETAILED_OPT): New make option.
32547         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32548         set.
32549         * benchtests/bench-skeleton.c: Include stdbool.h.
32550         (main): Store and print timings per input.
32551         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32552         member to each argument value.
32553         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32554         (_print_arg_data): Initialize per-input timing to 0.
32556         * benchtests/Makefile (timing-type): New binary.
32557         (bench-clean): Also remove bench-timing-type.
32558         (bench): New target for timing-type.
32559         (bench-func): Print output in JSON format.
32560         * benchtests/bench-skeleton.c (main): Print output in JSON
32561         format.
32562         * benchtests/bench-timing-type.c: New file.
32563         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32564         (TIMING_PRINT_STATS): Remove.
32565         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32566         name separately.
32568         * benchtests/bench-modf.c: Remove.
32569         * benchtests/modf-inputs: New inputs file.
32571 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32573         [BZ #16362]
32574         * math/s_clog10.c (M_PI_LOG10E): New macro.
32575         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32576         imaginary parts are 0.
32577         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32578         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32579         imaginary parts are 0.
32580         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32581         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32582         imaginary parts are 0.
32583         * math/libm-test.inc (clog10_test_data): Update expected results
32584         for when real and imaginary parts are 0.
32586 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32588         * elf/dl-load.c: Finish conversion of __builtin_expect into
32589         __glibc_{un}likely.
32591 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32593         [BZ #16348]
32594         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32595         1+x for argument with exponent below -67.
32596         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32597         Likewise.
32598         * math/auto-libm-test-in: Add more tests of exp.
32599         * math/auto-libm-test-out: Regenerated.
32601 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32603         [BZ #16759]
32604         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32605         (nscd_getnetgrent): Use it.
32607         [BZ #16760]
32608         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32609         of stpcpy.
32611 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32613         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32614         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32615         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32616         (lll_robust_unlock): Remove out of line section. Use cfi
32617         intrinsics.
32618         (LLL_STUB_UNWIND_INFO*): Remove.
32619         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32620         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32621         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32622         (lll_robust_unlock): Remove out of line section. Use cfi
32623         intrinsics.
32624         (LLL_STUB_UNWIND_INFO*): Remove.
32626 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32628         [BZ #16758]
32629         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32630         blank values.
32632 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32634         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32636 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32638         [BZ #16198]
32639         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32640         fnstenv.
32641         * math/test-fenv-preserve.c: New file.
32642         * math/Makefile (tests): Add test-fenv-preserve.
32644 2014-03-26  Will Newton <will.newton@linaro.org>
32646         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32648 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32650         * scripts/versionlist.awk: Partition the version sets and emit all
32651         GLIBC_* (sorted) before all others (sorted).
32653 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32655         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32656         GLIBC_2.2.5 version.
32658 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32660         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32661         calls.
32663         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32664         previous change.
32666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32668 2014-03-25  Andreas Schwab  <schwab@suse.de>
32670         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32671         label to be used after in6ailist is initialized.
32673 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32675         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32676         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32678 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32680         [BZ #16357]
32681         [BZ #16599]
32682         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32683         min_plus_half.
32684         (fp_formats): Update initializers.
32685         (init_fp_formats): Initialize new field.
32686         (output_for_one_input_case): Allow underflow for results up to
32687         min_plus_half.
32688         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32689         * math/auto-libm-test-in: Don't mark some underflows from asin and
32690         atanh as spurious.
32691         * math/auto-libm-test-out: Regenerated.
32692         * sysdeps/i386/fpu/libm-test-ulps: Update.
32693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32695 2014-03-25  Andreas Schwab  <schwab@suse.de>
32697         * libio/Makefile (tst-ftell-partial-wide-ENV)
32698         (tst-ftell-active-handler-ENV): Define.
32700 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32702         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32704 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32706         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32708 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32710         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32711         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32712         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32714 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32716         [BZ #16634]
32717         * elf/dl-load.c (open_verify): Add mode parameter.
32718         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32719         (open_path): Change from boolean 'secure' to complete flag 'mode'
32720         (_dl_map_object): Adjust.
32721         * elf/Makefile (tests): Add tst-dlopen-aout.
32722         * elf/tst-dlopen-aout.c: New test.
32724 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32726         [BZ #16714]
32727         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32728         (struct stat): Rename member pad0 to __glibc_reserved0.
32730         [BZ #16712]
32731         * sysdeps/s390/s390-32/bits/wordsize.h
32732         (__WORDSIZE32_SIZE_ULONG): New define.
32733         * sysdeps/s390/s390-64/bits/wordsize.h
32734         (__WORDSIZE32_SIZE_ULONG): Likewise.
32735         * sysdeps/generic/stdint.h (SIZE_MAX):
32736         Define as UL if __WORDSIZE32_SIZE_ULONG.
32738         [BZ #16713]
32739         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32740         (__glibc_reserved0): New variable.
32741         (sa_flags): Change type to int.
32743         * posix/Makefile (before-compile): Use += before-compile instead
32744         of a :=.
32746         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32747         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32749 2014-03-20  Andreas Schwab  <schwab@suse.de>
32751         [BZ #16743]
32752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32753         non-matching result from nscd.
32755 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32757         * scripts/bench.py: Moved to ...
32758         * benchtests/scripts/bench.py: ... here.
32759         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32761 2014-03-24  Andreas Schwab  <schwab@suse.de>
32763         [BZ #16002]
32764         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32765         alloca_account and account alloca use for struct in6ailist.
32767 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32769         [BZ #16284]
32770         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32771         rounding mode to recompute results that overflow to infinity or
32772         underflow to zero.
32773         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32774         bug 16284.
32775         * math/auto-libm-test-out: Regenerated.
32776         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32777         (ccosh_test): Likewise.
32778         (csin_test_data): Use plus_oflow.
32779         (csin_test): Use ALL_RM_TEST.
32780         (csinh_test_data): Use plus_oflow.
32781         (csinh_test): Use ALL_RM_TEST.
32782         * sysdeps/i386/fpu/libm-test-ulps: Update.
32783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32785 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32787         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32788         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32789         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32791         [BZ #16731]
32792         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32793         when x - 1 is zero.
32794         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32795         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32796         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32797         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32798         argument is 1.
32799         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32800         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32801         zero.
32802         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32803         * sysdeps/i386/fpu/libm-test-ulps: Update.
32804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32806 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32808         * scripts/bench.pl: Remove file.
32809         * scripts/bench.py: New benchmark script.
32810         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32811         * benchtests/README: Mention python dependency.
32812         * scripts/pylintrc: New file.
32813         * scripts/pylint: New file.
32815         * bits/mathdef.h: Use #ifdef instead of #if.
32816         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32817         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32818         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32819         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32820         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32821         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32823 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32824             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32826         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32828         and strpbrk-ppc64 objects.
32829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32830         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32831         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32832         multiarch strpbrk for POWER7.
32833         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32834         multiarch strpbrk for PPC64.
32835         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32836         ifunc selector.
32837         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32838         strpbrk for POWER7.
32840 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32842         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32843         (atan_test): Likewise.
32844         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32845         (atanh_test): Use ALL_RM_TEST.
32846         (atan2_test_data): Likewise.
32847         (cabs_test): Likewise.
32848         (cacosh_test): Likewise.
32849         (carg_test): Likewise.
32850         (casin_test): Likewise.
32851         (casinh_test): Likewise.
32852         (cbrt_test): Likewise.
32853         (csqrt_test): Likewise.
32854         (erf_test): Likewise.
32855         (erfc_test): Likewise.
32856         (pow10_test): Likewise.
32857         (exp2_test): Likewise.
32858         (hypot_test): Likewise.
32859         (j0_test): Likewise.
32860         (j1_test): Likewise.
32861         (lgamma_test): Likewise.
32862         (gamma_test): Likewise.
32863         (sincos_test): Likewise.
32864         (tanh_test): Likewise.
32865         (y0_test): Likewise.
32866         (y1_test): Likewise.
32867         * sysdeps/i386/fpu/libm-test-ulps: Update.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32872         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32874         and strcspn-ppc64 objects.
32875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32876         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32877         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32878         multiarch strcspn for POWER7.
32879         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32880         multiarch strcspn for PPC64.
32881         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32882         ifunc selector.
32883         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32884         strcspn for POWER7.
32886 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32888         * math/gen-libm-test.pl (generate_testfile): Expect only function
32889         name as argument to AUTO_TESTS_* and pass results for all rounding
32890         modes to parse_args.
32891         (parse_auto_input): Separate inputs of automatic tests from
32892         outputs before storing in %auto_tests.
32893         * math/libm-test.inc (acos_test_data): Update call to
32894         AUTO_TESTS_f_f.
32895         (acos_test): Use ALL_RM_TEST.
32896         (acos_tonearest_test_data): Remove.
32897         (acos_test_tonearest): Likewise.
32898         (acos_towardzero_test_data): Likewise.
32899         (acos_test_towardzero): Likewise.
32900         (acos_downward_test_data): Likewise.
32901         (acos_test_downward): Likewise.
32902         (acos_upward_test_data): Likewise.
32903         (acos_test_upward): Likewise.
32904         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32905         (asin_test_data): Likewise.
32906         (asin_test): Use ALL_RM_TEST.
32907         (asin_tonearest_test_data): Remove.
32908         (asin_test_tonearest): Likewise.
32909         (asin_towardzero_test_data): Likewise.
32910         (asin_test_towardzero): Likewise.
32911         (asin_downward_test_data): Likewise.
32912         (asin_test_downward): Likewise.
32913         (asin_upward_test_data): Likewise.
32914         (asin_test_upward): Likewise.
32915         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32916         (atan_test_data): Likewise.
32917         (atanh_test_data): Likewise.
32918         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32919         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32920         (carg_test_data): Likewise.
32921         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32922         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32923         (ccosh_test_data): Likewise.
32924         (cexp_test_data): Likewise.
32925         (clog_test_data): Likewise.
32926         (clog10_test_data): Likewise.
32927         (cos_test_data): Update call to AUTO_TESTS_f_f.
32928         (cos_test): Use ALL_RM_TEST.
32929         (cos_tonearest_test_data): Remove.
32930         (cos_test_tonearest): Likewise.
32931         (cos_towardzero_test_data): Likewise.
32932         (cos_test_towardzero): Likewise.
32933         (cos_downward_test_data): Likewise.
32934         (cos_test_downward): Likewise.
32935         (cos_upward_test_data): Likewise.
32936         (cos_test_upward): Likewise.
32937         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32938         (cosh_test): Use ALL_RM_TEST.
32939         (cosh_tonearest_test_data): Remove.
32940         (cosh_test_tonearest): Likewise.
32941         (cosh_towardzero_test_data): Likewise.
32942         (cosh_test_towardzero): Likewise.
32943         (cosh_downward_test_data): Likewise.
32944         (cosh_test_downward): Likewise.
32945         (cosh_upward_test_data): Likewise.
32946         (cosh_test_upward): Likewise.
32947         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32948         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32949         (ctan_test_data): Likewise.
32950         (ctan_test): Use ALL_RM_TEST.
32951         (ctan_tonearest_test_data): Remove.
32952         (ctan_test_tonearest): Likewise.
32953         (ctan_towardzero_test_data): Likewise.
32954         (ctan_test_towardzero): Likewise.
32955         (ctan_downward_test_data): Likewise.
32956         (ctan_test_downward): Likewise.
32957         (ctan_upward_test_data): Likewise.
32958         (ctan_test_upward): Likewise.
32959         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32960         (ctanh_test): Use ALL_RM_TEST.
32961         (ctanh_tonearest_test_data): Remove.
32962         (ctanh_test_tonearest): Likewise.
32963         (ctanh_towardzero_test_data): Likewise.
32964         (ctanh_test_towardzero): Likewise.
32965         (ctanh_downward_test_data): Likewise.
32966         (ctanh_test_downward): Likewise.
32967         (ctanh_upward_test_data): Likewise.
32968         (ctanh_test_upward): Likewise.
32969         (erf_test_data): Update call to AUTO_TESTS_f_f.
32970         (erfc_test_data): Likewise.
32971         (exp_test_data): Likewise.
32972         (exp_test): Use ALL_RM_TEST.
32973         (exp_tonearest_test_data): Remove.
32974         (exp_test_tonearest): Likewise.
32975         (exp_towardzero_test_data): Likewise.
32976         (exp_test_towardzero): Likewise.
32977         (exp_downward_test_data): Likewise.
32978         (exp_test_downward): Likewise.
32979         (exp_upward_test_data): Likewise.
32980         (exp_test_upward): Likewise.
32981         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32982         (exp10_test): Use ALL_RM_TEST.
32983         (exp10_tonearest_test_data): Remove.
32984         (exp10_test_tonearest): Likewise.
32985         (exp10_towardzero_test_data): Likewise.
32986         (exp10_test_towardzero): Likewise.
32987         (exp10_downward_test_data): Likewise.
32988         (exp10_test_downward): Likewise.
32989         (exp10_upward_test_data): Likewise.
32990         (exp10_test_upward): Likewise.
32991         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32992         (expm1_test_data): Likewise.
32993         (expm1_test): Use ALL_RM_TEST.
32994         (expm1_tonearest_test_data): Remove.
32995         (expm1_test_tonearest): Likewise.
32996         (expm1_towardzero_test_data): Likewise.
32997         (expm1_test_towardzero): Likewise.
32998         (expm1_downward_test_data): Likewise.
32999         (expm1_test_downward): Likewise.
33000         (expm1_upward_test_data): Likewise.
33001         (expm1_test_upward): Likewise.
33002         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33003         (fma_test): Use ALL_RM_TEST.
33004         (fma_towardzero_test_data): Remove.
33005         (fma_test_towardzero): Likewise.
33006         (fma_downward_test_data): Likewise.
33007         (fma_test_downward): Likewise.
33008         (fma_upward_test_data): Likewise.
33009         (fma_test_upward): Likewise.
33010         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33011         (j0_test_data): Update call to AUTO_TESTS_f_f.
33012         (j1_test_data): Likewise.
33013         (jn_test_data): Update call to AUTO_TESTS_if_f.
33014         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33015         (log_test_data): Update call to AUTO_TESTS_f_f.
33016         (log10_test_data): Likewise.
33017         (log1p_test_data): Likewise.
33018         (log2_test_data): Likewise.
33019         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33020         (pow_tonearest_test_data): Likewise.
33021         (sin_test_data): Update call to AUTO_TESTS_f_f.
33022         (sin_test): Use ALL_RM_TEST.
33023         (sin_tonearest_test_data): Remove.
33024         (sin_test_tonearest): Likewise.
33025         (sin_towardzero_test_data): Likewise.
33026         (sin_test_towardzero): Likewise.
33027         (sin_downward_test_data): Likewise.
33028         (sin_test_downward): Likewise.
33029         (sin_upward_test_data): Likewise.
33030         (sin_test_upward): Likewise.
33031         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33032         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33033         (sinh_test): Use ALL_RM_TEST.
33034         (sinh_tonearest_test_data): Remove.
33035         (sinh_test_tonearest): Likewise.
33036         (sinh_towardzero_test_data): Likewise.
33037         (sinh_test_towardzero): Likewise.
33038         (sinh_downward_test_data): Likewise.
33039         (sinh_test_downward): Likewise.
33040         (sinh_upward_test_data): Likewise.
33041         (sinh_test_upward): Likewise.
33042         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33043         (sqrt_test): Use ALL_RM_TEST.
33044         (sqrt_tonearest_test_data): Remove.
33045         (sqrt_test_tonearest): Likewise.
33046         (sqrt_towardzero_test_data): Likewise.
33047         (sqrt_test_towardzero): Likewise.
33048         (sqrt_downward_test_data): Likewise.
33049         (sqrt_test_downward): Likewise.
33050         (sqrt_upward_test_data): Likewise.
33051         (sqrt_test_upward): Likewise.
33052         (tan_test_data): Update call to AUTO_TESTS_f_f.
33053         (tan_test): Use ALL_RM_TEST.
33054         (tan_tonearest_test_data): Remove.
33055         (tan_test_tonearest): Likewise.
33056         (tan_towardzero_test_data): Likewise.
33057         (tan_test_towardzero): Likewise.
33058         (tan_downward_test_data): Likewise.
33059         (tan_test_downward): Likewise.
33060         (tan_upward_test_data): Likewise.
33061         (tan_test_upward): Likewise.
33062         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33063         (tgamma_test_data): Likewise.
33064         (y0_test_data): Likewise.
33065         (y1_test_data): Likewise.
33066         (yn_test_data): Update call to AUTO_TESTS_if_f.
33067         (main): Do not call removed functions.
33069 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33071         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33072         (ldexp_test_data): Remove.
33073         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33074         scalbn_test_data.
33075         (scalb_test): Use ALL_RM_TEST.
33077 2014-03-19  Andreas Schwab  <schwab@suse.de>
33079         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33081 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33083         [BZ #16649]
33084         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33085         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33086         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33087         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33088         (__ASSUME_PREADV): Undefine.
33089         (__ASSUME_PWRITEV): Likewise.
33091 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33093         * bits/mman-linux.h: Add comment about non-Linux use.
33094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33095         bits/mman-linux.h resting place.
33097         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33098         * bits/mman-linux.h: ... here.
33100 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33102         * conform/conformtest.pl: Add standard definition when calling C
33103         preprocessor on data files.
33104         (checknamespace): Remove unused variable.
33106 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33108         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33109         minus_oflow, plus_uflow and minus_uflow in expected results.
33110         * math/libm-test.inc (scalbn_test_data): Add more tests of
33111         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33112         minus_uflow.
33113         (scalbn_test): Use ALL_RM_TEST.
33114         (scalbln_test_data): Add more tests of negative arguments.  Use
33115         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33116         (scalbln_test): Use ALL_RM_TEST.
33118 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33120         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33122 2014-03-18  Will Newton  <will.newton@linaro.org>
33124         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33125         inaccurate comment.
33127 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33129         * Makerules [!subdir] (check-abi): Exit with error status if a
33130         test failed.
33132 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33134         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33135         for rint.  Include results for all rounding modes.
33136         (nearbyint_test): Use ALL_RM_TEST.
33137         (rint_test_data): Include all tests used for nearbyint.
33139 2014-03-17  Will Newton  <will.newton@linaro.org>
33141         * nptl/sysdeps/pthread/pthread.h: Revert previous
33142         change.
33144         * sysdeps/generic/ldsodefs.h: Revert previous
33145         change.
33147         * libio/genops.c: Revert previous change.
33148         * libio/libioP.h: Likewise.
33149         * stdio-common/vfprintf.c: Likewise.
33151         * sysdeps/generic/math_private.h: Revert previous
33152         change.
33154         * sysdeps/generic/math_private.h: Check whether
33155         HAVE_RM_CTX is defined with #ifdef rather
33156         than #if.
33158         * argp/argp-fmtstream.h: Check whether
33159         __STRICT_ANSI__ is defined with #ifdef rather
33160         than #if.
33161         * argp/argp.h: Likewise.
33163         * libio/genops.c: Check whether
33164         _IO_JUMPS_OFFSET is defined with #ifdef rather
33165         than #if.
33166         * libio/libioP.h: Likewise.
33167         * stdio-common/vfprintf.c: Likewise.
33169         * sysdeps/generic/ldsodefs.h: Check whether
33170         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33171         than #if.
33173         * nptl/sysdeps/pthread/pthread.h: Check
33174         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33175         its value.
33177 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33179         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33180         setting O_APPEND.
33181         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33182         test case.
33184         [BZ #16680]
33185         * libio/fileops.c (_IO_file_open): Seek to end of file but
33186         don't cache the offset.
33187         (get_file_offset): Remove function.
33188         (do_ftell): Use cached offset when available.
33189         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33190         don't cache the offset.
33191         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33192         case.
33193         (do_one_test): Call it.
33194         (do_ftell_test): Fix up expected old offset for a+ mode.
33195         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33196         available.
33198         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33199         up test status with function return status.
33200         (do_write_test): Likewise.
33201         (do_append_test): Likewise.
33203         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33204         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33205         Remove.
33207 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33209         * math/gen-libm-test.pl (parse_args): Handle results specified for
33210         each rounding mode separately.
33211         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33212         tests and results from lrint_tonearest_test_data,
33213         lrint_towardzero_test_data, lrint_downward_test_data and
33214         lrint_upward_test_data.
33215         (lrint_test): Use ALL_RM_TEST.
33216         (lrint_tonearest_test_data): Remove.
33217         (lrint_test_tonearest): Likewise.
33218         (lrint_towardzero_test_data): Likewise.
33219         (lrint_test_towardzero): Likewise.
33220         (lrint_downward_test_data): Likewise.
33221         (lrint_test_downward): Likewise.
33222         (lrint_upward_test_data): Likewise.
33223         (lrint_test_upward): Likewise.
33224         (llrint_test_data): Merge in per-rounding-mode tests and results
33225         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33226         llrint_downward_test_data and llrint_upward_test_data.
33227         (llrint_test): Use ALL_RM_TEST.
33228         (llrint_tonearest_test_data): Remove.
33229         (llrint_test_tonearest): Likewise.
33230         (llrint_towardzero_test_data): Likewise.
33231         (llrint_test_towardzero): Likewise.
33232         (llrint_downward_test_data): Likewise.
33233         (llrint_test_downward): Likewise.
33234         (llrint_upward_test_data): Likewise.
33235         (llrint_test_upward): Likewise.
33236         (rint_test_data): Merge in per-rounding-mode tests and results
33237         from rint_tonearest_test_data, rint_towardzero_test_data,
33238         rint_downward_test_data and rint_upward_test_data.  Add
33239         per-rounding-mode results for tests not in those arrays.
33240         (rint_test): Use ALL_RM_TEST.
33241         (rint_tonearest_test_data): Remove.
33242         (rint_test_tonearest): Likewise.
33243         (rint_towardzero_test_data): Likewise.
33244         (rint_test_towardzero): Likewise.
33245         (rint_downward_test_data): Likewise.
33246         (rint_test_downward): Likewise.
33247         (rint_upward_test_data): Likewise.
33248         (rint_test_upward): Likewise.
33249         (main): Don't call removed functions.
33251 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33253         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33254         "Compiled on ..." crapola.  It is anti-useful.
33256 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33258         * scripts/evaluate-test.sh: Handle fourth argument to determine
33259         whether test run should stop on failure.
33260         * Makeconfig (stop-on-test-failure): New variable.
33261         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33262         $(stop-on-test-failure).
33263         * Makefile (tests): Give a summary of results from testing and
33264         exit with failure status if they include an ERROR or FAIL.
33265         (xtests): Likewise.
33266         * manual/install.texi (Configuring and compiling): Mention
33267         stop-on-test-failure=y.
33268         * INSTALL: Regenerated.
33270 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33272         * scripts/versionlist.awk: New file.
33273         * Makerules [$(build-shared) = yes]
33274         (postclean-generated): Add Versions.def, not Versions.def.v and
33275         Versions.def.v.i.
33276         ($(common-objpfx)Versions.def.v.i): Target removed.
33277         ($(common-objpfx)Versions.def): New target.
33278         ($(common-objpfx)Versions.all): Depend on that rather that
33279         $(common-objpfx)Versions.def.v.
33280         * Versions.def: File removed.
33282         * Makeconfig (+gccwarn): Add -Wundef.
33283         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33284         a dl-sysdep.h breaking its contract.
33285         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33286         * include/stackinfo.h: New file.
33287         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33288         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33289         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33290         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33291         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33292         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33293         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33294         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33295         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33296         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33297         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33298         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33299         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33300         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33301         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33303 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33305         [BZ #16707]
33306         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33307         implementation.
33308         * math/libm-test.inc (round_test_data): Add more tests.
33310         [BZ #16706]
33311         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33312         implementation.
33313         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33315         [BZ #16701]
33316         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33317         implementation.
33318         * math/libm-test.inc (ceil_test_data): Add more tests.
33320         * math/libm-test.inc (trunc_test_data): Add more tests related to
33321         BZ#16414.
33323 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33325         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33326         with #if rather than #ifdef.
33327         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33329 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33331         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33332         first.  Disable AVX-512 GCC support if assembler doesn't support
33333         it.
33334         * sysdeps/x86_64/configure: Regenerated.
33336 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33338         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33339         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33340         (__old_pthread_attr_setstack): Likewise.
33341         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33342         [!_STACK_GROWS_DOWN]: Likewise.
33344 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33346         * config.make.in (have-bash2): Delete.
33347         * configure.ac (libc_cv_have_bash2): Delete.
33348         * configure: Regenerate.
33349         * elf/Makefile (common-ldd-rewrite): Rename to ...
33350         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33351         (sh-ldd-rewrite): Delete.
33352         (bash-ldd-rewrite): Delete.
33353         (have-bash2): Delete checks.
33354         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33355         ldd-rewrite.
33357         * config.make.in (have-ksh): Delete.
33358         (KSH): Delete.
33359         * configure.ac (libc_cv_have_ksh): Delete.
33360         * configure: Regenerate.
33362         * elf/Makefile: Delete $(have-ksh) check.
33363         ($(objpfx)sotruss): Change KSH to BASH.
33364         * elf/sotruss.ksh: Rename to ...
33365         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33366         function style to match POSIX.  Drop ksh vim mode setting.
33368         * manual/time.texi (Specifying the Time Zone with TZ): Change
33369         Tuesday to Thursday.
33371         * debug/tst-longjmp_chk2.c: Update header comment.
33372         (stackoverflow_handler): Add comment.  Call assert on pass value.
33374 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33376         [BZ #16194]
33377         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33378         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33379         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33380         (La_x86_64_vector): Add zmm.
33381         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33382         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33383         ($(objpfx)tst-audit10): New target.
33384         ($(objpfx)tst-audit10.out): Likewise.
33385         (tst-audit10-ENV): New.
33386         (AVX512-CFLAGS): Likewise.
33387         (CFLAGS-tst-audit10.c): Likewise.
33388         (CFLAGS-tst-auditmod10a.c): Likewise.
33389         (CFLAGS-tst-auditmod10b.c): Likewise.
33390         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33391         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33392         * sysdeps/x86_64/configure: Regenerated.
33393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33394         AVX-512 zmm register support.
33395         (_dl_x86_64_save_sse): Likewise.
33396         (_dl_x86_64_restore_sse): Likewise.
33397         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33398         size vector registers.
33399         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33400         (ZMM_SIZE): Likewise.
33401         * sysdeps/x86_64/tst-audit10.c: New file.
33402         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33403         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33405 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33407         * configure.ac (HAVE_EHDR_START): New check.
33408         * configure: Regenerated.
33409         * config.h.in (HAVE_EHDR_START): New #undef.
33410         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33411         assuming the lowest-addressed segment maps the start of the file.
33413 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33415         * INSTALL: Regenerated.
33417 2014-03-13  Will Newton  <will.newton@linaro.org>
33419         * manual/setjmp.texi (System V contexts): Improve
33420         clarity and grammar of documentation.
33422 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33424         [BZ #16381]
33425         * elf/Makefile (tests): Add tst-pie2.
33426         (tests-pie): Add tst-pie2.
33427         * elf/tst-pie2.c: New file.
33428         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33429         for ET_EXEC.
33430         * elf/rtld.c (map_doit): Load executable as lt_executable.
33431         (dl_main): Likewise.
33433 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33435         [BZ #16642]
33436         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33437         (__ASSUME_PSELECT): Undefine.
33439 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33441         [BZ #16689]
33442         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33443         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33444         static build.
33445         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33446         selector for static builds.
33448 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33450         [BZ #16695]
33451         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33452         key in the buffer.
33454 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33456         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33457         IFUNC selector for static builds.
33459 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33461         * sysdeps/mips/math_private.h [__mips_hard_float]
33462         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33463         libc_feresetround_mips_ctx.
33464         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33465         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33466         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33468         [BZ #16677]
33469         * math/s_nextafter.c (__nextafter): Do not return value from
33470         overflowing computation.
33471         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33472         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33473         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33474         Likewise.
33475         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33476         Likewise.
33477         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33478         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33480 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33482         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33483         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33484         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33485         the new mov targetting sp.
33487 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33489         [BZ #16683]
33490         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33491         Define it for static builds as well.
33492         (NO_BZERO_IMPL): Likewise.
33494 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33496         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33497         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33498         multiarch strspn for PPC64.
33499         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33500         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33501         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33502         (__libc_ifunc_impl_list): Likewise.
33503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33504         multiarch optimizations
33505         * string/strspn.c (strspn): Using macro to redefine symbol name.
33507 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33508             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33510         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33511         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33512         multiarch strncat for PPC64.
33513         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33514         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33516         (__libc_ifunc_impl_list): Likewise.
33517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33518         multiarch optimizations
33520 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33522         [BZ #16639]
33523         * nscd/nscd.service: Make service type forking.
33525 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33527         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33528         sign in non default rounding modes.
33529         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33531 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33533         * math/libm-test.inc (ALL_RM_TEST): New macro.
33534         (ceil_test): Use ALL_RM_TEST.
33535         (cimag_test): Likewise.
33536         (conj_test): Likewise.
33537         (copysign_test): Likewise.
33538         (cproj_test): Likewise.
33539         (creal_test): Likewise.
33540         (fabs_test): Likewise.
33541         (floor_test): Likewise.
33542         (fmax_test): Likewise.
33543         (fmin_test): Likewise.
33544         (fmod_test): Likewise.
33545         (fpclassify_test): Likewise.
33546         (frexp_test): Likewise.
33547         (ilogb_test): Likewise.
33548         (isfinite_test): Likewise.
33549         (finite_test): Likewise.
33550         (isgreater_test): Likewise.
33551         (isgreaterequal_test): Likewise.
33552         (isinf_test): Likewise.
33553         (isless_test): Likewise.
33554         (islessequal_test): Likewise.
33555         (islessgreater_test): Likewise.
33556         (isnan_test): Likewise.
33557         (isnormal_test): Likewise.
33558         (issignaling_test): Likewise.
33559         (isunordered_test): Likewise.
33560         (logb_test): Likewise.
33561         (logb_downward_test_data): Remove.
33562         (logb_test_downward): Likewise.
33563         (lround_test): Use ALL_RM_TEST.
33564         (llround_test): Likewise.
33565         (modf_test): Likewise.
33566         (nexttoward_test): Likewise.
33567         (remainder_test): Likewise.
33568         (drem_test): Likewise.
33569         (remainder_tonearest_test_data): Likewise.
33570         (remainder_test_tonearest): Likewise.
33571         (drem_test_tonearest): Likewise.
33572         (remainder_towardzero_test_data): Likewise.
33573         (remainder_test_towardzero): Likewise.
33574         (drem_test_towardzero): Likewise.
33575         (remainder_downward_test_data): Likewise.
33576         (remainder_test_downward): Likewise.
33577         (drem_test_downward): Likewise.
33578         (remainder_upward_test_data): Likewise.
33579         (remainder_test_upward): Likewise.
33580         (drem_test_upward): Likewise.
33581         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33582         (round_test): Use ALL_RM_TEST.
33583         (signbit_test): Likewise.
33584         (trunc_test): Likewise.
33585         (significand_test): Likewise.
33586         (main): Don't call removed functions.
33588 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33590         [BZ #16674]
33591         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33592         || __USE_XOPEN2K8].
33593         (ILL_ILLOPN): Likewise.
33594         (ILL_ILLADR): Likewise.
33595         (ILL_ILLTRP): Likewise.
33596         (ILL_PRVOPC): Likewise.
33597         (ILL_PRVREG): Likewise.
33598         (ILL_COPROC): Likewise.
33599         (ILL_BADSTK): Likewise.
33600         (FPE_INTDIV): Likewise.
33601         (FPE_INTOVF): Likewise.
33602         (FPE_FLTDIV): Likewise.
33603         (FPE_FLTOVF): Likewise.
33604         (FPE_FLTUND): Likewise.
33605         (FPE_FLTRES): Likewise.
33606         (FPE_FLTINV): Likewise.
33607         (FPE_FLTSUB): Likewise.
33608         (SEGV_MAPERR): Likewise.
33609         (SEGV_ACCERR): Likewise.
33610         (BUS_ADRALN): Likewise.
33611         (BUS_ADRERR): Likewise.
33612         (BUS_OBJERR): Likewise.
33613         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33614         (TRAP_TRACE): Likewise.
33615         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33616         __USE_XOPEN2K8].
33617         (CLD_KILLED): Likewise.
33618         (CLD_DUMPED): Likewise.
33619         (CLD_TRAPPED): Likewise.
33620         (CLD_STOPPED): Likewise.
33621         (CLD_CONTINUED): Likewise.
33622         (POLL_IN): Likewise.
33623         (POLL_OUT): Likewise.
33624         (POLL_MSG): Likewise.
33625         (POLL_ERR): Likewise.
33626         (POLL_PRI): Likewise.
33627         (POLL_HUP): Likewise.
33628         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33629         Likewise.
33630         (ILL_ILLOPN): Likewise.
33631         (ILL_ILLADR): Likewise.
33632         (ILL_ILLTRP): Likewise.
33633         (ILL_PRVOPC): Likewise.
33634         (ILL_PRVREG): Likewise.
33635         (ILL_COPROC): Likewise.
33636         (ILL_BADSTK): Likewise.
33637         (FPE_INTDIV): Likewise.
33638         (FPE_INTOVF): Likewise.
33639         (FPE_FLTDIV): Likewise.
33640         (FPE_FLTOVF): Likewise.
33641         (FPE_FLTUND): Likewise.
33642         (FPE_FLTRES): Likewise.
33643         (FPE_FLTINV): Likewise.
33644         (FPE_FLTSUB): Likewise.
33645         (SEGV_MAPERR): Likewise.
33646         (SEGV_ACCERR): Likewise.
33647         (BUS_ADRALN): Likewise.
33648         (BUS_ADRERR): Likewise.
33649         (BUS_OBJERR): Likewise.
33650         (BUS_MCEERR_AR): Likewise.
33651         (BUS_MCEERR_AO): Likewise.
33652         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33653         (TRAP_TRACE): Likewise.
33654         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33655         __USE_XOPEN2K8].
33656         (CLD_KILLED): Likewise.
33657         (CLD_DUMPED): Likewise.
33658         (CLD_TRAPPED): Likewise.
33659         (CLD_STOPPED): Likewise.
33660         (CLD_CONTINUED): Likewise.
33661         (POLL_IN): Likewise.
33662         (POLL_OUT): Likewise.
33663         (POLL_MSG): Likewise.
33664         (POLL_ERR): Likewise.
33665         (POLL_PRI): Likewise.
33666         (POLL_HUP): Likewise.
33667         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
33668         (ILL_ILLOPN): Likewise.
33669         (ILL_ILLADR): Likewise.
33670         (ILL_ILLTRP): Likewise.
33671         (ILL_PRVOPC): Likewise.
33672         (ILL_PRVREG): Likewise.
33673         (ILL_COPROC): Likewise.
33674         (ILL_BADSTK): Likewise.
33675         (FPE_INTDIV): Likewise.
33676         (FPE_INTOVF): Likewise.
33677         (FPE_FLTDIV): Likewise.
33678         (FPE_FLTOVF): Likewise.
33679         (FPE_FLTUND): Likewise.
33680         (FPE_FLTRES): Likewise.
33681         (FPE_FLTINV): Likewise.
33682         (FPE_FLTSUB): Likewise.
33683         (SEGV_MAPERR): Likewise.
33684         (SEGV_ACCERR): Likewise.
33685         (BUS_ADRALN): Likewise.
33686         (BUS_ADRERR): Likewise.
33687         (BUS_OBJERR): Likewise.
33688         (BUS_MCEERR_AR): Likewise.
33689         (BUS_MCEERR_AO): Likewise.
33690         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33691         (TRAP_TRACE): Likewise.
33692         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33693         __USE_XOPEN2K8].
33694         (CLD_KILLED): Likewise.
33695         (CLD_DUMPED): Likewise.
33696         (CLD_TRAPPED): Likewise.
33697         (CLD_STOPPED): Likewise.
33698         (CLD_CONTINUED): Likewise.
33699         (POLL_IN): Likewise.
33700         (POLL_OUT): Likewise.
33701         (POLL_MSG): Likewise.
33702         (POLL_ERR): Likewise.
33703         (POLL_PRI): Likewise.
33704         (POLL_HUP): Likewise.
33705         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33706         Likewise.
33707         (ILL_ILLOPN): Likewise.
33708         (ILL_ILLADR): Likewise.
33709         (ILL_ILLTRP): Likewise.
33710         (ILL_PRVOPC): Likewise.
33711         (ILL_PRVREG): Likewise.
33712         (ILL_COPROC): Likewise.
33713         (ILL_BADSTK): Likewise.
33714         (ILL_BADIADDR): Likewise.
33715         (ILL_BREAK): Likewise.
33716         (FPE_INTDIV): Likewise.
33717         (FPE_INTOVF): Likewise.
33718         (FPE_FLTDIV): Likewise.
33719         (FPE_FLTOVF): Likewise.
33720         (FPE_FLTUND): Likewise.
33721         (FPE_FLTRES): Likewise.
33722         (FPE_FLTINV): Likewise.
33723         (FPE_FLTSUB): Likewise.
33724         (FPE_DECOVF): Likewise.
33725         (FPE_DECDIV): Likewise.
33726         (FPE_DECERR): Likewise.
33727         (FPE_INVASC): Likewise.
33728         (FPE_INVDEC): Likewise.
33729         (SEGV_MAPERR): Likewise.
33730         (SEGV_ACCERR): Likewise.
33731         (SEGV_PSTKOVF): Likewise.
33732         (BUS_ADRALN): Likewise.
33733         (BUS_ADRERR): Likewise.
33734         (BUS_OBJERR): Likewise.
33735         (BUS_MCEERR_AR): Likewise.
33736         (BUS_MCEERR_AO): Likewise.
33737         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33738         (TRAP_TRACE): Likewise.
33739         (TRAP_BRANCH): Likewise.
33740         (TRAP_HWBKPT): Likewise.
33741         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33742         __USE_XOPEN2K8].
33743         (CLD_KILLED): Likewise.
33744         (CLD_DUMPED): Likewise.
33745         (CLD_TRAPPED): Likewise.
33746         (CLD_STOPPED): Likewise.
33747         (CLD_CONTINUED): Likewise.
33748         (POLL_IN): Likewise.
33749         (POLL_OUT): Likewise.
33750         (POLL_MSG): Likewise.
33751         (POLL_ERR): Likewise.
33752         (POLL_PRI): Likewise.
33753         (POLL_HUP): Likewise.
33754         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33755         (ILL_ILLOPN): Likewise.
33756         (ILL_ILLADR): Likewise.
33757         (ILL_ILLTRP): Likewise.
33758         (ILL_PRVOPC): Likewise.
33759         (ILL_PRVREG): Likewise.
33760         (ILL_COPROC): Likewise.
33761         (ILL_BADSTK): Likewise.
33762         (FPE_INTDIV): Likewise.
33763         (FPE_INTOVF): Likewise.
33764         (FPE_FLTDIV): Likewise.
33765         (FPE_FLTOVF): Likewise.
33766         (FPE_FLTUND): Likewise.
33767         (FPE_FLTRES): Likewise.
33768         (FPE_FLTINV): Likewise.
33769         (FPE_FLTSUB): Likewise.
33770         (SEGV_MAPERR): Likewise.
33771         (SEGV_ACCERR): Likewise.
33772         (BUS_ADRALN): Likewise.
33773         (BUS_ADRERR): Likewise.
33774         (BUS_OBJERR): Likewise.
33775         (BUS_MCEERR_AR): Likewise.
33776         (BUS_MCEERR_AO): Likewise.
33777         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33778         (TRAP_TRACE): Likewise.
33779         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33780         __USE_XOPEN2K8].
33781         (CLD_KILLED): Likewise.
33782         (CLD_DUMPED): Likewise.
33783         (CLD_TRAPPED): Likewise.
33784         (CLD_STOPPED): Likewise.
33785         (CLD_CONTINUED): Likewise.
33786         (POLL_IN): Likewise.
33787         (POLL_OUT): Likewise.
33788         (POLL_MSG): Likewise.
33789         (POLL_ERR): Likewise.
33790         (POLL_PRI): Likewise.
33791         (POLL_HUP): Likewise.
33792         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33793         (ILL_ILLOPN): Likewise.
33794         (ILL_ILLADR): Likewise.
33795         (ILL_ILLTRP): Likewise.
33796         (ILL_PRVOPC): Likewise.
33797         (ILL_PRVREG): Likewise.
33798         (ILL_COPROC): Likewise.
33799         (ILL_BADSTK): Likewise.
33800         (FPE_INTDIV): Likewise.
33801         (FPE_INTOVF): Likewise.
33802         (FPE_FLTDIV): Likewise.
33803         (FPE_FLTOVF): Likewise.
33804         (FPE_FLTUND): Likewise.
33805         (FPE_FLTRES): Likewise.
33806         (FPE_FLTINV): Likewise.
33807         (FPE_FLTSUB): Likewise.
33808         (SEGV_MAPERR): Likewise.
33809         (SEGV_ACCERR): Likewise.
33810         (BUS_ADRALN): Likewise.
33811         (BUS_ADRERR): Likewise.
33812         (BUS_OBJERR): Likewise.
33813         (BUS_MCEERR_AR): Likewise.
33814         (BUS_MCEERR_AO): Likewise.
33815         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33816         (TRAP_TRACE): Likewise.
33817         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33818         __USE_XOPEN2K8].
33819         (CLD_KILLED): Likewise.
33820         (CLD_DUMPED): Likewise.
33821         (CLD_TRAPPED): Likewise.
33822         (CLD_STOPPED): Likewise.
33823         (CLD_CONTINUED): Likewise.
33824         (POLL_IN): Likewise.
33825         (POLL_OUT): Likewise.
33826         (POLL_MSG): Likewise.
33827         (POLL_ERR): Likewise.
33828         (POLL_PRI): Likewise.
33829         (POLL_HUP): Likewise.
33830         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33831         (ILL_ILLOPN): Likewise.
33832         (ILL_ILLADR): Likewise.
33833         (ILL_ILLTRP): Likewise.
33834         (ILL_PRVOPC): Likewise.
33835         (ILL_PRVREG): Likewise.
33836         (ILL_COPROC): Likewise.
33837         (ILL_BADSTK): Likewise.
33838         (FPE_INTDIV): Likewise.
33839         (FPE_INTOVF): Likewise.
33840         (FPE_FLTDIV): Likewise.
33841         (FPE_FLTOVF): Likewise.
33842         (FPE_FLTUND): Likewise.
33843         (FPE_FLTRES): Likewise.
33844         (FPE_FLTINV): Likewise.
33845         (FPE_FLTSUB): Likewise.
33846         (SEGV_MAPERR): Likewise.
33847         (SEGV_ACCERR): Likewise.
33848         (BUS_ADRALN): Likewise.
33849         (BUS_ADRERR): Likewise.
33850         (BUS_OBJERR): Likewise.
33851         (BUS_MCEERR_AR): Likewise.
33852         (BUS_MCEERR_AO): Likewise.
33853         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33854         (TRAP_TRACE): Likewise.
33855         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33856         __USE_XOPEN2K8].
33857         (CLD_KILLED): Likewise.
33858         (CLD_DUMPED): Likewise.
33859         (CLD_TRAPPED): Likewise.
33860         (CLD_STOPPED): Likewise.
33861         (CLD_CONTINUED): Likewise.
33862         (POLL_IN): Likewise.
33863         (POLL_OUT): Likewise.
33864         (POLL_MSG): Likewise.
33865         (POLL_ERR): Likewise.
33866         (POLL_PRI): Likewise.
33867         (POLL_HUP): Likewise.
33868         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33869         (ILL_ILLOPN): Likewise.
33870         (ILL_ILLADR): Likewise.
33871         (ILL_ILLTRP): Likewise.
33872         (ILL_PRVOPC): Likewise.
33873         (ILL_PRVREG): Likewise.
33874         (ILL_COPROC): Likewise.
33875         (ILL_BADSTK): Likewise.
33876         (ILL_DBLFLT): Likewise.
33877         (ILL_HARDWALL): Likewise.
33878         (FPE_INTDIV): Likewise.
33879         (FPE_INTOVF): Likewise.
33880         (FPE_FLTDIV): Likewise.
33881         (FPE_FLTOVF): Likewise.
33882         (FPE_FLTUND): Likewise.
33883         (FPE_FLTRES): Likewise.
33884         (FPE_FLTINV): Likewise.
33885         (FPE_FLTSUB): Likewise.
33886         (SEGV_MAPERR): Likewise.
33887         (SEGV_ACCERR): Likewise.
33888         (BUS_ADRALN): Likewise.
33889         (BUS_ADRERR): Likewise.
33890         (BUS_OBJERR): Likewise.
33891         (BUS_MCEERR_AR): Likewise.
33892         (BUS_MCEERR_AO): Likewise.
33893         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33894         (TRAP_TRACE): Likewise.
33895         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33896         __USE_XOPEN2K8].
33897         (CLD_KILLED): Likewise.
33898         (CLD_DUMPED): Likewise.
33899         (CLD_TRAPPED): Likewise.
33900         (CLD_STOPPED): Likewise.
33901         (CLD_CONTINUED): Likewise.
33902         (POLL_IN): Likewise.
33903         (POLL_OUT): Likewise.
33904         (POLL_MSG): Likewise.
33905         (POLL_ERR): Likewise.
33906         (POLL_PRI): Likewise.
33907         (POLL_HUP): Likewise.
33908         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33909         (ILL_ILLOPN): Likewise.
33910         (ILL_ILLADR): Likewise.
33911         (ILL_ILLTRP): Likewise.
33912         (ILL_PRVOPC): Likewise.
33913         (ILL_PRVREG): Likewise.
33914         (ILL_COPROC): Likewise.
33915         (ILL_BADSTK): Likewise.
33916         (FPE_INTDIV): Likewise.
33917         (FPE_INTOVF): Likewise.
33918         (FPE_FLTDIV): Likewise.
33919         (FPE_FLTOVF): Likewise.
33920         (FPE_FLTUND): Likewise.
33921         (FPE_FLTRES): Likewise.
33922         (FPE_FLTINV): Likewise.
33923         (FPE_FLTSUB): Likewise.
33924         (SEGV_MAPERR): Likewise.
33925         (SEGV_ACCERR): Likewise.
33926         (BUS_ADRALN): Likewise.
33927         (BUS_ADRERR): Likewise.
33928         (BUS_OBJERR): Likewise.
33929         (BUS_MCEERR_AR): Likewise.
33930         (BUS_MCEERR_AO): Likewise.
33931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33932         (TRAP_TRACE): Likewise.
33933         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33934         __USE_XOPEN2K8].
33935         (CLD_KILLED): Likewise.
33936         (CLD_DUMPED): Likewise.
33937         (CLD_TRAPPED): Likewise.
33938         (CLD_STOPPED): Likewise.
33939         (CLD_CONTINUED): Likewise.
33940         (POLL_IN): Likewise.
33941         (POLL_OUT): Likewise.
33942         (POLL_MSG): Likewise.
33943         (POLL_ERR): Likewise.
33944         (POLL_PRI): Likewise.
33945         (POLL_HUP): Likewise.
33946         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33947         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33949         [BZ #16670]
33950         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33951         before #include of <time.h>.
33952         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33953         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33954         (test-xfail-UNIX98/sched.h/conform): Likewise.
33956 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33958         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33959         error absence of trapping exception support.
33960         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33962 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33964         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33965         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33966         * timezone/Makefile (testdata): Move definition above include of
33967         Rules.
33968         (test-zones): New variable.
33969         (tests-special): Add zone files.
33970         (build-testdata): Use $(evaluate-test).
33972         * elf/Makefile (tests-special): Rename tests to end with .out.
33973         ($(objpfx)noload-mem): Likewise.
33974         ($(objpfx)tst-leaks1-mem): Likewise.
33975         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33976         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33977         $(objpfx)test-iconvconfig.out.
33978         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33979         set -e inside subshell and redirect output to file.
33980         * iconvdata/Makefile (generated): Rename tests to end with .out.
33981         Correct type.
33982         (tests-special): Rename tests to end with .out.
33983         ($(objpfx)mtrace-tst-loading): Likewise.
33984         * intl/Makefile (generated): Likewise.
33985         (tests-special): Likewise.
33986         ($(objpfx)mtrace-tst-gettext): Likewise.
33987         * misc/Makefile (generated): Likewise.
33988         (tests-special): Likewise.
33989         ($(objpfx)tst-error1-mem): Likewise.
33990         * nptl/Makefile (tests-special): Likewise.
33991         ($(objpfx)tst-stack3-mem): Likewise.
33992         (generated): Likewise.
33993         * posix/Makefile (generated): Likewise.
33994         (tests-special): Likewise.
33995         (xtests-special): Likewise.
33996         ($(objpfx)tst-fnmatch-mem): Likewise.
33997         ($(objpfx)bug-regex2-mem): Likewise.
33998         ($(objpfx)bug-regex14-mem): Likewise.
33999         ($(objpfx)bug-regex21-mem): Likewise.
34000         ($(objpfx)bug-regex31-mem): Likewise.
34001         ($(objpfx)tst-vfork3-mem): Likewise.
34002         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34003         ($(objpfx)tst-pcre-mem): Likewise.
34004         ($(objpfx)tst-boost-mem): Likewise.
34005         ($(objpfx)bug-ga2-mem): Likewise.
34006         ($(objpfx)bug-glob2-mem): Likewise.
34007         * resolv/Makefile (generate): Likewise.
34008         (tests-special): Likewise.
34009         (xtests-special): Likewise.
34010         (generated): Likewise.
34011         ($(objpfx)mtrace-tst-leaks): Likewise.
34012         ($(objpfx)mtrace-tst-leaks2): Likewise.
34014         * scripts/merge-test-results.sh: New file.
34015         * Makefile (tests-special-notdir): New variable.
34016         (tests): Run merge-test-results.sh.
34017         (xtests): Likewise.
34018         * Rules (tests-special-notdir): New variable.
34019         (xtests-special-notdir): Likewise.
34020         (tests): Run merge-test-results.sh
34021         (xtests): Likewise.
34023         * Makeconfig (test-xfail-name): New variable.
34024         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34025         compute variable name for expected failures.
34026         * conform/Makefile (conformtest-headers-data): New variable.
34027         (conformtest-standards): Likewise.
34028         (conformtest-headers-ISO): Likewise.
34029         (conformtest-headers-ISO99): Likewise.
34030         (conformtest-headers-ISO11): Likewise.
34031         (conformtest-headers-POSIX): Likewise.
34032         (conformtest-headers-XPG3): Likewise.
34033         (conformtest-headers-XPG4): Likewise.
34034         (conformtest-headers-UNIX98): Likewise.
34035         (conformtest-headers-XOPEN2K): Likewise.
34036         (conformtest-headers-POSIX2008): Likewise.
34037         (conformtest-headers-XOPEN2K8): Likewise.
34038         (conformtest-header-list-base): Likewise.
34039         (conformtest-header-list-tests): Likewise.
34040         (conformtest-header-base): Likewise.
34041         (conformtest-header-tests): Likewise.
34042         (tests-special): Add $(conformtest-header-list-tests).  If
34043         [$(fast-check) && !$(cross-compiling)], add
34044         $(conformtest-header-tests) instead of
34045         $(objpfx)run-conformtest.out.
34046         (generated): Add $(conformtest-header-list-base).  If
34047         [$(fast-check) && !$(cross-compiling)], add
34048         $(conformtest-header-base).  Remove previous setting.
34049         ($(conformtest-header-list-tests)): New target.
34050         (test-xfail-run-conformtest): Remove variable.
34051         ($(objpfx)run-conformtest.out): Remove target.
34052         (test-xfail-ISO11/complex.h/conform): New variable.
34053         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34054         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34055         (test-xfail-XPG3/varargs.h/conform): Likewise.
34056         (test-xfail-XPG4/varargs.h/conform): Likewise.
34057         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34058         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34059         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34060         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34061         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34062         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34063         (test-xfail-XPG3/ftw.h/conform): Likewise.
34064         (test-xfail-XPG3/grp.h/conform): Likewise.
34065         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34066         (test-xfail-XPG3/limits.h/conform): Likewise.
34067         (test-xfail-XPG3/pwd.h/conform): Likewise.
34068         (test-xfail-XPG3/search.h/conform): Likewise.
34069         (test-xfail-XPG3/signal.h/conform): Likewise.
34070         (test-xfail-XPG3/stdio.h/conform): Likewise.
34071         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34072         (test-xfail-XPG3/string.h/conform): Likewise.
34073         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34074         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34075         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34076         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34077         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34078         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34079         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34080         (test-xfail-XPG3/termios.h/conform): Likewise.
34081         (test-xfail-XPG3/time.h/conform): Likewise.
34082         (test-xfail-XPG3/unistd.h/conform): Likewise.
34083         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34084         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34085         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34086         (test-xfail-XPG4/netdb.h/conform): Likewise.
34087         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34088         (test-xfail-XPG4/signal.h/conform): Likewise.
34089         (test-xfail-XPG4/stdio.h/conform): Likewise.
34090         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34091         (test-xfail-XPG4/stropts.h/conform): Likewise.
34092         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34093         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34094         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34095         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34096         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34097         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34098         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34099         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34100         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34101         (test-xfail-XPG4/termios.h/conform): Likewise.
34102         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34103         (test-xfail-XPG4/unistd.h/conform): Likewise.
34104         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34105         (test-xfail-POSIX/sched.h/conform): Likewise.
34106         (test-xfail-POSIX/signal.h/conform): Likewise.
34107         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34108         (test-xfail-POSIX/tar.h/conform): Likewise.
34109         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34110         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34111         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34112         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34113         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34114         (test-xfail-UNIX98/sched.h/conform): Likewise.
34115         (test-xfail-UNIX98/signal.h/conform): Likewise.
34116         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34117         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34118         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34119         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34120         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34121         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34122         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34123         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34124         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34125         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34126         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34127         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34128         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34129         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34130         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34131         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34132         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34133         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34134         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34135         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34136         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34137         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34138         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34139         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34140         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34141         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34142         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34143         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34144         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34145         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34146         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34147         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34148         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34149         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34150         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34151         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34152         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34153         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34154         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34155         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34156         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34157         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34158         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34159         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34160         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34161         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34162         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34163         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34164         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34165         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34166         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34167         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34168         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34169         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34170         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34171         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34172         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34173         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34174         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34175         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34176         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34177         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34178         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34179         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34180         (conformtest-cc-flags): Likewise.
34181         ($(conformtest-header-tests): New target.
34182         * conform/check-header-lists.sh: New file.
34183         * conform/run-conformtest.sh: Remove.
34185         * conform/conformtest.pl: Allow ' and \ in values given for
34186         constants.
34187         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34188         inclusion.
34189         [POSIX] (sys/types.h): Likewise.
34190         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34191         inclusion.
34192         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34193         inclusion.
34194         * conform/data/signal.h-data (SIGIO): Remove expectation.
34195         [XPG3] (SIGBUS): Do not expect.
34196         [POSIX || XPG3] (SIGPOLL): Likewise.
34197         [POSIX || XPG3] (SIGPROF): Likewise.
34198         [POSIX || XPG3] (SIGSYS): Likewise.
34199         [XPG3] (SIGTRAP): Likewise.
34200         [POSIX || XPG3] (SIGURG): Likewise.
34201         [POSIX || XPG3] (SIGVTALRM): Likewise.
34202         [POSIX || XPG3] (SIGXCPU): Likewise.
34203         [POSIX || XPG3] (SIGXFSZ): Likewise.
34204         [POSIX] (SA_SIGINFO): Expect.
34205         [XPG3] (siginfo_t): Do not expect type or contents.
34206         [POSIX] (si_pid): Do not expect element.
34207         [POSIX] (si_uid): Likewise.
34208         [POSIX] (si_addr): Likewise.
34209         [POSIX] (si_status): Likewise.
34210         [POSIX] (si_band): Likewise.
34211         [XPG4] (si_value): Likewise.
34212         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34213         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34214         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34215         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34216         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34217         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34218         [POSIX || XPG3] (ILL_COPROC): Likewise.
34219         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34220         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34221         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34222         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34223         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34224         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34225         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34226         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34227         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34228         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34229         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34230         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34231         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34232         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34233         [POSIX || XPG3] (CLD_EXITED): Likewise.
34234         [POSIX || XPG3] (CLD_KILLED): Likewise.
34235         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34236         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34237         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34238         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34239         [POSIX || XPG3] (POLL_IN): Likewise.
34240         [POSIX || XPG3] (POLL_OUT): Likewise.
34241         [POSIX || XPG3] (POLL_MSG): Likewise.
34242         [POSIX || XPG3] (POLL_ERR): Likewise.
34243         [POSIX || XPG3] (POLL_PRI): Likewise.
34244         [POSIX || XPG3] (POLL_HUP): Likewise.
34245         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34246         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34247         (SIG*): Do not allow.
34248         [XPG3] (si_*): Likewise.
34249         [XPG3] (SI_*): Likewise.
34250         [XPG3 || XPG4] (sigev_*): Likewise.
34251         [XPG3 || XPG4] (SIGEV_*): Likewise.
34252         [XPG3 || XPG4] (sival_*): Likewise.
34253         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34254         [POSIX || XPG3] (BUS_*): Likewise.
34255         [POSIX || XPG3] (CLD_*): Likewise.
34256         [POSIX || XPG3] (FPE_*): Likewise.
34257         [POSIX || XPG3] (ILL_*): Likewise.
34258         [POSIX || XPG3] (POLL_*): Likewise.
34259         [POSIX || XPG3] (SEGV_*): Likewise.
34260         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34261         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34262         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34263         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34264         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34265         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34266         Specify type and value.
34267         (TVERSLEN): Likewise.
34268         (REGTYPE): Likewise.
34269         (AREGTYPE): Likewise.
34270         (LNKTYPE): Likewise.
34271         (SYMTYPE): Likewise.
34272         (CHRTYPE): Likewise.
34273         (BLKTYPE): Likewise.
34274         (DIRTYPE): Likewise.
34275         (FIFOTYPE): Likewise.
34276         (CONTTYPE): Likewise.
34277         (TSUID): Likewise.
34278         (TSGID): Likewise.
34279         (TSVTX): Likewise.
34280         (TUREAD): Likewise.
34281         (TUWRITE): Likewise.
34282         (TUEXEC): Likewise.
34283         (TGREAD): Likewise.
34284         (TGWRITE): Likewise.
34285         (TGEXEC): Likewise.
34286         (TOREAD): Likewise.
34287         (TOWRITE): Likewise.
34288         (TOEXEC): Likewise.
34289         [POSIX] (TSVTX): Expect constant.
34291 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34293         * Makefile (tests): Change dependencies to ....
34294         (tests-special): ... additions to this variable.
34295         (tests): Depend on $(tests-special).
34296         * Makerules (check-abi-list): New variable.
34297         (check-abi): Depend on $(check-abi-list).
34298         [$(subdir) = elf] (tests-special): Add
34299         $(objpfx)check-abi-libc.out.
34300         [$(build-shared) = yes && subdir] (tests-special): Add
34301         $(check-abi-list).
34302         [$(build-shared) = yes && subdir] (tests): Do not depend on
34303         check-abi.
34304         * Rules (tests): Depend on $(tests-special).
34305         (xtests): Depend on $(xtests-special).
34306         * catgets/Makefile (tests): Change dependencies to ....
34307         (tests-special): ... additions to this variable.
34308         * conform/Makefile (tests): Change dependencies to ....
34309         (tests-special): ... additions to this variable.
34310         * elf/Makefile (tests): Change dependencies to ....
34311         (tests-special): ... additions to this variable.
34312         * grp/Makefile (tests): Change dependencies to ....
34313         (tests-special): ... additions to this variable.
34314         * iconv/Makefile (xtests): Change dependencies to ....
34315         (xtests-special): ... additions to this variable.
34316         * iconvdata/Makefile (tests): Change dependencies to ....
34317         (tests-special): ... additions to this variable.
34318         * intl/Makefile (tests): Change dependencies to ....
34319         (tests-special): ... additions to this variable.  Also add
34320         $(objpfx)tst-gettext.out.
34321         * io/Makefile (tests): Change dependencies to ....
34322         (tests-special): ... additions to this variable.
34323         * libio/Makefile (tests): Change dependencies to ....
34324         (tests-special): ... additions to this variable.
34325         * malloc/Makefile (tests): Change dependencies to ....
34326         (tests-special): ... additions to this variable.
34327         * misc/Makefile (tests): Change dependencies to ....
34328         (tests-special): ... additions to this variable.
34329         * nptl/Makefile (tests): Change dependencies to ....
34330         (tests-special): ... additions to this variable.
34331         * nptl_db/Makefile (tests): Change dependencies to ....
34332         (tests-special): ... additions to this variable.
34333         * posix/Makefile (tests): Change dependencies to ....
34334         (tests-special): ... additions to this variable.
34335         (xtests): Change dependencies to ....
34336         (xtests-special): ... additions to this variable.
34337         * resolv/Makefile (tests): Change dependencies to ....
34338         (tests-special): ... additions to this variable.
34339         (xtests): Change dependencies to ....
34340         (xtests-special): ... additions to this variable.
34341         * stdio-common/Makefile (tests): Change dependencies to ....
34342         (tests-special): ... additions to this variable.
34343         (do-tst-unbputc): Remove target.
34344         (do-tst-printf): Likewise.
34345         * stdlib/Makefile (tests): Change dependencies to ....
34346         (tests-special): ... additions to this variable.
34347         * string/Makefile (tests): Change dependencies to ....
34348         (tests-special): ... additions to this variable.
34349         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34350         (tests-special): ... additions to this variable.
34352         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34353         whole file.
34354         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34355         whole file.
34356         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34357         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34359         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34360         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34361         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34362         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34363         * conform/data/libgen.h-data [XPG3]: Likewise.
34364         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34365         * conform/data/ndbm.h-data [XPG3]: Likewise.
34366         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34367         * conform/data/netdb.h-data [XPG3]: Likewise.
34368         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34369         * conform/data/poll.h-data [XPG3]: Likewise.
34370         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34371         * conform/data/strings.h-data [XPG3]: Likewise.
34372         * conform/data/stropts.h-data [XPG3]: Likewise.
34373         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34374         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34375         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34376         Likewise.
34377         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34378         * conform/data/sys/time.h-data [XPG3]: Likewise.
34379         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34380         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34381         * conform/data/sys/un.h-data [XPG3]: Likewise.
34382         * conform/data/syslog.h-data [XPG3]: Likewise.
34383         * conform/data/ucontext.h-data [XPG3]: Likewise.
34384         * conform/data/utmpx.h-data [XPG3]: Likewise.
34385         * conform/data/varargs.h-data [UNIX98]: Enable file.
34387         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34389         * math/libm-test.inc (struct test_f_f_data): Move expected results
34390         into structure for each rounding mode.
34391         (struct test_ff_f_data): Likewise.
34392         (struct test_ff_f_data_nexttoward): Likewise.
34393         (struct test_fi_f_data): Likewise.
34394         (struct test_fl_f_data): Likewise.
34395         (struct test_if_f_data): Likewise.
34396         (struct test_fff_f_data): Likewise.
34397         (struct test_c_f_data): Likewise.
34398         (struct test_f_f1_data): Likewise.
34399         (struct test_fF_f1_data): Likewise.
34400         (struct test_ffI_f1_data): Likewise.
34401         (struct test_c_c_data): Likewise.
34402         (struct test_cc_c_data): Likewise.
34403         (struct test_f_i_data): Likewise.
34404         (struct test_ff_i_data): Likewise.
34405         (struct test_f_l_data): Likewise.
34406         (struct test_f_L_data): Likewise.
34407         (struct test_fFF_11_data): Likewise.
34408         (RM_): New macro.
34409         (RM_FE_DOWNWARD): Likewise.
34410         (RM_FE_TONEAREST): Likewise.
34411         (RM_FE_TOWARDZERO): Likewise.
34412         (RM_FE_UPWARD): Likewise.
34413         (RUN_TEST_LOOP_f_f): Update references to expected results.
34414         (RUN_TEST_LOOP_2_f): Likewise.
34415         (RUN_TEST_LOOP_fff_f): Likewise.
34416         (RUN_TEST_LOOP_c_f): Likewise.
34417         (RUN_TEST_LOOP_f_f1): Likewise.
34418         (RUN_TEST_LOOP_fF_f1): Likewise.
34419         (RUN_TEST_LOOP_fI_f1): Likewise.
34420         (RUN_TEST_LOOP_ffI_f1): Likewise.
34421         (RUN_TEST_LOOP_c_c): Likewise.
34422         (RUN_TEST_LOOP_cc_c): Likewise.
34423         (RUN_TEST_LOOP_f_i): Likewise.
34424         (RUN_TEST_LOOP_f_i_tg): Likewise.
34425         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34426         (RUN_TEST_LOOP_f_b): Likewise.
34427         (RUN_TEST_LOOP_f_b_tg): Likewise.
34428         (RUN_TEST_LOOP_f_l): Likewise.
34429         (RUN_TEST_LOOP_f_L): Likewise.
34430         (RUN_TEST_LOOP_fFF_11): Likewise.
34431         * math/gen-libm-test.pl (parse_args): Output four copies of
34432         expected results for each test.
34434         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34435         (__ASSUME_UTIMES): Remove.
34436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34437         (__ASSUME_UTIMES): Likewise.
34439         * math/gen-auto-libm-tests.c: Update comment on output format.
34440         (output_for_one_input_case): Generate before-rounding and
34441         after-rounding information as conditions on output flags not
34442         floating-point format.
34443         * math/auto-libm-test-out: Regenerated.
34444         * math/gen-libm-test.pl (cond_value): New function.
34445         (or_cond_value): Use cond_value.
34446         (generate_testfile): Handle conditional exceptions.
34448 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34450         * math/libm-test.inc (max_valid_error): New variable.
34451         (init_max_error): Take new argument specifying whether function
34452         results are exactly determined.  Set max_valid_error and bound
34453         other variables for errors based on this argument.
34454         (set_max_error): Do not record results above max_valid_error.
34455         (check_float_internal): Only accept errors of up to 0.5ulps if
34456         also at most max_valid_error.
34457         (START): Take new argument EXACT and pass it to init_max_error.
34458         (acos_test): Update call to START.
34459         (acos_test_tonearest): Likewise.
34460         (acos_test_towardzero): Likewise.
34461         (acos_test_downward): Likewise.
34462         (acos_test_upward): Likewise.
34463         (acosh_test): Likewise.
34464         (asin_test): Likewise.
34465         (asin_test_tonearest): Likewise.
34466         (asin_test_towardzero): Likewise.
34467         (asin_test_downward): Likewise.
34468         (asin_test_upward): Likewise.
34469         (asinh_test): Likewise.
34470         (atan_test): Likewise.
34471         (atanh_test): Likewise.
34472         (atan2_test): Likewise.
34473         (cabs_test): Likewise.
34474         (cacos_test): Likewise.
34475         (cacosh_test): Likewise.
34476         (carg_test): Likewise.
34477         (casin_test): Likewise.
34478         (casinh_test): Likewise.
34479         (catan_test): Likewise.
34480         (catanh_test): Likewise.
34481         (cbrt_test): Likewise.
34482         (ccos_test): Likewise.
34483         (ccosh_test): Likewise.
34484         (ceil_test): Likewise.
34485         (cexp_test): Likewise.
34486         (cimag_test): Likewise.
34487         (clog_test): Likewise.
34488         (clog10_test): Likewise.
34489         (conj_test): Likewise.
34490         (copysign_test): Likewise.
34491         (cos_test): Likewise.
34492         (cos_test_tonearest): Likewise.
34493         (cos_test_towardzero): Likewise.
34494         (cos_test_downward): Likewise.
34495         (cos_test_upward): Likewise.
34496         (cosh_test): Likewise.
34497         (cosh_test_tonearest): Likewise.
34498         (cosh_test_towardzero): Likewise.
34499         (cosh_test_downward): Likewise.
34500         (cosh_test_upward): Likewise.
34501         (cpow_test): Likewise.
34502         (cproj_test): Likewise.
34503         (creal_test): Likewise.
34504         (csin_test): Likewise.
34505         (csinh_test): Likewise.
34506         (csqrt_test): Likewise.
34507         (ctan_test): Likewise.
34508         (ctan_test_tonearest): Likewise.
34509         (ctan_test_towardzero): Likewise.
34510         (ctan_test_downward): Likewise.
34511         (ctan_test_upward): Likewise.
34512         (ctanh_test): Likewise.
34513         (ctanh_test_tonearest): Likewise.
34514         (ctanh_test_towardzero): Likewise.
34515         (ctanh_test_downward): Likewise.
34516         (ctanh_test_upward): Likewise.
34517         (erf_test): Likewise.
34518         (erfc_test): Likewise.
34519         (exp_test): Likewise.
34520         (exp_test_tonearest): Likewise.
34521         (exp_test_towardzero): Likewise.
34522         (exp_test_downward): Likewise.
34523         (exp_test_upward): Likewise.
34524         (exp10_test): Likewise.
34525         (exp10_test_tonearest): Likewise.
34526         (exp10_test_towardzero): Likewise.
34527         (exp10_test_downward): Likewise.
34528         (exp10_test_upward): Likewise.
34529         (pow10_test): Likewise.
34530         (exp2_test): Likewise.
34531         (expm1_test): Likewise.
34532         (expm1_test_tonearest): Likewise.
34533         (expm1_test_towardzero): Likewise.
34534         (expm1_test_downward): Likewise.
34535         (expm1_test_upward): Likewise.
34536         (fabs_test): Likewise.
34537         (fdim_test): Likewise.
34538         (floor_test): Likewise.
34539         (fma_test): Likewise.
34540         (fma_test_towardzero): Likewise.
34541         (fma_test_downward): Likewise.
34542         (fma_test_upward): Likewise.
34543         (fmax_test): Likewise.
34544         (fmin_test): Likewise.
34545         (fmod_test): Likewise.
34546         (fpclassify_test): Likewise.
34547         (frexp_test): Likewise.
34548         (hypot_test): Likewise.
34549         (ilogb_test): Likewise.
34550         (isfinite_test): Likewise.
34551         (finite_test): Likewise.
34552         (isgreater_test): Likewise.
34553         (isgreaterequal_test): Likewise.
34554         (isinf_test): Likewise.
34555         (isless_test): Likewise.
34556         (islessequal_test): Likewise.
34557         (islessgreater_test): Likewise.
34558         (isnan_test): Likewise.
34559         (isnormal_test): Likewise.
34560         (issignaling_test): Likewise.
34561         (isunordered_test): Likewise.
34562         (j0_test): Likewise.
34563         (j1_test): Likewise.
34564         (jn_test): Likewise.
34565         (ldexp_test): Likewise.
34566         (lgamma_test): Likewise.
34567         (gamma_test): Likewise.
34568         (lrint_test): Likewise.
34569         (lrint_test_tonearest): Likewise.
34570         (lrint_test_towardzero): Likewise.
34571         (lrint_test_downward): Likewise.
34572         (lrint_test_upward): Likewise.
34573         (llrint_test): Likewise.
34574         (llrint_test_tonearest): Likewise.
34575         (llrint_test_towardzero): Likewise.
34576         (llrint_test_downward): Likewise.
34577         (llrint_test_upward): Likewise.
34578         (log_test): Likewise.
34579         (log10_test): Likewise.
34580         (log1p_test): Likewise.
34581         (log2_test): Likewise.
34582         (logb_test): Likewise.
34583         (logb_test_downward): Likewise.
34584         (lround_test): Likewise.
34585         (llround_test): Likewise.
34586         (modf_test): Likewise.
34587         (nearbyint_test): Likewise.
34588         (nextafter_test): Likewise.
34589         (nexttoward_test): Likewise.
34590         (pow_test): Likewise.
34591         (pow_test_tonearest): Likewise.
34592         (pow_test_towardzero): Likewise.
34593         (pow_test_downward): Likewise.
34594         (pow_test_upward): Likewise.
34595         (remainder_test): Likewise.
34596         (drem_test): Likewise.
34597         (remainder_test_tonearest): Likewise.
34598         (drem_test_tonearest): Likewise.
34599         (remainder_test_towardzero): Likewise.
34600         (drem_test_towardzero): Likewise.
34601         (remainder_test_downward): Likewise.
34602         (drem_test_downward): Likewise.
34603         (remainder_test_upward): Likewise.
34604         (drem_test_upward): Likewise.
34605         (remquo_test): Likewise.
34606         (rint_test): Likewise.
34607         (rint_test_tonearest): Likewise.
34608         (rint_test_towardzero): Likewise.
34609         (rint_test_downward): Likewise.
34610         (rint_test_upward): Likewise.
34611         (round_test): Likewise.
34612         (scalb_test): Likewise.
34613         (scalbn_test): Likewise.
34614         (scalbln_test): Likewise.
34615         (signbit_test): Likewise.
34616         (sin_test): Likewise.
34617         (sin_test_tonearest): Likewise.
34618         (sin_test_towardzero): Likewise.
34619         (sin_test_downward): Likewise.
34620         (sin_test_upward): Likewise.
34621         (sincos_test): Likewise.
34622         (sinh_test): Likewise.
34623         (sinh_test_tonearest): Likewise.
34624         (sinh_test_towardzero): Likewise.
34625         (sinh_test_downward): Likewise.
34626         (sinh_test_upward): Likewise.
34627         (sqrt_test): Likewise.
34628         (sqrt_test_tonearest): Likewise.
34629         (sqrt_test_towardzero): Likewise.
34630         (sqrt_test_downward): Likewise.
34631         (sqrt_test_upward): Likewise.
34632         (tan_test): Likewise.
34633         (tan_test_tonearest): Likewise.
34634         (tan_test_towardzero): Likewise.
34635         (tan_test_downward): Likewise.
34636         (tan_test_upward): Likewise.
34637         (tanh_test): Likewise.
34638         (tgamma_test): Likewise.
34639         (trunc_test): Likewise.
34640         (y0_test): Likewise.
34641         (y1_test): Likewise.
34642         (yn_test): Likewise.
34643         (significand_test): Likewise.
34645         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34646         individual tests in comment.
34647         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34648         (prev_max_error): New variable.
34649         (prev_real_max_error): Likewise.
34650         (prev_imag_max_error): Likewise.
34651         (compare_ulp_data): Don't refer to test names in comment.
34652         (find_test_ulps): Remove function.
34653         (find_function_ulps): Likewise.
34654         (find_complex_function_ulps): Likewise.
34655         (init_max_error): Take function name as argument.  Look up ulps
34656         for that function.
34657         (print_ulps): Remove function.
34658         (print_max_error): Use prev_max_error instead of calling
34659         find_function_ulps.
34660         (print_complex_max_error): Use prev_real_max_error and
34661         prev_imag_max_error instead of calling find_complex_function_ulps.
34662         (check_float_internal): Take max_ulp parameter instead of calling
34663         find_test_ulps.  Don't call print_ulps.
34664         (check_float): Update call to check_float_internal.
34665         (check_complex): Update calls to check_float_internal.
34666         (START): Pass argument to init_max_error.
34667         * math/gen-libm-test.pl (%results): Don't include "kind"
34668         information.
34669         (parse_ulps): Don't handle ulps of individual tests.
34670         (print_ulps_file): Likewise.
34671         (output_ulps): Likewise.
34672         * math/README.libm-test: Update.
34673         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34674         individual tests.
34675         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34676         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34677         * sysdeps/arm/libm-test-ulps: Likewise.
34678         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34679         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34680         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34681         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34682         * sysdeps/microblaze/libm-test-ulps: Likewise.
34683         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34684         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34685         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34686         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34687         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34688         * sysdeps/sh/libm-test-ulps: Likewise.
34689         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34690         * sysdeps/tile/libm-test-ulps: Likewise.
34691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34693 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34695         * math/libm-test.inc (print_complex_max_error): Check separately
34696         whether real and imaginary errors are within allowed range and
34697         pass 0 to print_complex_function_ulps instead of value within
34698         allowed range.
34700 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34702         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34703         formatting.
34704         (get_handles_fopen): Likewise.
34705         (do_write_test): Likewise.
34707         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34709         * libio/fileops.c (do_ftell): Use cached offset when
34710         available.
34711         * libio/iofwide.c (do_ftell_wide): Likewise.
34712         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34713         _IO_file_attach.
34714         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34716         [BZ #16532]
34717         * libio/libioP.h (get_file_offset): New function.
34718         * libio/fileops.c (get_file_offset): Likewise.
34719         (do_ftell): Likewise.
34720         (_IO_new_file_seekoff): Split out ftell logic.
34721         * libio/wfileops.c (do_ftell_wide): Likewise.
34722         (_IO_wfile_seekoff): Split out ftell logic.
34723         * libio/tst-ftell-active-handler.c: New test case.
34724         * libio/Makefile (tests): Add it.
34726 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34728         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34729         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34731 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34733         [BZ #16639]
34734         * nscd/connections.c (nscd_init): Call do_exit.
34735         (start_threads): Call do_exit and notify_parent.
34736         (begin_drop_privileges): Call do_exit.
34737         (finish_drop_privileges): Likewise.
34738         * nscd/selinux.c (preserve_capabilities): Likewise.
34739         (install_real_capabilities): Likewise.
34740         (nscd_selinux_enabled): Likewise.
34741         (avc_create_thread): Likewise.
34742         (avc_alloc_lock): Likewise.
34743         (nscd_avc_init): Likewise.
34744         * nscd/nscd.c (parent_fd): New static variable.
34745         (main): Create a pipe between parent and child processes.
34746         Skip closing parent_fd.
34747         (monitor_child): New function.
34748         (do_exit): Likewise.
34749         (notify_parent): Likewise.
34750         * nscd/nscd.h (notify_parent): Likewise.
34751         (do_exit): Likewise.
34753 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34755         * malloc/malloc.c (__libc_calloc): Revert last change.
34757 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34759         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34761 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34763         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34765         implementation.
34766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34767         (__libc_ifunc_impl_list): Likewise.
34768         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34769         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34770         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34771         * string/strrchr.c: Define STRRCHR.
34773 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34775         * benchtest/bench-strtok.c (simple_strtok): Delete.
34776         (strtok_string): Use as benchmark.
34777         * string/strtok (STRTOK): New macro.
34779 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34781         * manual/threads.texi: Add header and standard comments to all
34782         functions.
34784         * elf/dl-lookup.c (check_match): New function.
34785         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34786         (do_lookup_x): Remove nested function check_match. Use non-nested
34787         function check_match.
34789 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34791         * csu/Makefile (generated, before-compile): Use += rather than =.
34792         * catgets/Makefile (generated, generated-dirs): Likewise.
34793         * debug/Makefile (generated): Likewise.
34794         * dlfcn/Makefile (generated): Likewise.
34795         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34796         * iconvdata/Makefile (before-compile, generated): Likewise.
34797         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34798         * libio/Makefile (generated): Likewise.
34799         * malloc/Makefile (generated): Likewise.
34800         * manual/Makefile (generated, generated-dirs): Likewise.
34801         * misc/Makefile (generated): Likewise.
34802         * posix/Makefile (generated): Likewise.
34803         * resolv/Makefile (generated): Likewise.
34804         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34805         * timezone/Makefile (generated, generated-dirs): Likewise.
34807         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34809 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34811         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34812         power8 implementation.
34813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34814         file: POWER8 llround ifunc implementation.
34815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34816         (__lllround): Add POWER8 implementation.
34817         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34818         POWER8 llround implementation.
34820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34821         power8 implementation.
34822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34823         file: POWER8 llrint ifunc implementation.
34824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34825         Add POWER8 implementation.
34826         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34827         POWER8 llrint implementation.
34829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34830         power8 implementation.
34831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34832         file: POWER8 finite ifunc implementation.
34833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34834         Add POWER8 implementation.
34835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34836         Likewise.
34837         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34838         POWER8 finite implementation.
34839         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34842         power8 implementation.
34843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34844         file: POWER8 isinf ifunc implementation.
34845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34846         POWER8 implementation.
34847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34848         Likewise.
34849         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34850         isinf implementation.
34851         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34853         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34854         (INIT_ARCH): Add hwcap2 initialization.
34855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34856         power8 implementation.
34857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34858         file: POWER8 isnan ifunc implementation.
34859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34860         POWER8 implementation.
34861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34862         Likewise.
34863         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34864         isnan implementation.
34865         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34867 2014-02-27  Joey Ye  <joey.ye@arm.com>
34869         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34870         (_FP_NANFRAC_Q): Set to zero.
34872 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34874         [BZ #16623]
34875         * math/auto-libm-test-in: New test inputs.
34876         * math/auto-libm-test-out: Regenerate.
34877         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34878         and DA.
34879         (__cos): Likewise.
34880         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34882 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34884         * scripts/evaluate-test.sh: Take new argument indicating whether
34885         failure is expected.
34886         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34887         indicating whether failure is expected.
34888         * conform/Makefile (test-xfail-run-conformtest): New variable.
34889         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34890         level.
34891         * posix/Makefile (test-xfail-annexc): New variable.
34892         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34894 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34896         * argp/Makefile: Include Makeconfig immediately after defining
34897         subdir.
34898         * assert/Makefile: Likewise.
34899         * benchtests/Makefile: Likewise.
34900         * catgets/Makefile: Likewise.
34901         * conform/Makefile: Likewise.
34902         * crypt/Makefile: Likewise.
34903         * csu/Makefile: Likewise.
34904         (all): Remove target.
34905         * ctype/Makefile: Include Makeconfig immediately after defining
34906         subdir.
34907         * debug/Makefile: Likewise.
34908         * dirent/Makefile: Likewise.
34909         * dlfcn/Makefile: Likewise.
34910         * gmon/Makefile: Likewise.
34911         * gnulib/Makefile: Likewise.
34912         * grp/Makefile: Likewise.
34913         * gshadow/Makefile: Likewise.
34914         * hesiod/Makefile: Likewise.
34915         * hurd/Makefile: Likewise.
34916         (all): Remove target.
34917         * iconvdata/Makefile: Include Makeconfig immediately after
34918         defining subdir.
34919         * inet/Makefile: Likewise.
34920         * intl/Makefile: Likewise.
34921         * io/Makefile: Likewise.
34922         * libio/Makefile: Likewise.
34923         (all): Remove target.
34924         * locale/Makefile: Include Makeconfig immediately after defining
34925         subdir.
34926         * login/Makefile: Likewise.
34927         * mach/Makefile: Likewise.
34928         (all): Remove target.
34929         * malloc/Makefile: Include Makeconfig immediately after defining
34930         subdir.
34931         (all): Remove target.
34932         * manual/Makefile: Include Makeconfig immediately after defining
34933         subdir.
34934         * math/Makefile: Likewise.
34935         * misc/Makefile: Likewise.
34936         * nis/Makefile: Likewise.
34937         * nss/Makefile: Likewise.
34938         * po/Makefile: Likewise.
34939         (all): Remove target.
34940         * posix/Makefile: Include Makeconfig immediately after defining
34941         subdir.
34942         * pwd/Makefile: Likewise.
34943         * resolv/Makefile: Likewise.
34944         * resource/Makefile: Likewise.
34945         * rt/Makefile: Likewise.
34946         * setjmp/Makefile: Likewise.
34947         * shadow/Makefile: Likewise.
34948         * signal/Makefile: Likewise.
34949         * socket/Makefile: Likewise.
34950         * soft-fp/Makefile: Likewise.
34951         * stdio-common/Makefile: Likewise.
34952         * stdlib/Makefile: Likewise.
34953         * streams/Makefile: Likewise.
34954         * string/Makefile: Likewise.
34955         * sunrpc/Makefile: Likewise.
34956         (all): Remove target.
34957         * sysvipc/Makefile: Include Makeconfig immediately after defining
34958         subdir.
34959         * termios/Makefile: Likewise.
34960         * time/Makefile: Likewise.
34961         * timezone/Makefile: Likewise.
34962         (all): Remove target.
34963         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34964         subdir.
34965         * wctype/Makefile: Likewise.
34967 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34969         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34970         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34971         (libc_feholdexcept_setround_mips): Ditto.
34972         (libc_feholdsetround): New.
34973         (libc_feholdsetroundf): New.
34974         (libc_feholdsetroundl): New.
34975         (libc_feupdateenv_test_mips): New.
34976         (libc_feupdateenv_test): New.
34977         (libc_feupdateenv_testf): New.
34978         (libc_feupdateenv_testl): New.
34979         (libc_feresetround): New.
34980         (libc_feresetroundf): New.
34981         (libc_feresetroundl): New.
34982         (libc_fetestexcept_mips): New.
34983         (libc_fetestexcept): New.
34984         (libc_fetestexceptf): New.
34985         (libc_fetestexceptl): New.
34986         (HAVE_RM_CTX): New.
34987         (libc_feholdexcept_setround_mips_ctx): New.
34988         (libc_feholdexcept_setround_ctx): New.
34989         (libc_feholdexcept_setroundf_ctx): New.
34990         (libc_feholdexcept_setroundl_ctx): New.
34991         (libc_fesetenv_mips_ctx): New.
34992         (libc_fesetenv_ctx): New.
34993         (libc_fesetenv_ctxf): New.
34994         (libc_fesetenv_ctxl): New.
34995         (libc_feupdateenv_mips_ctx): New.
34996         (libc_feupdateenv_ctx): New.
34997         (libc_feupdateenvf_ctx): New.
34998         (libc_feupdateenvl_ctx): New.
34999         (libc_feholdsetround_mips_ctx): New.
35000         (libc_feholdsetround_ctx): New.
35001         (libc_feholdsetroundf_ctx): New.
35002         (libc_feholdsetroundl_ctx): New.
35003         (libc_feresetround_mips_ctx): New.
35004         (libc_feresetround_ctx): New.
35005         (libc_feresetroundf_ctx): New.
35006         (libc_feresetroundl_ctx): New.
35008 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35010         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35012         * manual/ipc.texi: New file.
35013         * manual/Makefile (chapters): Add ipc.
35014         * manual/job.texi: Add "Inter-Process Communication" to next.
35015         * manual/process.texi: Add "Inter-Process Communication" to prev.
35017 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35019         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35021 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35023         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35025         * manual/arith.texi: Fix spaces after sentences.
35026         * manual/charset.texi: Likewise.
35027         * manual/errno.texi: Likewise.
35028         * manual/install.texi: Likewise.
35029         * manual/llio.texi: Likewise.
35030         * manual/locale.texi: Likewise.
35031         * manual/maint.texi: Likewise.
35032         * manual/math.texi: Likewise.
35033         * manual/memory.texi: Likewise.
35034         * manual/message.texi: Likewise.
35035         * manual/probes.texi: Likewise.
35036         * manual/resource.texi: Likewise.
35037         * manual/signal.texi: Likewise.
35038         * manual/socket.texi: Likewise.
35039         * manual/stdio.texi: Likewise.
35040         * manual/string.texi: Likewise.
35041         * manual/time.texi: Likewise.
35042         * manual/users.texi: Likewise.
35044 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35046         [BZ #16632]
35047         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35048         _DEFAULT_SOURCE is defined.
35050 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35051             Carlos O'Donell  <carlos@redhat.com>
35053         [BZ #16613]
35054         * elf/dl-tls.c (_dl_count_modids): New function.
35055         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35056         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35057         audit library and increment generation counter.
35058         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35059         * elf/tst-audit9.c: New file.
35060         * elf/tst-auditmod9a.c: New file.
35061         * elf/tst-auditmod9b.c: New file.
35062         * elf/Makefile: Add rules to build and run tst-audit9.
35064 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35066         [BZ #15347]
35067         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35069 2014-02-25  Will Newton  <will.newton@linaro.org>
35071         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35072         (__longjmp): Restore sp and lr before restoring callee
35073         saved registers.  Add longjmp and longjmp_target
35074         SystemTap probe point.
35075         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35076         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35077         Define to zero to match jmpbuf layout.
35078         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35079         (__sigsetjmp): Save sp and lr before saving callee
35080         saved registers.  Add setjmp SystemTap probe point.
35082 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35084         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35086 2014-02-24  Andreas Schwab  <schwab@suse.de>
35088         [BZ #15804]
35089         * elf/pldd.c (wait_for_ptrace_stop): New function.
35090         (main): Call it after attaching.
35092 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35094         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35095         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35096         Versions files is now verboten.
35097         * hurd/Versions (libc: GLIBC_2.0):
35098         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35099         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35100         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35101         * mach/Versions: Likewise.
35103         * csu/Versions: Remove unused %include.
35104         * resolv/Versions: Likewise.
35106 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35108         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35109         ($(objpfx)check-local-headers.out): Likewise.
35110         ($(objpfx)begin-end-check.out): Likewise.
35111         * Makerules (check-abi-%.out): Likewise.
35112         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35113         ($(objpfx)test2.cat): Likewise.
35114         ($(objpfx)de/libc.cat): Likewise.
35115         ($(objpfx)test-gencat.out): Likewise.
35116         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35117         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35118         ($(objpfx)noload-mem): Likewise.
35119         ($(objpfx)tst-pathopt.out): Likewise.
35120         ($(objpfx)tst-rtld-load-self.out): Likewise.
35121         ($(objpfx)tst-array1-cmp.out): Likewise.
35122         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35123         ($(objpfx)tst-array2-cmp.out): Likewise.
35124         ($(objpfx)tst-array3-cmp.out): Likewise.
35125         ($(objpfx)tst-array4-cmp.out): Likewise.
35126         ($(objpfx)tst-array5-cmp.out): Likewise.
35127         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35128         ($(objpfx)check-textrel.out): Likewise.
35129         ($(objpfx)check-execstack.out): Likewise.
35130         ($(objpfx)check-localplt.out): Likewise.
35131         ($(objpfx)order2-cmp.out): Likewise.
35132         ($(objpfx)tst-leaks1-mem): Likewise.
35133         ($(objpfx)tst-leaks1-static-mem): Likewise.
35134         ($(objpfx)tst-initorder-cmp.out): Likewise.
35135         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35136         ($(objpfx)tst-unused-dep.out): Likewise.
35137         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35138         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35139         * iconv/Makefile (test-iconvconfig): Likewise.
35140         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35141         ($(objpfx)iconv-test.out): Likewise.
35142         ($(objpfx)tst-tables.out): Likewise.
35143         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35144         ($(objpfx)tst-gettext.out): Likewise.
35145         ($(objpfx)tst-translit.out): Likewise.
35146         ($(objpfx)tst-gettext2.out): Likewise.
35147         ($(objpfx)tst-gettext4.out): Likewise.
35148         ($(objpfx)tst-gettext6.out): Likewise.
35149         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35150         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35151         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35152         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35153         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35154         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35155         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35156         ($(objpfx)wordexp-tst.out): Likewise.
35157         ($(objpfx)annexc.out): Likewise.
35158         ($(objpfx)tst-fnmatch-mem): Likewise.
35159         ($(objpfx)bug-regex2-mem): Likewise.
35160         ($(objpfx)bug-regex14-mem): Likewise.
35161         ($(objpfx)bug-regex21-mem): Likewise.
35162         ($(objpfx)bug-regex31-mem): Likewise.
35163         ($(objpfx)tst-vfork3-mem): Likewise.
35164         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35165         ($(objpfx)tst-pcre-mem): Likewise.
35166         ($(objpfx)tst-boost-mem): Likewise.
35167         ($(objpfx)tst-getconf.out): Likewise.
35168         ($(objpfx)bug-ga2-mem): Likewise.
35169         ($(objpfx)bug-glob2-mem): Likewise.
35170         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35171         ($(objpfx)mtrace-tst-leaks2): Likewise.
35172         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35173         ($(objpfx)tst-printf.out): Likewise.
35174         ($(objpfx)tst-setvbuf1.out): Likewise.
35175         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35176         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35177         ($(objpfx)tst-fmtmsg.out): Likewise.
35178         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35179         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35181         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35182         * bits/sigaction.h [__USE_MISC]: Likewise.
35183         * bits/waitstatus.h: Update #endif comments.
35184         * ctype/ctype.h: Likewise.
35185         * dirent/dirent.h: Likewise.
35186         [__USE_MISC]: Remove redundant conditionals.
35187         * grp/grp.h: Update #endif comments.
35188         [__USE_GNU]: Remove redundant conditionals.
35189         [__USE_MISC]: Likewise.
35190         * inet/netinet/in.h [__USE_GNU]: Likewise.
35191         * io/sys/stat.h [__USE_MISC]: Likewise.
35192         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35193         * libio/bits/stdio.h: Update #endif comments.
35194         [__USE_MISC]: Remove redundant conditionals.
35195         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35196         * libio/stdio.h: Update #endif comments.
35197         [__USE_MISC]: Remove redundant conditionals.
35198         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35199         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35200         * math/math.h: Update #else and #endif comments.
35201         [__USE_MISC]: Remove redundant conditionals.
35202         * misc/sys/uio.h: Update #endif comments.
35203         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35204         * posix/glob.h [__USE_MISC]: Likewise.
35205         * posix/sys/types.h: Update #endif comments.
35206         [__USE_MISC]: Remove redundant conditionals.
35207         * posix/sys/wait.h: Update #endif comments.
35208         [__USE_MISC]: Remove redundant conditionals.
35209         * posix/unistd.h: Update #endif comments.
35210         [__USE_MISC]: Remove redundant conditionals.
35211         * pwd/pwd.h [__USE_GNU]: Likewise.
35212         [__USE_MISC]: Likewise.
35213         * resolv/netdb.h [__USE_GNU]: Likewise.
35214         * signal/signal.h: Update #endif comments.
35215         [__USE_MISC]: Remove redundant conditionals.
35216         * stdlib/stdlib.h: Update #else and #endif comments.
35217         [__USE_MISC]: Remove redundant conditionals.
35218         [__USE_GNU]: Likewise.
35219         * string/bits/string2.h [__USE_MISC]: Likewise.
35220         * string/string.h: Update #endif comments.
35221         [__USE_MISC]: Remove redundant conditionals.
35222         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35223         Likewise.
35224         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35225         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35226         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35227         Likewise.
35228         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35229         Likewise.
35230         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35231         comments.
35232         [__USE_MISC]: Remove redundant conditionals.
35233         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35234         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35235         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35236         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35237         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35238         Likewise.
35239         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35240         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35241         Likewise.
35242         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35243         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35244         Likewise.
35245         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35246         Likewise.
35247         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35248         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35249         Likewise.
35250         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35251         Likewise.
35252         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35253         * sysdeps/x86/bits/string.h: Update #endif comments.
35254         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35255         conditionals.
35256         * time/sys/time.h: Update #endif comments.
35257         * time/time.h: Likewise.
35258         [__USE_MISC]: Remove redundant conditionals.
35260 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35262         [BZ #16600]
35263         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35265 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35267         * Versions.def (librt): Add GLIBC_2.17.
35269 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35271         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35272         synonym for _SYS_AUXV_H to allow direct inclusion.
35273         * sysdeps/sparc/bits/hwcap.h: Likewise.
35274         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35275         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35276         * sysdeps/sparc/sysdep.h: Likewise.
35278 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35280         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35282 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35284         * benchtests/bench-strrchr.c: Print length instead of position.
35286 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35288         [BZ #16611]
35289         * sysdeps/unix/sysv/linux/kernel-features.h
35290         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35291         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35292         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35293         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35294         Likewise.
35295         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35296         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35297         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35298         (__ASSUME_SENDMMSG): Define instead of using previous
35299         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35300         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35301         (__ASSUME_SENDMMSG_SYSCALL): Define.
35302         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35303         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35304         Likewise.
35305         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35306         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35307         Likewise.
35308         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35309         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35310         Likewise.
35311         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35312         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35313         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35314         [__ASSUME_SENDMMSG]: Change conditionals to
35315         [__ASSUME_SENDMMSG_SOCKETCALL].
35316         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35317         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35318         Define.
35319         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35320         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35321         Likewise.
35322         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35323         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35324         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35325         [!__ASSUME_SENDMMSG]: Change conditional to
35326         [!__ASSUME_SENDMMSG_SOCKETCALL].
35327         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35328         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35329         Define.
35331         [BZ #16610]
35332         * sysdeps/unix/sysv/linux/kernel-features.h
35333         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35334         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35335         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35336         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35337         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35338         [__i386__ || __sparc__]
35339         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35340         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35341         (__ASSUME_RECVMMSG): Define instead of using previous
35342         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35343         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35344         (__ASSUME_RECVMMSG_SYSCALL): Define.
35345         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35346         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35347         Likewise.
35348         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35349         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35350         Likewise.
35351         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35352         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35353         Likewise.
35354         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35355         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35356         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35357         [__ASSUME_RECVMMSG]: Change condition to
35358         [__ASSUME_RECVMMSG_SOCKETCALL].
35359         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35360         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35361         Define.
35362         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35363         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35364         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35365         Likewise.
35366         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35367         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35368         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35369         [!__ASSUME_RECVMMSG]: Change condition to
35370         [!__ASSUME_RECVMMSG_SOCKETCALL].
35371         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35372         (__ASSUME_RECVMMSG_SYSCALL): Define.
35374         [BZ #16609]
35375         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35376         __powerpc__ || __s390__ || __sh__ || __sparc__]
35377         (__ASSUME_SOCKETCALL): Define.
35378         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35379         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35380         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35381         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35382         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35383         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35384         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35385         (__ASSUME_ACCEPT4): Define instead of using previous
35386         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35387         __powerpc__ || __sparc__ || __s390__)] condition.
35388         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35389         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35390         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35391         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35392         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35393         [!__ASSUME_ACCEPT4]: Change condition to
35394         [!__ASSUME_ACCEPT4_SOCKETCALL].
35395         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35396         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35397         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35399         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35400         __ASSUME_ACCEPT4_SYSCALL.
35401         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35402         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35403         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35404         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35405         __ASSUME_ACCEPT4_SYSCALL.
35406         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35407         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35408         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35409         [__ASSUME_ACCEPT4]: Change condition to
35410         [__ASSUME_ACCEPT4_SOCKETCALL].
35411         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35412         (__ASSUME_SOCKETCALL): Define.
35413         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35414         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35415         (__ASSUME_SOCKETCALL): Define.
35416         (__ASSUME_ACCEPT4): Remove.
35417         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35418         Define.
35419         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35420         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35421         Likewise.
35422         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35423         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35425         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35426         macro.
35427         (HWCAP_ARM_LPAE): Likewise.
35428         (HWCAP_ARM_EVTSTRM): Likewise.
35429         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35430         Add vpfd32, lpae and evtstrm.
35431         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35432         Increase to 22.
35434 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35436         * math/auto-libm-test-in: Add tests of clog10.
35437         * math/auto-libm-test-out: Regenerated.
35438         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35439         * sysdeps/i386/fpu/libm-test-ulps: Update.
35440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35442 2014-02-18  Andreas Schwab  <schwab@suse.de>
35444         [BZ #16574]
35445         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35446         Store non-zero if the second buffer was newly allocated.
35447         (send_dg): Likewise.
35448         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35449         to send_vc and send_dg.
35450         (res_nsend): Pass NULL for ansp2_malloced.
35451         * resolv/res_query.c (__libc_res_nquery): Add parameter
35452         answerp2_malloced and pass it down to __libc_res_nsend.
35453         (res_nquery): Pass additional NULL to __libc_res_nquery.
35454         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35455         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35456         second answer buffer if answerp2_malloced was set.
35457         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35458         (__libc_res_nquerydomain): Add parameter
35459         answerp2_malloced and pass it down to __libc_res_nquery.
35460         (res_nquerydomain): Pass additional NULL to
35461         __libc_res_nquerydomain.
35462         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35463         additional NULL to __libc_res_nsend and __libc_res_nquery.
35464         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35465         additional NULL to __libc_res_nsearch.
35466         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35467         parameter of __libc_res_nsearch to check for separately allocated
35468         second buffer.
35469         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35470         __libc_res_nquery.
35471         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35472         additional NULL to __libc_res_nquery.
35473         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35474         __libc_res_nsearch.
35475         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35476         * include/resolv.h: Update prototypes of __libc_res_nquery,
35477         __libc_res_nsearch, __libc_res_nsend.
35479 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35481         * math/auto-libm-test-in: Add tests of fma.
35482         * math/auto-libm-test-out: Regenerated.
35483         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35484         (fma_towardzero_test_data): Likewise.
35485         (fma_downward_test_data): Likewise.
35486         (fma_upward_test_data): Likewise.
35487         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35488         mpc_mode.
35489         (rounding_modes): Add values for new field.
35490         (func_calc_method): Add value mpfr_fff_f.
35491         (func_calc_desc): Add mpfr_fff_f union field.
35492         (test_function): Add field exact_args.
35493         (FUNC): Add macro argument EXACT_ARGS.
35494         (FUNC_mpfr_f_f): Update call to FUNC.
35495         (FUNC_mpfr_f_f): Likewise.
35496         (FUNC_mpfr_ff_f): Likewise.
35497         (FUNC_mpfr_if_f): Likewise.
35498         (FUNC_mpc_c_f): Likewise.
35499         (FUNC_mpc_c_c): Likewise.
35500         (test_functions): Add fma.  Update calls to FUNC.
35501         (handle_input_arg): Add argument exact_args.
35502         (add_test): Update call to handle_input_arg.
35503         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35504         (output_for_one_input_case): Update call to calc_generic_results.
35505         Recalculate exact zero results in each rounding mode.
35507         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35508         non-negative before setting low bit.
35509         * math/auto-libm-test-in: Mark one asin test possibly having
35510         spurious underflow.
35511         * math/auto-libm-test-out: Regenerated.
35512         * sysdeps/i386/fpu/libm-test-ulps: Update.
35513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35515 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35517         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35518         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35519         ports/sysdeps/unix/sysv/linux/microblaze.
35520         * README: Add missing listing for microblaze*-*-linux-gnu.
35522 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35524         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35525         duplicate code
35527 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35529         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35530         * sysdeps/unix/sysv/linux/ia64: Move directory from
35531         ports/sysdeps/unix/sysv/linux/ia64.
35532         * README: Update listing for ia64-*-linux-gnu.
35534 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35535             Joseph Myers  <joseph@codesourcery.com>
35537         * Makeconfig (test-name): New variable.
35538         (evaluate-test): Likewise.
35539         * Makerules (do-test-clean): Remove .test-result files.
35540         (common-mostlyclean): Likewise.
35541         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35542         * scripts/evaluate-test.sh: New file.
35544 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35546         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35547         separate $(objpfx)tst-fopenloc-cmp.out and
35548         $(objpfx)tst-fopenloc-mem.out targets.
35549         (tests): Update dependencies.
35550         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35551         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35552         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35553         (tst-rxspencer-no-utf8-ARGS): New variable.
35554         (tst-rxspencer-no-utf8-ENV): Likewise.
35555         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35556         instead of $(objpfx)tst-rxspencer-mem.
35557         ($(objpfx)tst-rxspencer-mem): Change target to
35558         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35559         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35560         * posix/tst-rxspencer-no-utf8.c: New file.
35562         * elf/Makefile ($(objpfx)order.out): Remove rule.
35563         [$(run-built-tests) = yes] (tests): Depend on
35564         $(objpfx)order-cmp.out.
35565         ($(objpfx)order-cmp.out): New rule.
35566         [$(run-built-tests) = yes] (tests): Depend on
35567         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35568         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35569         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35570         $(objpfx)tst-array5-static-cmp.out.
35571         ($(objpfx)tst-array1.out): Remove rule.
35572         ($(objpfx)tst-array1-cmp.out): New rule.
35573         ($(objpfx)tst-array1-static.out): Remove rule.
35574         ($(objpfx)tst-array1-static-cmp.out): New rule.
35575         ($(objpfx)tst-array2.out): Remove rule.
35576         ($(objpfx)tst-array2-cmp.out): New rule.
35577         ($(objpfx)tst-array3.out): Remove rule.
35578         ($(objpfx)tst-array3-cmp.out): New rule.
35579         ($(objpfx)tst-array4.out): Remove rule.
35580         ($(objpfx)tst-array4-cmp.out): New rule.
35581         ($(objpfx)tst-array5.out): Remove rule.
35582         ($(objpfx)tst-array5-cmp.out): New rule.
35583         ($(objpfx)tst-array5-static.out): Remove rule.
35584         ($(objpfx)tst-array5-static-cmp.out): New rule.
35585         [$(run-built-tests) = yes] (tests): Depend on
35586         $(objpfx)order2-cmp.out.
35587         ($(objpfx)order2.out): Remove rule.
35588         ($(objpfx)order2-cmp.out): New rule.
35589         ($(objpfx)tst-initorder.out): Remove rule.
35590         [$(run-built-tests) = yes] (tests): Depend on
35591         $(objpfx)tst-initorder-cmp.out.
35592         ($(objpfx)tst-initorder-cmp.out): New rule.
35593         ($(objpfx)tst-initorder2.out): Remove rule.
35594         [$(run-built-tests) = yes] (tests): Depend on
35595         $(objpfx)tst-initorder2-cmp.out.
35596         ($(objpfx)tst-initorder2-cmp.out): New rule.
35597         [$(run-built-tests) = yes] (tests): Depend on
35598         $(objpfx)tst-unused-dep-cmp.out.
35599         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35600         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35601         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35602         on $(objpfx)tst-setvbuf1-cmp.out.
35603         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35604         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35605         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35606         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35607         ($(objpfx)tst-svc.out): Remove rule.
35608         ($(objpfx)tst-svc-cmp.out): New rule.
35610 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35612         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35613         * ctype/ctype.h [__USE_MISC]: Likewise.
35614         * dirent/dirent.h [__USE_MISC]: Likewise.
35615         * grp/grp.h [__USE_MISC]: Likewise.
35616         * io/fcntl.h [__USE_MISC]: Likewise.
35617         * io/sys/stat.h [__USE_MISC]: Likewise.
35618         * libio/stdio.h [__USE_MISC]: Likewise.
35619         * posix/unistd.h [__USE_MISC]: Likewise.
35620         * pwd/pwd.h [__USE_MISC]: Likewise.
35621         * stdlib.h [__USE_MISC]: Likewise.
35622         * string/bits/string2.h [__USE_MISC]: Likewise.
35623         * string/string.h [__USE_MISC]: Likewise.
35624         * time/time.h [__USE_MISC]: Likewise.
35626 2014-02-13  Andreas Schwab  <schwab@suse.de>
35628         [BZ #16574]
35629         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35630         second answer buffer if it was separately allocated.
35632 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35634         * sysdeps/mips/math-tests.h: Include <features.h>.
35635         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35636         (ROUNDING_TESTS_long_double): Do not define.
35637         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35638         (EXCEPTION_TESTS_long_double): Likewise.
35639         * sysdeps/mips/mips64/libm-test-ulps: Update.
35641         * include/features.h (__USE_BSD): Remove macro definitions.
35642         (__USE_SVID): Likewise.
35643         (_BSD_SOURCE): Likewise.
35644         (_SVID_SOURCE): Likewise.
35645         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35646         from definition of _DEFAULT_SOURCE.
35647         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35648         [_DEFAULT_SOURCE].
35649         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35650         * bits/mman.h [__USE_BSD]: Likewise.
35651         * bits/termios.h [__USE_BSD]: Likewise.
35652         * bits/waitstatus.h [__USE_BSD]: Likewise.
35653         * ctype/ctype.h [__USE_SVID]: Likewise.
35654         * dirent/dirent.h [__USE_BSD]: Likewise.
35655         * grp/grp.h [__USE_SVID]: Likewise.
35656         [__USE_BSD]: Likewise.
35657         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35658         * io/fcntl.h [__USE_BSD]: Likewise.
35659         * io/ftw.h [__USE_BSD]: Likewise.
35660         * io/sys/stat.h [__USE_BSD]: Likewise.
35661         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35662         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35663         * libio/stdio.h [__USE_SVID]: Likewise.
35664         [__USE_BSD]: Likewise.
35665         * math/math.h [__USE_SVID]: Likewise.
35666         [__USE_BSD]: Likewise.
35667         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35668         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35669         * misc/search.h [__USE_SVID]: Likewise.
35670         * misc/sys/mman.h [__USE_BSD]: Likewise.
35671         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35672         * misc/sys/uio.h [__USE_BSD]: Likewise.
35673         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35674         * posix/glob.h [__USE_BSD]: Likewise.
35675         * posix/regex.h [__USE_BSD]: Likewise.
35676         * posix/sys/types.h [__USE_BSD]: Likewise.
35677         [__USE_SVID]: Likewise.
35678         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35679         * posix/sys/wait.h [__USE_BSD]: Likewise.
35680         [__USE_SVID]: Likewise.
35681         * posix/unistd.h [__USE_BSD]: Likewise.
35682         [__USE_SVID]: Likewise.
35683         * pwd/pwd.h [__USE_SVID]: Likewise.
35684         * resolv/netdb.h [__USE_BSD]: Likewise.
35685         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35686         * signal/signal.h [__USE_BSD]: Likewise.
35687         [__USE_SVID]: Likewise.
35688         * socket/sys/socket.h [__USE_BSD]: Likewise.
35689         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35690         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35691         [__USE_SVID]: Likewise.
35692         * string/bits/string2.h [__USE_BSD]: Likewise.
35693         [__USE_SVID]: Likewise.
35694         * string/bits/string3.h [__USE_BSD]: Likewise.
35695         * string/endian.h [__USE_BSD]: Likewise.
35696         * string/string.h [__USE_SVID]: Likewise.
35697         [__USE_BSD]: Likewise.
35698         * string/strings.h [__USE_BSD]: Likewise.
35699         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35700         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35701         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35702         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35703         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35704         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35705         Likewise.
35706         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35707         Likewise.
35708         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35709         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35710         Likewise.
35711         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35712         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35713         Likewise.
35714         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35715         Likewise.
35716         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35717         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35718         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35719         Likewise.
35720         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35721         Likewise.
35722         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35723         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35724         * termios/termios.h [__USE_BSD]: Likewise.
35725         * time/sys/time.h [__USE_BSD]: Likewise.
35726         * time/time.h [__USE_BSD]: Likewise.
35727         [__USE_SVID]: Likewise.
35729         * Makefile (subdir_targets): Remove subdir_lint.out.
35731         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35732         (do-tst-printf): Likewise.
35733         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35734         $(objpfx)tst-printf.out.
35736         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35738         * Makerules (check-abi-%): Change target to
35739         $(objpfx)check-abi-%.out.
35740         (check-abi target): Update dependencies.
35741         (check-abi-pattern variable): Redirect output of diff to $@.
35742         (check-abi variable): Likewise.
35743         * elf/Makefile (check-abi): Update dependencies.
35745         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35746         unused.
35747         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35748         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35749         subnormal range.
35750         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35751         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35752         value has largest subnormal exponent.
35753         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35754         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35755         * sysdeps/aarch64/soft-fp/sfp-machine.h
35756         (_FP_TININESS_AFTER_ROUNDING): New macro.
35757         * sysdeps/alpha/soft-fp/sfp-machine.h
35758         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35759         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35760         Likewise.
35761         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35762         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35763         * sysdeps/mips/soft-fp/sfp-machine.h
35764         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35765         * sysdeps/powerpc/soft-fp/sfp-machine.h
35766         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35767         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35768         Likewise.
35769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35770         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35771         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35772         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35773         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35774         Likewise.
35776 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35778         [BZ #16545]
35779         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35780         model 1.
35782 2014-02-12  Richard Henderson  <rth@redhat.com>
35784         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35785         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35786         * sysdeps/unix/sysv/linux/alpha: Move directory from
35787         ports/sysdeps/unix/sysv/linux/alpha.
35788         * README: Update listing for alpha-*-linux-gnu.
35790 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35792         * include/features.h: Update comment documenting feature test
35793         macros.
35794         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35795         _DEFAULT_SOURCE.
35796         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35797         (_SVID_SOURCE): Likewise.
35798         (_DEFAULT_SOURCE): Update description of default features.
35799         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35800         with _GNU_SOURCE.
35801         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35802         (S_ISVTX): Likewise.
35803         * manual/math.texi (Mathematical Constants): Likewise.
35804         * manual/signal.texi (Interrupted Primitives): Likewise.
35805         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35806         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35807         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35808         Don't refer to _SVID_SOURCE in warning text.
35810         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35812         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35813         already defined.
35814         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35815         * sysdeps/mips/dl-lookup.c: Remove.
35816         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35818 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35820         [BZ #16447]
35821         * math/auto-libm-test-in: Add testcase for expl.
35822         * math/auto-libm-test-out: Regenerate.
35823         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35824         calculation of unsafe.
35825         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35827 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35829         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35830         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35831         ports/sysdeps/unix/sysv/linux/aarch64.
35832         * README: Update listing for aarch64*-*-linux-gnu.
35834 2014-02-11  Will Newton  <will.newton@linaro.org>
35836         * manual/probes.texi (Mathematical Function Probes): Use
35837         "triggered" instead of "hit".
35839         * manual/probes.texi (Internal Probes): Add documentation
35840         of setjmp, longjmp and longjmp_target probes.
35842         * include/stap-probe.h: Add comment about probe argument
35843         format.
35845         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35846         definition.  (tr_where, tr_freehook, tr_mallochook,
35847         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35849 2014-02-11  David S. Miller  <davem@davemloft.net>
35851         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35852         processing int_tests.
35854 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35856         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35857         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35858         * sysdeps/unix/sysv/linux/mips: Move directory from
35859         ports/sysdeps/unix/sysv/linux/mips.
35860         * README: Update listing for mips-*-linux-gnu and
35861         mips64-*-linux-gnu.
35863 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35865         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35866         * sysdeps/unix/sysv/linux/m68k: Move directory from
35867         ports/sysdeps/unix/sysv/linux/m68k.
35868         * README: Update listing for m68k-*-linux-gnu.
35870 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35872         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35873         * sysdeps/unix/sysv/linux/generic: Move directory from
35874         ports/sysdeps/unix/sysv/linux/generic.
35875         * sysdeps/unix/sysv/linux/tile: Move directory from
35876         ports/sysdeps/unix/sysv/linux/tile.
35877         * README: Update listing for tile*-*-linux-gnu.
35879 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35881         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35882         __builtin_expect.
35883         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35884         * catgets/open_catalog.c (__open_catalog): Likewise.
35885         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35886         * debug/confstr_chk.c: Likewise.
35887         * debug/fread_chk.c (__fread_chk): Likewise.
35888         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35889         * debug/getgroups_chk.c: Likewise.
35890         * debug/mbsnrtowcs_chk.c: Likewise.
35891         * debug/mbsrtowcs_chk.c: Likewise.
35892         * debug/mbstowcs_chk.c: Likewise.
35893         * debug/memcpy_chk.c: Likewise.
35894         * debug/memmove_chk.c: Likewise.
35895         * debug/mempcpy_chk.c: Likewise.
35896         * debug/memset_chk.c: Likewise.
35897         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35898         * debug/strcat_chk.c (__strcat_chk): Likewise.
35899         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35900         * debug/strncat_chk.c (__strncat_chk): Likewise.
35901         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35902         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35903         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35904         * debug/wcpncpy_chk.c: Likewise.
35905         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35906         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35907         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35908         * debug/wcsncpy_chk.c: Likewise.
35909         * debug/wcsnrtombs_chk.c: Likewise.
35910         * debug/wcsrtombs_chk.c: Likewise.
35911         * debug/wcstombs_chk.c: Likewise.
35912         * debug/wmemcpy_chk.c: Likewise.
35913         * debug/wmemmove_chk.c: Likewise.
35914         * debug/wmempcpy_chk.c: Likewise.
35915         * debug/wmemset_chk.c: Likewise.
35916         * dirent/scandirat.c (SCANDIRAT): Likewise.
35917         * dlfcn/dladdr1.c (dladdr1): Likewise.
35918         * dlfcn/dladdr.c (dladdr): Likewise.
35919         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35920         * dlfcn/dlerror.c (__dlerror): Likewise.
35921         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35922         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35923         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35924         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35925         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35926         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35927         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35928         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35929         Likewise.
35930         * elf/dl-conflict.c: Likewise.
35931         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35932         * elf/dl-dst.h: Likewise.
35933         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35934         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35935         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35936         * elf/dl-init.c (call_init, _dl_init): Likewise.
35937         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35938         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35939         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35940         Likewise.
35941         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35942         Likewise.
35943         * elf/dl-minimal.c (__libc_memalign): Likewise.
35944         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35945         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35946         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35947         * elf/dl-sym.c (do_sym): Likewise.
35948         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35949         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35950         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35951         * elf/dl-writev.h (_dl_writev): Likewise.
35952         * elf/ldconfig.c (search_dir): Likewise.
35953         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35954         (dl_main): Likewise.
35955         * elf/setup-vdso.h (setup_vdso): Likewise.
35956         * grp/compat-initgroups.c (compat_call): Likewise.
35957         * grp/fgetgrent.c (fgetgrent): Likewise.
35958         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35959         * grp/putgrent.c (putgrent): Likewise.
35960         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35961         Likewise.
35962         * hurd/hurdinit.c: Likewise.
35963         * iconvdata/8bit-gap.c (struct): Likewise.
35964         * iconvdata/ansi_x3.110.c : Likewise.
35965         * iconvdata/big5.c : Likewise.
35966         * iconvdata/big5hkscs.c : Likewise.
35967         * iconvdata/cp1255.c: Likewise.
35968         * iconvdata/cp1258.c : Likewise.
35969         * iconvdata/cp932.c : Likewise.
35970         * iconvdata/euc-cn.c: Likewise.
35971         * iconvdata/euc-jisx0213.c : Likewise.
35972         * iconvdata/euc-jp.c: Likewise.
35973         * iconvdata/euc-jp-ms.c : Likewise.
35974         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35975         * iconvdata/gb18030.c : Likewise.
35976         * iconvdata/gbbig5.c (const): Likewise.
35977         * iconvdata/gbgbk.c: Likewise.
35978         * iconvdata/gbk.c : Likewise.
35979         * iconvdata/ibm1364.c : Likewise.
35980         * iconvdata/ibm930.c : Likewise.
35981         * iconvdata/ibm932.c: Likewise.
35982         * iconvdata/ibm933.c : Likewise.
35983         * iconvdata/ibm935.c : Likewise.
35984         * iconvdata/ibm937.c : Likewise.
35985         * iconvdata/ibm939.c : Likewise.
35986         * iconvdata/ibm943.c: Likewise.
35987         * iconvdata/iso_11548-1.c: Likewise.
35988         * iconvdata/iso-2022-cn.c : Likewise.
35989         * iconvdata/iso-2022-cn-ext.c : Likewise.
35990         * iconvdata/iso-2022-jp-3.c: Likewise.
35991         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35992         * iconvdata/iso-2022-kr.c : Likewise.
35993         * iconvdata/iso646.c (gconv_end): Likewise.
35994         * iconvdata/iso_6937-2.c : Likewise.
35995         * iconvdata/iso_6937.c : Likewise.
35996         * iconvdata/iso8859-1.c: Likewise.
35997         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35998         * iconvdata/shift_jisx0213.c : Likewise.
35999         * iconvdata/sjis.c : Likewise.
36000         * iconvdata/t.61.c : Likewise.
36001         * iconvdata/tcvn5712-1.c : Likewise.
36002         * iconvdata/tscii.c: Likewise.
36003         * iconvdata/uhc.c : Likewise.
36004         * iconvdata/unicode.c (gconv_end): Likewise.
36005         * iconvdata/utf-16.c (gconv_end): Likewise.
36006         * iconvdata/utf-32.c (gconv_end): Likewise.
36007         * iconvdata/utf-7.c (base64): Likewise.
36008         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36009         * iconv/gconv_close.c (__gconv_close): Likewise.
36010         * iconv/gconv_open.c (__gconv_open): Likewise.
36011         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36012         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36013         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36014         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36015         (ucs4le_internal_loop_single): Likewise.
36016         * iconv/iconv.c (iconv): Likewise.
36017         * iconv/iconv_close.c: Likewise.
36018         * iconv/loop.c (SINGLE): Likewise.
36019         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36020         * include/atomic.h: Likewise.
36021         * inet/inet6_option.c (option_alloc): Likewise.
36022         * intl/bindtextdom.c (set_binding_values): Likewise.
36023         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36024         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36025         * intl/localealias.c (read_alias_file): Likewise.
36026         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36027         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36028         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36029         * libio/fmemopen.c (fmemopen): Likewise.
36030         * libio/iofgets.c (_IO_fgets): Likewise.
36031         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36032         * libio/iofgetws.c (fgetws): Likewise.
36033         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36034         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36035         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36036         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36037         * locale/findlocale.c (_nl_find_locale): Likewise.
36038         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36039         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36040         Likewise.
36041         * locale/setlocale.c (setlocale): Likewise.
36042         * login/programs/pt_chown.c (main): Likewise.
36043         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36044         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36045         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36046         (mmap, mmap64, mremap, munmap): Likewise.
36047         * math/e_exp2l.c: Likewise.
36048         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36049         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36050         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36051         * math/s_catan.c (__catan): Likewise.
36052         * math/s_catanf.c (__catanf): Likewise.
36053         * math/s_catanh.c (__catanh): Likewise.
36054         * math/s_catanhf.c (__catanhf): Likewise.
36055         * math/s_catanhl.c (__catanhl): Likewise.
36056         * math/s_catanl.c (__catanl): Likewise.
36057         * math/s_ccosh.c (__ccosh): Likewise.
36058         * math/s_ccoshf.c (__ccoshf): Likewise.
36059         * math/s_ccoshl.c (__ccoshl): Likewise.
36060         * math/s_cexp.c (__cexp): Likewise.
36061         * math/s_cexpf.c (__cexpf): Likewise.
36062         * math/s_cexpl.c (__cexpl): Likewise.
36063         * math/s_clog10.c (__clog10): Likewise.
36064         * math/s_clog10f.c (__clog10f): Likewise.
36065         * math/s_clog10l.c (__clog10l): Likewise.
36066         * math/s_clog.c (__clog): Likewise.
36067         * math/s_clogf.c (__clogf): Likewise.
36068         * math/s_clogl.c (__clogl): Likewise.
36069         * math/s_csin.c (__csin): Likewise.
36070         * math/s_csinf.c (__csinf): Likewise.
36071         * math/s_csinh.c (__csinh): Likewise.
36072         * math/s_csinhf.c (__csinhf): Likewise.
36073         * math/s_csinhl.c (__csinhl): Likewise.
36074         * math/s_csinl.c (__csinl): Likewise.
36075         * math/s_csqrt.c (__csqrt): Likewise.
36076         * math/s_csqrtf.c (__csqrtf): Likewise.
36077         * math/s_csqrtl.c (__csqrtl): Likewise.
36078         * math/s_ctan.c (__ctan): Likewise.
36079         * math/s_ctanf.c (__ctanf): Likewise.
36080         * math/s_ctanh.c (__ctanh): Likewise.
36081         * math/s_ctanhf.c (__ctanhf): Likewise.
36082         * math/s_ctanhl.c (__ctanhl): Likewise.
36083         * math/s_ctanl.c (__ctanl): Likewise.
36084         * math/w_pow.c: Likewise.
36085         * math/w_powf.c: Likewise.
36086         * math/w_powl.c: Likewise.
36087         * math/w_scalb.c (sysv_scalb): Likewise.
36088         * math/w_scalbf.c (sysv_scalbf): Likewise.
36089         * math/w_scalbl.c (sysv_scalbl): Likewise.
36090         * misc/error.c (error_tail): Likewise.
36091         * misc/pselect.c (__pselect): Likewise.
36092         * nis/nis_callback.c (__nis_create_callback): Likewise.
36093         * nis/nis_call.c (__nisfind_server): Likewise.
36094         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36095         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36096         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36097         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36098         * nis/nis_lookup.c (nis_lookup): Likewise.
36099         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36100         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36101         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36102         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36103         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36104         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36105         * nis/nss_compat/compat-initgroups.c (add_group)
36106         (internal_getgrent_r): Likewise.
36107         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36108         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36109         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36110         (internal_getspnam_r): Likewise.
36111         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36112         (_nss_nis_getaliasbyname_r): Likewise.
36113         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36114         (_nss_nis_getntohost_r): Likewise.
36115         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36116         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36117         (_nss_nis_getgrgid_r): Likewise.
36118         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36119         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36120         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36121         (_nss_nis_gethostbyname4_r): Likewise.
36122         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36123         (initgroups_netid): Likewise.
36124         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36125         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36126         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36127         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36128         (_nss_nis_getprotobynumber_r): Likewise.
36129         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36130         (_nss_nis_getsecretkey): Likewise.
36131         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36132         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36133         (_nss_nis_getpwuid_r): Likewise.
36134         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36135         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36136         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36137         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36138         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36139         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36140         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36141         Likewise.
36142         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36143         (_nss_nisplus_getntohost_r): Likewise.
36144         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36145         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36146         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36147         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36148         Likewise.
36149         * nis/nss_nisplus/nisplus-initgroups.c
36150         (_nss_nisplus_initgroups_dyn): Likewise.
36151         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36152         (_nss_nisplus_getnetbyaddr_r): Likewise.
36153         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36154         (_nss_nisplus_getprotobynumber_r): Likewise.
36155         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36156         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36157         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36158         Likewise.
36159         * nis/nss_nisplus/nisplus-service.c
36160         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36161         (_nss_nisplus_getservbyport_r): Likewise.
36162         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36163         (_nss_nisplus_getspnam_r): Likewise.
36164         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36165         Likewise.
36166         * nscd/aicache.c (addhstaiX): Likewise.
36167         * nscd/cache.c (cache_search, prune_cache): Likewise.
36168         * nscd/connections.c (register_traced_file, send_ro_fd)
36169         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36170         (main_loop_epoll): Likewise.
36171         * nscd/grpcache.c (addgrbyX): Likewise.
36172         * nscd/hstcache.c (addhstbyX): Likewise.
36173         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36174         * nscd/mem.c (gc, mempool_alloc): Likewise.
36175         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36176         (addinnetgrX): Likewise.
36177         * nscd/nscd-client.h (__nscd_acquire_maplock)
36178         (__nscd_drop_map_ref): Likewise.
36179         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36180         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36181         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36182         Likewise.
36183         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36184         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36185         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36186         (__nscd_get_map_ref): Likewise.
36187         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36188         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36189         Likewise.
36190         * nscd/pwdcache.c (addpwbyX): Likewise.
36191         * nscd/selinux.c (preserve_capabilities): Likewise.
36192         * nscd/servicescache.c (addservbyX): Likewise.
36193         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36194         * posix/fnmatch.c (fnmatch): Likewise.
36195         * posix/getopt.c (_getopt_internal_r): Likewise.
36196         * posix/glob.c (glob, glob_in_dir): Likewise.
36197         * posix/wordexp.c (exec_comm_child): Likewise.
36198         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36199         (getanswer_r, gaih_getanswer_slice): Likewise.
36200         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36201         * resolv/res_init.c: Likewise.
36202         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36203         * resolv/res_query.c (__libc_res_nquery): Likewise.
36204         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36205         Likewise.
36206         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36207         * stdio-common/perror.c (perror): Likewise.
36208         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36209         * stdio-common/tmpnam.c (tmpnam): Likewise.
36210         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36211         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36212         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36213         Likewise.
36214         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36215         * stdlib/putenv.c (putenv): Likewise.
36216         * stdlib/setenv.c (__add_to_environ): Likewise.
36217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36218         * stdlib/strtol_l.c (INTERNAL): Likewise.
36219         * string/memmem.c (memmem): Likewise.
36220         * string/strerror.c (strerror): Likewise.
36221         * string/strnlen.c (__strnlen): Likewise.
36222         * string/test-memmem.c (simple_memmem): Likewise.
36223         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36224         * sunrpc/pm_getport.c (__get_socket): Likewise.
36225         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36226         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36227         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36228         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36229         Likewise.
36230         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36231         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36232         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36233         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36234         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36235         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36236         Likewise.
36237         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36238         Likewise.
36239         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36240         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36241         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36242         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36243         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36245         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36246         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36247         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36248         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36249         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36250         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36251         Likewise.
36252         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36253         Likewise.
36254         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36255         Likewise.
36256         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36257         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36258         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36259         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36260         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36261         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36262         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36263         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36264         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36265         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36266         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36267         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36268         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36269         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36271         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36272         Likewise.
36273         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36274         Likewise.
36275         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36276         Likewise.
36277         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36278         Likewise.
36279         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36280         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36281         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36282         Likewise.
36283         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36284         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36285         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36286         * sysdeps/posix/sleep.c: Likewise.
36287         * sysdeps/posix/tempname.c: Likewise.
36288         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36289         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36290         Likewise.
36291         * sysdeps/powerpc/powerpc32/dl-machine.h
36292         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36293         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36294         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36295         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36296         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36297         Likewise.
36298         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36299         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36300         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36301         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36302         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36303         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36304         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36305         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36306         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36307         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36308         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36309         (elf_machine_lazy_rel): Likewise.
36310         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36311         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36312         (elf_machine_lazy_rel): Likewise.
36313         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36314         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36315         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36316         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36317         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36318         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36319         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36320         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36321         Likewise.
36322         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36323         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36324         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36325         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36326         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36327         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36328         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36329         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36330         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36331         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36332         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36333         Likewise.
36334         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36335         (__posix_fallocate64_l64): Likewise.
36336         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36337         (posix_fallocate): Likewise.
36338         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36339         Likewise.
36340         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36341         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36342         (getifaddrs_internal): Likewise.
36343         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36344         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36345         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36346         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36347         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36348         (__posix_fallocate64_l64): Likewise.
36349         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36350         Likewise.
36351         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36352         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36353         (__get_clockfreq): Likewise.
36354         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36355         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36356         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36359         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36360         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36361         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36362         Likewise.
36363         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36364         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36365         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36366         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36367         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36368         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36369         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36370         Likewise.
36371         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36372         (posix_fallocate): Likewise.
36373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36374         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36375         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36376         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36377         (elf_machine_rela, elf_machine_rela_relative)
36378         (elf_machine_lazy_rel): Likewise.
36379         * time/asctime.c (asctime_internal): Likewise.
36380         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36381         * time/tzset.c (__tzset_parse_tz): Likewise.
36382         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36383         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36384         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36385         * wcsmbs/wcsmbsload.h: Likewise.
36387         [BZ #15894]
36388         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36390         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36391         (arena_get2): Remove THREAD_STATS conditionals.
36392         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36393         (__malloc_stats, int): Likewise.
36395 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36397         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36398         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36400         * manual/setjmp.texi: Fix typos/grammar errors.
36402         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36403         Only return early when n is <= 0.  Delete unused return statement.
36405         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36406         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36407         * debug/tst-longjmp_chk3.c: New file.
36409         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36410         (test_main): Replace code with set_fortify_handler call.
36411         * debug/test-strcpy_chk.c: Likewise.
36412         * debug/tst-chk1.c: Likewise.
36413         * debug/tst-longjmp_chk.c: Likewise.
36414         * test-skeleton.c: Include fcntl.h & paths.h
36415         (set_fortify_handler): Define.
36417         * debug/tst-longjmp_chk.c: Add header comment and include
36418         ../test-skeleton.c.
36419         (do_test): Mark static.
36420         (TEST_FUNCTION): Define.
36422         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36423         (IP_PMTUDISC_INTERFACE): Likewise.
36424         (IP_MULTICAST_IF): Likewise.
36425         (IP_MULTICAST_TTL): Likewise.
36426         (IP_MULTICAST_LOOP): Likewise.
36427         (IP_ADD_MEMBERSHIP): Likewise.
36428         (IP_DROP_MEMBERSHIP): Likewise.
36429         (IP_UNBLOCK_SOURCE): Likewise.
36430         (IP_BLOCK_SOURCE): Likewise.
36431         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36432         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36433         (IP_MSFILTER): Likewise.
36434         (MCAST_JOIN_GROUP): Likewise.
36435         (MCAST_BLOCK_SOURCE): Likewise.
36436         (MCAST_UNBLOCK_SOURCE): Likewise.
36437         (MCAST_LEAVE_GROUP): Likewise.
36438         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36439         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36440         (MCAST_MSFILTER): Likewise.
36441         (IP_MULTICAST_ALL): Likewise.
36442         (IP_UNICAST_IF): Likewise.
36444         * timezone/Makefile: Delete $(have-ksh) check.
36445         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36446         * timezone/tzselect.ksh: Add +x mode bits.
36448         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36449         (ANON_INODE_FS_MAGIC): Likewise.
36450         (BDEVFS_MAGIC): Likewise.
36451         (BINFMTFS_MAGIC): Likewise.
36452         (BTRFS_TEST_MAGIC): Likewise.
36453         (CRAMFS_MAGIC_WEND): Likewise.
36454         (DEBUGFS_MAGIC): Likewise.
36455         (ECRYPTFS_SUPER_MAGIC): Likewise.
36456         (EXT3_SUPER_MAGIC): Likewise.
36457         (EXT4_SUPER_MAGIC): Likewise.
36458         (FUTEXFS_SUPER_MAGIC): Likewise.
36459         (HOSTFS_SUPER_MAGIC): Likewise.
36460         (HUGETLBFS_MAGIC): Likewise.
36461         (MINIX3_SUPER_MAGIC): Likewise.
36462         (MTD_INODE_FS_MAGIC): Likewise.
36463         (NILFS_SUPER_MAGIC): Likewise.
36464         (OPENPROM_SUPER_MAGIC): Likewise.
36465         (PIPEFS_MAGIC): Likewise.
36466         (PSTOREFS_MAGIC): Likewise.
36467         (QNX6_SUPER_MAGIC): Likewise.
36468         (RAMFS_MAGIC): Likewise.
36469         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36470         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36471         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36472         (SECURITYFS_MAGIC): Likewise.
36473         (SELINUX_MAGIC): Likewise.
36474         (SMACK_MAGIC): Likewise.
36475         (SOCKFS_MAGIC): Likewise.
36476         (SQUASHFS_MAGIC): Likewise.
36477         (STACK_END_MAGIC): Likewise.
36478         (TMPFS_MAGIC): Likewise.
36479         (USBDEVICE_SUPER_MAGIC): Likewise.
36480         (V9FS_MAGIC): Likewise.
36481         (XENFS_SUPER_MAGIC): Likewise.
36482         (CRAMFS_MAGIC): Fix typo in comment.
36483         (EXT2_SUPER_MAGIC): Update comment.
36484         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36486 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36488         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36489         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36490         * sysdeps/unix/sysv/linux/arm: Move directory from
36491         ports/sysdeps/unix/sysv/linux/arm.
36492         * README: Update listing for arm-*-linux-gnueabi.
36494         * README: Remove mention of am33.
36496 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36498         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36499         than the comma operator, to avoid "rhs of comma has no effect"
36500         compiler warnings.
36501         (__sigfillset, __sigandset, __sigorset): Likewise.
36502         * include/signal.h (__sigemptyset): Likewise.
36503         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36505 2014-02-07  Allan McRae  <allan@archlinux.org>
36507         * version.h (RELEASE): Set to "development".
36508         (VERSION): Set to "2.19.90"
36509         * NEWS: Add 2.20 section.
36511 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36513         [BZ #16529]
36514         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36516 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36518         * manual/contrib.texi: Update entry for Carlos O'Donell,
36519         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36521 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36523         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36525         * sysdeps/unix/sysv/linux/kernel-features.h
36526         [__LINUX_KERNEL_VERSION >= 0x020621]
36527         (__ASSUME_PROC_PID_TASK_COMM): Define.
36529 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36531         [BZ #16398]
36532         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36533         conversion when destination buffer does not have enough space.
36534         * libio/tst-ftell-partial-wide.c: New test case.
36535         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36537         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36538         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36539         Leonard and Allan McRae.
36541 2014-02-04  David S. Miller  <davem@davemloft.net>
36543         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36544         32-bit.
36546 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36549         New file
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36551         New file
36552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36553         New file.
36554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36555         New file.
36556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36557         New file.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36559         New file.
36560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36561         New file.
36562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36563         New file.
36564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36565         New file.
36566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36567         New file.
36568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36569         New file.
36570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36571         New file.
36572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36573         New file.
36575 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36577         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36578         * shlib-versions: Likewise.
36580 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36581             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36583         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36584         (abilist-pattern): New variable, set to %-le.abilist.
36586         * Makerules (abilist-pattern): New variable.
36587         (vpath): Use $(abilist-pattern) in place of %.abilist.
36588         (check-abi-% pattern rule): Likewise.
36589         (check-abi, update-abi): Likewise.
36591 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36593         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36595 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36597         * manual/startup.texi: Add next, previous, and top entries for
36598         the `Program Arguments' and `Environment Variables' nodes.
36600 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36602         * manual/macros.texi: Add comments before MTASC-safety macros.
36604         * manual/users.texi: Document MTASC-safety properties.
36606         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36607         (pthread_getspecific, pthread_setspecific): Format with
36608         @deftypefun, and add @safety note.
36609         * manual/signal.texi: Move comments that analyze the above
36610         functions to their home place.
36612 2014-02-03  Allan McRae  <allan@archlinux.org>
36614         * po/sl.po: Update Slovenian translation from translation project.
36616 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36618         * manual/time.texi (timegm): Add missing blank after @c.
36619         Reported by Joseph Myers <joseph@codesourcery.com>.
36621 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36623         * manual/check-safety.sh: New.
36624         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36626         * manual/terminal.texi: Document MTASC-safety properties.
36628         * manual/filesys.texi: Document MTASC-safety properties.
36630         * manual/errno.texi: Document MTASC-safety properties.
36632         * manual/intro.texi: Document safety identifiers and
36633         conditionals.
36635         * manual/string.texi (wcstok): Fix prototype.
36636         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36638         * manual/time.texi: Document MTASC-safety properties.
36640         * manual/string.texi: Document MTASC-safety properties.
36642         * manual/threads.texi: Document MTASC-safety properties.
36644         * manual/stdio.texi: Document MTASC-safety properties.
36646         * manual/syslog.texi: Document MTASC-safety properties.
36648         * manual/sysinfo.texi: Document MTASC-safety properties.
36650         * manual/startup.texi: Document MTASC-safety properties.
36652         * manual/socket.texi: Document MTASC-safety properties.
36654         * manual/signal.texi: Document MTASC-safety properties.
36656 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36658         * manual/setjmp.texi: Document MTASC-safety properties.
36660         * manual/search.texi: Document MTASC-safety properties.
36662         * manual/resource.texi: Document MTASC-safety properties.
36664         * manual/process.texi: Document MTASC-safety properties.
36666         * manual/platform.texi: Document MTASC-safety properties.
36668         * manual/pipe.texi: Document MTASC-safety properties.
36670         * manual/pattern.texi: Document MTASC-safety properties.
36672         * manual/message.texi: Document MTASC-safety properties.
36674         [BZ #12751]
36675         * manual/memory.texi: Document MTASC-safety properties.
36677         * manual/math.texi: Document MTASC-safety properties.
36679         * manual/locale.texi: Document MTASC-safety properties.
36681         * manual/llio.texi: Document MTASC-safety properties.
36683         * manual/libdl.texi: New.
36685         * manual/lang.texi: Document MTASC-safety properties.
36687         * manual/job.texi: Document MTASC-safety properties.
36689         * manual/getopt.texi: Document MTASC-safety properties.
36691         * manual/ctype.texi: Document MTASC-safety properties.
36693 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36695         [BZ #16046]
36696         * csu/libc-tls.c (static_map): Remove variable.
36697         (__libc_setup_tls): Use main executable's link map for TLS data.
36698         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36699         casing for LM_ID_BASE and GL(dl_nns).
36700         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36701         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36702         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36703         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36704         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36705         member.
36706         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36707         l_phnum members.
36709 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36711         * manual/debug.texi: Document MTASC-safety properties.
36713 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36715         [BZ #16510]
36716         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36717         of __x86_64__ when disabling x87 inline functions.
36719 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36721         * manual/charset.texi: Document MTASC-safety properties.
36723         * manual/crypt.texi: Document MTASC-safety properties.
36725         * manual/conf.texi: Document MTASC-safety properties.
36727         * manual/arith.texi: Document MTASC-safety properties.
36729         * manual/argp.texi: Document MTASC-safety properties.
36731         * manual/macros.texi: Introduce macros to document multi
36732         thread, asynchronous signal and asynchronous cancellation
36733         safety properties.
36734         * manual/intro.texi: Introduce the properties themselves.
36736 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36738         * sysdeps/sh/sh4/Makefile: New file.
36740 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36742         * math/gen-libm-test.pl ($srcdir): New variable.
36743         ($auto_input): Use it.
36745 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36747         [BZ #16506]
36748         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36749         access beyond array bounds when parsing netgroups file.
36751         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36752         the old buffer before realloc.
36754 2014-01-27  Allan McRae  <allan@archlinux.org>
36756         * po/fr.po: Update French translation from translation project.
36758 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36760         * sysdeps/sh/libm-test-ulps: Regenerate.
36762 2014-01-24  David S. Miller  <davem@davemloft.net>
36764         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36766 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36768         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36769         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36771 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36773         [BZ #16474]
36774         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36775         string pointers after reallocation.
36777 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36779         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36780         __SH4A__ instead of __SH_FPU_ANY__.
36782 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36784         * sysdeps/sh/fpu_control.h: New file.
36785         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36786         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36787         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36788         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36789         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36790         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36791         * sysdeps/sh/sys/ucontext.h: Remove.
36792         * sysdeps/sh/sys: Remove directory.
36794 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36796         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36797         s390/sys/ucontext.h.
36798         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36799         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36801 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36803         [BZ #15605]
36804         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36806 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36808         [BZ#16431]
36809         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36810         Adjust the vDSO correctly for internal calls.
36811         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36813 2014-01-20  Allan McRae  <allan@archlinux.org>
36815         * po/ca.po: Update Catalan translation from translation project.
36817 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36819         * sysdeps/s390/sotruss-lib.c: New file.
36821 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36823         [BZ#16430]
36824         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36825         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36826         local calls issues by not having a PLT stub required for IFUNC calls.
36827         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36829 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36831         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36832         * math/test-fpucw-static.c: Likewise.
36834 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36836         [BZ #16453]
36837         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36839 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36841         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36842         implementation for powerpc.
36844 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36846         [BZ #14782]
36847         * sysdeps/posix/system.c (__libc_system): Do not enable
36848         asynchronous cancellation.
36850 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36852         [BZ #16427]
36853         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36854         handling only for numbers special also in the IEEE case.
36856 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36858         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36860 2014-01-11  Allan McRae  <allan@archlinux.org>
36862         * po/bg.po: Update Bulgarian translation from translation project.
36864         * po/de.po: Update German translation from translation project.
36866 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36868         * sysdeps/generic/gcc-compat.h: New file.
36870 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36872         * benchtests/asin-inputs: Correct slow inputs.
36873         * benchtests/acos-inputs: Likewise.
36875 2014-01-10  Allan McRae  <allan@archlinux.org>
36877         * po:sv.po: Update Swedish translation from translation project.
36879         * po/vi.po: Update Vietnamese translation from translation project.
36881         * po/eo.po: Update Esperanto translation from translation project.
36883         * po/cs.po: Update Czech translation from translation project.
36885         * po/nl.po: Update Dutch translation from translation project.
36887         * po/pl.po: Update Polish translation from translation project.
36889         * po/ru.po: Update Russian translation from translation project.
36891         * po/uk.po: Update Ukrainian translation from translation project.
36893 2014-01-08  Brooks Moses  <bmoses@google.com>
36895         * elf/dl-load.c: Fix comment typo.
36897 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36899         * po/header.pot: Rename to...
36900         * po/pot.header: ... this.
36901         * po/Makefile: Use pot.header.
36903 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36904             Maxim Kuvyrkov  <maxim@kugelworks.com>
36906         [BZ #16394]
36907         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36908         SRC and DEST against LEN.
36910 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36912         [BZ #16414]
36913         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36914         implementation.
36915         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36917 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36921 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36923         [BZ #16408]
36924         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36925         for large positive arguments.
36927 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36929         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36931         * math/auto-libm-test-in: Mark various tests with
36932         xfail-rounding:ldbl-128ibm.
36933         * math/auto-libm-test-out: Regenerated.
36935         [BZ #16407]
36936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36937         Increase overflow threshold.
36939 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36941         [BZ #14286]
36942         * stdio-common/vfprintf.c: Check for integer overflow.
36944 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36946         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36947         the first argument and return value of __tls_get_addr_internal.
36949 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36951         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36952         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36954 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36956         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36957         * sysdeps/s390/rtld-global-offsets.sym: New file.
36958         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36959         GLIBC_2.19 symbol.
36960         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36961         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36962         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36963         ... this.
36964         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36965         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36966         ... this.
36967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36968         Regenerate.
36969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36970         Regenerate.
36971         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36972         halfs of GPRs for high_gprs contexts.
36973         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36974         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36975         field.
36976         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36977         uc_flags field.
36978         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36979         64 bit versions:
36980         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36981         for high GPRs (uc_high_gprs) and for future extensions
36982         (__reserved).
36983         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36984         for future extensions (__reserved).
36985         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36986         64 bit versions:
36987         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36988         SC_HIGHGPRS offset definition.
36989         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36990         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36992         * Versions.def: Add GLIBC_2.19 for libpthread.
36993         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36994         siglongjmp for libpthread with GLIBC_2.19 symver.
36995         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36996         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36997         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36998         * sysdeps/s390/__longjmp.c: New file.
36999         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37000         * sysdeps/s390/longjmp.c: New file.
37001         * sysdeps/s390/setjmp.S: New file.
37002         * sysdeps/s390/sigjmp.S: New file.
37003         * sysdeps/s390/v1-longjmp.c: New file.
37004         * sysdeps/s390/v1-setjmp.h: New file.
37005         * sysdeps/s390/v1-sigjmp.c: New file.
37006         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37007         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37008         GLIBC_2.19 version.
37009         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37010         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37011         versioned symbols for ____longjmp_chk.
37012         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37013         Likewise.
37014         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37015         Regenerate.
37016         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37017         Regenerate.
37018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37019         Regenerate.
37020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37021         Regenerate.
37022         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37023         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37024         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37025         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37026         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37027         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37028         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37029         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37030         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37031         * sysdeps/s390/rtld-__longjmp.c: New file.
37032         * sysdeps/s390/rtld-setjmp.S: New file.
37034 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37036         [BZ #16400]
37037         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37038         Return -__logl (x) for small positive arguments without evaluating
37039         a polynomial.
37041 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37043         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37044         Rename to ...
37045         (__ptrace_peeksiginfo_args): ... this.
37046         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37047         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37048         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37050 2014-01-06  Allan McRae  <allan@archlinux.org>
37052         * inet/netinet/in.h: Fix typo in comment.
37054 2014-01-05  Andreas Jaeger  <aj@suse.de>
37056         * sysdeps/i386/fpu/libm-test-ulps: Update.
37058 2014-01-05  Allan McRae  <allan@archlinux.org>
37060         * po/libc.pot: Regenerated.
37062         * malloc/memusagestat.c: Fix gettext call formatting.
37064 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37066         * nscd/nscd.c: Improve usage() output.
37068 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37070         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37071         * sysdeps/unix/sysv/linux/configure: Regenerated.
37072         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37073         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37075 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37077         [BZ #16390]
37078         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37079         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37081 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37083         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37084         extra tokens at end of #undef directive.
37085         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37086         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37087         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37089 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37091         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37093         * math/auto-libm-test-in: Mark various tests with
37094         xfail-rounding:ldbl-128ibm.
37095         * math/auto-libm-test-out: Regenerated.
37097 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37099         [BZ #16386]
37100         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37101         numbers with subnormal high part when calculating exponent.
37103         [BZ #16385]
37104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37105         fabs.
37107         [BZ #16384]
37108         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37109         M_LN2l.
37110         (__ieee754_acoshl): Use __log1pl not __log1p.
37112 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37114         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37115         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37116         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37117         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37118         (reused_arena, arena_get2): Convert to GNU style.
37119         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37120         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37121         (memalign_check, __malloc_set_state): Likewise.
37122         * malloc/mallocbug.c (main): Likewise.
37123         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37124         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37125         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37126         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37127         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37128         (__posix_memalign, malloc_info): Likewise.
37129         * malloc/malloc.h: Likewise.
37130         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37131         (mallochook, memalignhook, reallochook, mabort): Likewise.
37132         * malloc/mcheck.h: Likewise.
37133         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37134         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37135         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37136         * malloc/morecore.c (__default_morecore): Likewise.
37137         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37138         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37139         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37140         (print_and_abort): Likewise.
37141         * malloc/obstack.h: Likewise.
37142         * malloc/set-freeres.c (__libc_freeres): Likewise.
37143         * malloc/tst-mallocstate.c (main): Likewise.
37144         * malloc/tst-mtrace.c (main): Likewise.
37145         * malloc/tst-realloc.c (do_test): Likewise.
37147 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37149         [BZ #16366]
37150         * nscd/netgroupcache.c (do_notfound): New function.
37151         (addgetnetgrentX): Use it.
37153         [BZ # 16365]
37154         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37155         NSS_STATUS_NOTFOUND.
37157 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37159         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37162 2014-01-01  Allan McRae  <allan@archlinux.org>
37164         * scripts/update-copyrights: Update configure input file suffix.
37166         * NEWS: Update copyright year.
37167         * catgets/gencat.c: Likewise.
37168         * csu/version.c: Likewise.
37169         * debug/catchsegv.sh: Likewise.
37170         * debug/pcprofiledump.c: Likewise.
37171         * debug/xtrace.sh: Likewise.
37172         * elf/ldconfig.c: Likewise.
37173         * elf/ldd.bash.in: Likewise.
37174         * elf/pldd.c: Likewise.
37175         * elf/sotruss.ksh: Likewise.
37176         * elf/sprof.c: Likewise.
37177         * iconv/iconv_prog.c: Likewise.
37178         * iconv/iconvconfig.c: Likewise.
37179         * locale/programs/locale.c: Likewise.
37180         * locale/programs/localedef.c: Likewise.
37181         * login/programs/pt_chown.c: Likewise.
37182         * malloc/memusage.sh: Likewise.
37183         * malloc/memusagestat.c: Likewise.
37184         * malloc/mtrace.pl: Likewise.
37185         * manual/libc.texinfo: Likewise.
37186         * nscd/nscd.c: Likewise.
37187         * nss/getent.c: Likewise.
37188         * nss/makedb.c: Likewise.
37189         * posix/getconf.c: Likewise.
37190         * scripts/test-installation.pl: Likewise.
37192         * All files with FSF copyright notices: Update copyright dates
37193         using scripts/update-copyrights.
37194         * intl/plural.c: Regenerated.
37195         * locale/programs/charmap-kw.h: Likewise.
37196         * locale/programs/locfile-kw.h: Likewise.
37198 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37200         * sysdeps/unix/sysv/linux/configure: Regenerated.
37201         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37202         the linux/fanotify.h header.
37203         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37204         HAVE_LINUX_FANOTIFY_H is defined.
37206 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37208         * benchtests/cos-inputs: New inputs.
37209         * benchtests/sin-inputs: Likewise.
37211         * benchtests/atan-inputs: New inputs. Fix name of multiple
37212         precision fallback inputs.
37214         * benchtests/atanh-inputs: New inputs.
37215         * benchtests/tanh-inputs: Likewise.
37217         * benchtests/acosh-inputs: New inputs.
37218         * benchtests/asinh-inputs: Likewise.
37220         * benchtests/cosh-inputs: New inputs.
37221         * benchtests/sinh-inputs: Likewise.
37223         * benchtests/acos-inputs: Add more inputs.
37224         * benchtests/asin-inputs: Likewise.
37226 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37228         [BZ #16375]
37229         * manual/arith.texi: Fix spelling.
37230         * manual/charset.texi: Likewise.
37231         * manual/errno.texi: Likewise.
37232         * manual/filesys.texi: Likewise.
37233         * manual/lang.texi: Likewise.
37234         * manual/llio.texi: Likewise.
37235         * manual/locale.texi: Likewise.
37236         * manual/message.texi: Likewise.
37237         * manual/resource.texi: Likewise.
37238         * manual/search.texi: Likewise.
37239         * manual/setjmp.texi: Likewise.
37240         * manual/stdio.texi: Likewise.
37241         * manual/string.texi: Likewise.
37242         * manual/sysinfo.texi: Likewise.
37243         * manual/time.texi: Likewise.
37245 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37247         * po/sl.po: New file.
37249 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37251         * .gitignore: Add core/.gdbinit/.gdb_history.
37253 2013-12-27  Allan McRae  <allan@archlinux.org>
37255         [BZ #16369]
37256         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37257         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37259 2013-12-24  Brooks Moses  <bmoses@google.com>
37261         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37262         all compilers that claim C++98 compliance, not just GCC.
37263         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37264         Likewise.
37266 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37268         * NEWS: Restore accidentally deleted bug-fix entries.
37270 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37271             Ondřej Bílka  <neleai@seznam.cz>
37273         [BZ #15073]
37274         * malloc/malloc.c (_int_free): Perform sanity check only if we
37275         have_lock.
37277 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37279         [BZ #12986]
37280         * manual/stdio.texi (String Input Conversions): Clarify that character
37281         classes are not supported.
37283 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37287 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37289         [BZ #16337]
37290         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37291         Calculate results for small negative arguments directly rather
37292         than using reflection formula with special underflow handling.
37294         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37295         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37296         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37297         (fchflags): Likewise.
37298         (revoke): Likewise.
37299         (setlogin): Likewise.
37300         (sigaltstack): Likewise.
37301         (wait4): Likewise.
37302         (sigblock): Remove.
37303         (sigsetmask): Likewise.
37304         (wait3): Likewise.
37305         (waitpid): Likewise.
37306         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37307         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37308         file.
37309         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37310         * sysdeps/unix/bsd/Makefile: ... here.
37311         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37312         * sysdeps/unix/bsd/Versions: ... here.
37313         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37314         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37315         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37316         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37317         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37318         * sysdeps/unix/bsd/sigblock.c: ... here.
37319         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37320         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37321         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37322         * sysdeps/unix/bsd/sigvec.c: ... here.
37323         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37324         * sysdeps/unix/bsd/tcdrain.c: ... here.
37325         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37326         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37327         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37328         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37329         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37330         * sysdeps/unix/bsd/wait.c: ... here.
37331         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37332         * sysdeps/unix/bsd/wait3.c: ... here.
37333         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37334         * sysdeps/unix/bsd/waitpid.c: ... here.
37336 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37338         [BZ #16356]
37339         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37340         round-to-nearest for [!USE_AS_EXPM1L].
37341         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37342         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37343         more tests of exp and exp10.  Expect some exp10 tests to miss
37344         exceptions or fail in directed rounding modes.
37345         * math/auto-libm-test-out: Regenerated.
37346         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37347         (exp10_test_tonearest): New function.
37348         (exp10_towardzero_test_data): New array.
37349         (exp10_test_towardzero): New function.
37350         (exp10_downward_test_data): New array.
37351         (exp10_test_downward): New function.
37352         (exp10_upward_test_data): New array.
37353         (exp10_test_upward): New function.
37354         (main): Call the new functions.
37355         * sysdeps/i386/fpu/libm-test-ulps: Update.
37356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37358 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37360         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37361         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37362         * math/auto-libm-test-out: Regenerated.
37363         * math/libm-test.inc (acosh_test_data): Add more tests.
37364         (atanh_test_data): Likewise.
37365         (ceil_test_data): Likewise.
37366         (copysign_test_data): Likewise.
37367         * sysdeps/i386/fpu/libm-test-ulps: Update.
37368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37370         * timezone/checktab.awk: Update from tzcode 2013i.
37371         * timezone/private.h: Likewise.
37372         * timezone/scheck.c: Likewise.
37373         * timezone/tzfile.h: Likewise.
37374         * timezone/tzselect.ksh: Likewise.
37375         * timezone/zdump.c: Likewise.
37376         * timezone/zic.c: Likewise.
37378         * math/auto-libm-test-in: Add tests of cpow.
37379         * math/auto-libm-test-out: Regenerated.
37380         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37381         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37382         mpc_cc_c.
37383         (func_calc_desc): Add mpc_cc_c union field.
37384         (test_functions): Add cpow.
37385         (special_fill_2pi): New function.
37386         (special_real_inputs): Add 2pi.
37387         (calc_generic_results): Handle mpc_cc_c.
37388         * sysdeps/i386/fpu/libm-test-ulps: Update.
37389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37391         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37392         csqrt, ctan and ctanh.
37393         * math/auto-libm-test-out: Regenerated.
37394         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37395         (TEST_COND_x86): Likewise.
37396         (ccos_test_data): Use AUTO_TESTS_c_c.
37397         (ccosh_test_data): Likewise.
37398         (cexp_test_data): Likewise.
37399         (clog_test_data): Likewise.
37400         (csqrt_test_data): Likewise.
37401         (ctan_test_data): Likewise.
37402         (ctan_tonearest_test_data): Likewise.
37403         (ctan_towardzero_test_data): Likewise.
37404         (ctan_downward_test_data): Likewise.
37405         (ctan_upward_test_data): Likewise.
37406         (ctanh_test_data): Likewise.
37407         (ctanh_tonearest_test_data): Likewise.
37408         (ctanh_towardzero_test_data): Likewise.
37409         (ctanh_downward_test_data): Likewise.
37410         (ctanh_upward_test_data): Likewise.
37411         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37412         mpc_c_c.
37413         (func_calc_desc): Add mpc_c_c union field.
37414         (FUNC_mpc_c_c): New macro.
37415         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37416         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37417         ctanh.
37418         (special_fill_min_subnorm_p120): New function.
37419         (special_real_inputs): Add min_subnorm_p120.
37420         (calc_generic_results): Handle mpc_c_c.
37421         * sysdeps/i386/fpu/libm-test-ulps: Update.
37422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37424 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37426         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37427         (do_sin_slow): New functions.
37428         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37429         (cslow2, csloww1, csloww2): Use the new functions.
37431         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37432         Use M to change sign of result instead of X.  Assume X is
37433         positive.
37434         (csloww1): Likewise.
37435         (__sin): Adjust.
37436         (__cos): Adjust.
37438         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37439         arguments A and DA.
37440         (__sin): Adjust.
37441         (__cos): Likewise.
37443         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37444         (__cos): Likewise.
37445         (sloww1): Don't adjust sign of DX.
37446         (csloww1): Likewise.
37447         (sloww2): Use X directly and don't adjust sign of DX.
37448         (csloww2): Likewise.
37450 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37452         * math/auto-libm-test-in: Add tests of cabs and carg.
37453         * math/auto-libm-test-out: Regenerated.
37454         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37455         (carg_test_data): Likewise.
37456         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37457         mpc_c_f.
37458         (func_calc_desc): Add mpc_c_f union field.
37459         (test_functions): Add cabs and carg.
37460         (calc_generic_results): Handle mpc_c_f.
37462         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37463         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37464         as a macro and a compat symbol.
37465         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37466         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37467         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37468         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37469         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37470         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37471         not use .hidden.
37472         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37473         Likewise.
37474         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37475         Likewise.
37476         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37477         Likewise.
37478         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37479         Likewise.
37480         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37481         Likewise.
37482         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37483         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37484         from GLIBC_2.3.2.
37486 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37490 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37492         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37493         trailing whitespace removed.
37494         * scripts/config.guess: Update to version 2013-11-29.
37495         * scripts/config.sub: Update to version 2013-10-01.
37497         * math/auto-libm-test-in: Add tests of sincos.
37498         * math/auto-libm-test-out: Regenerated.
37499         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37500         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37501         mpfr_f_11.
37502         (func_calc_desc): Add mpfr_f_11 union field.
37503         (test_functions): Add sincos.
37504         (calc_generic_results): Handle mpfr_f_11.
37505         * sysdeps/i386/fpu/libm-test-ulps: Update.
37506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37508 2013-12-19  Andreas Schwab  <schwab@suse.de>
37510         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37511         CALL_MCOUNT.
37512         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37513         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37514         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37516 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37518         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37519         * sysdeps/i386/fpu/libm-test-ulps: Update.
37520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37522         [BZ #16293]
37523         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37524         round-to-nearest mode when using frndint.
37525         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37526         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37527         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37528         Likewise.
37529         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37530         sinh test to fail.
37531         * math/auto-libm-test-out: Regenerated.
37532         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37533         (TEST_COND_x86): Likewise.
37534         (expm1_tonearest_test_data): New array.
37535         (expm1_test_tonearest): New function.
37536         (expm1_towardzero_test_data): New array.
37537         (expm1_test_towardzero): New function.
37538         (expm1_downward_test_data): New array.
37539         (expm1_test_downward): New function.
37540         (expm1_upward_test_data): New array.
37541         (expm1_test_upward): New function.
37542         (main): Run the new test functions.
37543         * sysdeps/i386/fpu/libm-test-ulps: Update.
37544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37546         * include/features.h: Update comment documenting feature test
37547         macros.  Mention _DEFAULT_SOURCE in comment.
37548         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37549         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37550         _BSD_SOURCE and _SVID_SOURCE.
37551         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37552         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37553         !_SVID_SOURCE]: Likewise.
37554         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37555         (__USE_POSIX_IMPLICITLY): Define.
37556         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37557         (_POSIX_SOURCE): Undefine and redefine.
37558         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37559         (_POSIX_C_SOURCE): Likewise.
37560         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37561         (Feature Test Macros): Update documentation of default features.
37563 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37565         * benchtests/Makefile: Add bench-strtok.
37566         * benchtests/bench-strtok.c: New file: strtok benchtest.
37568 2013-12-19  Allan McRae  <allan@archlinux.org>
37570         * manual/install.texi: Suppress menu for plain text output.
37571         * INSTALL: Regenerated.
37573 2013-12-18  Brooks Moses  <bmoses@google.com>
37575         [BZ #15846]
37576         * misc/getauxval.c: Include errno.h.
37577         (__getauxval): Set errno to ENOENT if the requested type is not
37578         found.
37579         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37580         don't declare with __attribute_const__.
37581         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37582         * manual/startup.texi: Document that getauxval sets errno.
37584 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37586         * math/auto-libm-test-in: Add tests of jn and yn.
37587         * math/auto-libm-test-out: Regenerated.
37588         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37589         (yn_test_data): Likewise.
37590         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37591         mpfr_if_f.
37592         (func_calc_desc): Add mpfr_if_f union field.
37593         (FUNC_mpfr_if_f): New macro.
37594         (test_functions): Add jn and yn.
37595         (calc_generic_results): Assert type of second input for
37596         mpfr_ff_f.  Handle mpfr_if_f.
37597         (output_for_one_input_case): Disable all checking for arguments
37598         fitting floating-point types in case of an integer argument.
37599         * sysdeps/i386/fpu/libm-test-ulps: Update.
37600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37603         Don't expect fegetround reference in libm.so.
37605 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37607         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37608         $(config-cflags-nofma).
37610 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37612         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37613         * math/auto-libm-test-out: Regenerated.
37615         [BZ #16338]
37616         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37617         to determine exponent and adjust argument to have exponent of -1.
37618         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37619         log2.
37620         * math/auto-libm-test-out: Regenerated.
37621         * sysdeps/i386/fpu/libm-test-ulps: Update.
37622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37624 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37626         * manual/probes.texi: Remove cases when per-thread arenas are
37627         disabled.
37629 2013-12-18  Andreas Schwab  <schwab@suse.de>
37631         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37632         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37633         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37634         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37635         * sysdeps/i386/i686/multiarch/Makefile: Update.
37636         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37638 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37640         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37641         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37643 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37645         [BZ #15968]
37646         Support TZ transition times < 00:00:00.
37647         This is needed for version-3 tz-format files; it supports time
37648         stamps past 2037 for America/Godthab (the only entry in the tz
37649         database for which this change is relevant).
37650         * manual/time.texi (TZ Variable): Document transition times
37651         from -167:59:59 through -00:00:01.
37652         * time/tzset.c (tz_rule): Time of day is now signed.
37653         (__tzset_parse_tz): Parse negative time of day.
37655         Document TZ transition times >= 25:00:00.
37656         * manual/time.texi (TZ Variable): Document transition times from
37657         25:00:00 through 167:59:59.  These are already supported, and this
37658         support will help with version-3 tz-format files.
37660         * manual/time.texi (TZ Variable): Modernize North America example
37661         to reflect current (i.e., 2007-and-later) daylight saving rules.
37663         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37665 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37667         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37668         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37670         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37671         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37672         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37673         * sysdeps/unix/bsd/clock.c: Likewise.
37674         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37675         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37676         * sysdeps/unix/bsd/init-posix.c: Likewise.
37677         * sysdeps/unix/bsd/poll.c: Likewise.
37678         * sysdeps/unix/bsd/ptsname.c: Likewise.
37679         * sysdeps/unix/bsd/seekdir.c: Likewise.
37680         * sysdeps/unix/bsd/setegid.c: Likewise.
37681         * sysdeps/unix/bsd/seteuid.c: Likewise.
37682         * sysdeps/unix/bsd/setgid.c: Likewise.
37683         * sysdeps/unix/bsd/setrgid.c: Likewise.
37684         * sysdeps/unix/bsd/setruid.c: Likewise.
37685         * sysdeps/unix/bsd/setsid.c: Likewise.
37686         * sysdeps/unix/bsd/setuid.c: Likewise.
37687         * sysdeps/unix/bsd/sigaction.c: Likewise.
37688         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37689         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37690         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37691         * sysdeps/unix/bsd/telldir.c: Likewise.
37692         * sysdeps/unix/bsd/times.c: Likewise.
37693         * sysdeps/unix/bsd/usleep.c: Likewise.
37695         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37696         ($(objpfx)libbsd-compat.a): Remove rule.
37698         * include/features.h (__FAVOR_BSD): Do not define.
37699         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37700         features conflicting with POSIX.
37701         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37702         (_BSD_SOURCE): Remove description of not being a subset of other
37703         feature test macros.
37704         * manual/job.texi (getpgrp): Do not document BSD version.
37705         (getpgid): Do not document by reference to BSD getpgrp.
37706         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37707         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37708         * signal/signal.h [__FAVOR_BSD]: Likewise.
37709         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37710         instead of making contents conditional on [__FAVOR_BSD].
37711         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37713 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37717 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37719         [BZ #16314]
37720         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37721         values below 2**-450, not 2**-500.
37722         * math/auto-libm-test-in: Don't allow spurious underflow from
37723         hypot.
37724         * math/auto-libm-test-out: Regenerated.
37726         [BZ #16316]
37727         [BZ #16330]
37728         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37729         values of ha and hb and sort them after adjusting subnormal
37730         arguments.
37731         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37732         Likewise.
37733         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37734         values of ea and eb and sort them after adjusting subnormal
37735         arguments.
37736         * math/auto-libm-test-in: Do not expect some hypot tests of
37737         subnormals to fail.  Add more hypot tests.
37738         * math/auto-libm-test-out: Regenerated.
37740 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37742         [BZ #13304]
37743         * sysdeps/sh/s_fma.c: New file.
37744         * sysdeps/sh/s_fmaf.c: New file.
37745         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37746         version.
37747         * sysdeps/sh/Implies: Add sh/soft-fp.
37749 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37751         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37752         level of indirection to members `objname', `errstring', `malloced'.
37753         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37754         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37755         it as the __longjmp argument (just pass 1 instead).
37756         (_dl_catch_error): Initialize C with argument pointers and address of
37757         volatile local ERRCODE rather than copying values out of C at return.
37759 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37761         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37762         * math/auto-libm-test-out: Regenerated.
37763         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37764         (hypot_test_data): Likewise.
37765         (pow_test_data): Likewise.
37766         (pow_tonearest_test_data): Likewise.
37767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37768         mpfr_ff_f.
37769         (func_calc_desc): Add mpfr_ff_f union field.
37770         (FUNC_mpfr_ff_f): New macro.
37771         (test_functions): Add atan2, hypot and pow.
37772         (special_fill_min): New function.
37773         (special_fill_minus_min): Likewise.
37774         (special_fill_min_subnorm): Likewise.
37775         (special_fill_minus_min_subnorm): Likewise.
37776         (special_real_inputs): Add min, -min, min_subnorm and
37777         -min_subnorm.
37778         (calc_generic_results): Handle mpfr_ff_f.
37779         * sysdeps/i386/fpu/libm-test-ulps: Update.
37780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37782 2013-12-16  Will Newton  <will.newton@linaro.org>
37784         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37785         (Aligned Memory Blocks): Add documentation for aligned_alloc
37786         and suggest it as an alternative to posix_memalign.
37787         (Hooks for Malloc): Document __memalign_hook is also called
37788         for aligned_alloc.  (Summary of Malloc): Add summary for
37789         aligned alloc.  Document __memalign_hook is also called
37790         for aligned_alloc.
37792 2013-12-16  Will Newton  <will.newton@linaro.org>
37794         * manual/memory.texi (Malloc Examples): Clarify default
37795         alignment documentation.  Suggest posix_memalign rather
37796         than memalign or valloc.
37797         (Aligned Memory Blocks): Remove suggestion to use memalign
37798         or valloc.  Remove obsolete comment about BSD.
37799         Document memalign errno values and mark the function obsolete.
37800         Document posix_memalign returned error codes.  Mark valloc
37801         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37802         called for posix_memalign and valloc.
37803         (Summary of Malloc): Add posix_memalign to function summary.
37804         __memalign_hook is also called for posix_memalign and valloc.
37806 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37808         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37809         TAYLOR_SIN.
37810         (__sin): Adjust.
37811         (__cos): Likewise.
37812         (sloww): Use mynumber union.  Expand ternary operator into
37813         if-else statements.
37814         (cslow): use mynumber union.
37816 2013-12-16  Allan McRae  <allan@archlinux.org>
37818         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37819         * configure: Regenerated.
37821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37823         [BZ #14120]
37824         * configure.ac: Added --enable-maintainer-mode. Check for
37825         autoconf when enabled.
37826         * configure: Regenerated.
37828         * nscd/nscd.service: New file.
37829         * nscd/nscd.tmpfiles: New file.
37831 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37833         [BZ #12100]
37834         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37835         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37836         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37837         (strstr): Add __strstr_sse2_unaligned ifunc.
37838         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37839         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37840         (strcasestr): Remove __strcasestr_sse42 ifunc.
37841         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37842         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37845 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37847         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37848         * sysdeps/sh/bits/fenv.h: ... here.
37849         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37851 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37853         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37855         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37856         hypotf multiarch implementations.
37857         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37858         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37859         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37860         multiarch hypot for PPC64.
37861         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37862         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37863         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37864         multiarch hypotf for PPC64.
37866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37867         modff multiarch implementations.
37868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37871         multiarch modf for PPC64.
37872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37875         multiarch modff for PPC64.
37877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37878         and logl multiarch implementations.
37879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37882         multiarch logb for PPC64.
37883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37886         multiarch logb for PPC64.
37887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37890         multiarch logb for PPC64.
37892         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37893         isinff multiarch implementation.
37894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37895         file.
37896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37898         multiarch isinf for PPC64.
37899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37900         file.
37901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37902         multiarch isinff for PPC64.
37904         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37905         finitef multiarch implementation.
37906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37907         file.
37908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37910         multiarch finite for PPC64.
37911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37912         file.
37913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37914         multiarch finitef for PPC64.
37916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37917         lrint multiarch implementation.
37918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37919         file.
37920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37922         multiarch llrint for PPC64.
37923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37924         multiarch lrint for PPC64.
37926         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37927         copysignf multiarch implementation.
37928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37929         file.
37930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37931         file.
37932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37933         multiarch copysign for PPC64.
37934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37935         multiarch copysignf for PPC64.
37937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37938         multiarch implementation.
37939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37940         file.
37941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37942         file.
37943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37944         file.
37945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37946         file.
37947         multiarch llround for PPC64.
37948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37949         multiarch trunc for PPC64.
37950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37951         multiarch truncf for PPC64.
37953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37954         multiarch implementation.
37955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37956         file.
37957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37958         file.
37959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37960         file.
37961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37962         file.
37963         multiarch llround for PPC64.
37964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37965         multiarch round for PPC64.
37966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37967         multiarch roundf for PPC64.
37969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37970         multiarch implementation.
37971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37972         file.
37973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37974         file.
37975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37976         file.
37977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37978         file.
37979         multiarch llround for PPC64.
37980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37981         multiarch floor for PPC64.
37982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37983         multiarch floorf for PPC64.
37985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37986         multiarch implementation.
37987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37988         file.
37989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37990         file.
37991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37992         file.
37993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37994         file.
37995         multiarch llround for PPC64.
37996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37997         multiarch ceil for PPC64.
37998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37999         multiarch ceilf for PPC64.
38001         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38002         multiarch implementation.
38003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38004         file.
38005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38006         file.
38007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38008         file.
38009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38010         multiarch llround for PPC64.
38011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38012         multiarch lround for PPC64.
38014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38015         multiarch implementation.
38016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38019         file.
38020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38023         multiarch isnan for PPC64.
38024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38025         multiarch isnanf for PPC64.
38027         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38028         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38029         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38030         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38031         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38034         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38035         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38037         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38040         multiarch implementations.
38041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38042         (__libc_ifunc_impl_list): Likewise.
38043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38044         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38046         multiarch stpcpy for PPC64.
38048         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38049         multiarch implementations.
38050         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38051         (__libc_ifunc_impl_list): Likewise.
38052         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38053         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38054         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38055         multiarch strcpy for PPC64.
38057         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38058         redefine function name.
38059         (_wordcopy_fwd_dest_aligned): Likewise.
38060         (_wordcopy_bwd_aligned): Likewise.
38061         (_wordcopy_bwd_dest_aligned): Likewise.
38062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38063         multiarch implementations.
38064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38065         (__libc_ifunc_impl_list): Likewise.
38066         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38067         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38068         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38069         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38070         multiarch wcscpy for PPC64.
38072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38073         multiarch implementations.
38074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38075         (__libc_ifunc_impl_list): Likewise.
38076         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38077         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38078         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38079         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38080         multiarch wcscpy for PPC64.
38082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38083         multiarch implementations.
38084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38085         (__libc_ifunc_impl_list): Likewise.
38086         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38087         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38088         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38089         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38090         multiarch wcsrchr for PPC64.
38092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38093         multiarch implementations.
38094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38095         (__libc_ifunc_impl_list): Likewise.
38096         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38097         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38098         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38099         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38100         multiarch wcschr for PPC64.
38102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38103         multiarch implementations.
38104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38105         (__libc_ifunc_impl_list): Likewise.
38106         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38107         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38108         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38109         multiarch strchrnul for PPC64.
38111         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38112         implementations.
38113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38114         (__libc_ifunc_impl_list): Likewise.
38115         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38116         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38117         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38118         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38119         strchr for PPC64.
38121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38122         implementations.
38123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38124         (__libc_ifunc_impl_list): Likewise.
38125         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38126         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38127         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38128         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38129         strncmp for PPC64.
38131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38132         multiarch implementations.
38133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38134         (__libc_ifunc_impl_list): Likewise.
38135         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38136         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38137         strncasecmp for PPC64.
38138         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38139         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38140         multiarch strncasecmp_l for PPC64.
38142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38143         multiarch implementations.
38144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38145         (__libc_ifunc_impl_list): Likewise.
38146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38148         multiarch strcasecmp for PPC64.
38149         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38150         file.
38151         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38152         multiarch strcasecmp_l for PPC64.
38154         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38155         implementations.
38156         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38157         (__libc_ifunc_impl_list): Likewise.
38158         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38159         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38160         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38161         strnlen for PPC64.
38163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38164         implementations.
38165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38166         (__libc_ifunc_impl_list): Likewise.
38167         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38168         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38169         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38170         strlen for PPC64.
38172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38173         implementations.
38174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38175         (__libc_ifunc_impl_list): Likewise.
38176         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38177         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38178         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38179         rawmemrchr for PPC64.
38181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38182         implementation.
38183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38184         (__libc_ifunc_impl_list): Likewise.
38185         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38186         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38187         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38188         memrchr for PPC64.
38190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38191         implementation.
38192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38193         (__libc_ifunc_impl_list): Likewise.
38194         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38195         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38196         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38197         memchr for PPC64.
38199         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38200         implementation.
38201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38202         (__libc_ifunc_impl_list): Likewise.
38203         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38204         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38205         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38206         mempcpy for PPC64.
38208         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38209         avoid cretion of __bzero symbol.
38210         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38211         Likewise.
38212         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38213         Likewise.
38214         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38215         Likewise.
38216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38217         multiarch implementations.
38218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38219         (__libc_ifunc_impl_list): Likewise.
38220         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38221         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38222         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38223         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38224         bzero for PPC32.
38225         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38226         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38227         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38228         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38229         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38230         memset for PPC64.
38231         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38233         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38235         implementations.
38236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38237         (__libc_ifunc_impl_list): Likewise.
38238         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38239         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38240         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38241         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38242         memcmp for PPC64.
38244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38245         multiarch for POWER/PPC64.
38246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38247         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38248         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38249         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38250         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38251         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38252         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38253         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38254         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38255         memcpy for PPC64.
38257         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38258         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38259         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38260         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38261         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38262         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38263         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38264         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38265         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38266         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38267         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38268         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38269         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38270         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38271         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38280 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38282         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38284 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38286         * benchtests/Makefile (bench): Add exp2 and log2.
38287         (LDLIBS-bench-exp2): Add -lm.
38288         (LDLIBS-bench-log2): Likewise.
38289         * benchtests/exp2-inputs: New inputs file.
38290         * benchtests/log2-inputs: New inputs file.
38291         * benchtests/log-inputs: Add new inputs.
38292         * benchtests/tan-inputs: Likewise.
38294 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38296         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38297         definition...
38298         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38299         (csloww2): ... from here.
38301         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38302         instead of structures.
38303         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38304         (POLYNOMIAL): Likewise.
38305         (TAYLOR_SLOW): Likewise.
38306         (__sin): Likewise.
38307         (__cos): Likewise.
38308         (slow1): Likewise.
38309         (slow2): Likewise.
38310         (sloww): Likewise.
38311         (sloww1); Likewise.
38312         (sloww2): Likewise.
38313         (bsloww1): Likewise.
38314         (bsloww2): Likewise.
38315         (cslow2): Likewise.
38316         (csloww): Likewise.
38317         (csloww1): Likewise.
38318         (csloww2): Likewise.
38320 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38322         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38323         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38324         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38325         * malloc/hooks.c (realloc_check): Likewise.
38327         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38328         * malloc/arena.c: Remove PER_THREAD conditional.
38329         [!PER_THREAD]: Remove code.
38330         (ptmalloc_unlock_all2): Likewise.
38331         (ptmalloc_init): Likewise.
38332         (_int_new_arena): Likewise.
38333         (arena_get2): Likewise.
38334         * malloc/hooks.c (__malloc_get_state): Likewise.
38335         (__malloc_set_state): Likewise.
38336         * malloc/malloc.c: Likewise.
38337         (struct malloc_state): Likewise.
38338         (struct malloc_par): Likewise.
38339         (__libc_realloc): Likewise.
38340         (__libc_mallopt): Likewise.
38342 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38344         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38346 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38348         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38349         macro to a function.  Check for zero perturb_byte.
38350         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38352         * malloc/malloc.c: (force_reg): Remove.
38353         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38354         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38355         force_reg by atomic_forced_read.
38356         * malloc/arena.c (ptmalloc_init): Likewise.
38357         * malloc/hooks.c (top_check): Likewise.
38359 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38361         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38363 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38367 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38369         * math/auto-libm-test-in: Add tests of lgamma.
38370         * math/auto-libm-test-out: Regenerated.
38371         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38372         (M_LOG_2_SQRT_PIl): Likewise.
38373         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38374         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38375         mpfr_f_f1.
38376         (func_calc_desc): Add mpfr_f_f1 union field.
38377         (ARGS1): New macro.
38378         (ARGS2): Likewise.
38379         (ARGS3): Likewise.
38380         (ARGS4): Likewise.
38381         (RET1): Likewise.
38382         (RET2): Likewise.
38383         (CALC): Likewise.
38384         (FUNC): Likewise.
38385         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38386         (test_functions): Add lgamma.
38387         (calc_generic_results): Handle mpfr_f_f1.
38388         * sysdeps/i386/fpu/libm-test-ulps: Update.
38389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38391 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38393         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38394         __mpn_add_n for PowerPC64/POWER7.
38395         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38396         __mpn_sub_n for PowerPC64/POWER7.
38398         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38399         __mpn_addmul_1 for PowerPC64.
38400         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38401         __mpn_submul_1 for PowerPC64.
38402         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38403         for PowerPC64.
38404         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38405         for PowerPC64.
38407 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38409         [BZ #15089]
38410         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38412 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38414         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38416         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38417         add multiarch folders.
38418         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38419         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38420         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38421         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38422         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38423         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38424         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38425         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38426         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38427         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38428         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38437         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38439         New file.
38440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38441         New file.
38442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38443         multiarch __ieee754_hypot for PowerPC32.
38444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38445         New file.
38446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38447         New file.
38448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38449         multiarch __ieee754_hypotf for PowerPC32.
38451         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38452         long_double_symbol only if __logbl is defined.
38453         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38454         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38455         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38456         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38457         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38458         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38459         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38460         path for implementation.
38461         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38462         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38464         logb, and logbl multiarch implementations for PowerPC32.
38465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38466         file.
38467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38468         file.
38469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38470         multiarch logb for PowerPC32.
38471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38472         file.
38473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38474         file.
38475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38476         multiarch logbf for PowerPC32.
38477         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38479         file.
38480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38481         multiarch logbl implementation for PowerPC32.
38483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38484         and modff multiarch implementations.
38485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38486         New file.
38487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38488         New file.
38489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38490         multiarch modf for PowerPC32.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38492         New file.
38493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38494         New file.
38495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38496         multiarch modff for PowerPC32.
38498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38499         and lrintf multiarch implementations.
38500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38501         New file.
38502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38503         New file.
38504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38505         multiarch lrint for PowerPC32.
38506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38507         file: multiarch lrintf for PowerPC32.
38509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38510         and lroundf multiarch implementations.
38511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38512         New file.
38513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38514         New file.
38515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38516         New file.
38517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38518         multiarch lround for PowerPC32.
38519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38520         file: multiarch lroundf for PowerPC32.
38522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38523         copysign and copysignf multiarch implementations.
38524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38525         New file.
38526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38527         New file.
38528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38529         file: multiarch copysign for PowerPC32.
38530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38531         file: multiarch copysignf for PowerPC32.
38533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38534         and truncf multiarch implementations.
38535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38536         New file.
38537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38538         file.
38539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38540         multiarch trunc for PowerPC32.
38541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38542         New file.
38543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38544         New file.
38545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38546         multiarch truncf for PowerPC32.
38548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38549         and roundf multiarch implementations.
38550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38551         New file.
38552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38553         file.
38554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38555         multiarch round for PowerPC32.
38556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38557         New file.
38558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38559         New file.
38560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38561         multiarch roundf for PowerPC32.
38563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38564         and floorf multiarch implementations.
38565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38566         New file.
38567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38568         file.
38569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38570         multiarch floor for PowerPC32.
38571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38572         New file.
38573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38574         New file.
38575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38576         multiarch floorf for PowerPC32.
38578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38579         and ceilf multiarch implementations.
38580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38581         New file.
38582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38583         file.
38584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38585         multiarch ceil for PowerPC32.
38586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38587         New file.
38588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38589         file.
38590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38591         multiarch ceilf for PowerPC32.
38593         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38594         is defined.
38595         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38596         FINITEF is defined.
38597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38598         and finitef multiarch implementations.
38599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38600         New file.
38601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38602         file.
38603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38604         multiarch finite for PowerPC32.
38605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38606         New file.
38607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38608         file: multiarch finitef for PowerPC32.
38610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38611         and isinff multiarch implementations.
38612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38613         file.
38614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38615         file.
38616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38617         multiarch isinf for PowerPC32.
38618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38619         New file.
38620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38621         multiarch isinff for PowerPC32.
38623         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38624         alias when __isnan is defined.
38625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38626         and isnanf multiarch implementations.
38627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38628         file.
38629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38630         file.
38631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38632         file.
38633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38634         file.
38635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38636         multiarch isnan for PowerPC32.
38637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38638         New file.
38639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38640         New file.
38641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38642         multiarch isnanf for PowerPC32.
38644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38645         and sqrtf multiarch implementations.
38646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38647         file.
38648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38649         file.
38650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38651         multiarch sqrt for PowerPC32.
38652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38653         file.
38654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38655         file.
38656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38657         multiarch sqrtf for PowerPC32.
38659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38660         and llroundf multiarch implementations.
38661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38662         New file.
38663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38664         New file.
38665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38666         New file.
38667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38668         file: multiarch llround for PowerPC32.
38669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38670         file: multiarch llroundf for PowerPC32.
38672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38673         multiarch PowerPC32 fpu implementations.
38674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38675         New file.
38676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38677         New file.
38678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38679         multiarch llrint for PowerPC32.
38680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38681         New file.
38682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38683         New file.
38684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38685         file.
38687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38689         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38690         file.
38691         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38692         file.
38693         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38694         file.
38695         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38696         multiarch wordcopy for PPC32.
38697         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38698         wordcopy objects.
38699         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38700         (__libc_ifunc_impl_list): Likewise.
38701         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38702         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38703         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38704         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38705         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38706         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38708         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38710         file.
38711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38712         file.
38713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38714         file.
38715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38716         multiarch wcscpy for PPC32.
38717         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38718         multiarch objects.
38719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38720         (__libc_ifunc_impl_list): Likewise.
38721         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38722         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38723         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38724         sysdeps/powerpc/power6/wcscpy.c.
38726         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38728         file.
38729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38730         file.
38731         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38732         file.
38733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38734         multiarch wcsrchr for PPC32.
38735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
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/wcsrchr.c: Adjust to use
38742         sysdeps/powerpc/power6/wcsrchr.c.
38744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38745         file.
38746         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38747         file.
38748         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38749         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38750         multiarch wcschr for PPc32.
38751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38752         multiarch objects.
38753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38754         (__libc_ifunc_impl_list): Likewise.
38755         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38756         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38757         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38758         sysdeps/powerpc/power6/wcschr.c.
38760         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38761         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38762         file.
38763         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38764         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38765         file: multiarch strchr for PPC32.
38766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38767         multiarch objects.
38768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38769         (__libc_ifunc_impl_list): Likewise.
38771         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38772         name.
38773         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38774         file.
38775         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38776         file.
38777         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38778         multiarch strchrnul for PPC32.
38779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38780         multiarch objects.
38781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38782         (__libc_ifunc_impl_list): Likewise.
38784         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38785         file.
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38787         multiarch strncasecmp for PPC32.
38788         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38789         file.
38790         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38791         multiarch strncasecmp_l for PPC32.
38792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38793         strncasecmp multiarch objects.
38794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38795         (__libc_ifunc_impl_list): Likewise.
38797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38798         file.
38799         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38800         multiarch strncasecmp for PPC32.
38801         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38802         New file.
38803         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38804         multiarch strcasecmp_l for PPC32.
38805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38806         multiarch objects.
38807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38808         (__libc_ifunc_impl_list): Likewise.
38810         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38811         file.
38812         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38813         file.
38814         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38815         multiarch strncmp for PPC32.
38816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38817         multiarch objects.
38818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38819         (__libc_ifunc_impl_list): Likewise.
38821         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38822         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38823         file.
38824         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38825         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38826         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38827         multiarch objects.
38828         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38829         (__libc_ifunc_impl_list): Likewise.
38831         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38832         file.
38833         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38834         file.
38835         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38837         multiarch objects.
38838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38839         (__libc_ifunc_impl_list): Likewise.
38841         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38842         file.
38843         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38844         file.
38845         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38846         multiarch rawmemchr for PPC32.
38847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38848         multiarch objects.
38849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38850         (__libc_ifunc_impl_list): Likewise.
38852         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38853         file.
38854         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38855         file.
38856         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38857         file: memrchr multiarch for PPC32.
38858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38859         multiarch objects.
38860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38861         (__libc_ifunc_impl_list): Likewise.
38863         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38864         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38865         file.
38866         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38867         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38868         multiarch memchr for PPC32.
38869         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38870         multiarch objects.
38871         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38872         (__libc_ifunc_impl_list): Likewise.
38874         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38875         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38876         file.
38877         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38878         file.
38879         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38880         file: multiarch mempcpy for PPC32.
38881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38882         multiarch objects.
38883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38884         (__libc_ifunc_impl_list): Likewise.
38886         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38887         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38888         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38889         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38890         multiarch bzero for PPC32.
38891         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38892         file.
38893         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38894         file.
38895         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38896         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38897         file: multiarch memset for PPC32.
38898         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38899         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38900         memset multiarch objects.
38901         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38902         (__libc_ifunc_impl_list): Likewise.
38904         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38905         file.
38906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38908         memcmp for PPC32.
38909         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38910         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38911         multiarch objects.
38912         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38913         (__libc_ifunc_impl_list): Likewise.
38915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38917         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38918         file.
38919         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38920         file.
38921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38922         file.
38923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38924         multiarch memcpy for PPC32.
38925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38926         multiarch objects.
38927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38928         (__libc_ifunc_impl_list): Likewise.
38930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38931         support multiarch for POWER/PPC32.
38932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38933         Likewise.
38934         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38936         Implies file to make multiarch folder appers before the fpu and
38937         default folder for power4 configuration.
38939 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38941         * scripts/bench.pl: Append volatile keyword to type.
38943 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38945         * sysdeps/sh/sotruss-lib.c: New file.
38946         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38948 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38952 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38954         [BZ #6810]
38955         * math/w_tgamma.c: Include <errno.h>.
38956         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38957         * math/w_tgammaf.c: Include <errno.h>.
38958         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38959         * math/w_tgammal.c: Include <errno.h>.
38960         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38961         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38962         underflow.  Add more tgamma tests.
38963         * math/auto-libm-test-out: Regenerated.
38964         * sysdeps/i386/fpu/libm-test-ulps: Update.
38965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38967         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38968         sin, sinh, tan, tanh, tgamma, y0 and y1.
38969         * math/auto-libm-test-out: Regenerated.
38970         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38971         (TEST_COND_x86): Likewise.
38972         (M_E2l): Remove macro.
38973         (M_E3l): Likewise.
38974         (M_2_SQRT_PIl): Likewise.
38975         (M_SQRT_PIl): Likewise.
38976         (M_1_DIV_El): Likewise.
38977         (log_test_data): Use AUTO_TESTS_f_f.
38978         (log10_test_data): Likewise.
38979         (log1p_test_data): Likewise.
38980         (log2_test_data): Likewise.
38981         (sin_test_data): Likewise.
38982         (sin_tonearest_test_data): Likewise.
38983         (sin_towardzero_test_data): Likewise.
38984         (sin_downward_test_data): Likewise.
38985         (sin_upward_test_data): Likewise.
38986         (sinh_test_data): Likewise.
38987         (sinh_tonearest_test_data): Likewise.
38988         (sinh_towardzero_test_data): Likewise.
38989         (sinh_downward_test_data): Likewise.
38990         (sinh_upward_test_data): Likewise.
38991         (tan_test_data): Likewise.
38992         (tan_tonearest_test_data): Likewise.
38993         (tan_towardzero_test_data): Likewise.
38994         (tan_downward_test_data): Likewise.
38995         (tan_upward_test_data): Likewise.
38996         (tanh_test_data): Likewise.
38997         (tgamma_test_data): Likewise.
38998         (y0_test_data): Likewise.
38999         (y1_test_data): Likewise.
39000         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39001         (special_real_inputs): Add pi/4.
39002         * sysdeps/i386/fpu/libm-test-ulps: Update.
39003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39005 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39007         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39008         "longjmp_target" static probes.
39009         (__longjmp): Rename to __longjmp_symbol.
39010         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39011         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39012         on which longjmp to generate.
39013         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39015         probe.
39016         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39017         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39018         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39020         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39023         __longjmp_symbol based on which __longjmp to generate.
39024         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39025         probe.
39026         (setjmp): Rename to setjmp_symbol.
39027         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39028         (_setjmp): Rename to _setjmp_symbol.
39029         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39030         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39031         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39032         which setjmp to generate.
39033         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39034         "longjmp_target" static probes.
39036 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39038         * benchtests/README: Add note about output arguments.
39039         * benchtests/bench-sincos.c: Remove file.
39040         * benchtests/sincos-inputs: New file.
39041         * scripts/bench.pl: Identify output arguments and define
39042         static variables for them.
39044         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39046         [BZ #15941]
39047         * Makefile (INSTALL): Add install-plain.texi as the primary
39048         dependency.
39049         * manual/install-plain.texi: New file.
39050         * manual/install.texi: Include node directive only for
39051         non-plaintext output.
39053 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39055         * stdlib/longlong.h: Update from GCC.
39057         [BZ #6807]
39058         [BZ #15901]
39059         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39060         * math/w_j0f.c (y0f): Likewise.
39061         * math/w_j0l.c (__y0l): Likewise.
39062         * math/w_j1.c (y1): Likewise.
39063         * math/w_j1f.c (y1f): Likewise.
39064         * math/w_j1l.c (__y1l): Likewise.
39065         * math/w_jn.c (yn): Likewise.
39066         * math/w_jnf.c (ynf): Likewise.
39067         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39068         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39069         value for Bessel function domain errors outside _SVID_ mode.
39070         Adjust sign of return value for yn (negative integer, 0).
39071         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39072         by zero in return for negative x and set sign appropriately for
39073         negative n.
39074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39075         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39076         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39077         expectations in error cases.
39078         (y1_test_data): Likewise.
39079         (yn_test_data): Likewise.
39080         * sysdeps/i386/fpu/libm-test-ulps: Update.
39081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39083 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39085         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39086         "64" to "64-v1".  Add "64-v2".
39087         (abi-64-options): Rename to ...
39088         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39089         (abi-64-condition): Rename to ...
39090         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39091         (abi-64-ld-soname): Rename to ...
39092         (abi-64-v1-ld-soname): ... this.
39093         (abi-64-v2-options): Define.
39094         (abi-64-v2-condition): Likewise.
39095         (abi-64-v2-ld-soname): Likewise.
39096         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39097         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39102 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39103             Alan Modra  <amodra@gmail.com>
39105         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39106         New versions for use with the ELFv2 ABI.
39107         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39108         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39109         declaration.
39110         (struct La_ppc64v2_retval): Likewise.
39111         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39112         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39113         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39114         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39115         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39116         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39117         Do not save or restore CR.
39118         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39119         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39120         return values for ELFv2 ABI.  Fix location of FPR return registers.
39121         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39122         updated values for _CALL_ELF == 2.
39123         (La_regs, La_retval, int_retval): Likewise.
39125 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39127         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39128         (FRAME_MIN_SIZE_PARM): Likewise.
39129         (FRAME_BACKCHAIN): Likewise.
39130         (FRAME_CR_SAVE): Likewise.
39131         (FRAME_LR_SAVE): Likewise.
39132         (FRAME_TOC_SAVE): Likewise.
39133         (FRAME_PARM_SAVE): Likewise.
39134         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39135         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39136         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39137         (call_mcount_parm_offset): New macro.
39138         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39139         (PROF): Use symbolic stack frame offsets.
39140         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39141         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39142         Redefine in terms of FRAME_MIN_SIZE.
39143         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39144         (_dl_profile_resolve): Likewise.  Update comment.
39145         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39146         symbols stack frame offsets.
39147         (__sigsetjmp): Likewise.
39148         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39149         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39150         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39151         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39154         (FRAME_BACKCHAIN): Remove.
39155         (FRAME_CR_SAVE): Likewise.
39156         (FRAME_LR_SAVE): Likewise.
39157         (FRAME_COMPILER_DW): Likewise.
39158         (FRAME_LINKER_DW): Likewise.
39159         (FRAME_TOC_SAVE): Likewise.
39160         (FRAME_PARM_SAVE): Likewise.
39161         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39162         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39163         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39165         (CHECK_SP): Use symbolic stack frame offsets.
39166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39167         zone" instead of caller's parameter save area for temp storage.
39168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39169         Likewise.  Also, use symbolic stack frame offsets.
39170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39171         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39172         our own stack frame instead of the caller's.
39173         (__socket): Use symbolic stack frame offsets.
39175 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39176             Alan Modra  <amodra@gmail.com>
39178         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39179         Define.
39180         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39181         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39182         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39183         New function.
39184         (elf_machine_fixup_plt): Call it.
39185         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39186         reloc arguments.
39187         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39188         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39189         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39190         r2 before calling target.
39192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39193             Alan Modra  <amodra@gmail.com>
39195         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39196         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39197         versions of macros to support ELFv2 ABI.
39198         (LOCALENTRY): New macro.
39199         (ENTRY, EALIGN): Use it.
39200         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39201         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39202         fall through into ENTRY entry point.
39203         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39204         Only define if _CALL_ELF != 2.
39206         (elf_machine_matches_host): Verify ABI version matches.
39207         (RTLD_START): Use LOCALENTRY.
39208         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39209         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39210         (PLT_ENTRY_WORDS): New macro.
39211         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39212         (elf_machine_runtime_setup): Support ELFv2 ABI.
39213         (elf_machine_fixup_plt): Likewise.
39214         (elf_machine_plt_conflict): Likewise.
39215         (resolve_ifunc): Likewise.
39216         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39217         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39218         Likewise.
39219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39220         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39222         (makecontext): Support ELFv2 ABI.
39223         * elf/elf.h (EF_PPC64_ABI): Define.
39225 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39227         * sysdeps/powerpc/powerpc64/sysdep.h
39228         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39229         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39230         (ENTRY) [ASSEMBLER]: ... but instead here ...
39231         (EALIGN) [ASSEMBLER]: ... and here.
39232         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39233         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39234         (ENTRY_2) [!ASSEMBLER]: Use it.
39235         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39236         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39237         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39238         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39239         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39241         Use PPC64_LOAD_FUNCPTR.
39243         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39245 2013-12-04  Alan Modra  <amodra@gmail.com>
39247         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39248         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39249         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39250         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39253         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39254         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39255         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39256         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39257         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39259 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39262         (__makecontext): Fix incorrect CFI when backtracing out of
39263         context created via makecontext.
39264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39265         (__setcontext): Fix incorrect CFI during switch to new context.
39266         (__novec_setcontext): Likewise.
39268 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39270         [BZ #4772]
39271         * time/strptime_l.c (__strptime_internal): Allow modifiers
39272         in strptime.
39273         * time/tst-strptime.c (day_tests): Add testcase.
39275 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39277         * scripts/bench.pl: Skip over blank lines.
39279 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39281         [BZ #926]
39282         * manual/time.texi (Calendar Time): Clarify what timezone functions
39283         use.
39285 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39289 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39291         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39292         implementation.
39293         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39294         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39295         * debug/memset_chk.c (__memset_chk): Likewise.
39296         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39297         * debug/strncpy_chk.c: Likewise.
39299 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39301         [BZ #15268]
39302         [BZ #15425]
39303         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39304         (__ieee754_exp): For possibly underflowing results, check size of
39305         result and force underflow exception if required.
39306         * math/auto-libm-test-in: Add more tests of exp.
39307         * math/auto-libm-test-out: Regenerated.
39308         * sysdeps/i386/fpu/libm-test-ulps: Update.
39309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39311         [BZ #16283]
39312         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39313         * math/w_exp2f.c (__exp2f): Likewise.
39314         * math/w_exp2l.c (__exp2l): Likewise.
39315         * math/auto-libm-test-in: Do not allow missing errno on exp2
39316         underflow.
39317         * math/auto-libm-test-out: Regenerated.
39319 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39321         [BZ #16274]
39322         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39323         handle filename validation.
39324         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39325         (do_open): Delete.
39327 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39329         [BZ #6786]
39330         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39331         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39332         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39333         <float.h>.
39334         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39335         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39336         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39338         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39339         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39340         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39341         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39342         Add more erfc tests.
39343         * math/auto-libm-test-out: Regenerated.
39344         * sysdeps/i386/fpu/libm-test-ulps: Update.
39345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39347         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39348         exp2, expm1, j0 and j1.
39349         * math/auto-libm-test-out: Regenerated.
39350         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39351         (erfc_test_data): Likewise.
39352         (exp_test_data): Likewise.
39353         (exp_tonearest_test_data): Likewise.
39354         (exp_towardzero_test_data): Likewise.
39355         (exp_downward_test_data): Likewise.
39356         (exp_upward_test_data): Likewise.
39357         (exp10_test_data): Likewise.
39358         (exp2_test_data): Likewise.
39359         (expm1_test_data): Likewise.
39360         (j0_test_data): Likewise.
39361         (j1_test_data): Likewise.
39362         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39363         (input_flag_type): Add flag_xfail_rounding.
39364         (input_flags): Add xfail-rounding.
39365         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39366         (output_for_one_input_case): Handle flag_xfail_rounding.
39367         * sysdeps/i386/fpu/libm-test-ulps: Update.
39368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39370 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39372         [BZ #16289]
39373         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39374         division by 0.
39376 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39378         [BZ #16195]
39379         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39380         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39381         (STAP_PROBE0): New macro.
39382         (STAP_PROBE1): Likewise.
39383         (STAP_PROBE2): Likewise.
39384         (STAP_PROBE3): Likewise.
39385         (STAP_PROBE4): Likewise.
39387 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39389         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39391 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39393         * benchtests/Makefile (bench): Add sqrt.
39394         (LDLIBS-bench-sqrt): New.
39395         * benchtests/sqrt-input: New.
39397 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39399         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39400         (GAIH_EAI): Likewise.
39401         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39402         (gaih_inet): Likewise.
39403         (getaddrinfo): Don't use GAIH_EAI.
39405         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39406         (struct gaih): Remove definition.
39408 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39410         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39411         Use HERRNOP directly.
39413 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39415         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39417 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39419         * math/gen-auto-libm-tests.c (test_functions): Add more
39420         single-argument functions.
39421         (special_fill_pi_2): New function.
39422         (special_fill_minus_pi_2): Likewise.
39423         (special_fill_pi_6): Likewise.
39424         (special_fill_minus_pi_6): Likewise.
39425         (special_fill_pi_3): Likewise.
39426         (special_fill_2pi_3): Likewise.
39427         (special_fill_e): Likewise.
39428         (special_fill_1_e): Likewise.
39429         (special_fill_e_minus_1): Likewise.
39430         (special_real_inputs): Add more special inputs.
39431         (output_for_one_input_case): Do not require ERANGE on underflow to
39432         zero if round-to-nearest result does not underflow to zero, unless
39433         exact results required.
39434         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39435         atan, atanh, cbrt, cos and cosh.
39436         * math/auto-libm-test-out: Regenerated.
39437         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39438         (acos_tonearest_test_data): Likewise.
39439         (acos_towardzero_test_data): Likewise.
39440         (acos_downward_test_data): Likewise.
39441         (acos_upward_test_data): Likewise.
39442         (acosh_test_data): Likewise.
39443         (asin_test_data): Likewise.
39444         (asin_tonearest_test_data): Likewise.
39445         (asin_towardzero_test_data): Likewise.
39446         (asin_upward_test_data): Likewise.
39447         (asinh_test_data): Likewise.
39448         (atan_test_data): Likewise.
39449         (atanh_test_data): Likewise.
39450         (cbrt_test_data): Likewise.
39451         (cos_test_data): Likewise.
39452         (cos_tonearest_test_data): Likewise.
39453         (cos_towardzero_test_data): Likewise.
39454         (cos_downward_test_data): Likewise.
39455         (cos_upward_test_data): Likewise.
39456         (cosh_test_data): Likewise.
39457         (cosh_tonearest_test_data): Likewise.
39458         (cosh_towardzero_test_data): Likewise.
39459         (cosh_downward_test_data): Likewise.
39460         (cosh_upward_test_data): Likewise.
39461         * sysdeps/i386/fpu/libm-test-ulps: Update.
39462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39464 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39466         [BZ #6787]
39467         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39468         * math/w_exp10f.c (__exp10f): Likewise.
39469         * math/w_exp10l.c (__exp10l): Likewise.
39470         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39471         errno settings in existing tests.
39473         [BZ #14032]
39474         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39475         precision control set to double precision.
39476         * sysdeps/i386/fpu/w_sqrt.c: New file.
39477         * math/auto-libm-test-in: Add more tests.
39478         * math/auto-libm-test-out: Update.
39480         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39481         (sqrt_test_tonearest): New function.
39482         (sqrt_towardzero_test_data): New variable.
39483         (sqrt_test_towardzero): New function.
39484         (sqrt_downward_test_data): New variable.
39485         (sqrt_test_downward): New function.
39486         (sqrt_upward_test_data): New variable.
39487         (sqrt_test_upward): New function.
39488         (main): Call the new functions.
39490         * math/gen-auto-libm-tests.c: New file.
39491         * math/auto-libm-test-in: Likewise.
39492         * math/auto-libm-test-out: New generated file.
39493         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39494         variables.
39495         (%beautify): Add generated representations of zero.
39496         (top level): Set $auto_input and call parse_auto_input.
39497         (beautify): Remove trailing "f" from hex float constants.
39498         (parse_args): Handle XFAIL_TEST.
39499         (convert_condition): New function.
39500         (or_value): Likewise.
39501         (or_cond_value): Likewise.
39502         (generate_testfile): Handle AUTO_TESTS_* lines.
39503         (parse_auto_input): New function.
39504         * math/libm-test.inc (XFAIL_TEST): New macro.
39505         (ERRNO_UNCHANGED): Update value.
39506         (ERRNO_EDOM): Likewise.
39507         (ERRNO_ERANGE): Likewise.
39508         (IGNORE_RESULT): Likewise.
39509         (TEST_COND_flt_32): New macro.
39510         (TEST_COND_dbl_64): Likewise.
39511         (TEST_COND_ldbl_96_intel): Likewise.
39512         (TEST_COND_ldbl_96_m68k): Likewise.
39513         (TEST_COND_ldbl_128): Likewise.
39514         (TEST_COND_ldbl_128ibm): Likewise.
39515         (TEST_COND_long32): Likewise.
39516         (TEST_COND_long64): Likewise.
39517         (TEST_COND_before_rounding): Likewise.
39518         (TEST_COND_after_rounding): Likewise.
39519         (enable_test): Handle XFAIL_TEST flag.
39520         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39521         with finite results.
39522         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39523         auto-libm-test-out.
39525 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39526             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39528         [BZ #16214]
39529         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39530         __tls_get_addr_internal instead of __tls_get_offset in order to
39531         avoid GOT pointer dependency.  Make rtld export
39532         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39533         __tls_get_addr since we are a __tls_get_offset platform.
39534         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39535         GOT pointer being set up before.
39536         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39538 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39540         * manual/math.texi (Errors in Math Functions): Document accuracy
39541         goals.
39543         [BZ #15004]
39544         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39545         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39546         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39547         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39548         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39549         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39550         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39551         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39552         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39555         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39556         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39557         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39558         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39561         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39562         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39563         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39564         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39565         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39566         Likewise.
39567         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39568         Likewise.
39569         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39570         Likewise.
39571         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39572         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39573         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39574         atomic-feupdateenv and flt-rounds.
39575         * sysdeps/powerpc/nofpu/Versions (libc): Add
39576         __atomic_feholdexcept, __atomic_feclearexcept,
39577         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39578         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39579         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39580         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39581         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39582         here.
39583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39584         Update.
39586         * manual/arith.texi (FP Exceptions): Document that exceptions may
39587         not be raised when matherr is used.
39588         (Math Error Reporting): Document overflow in directed rounding
39589         modes.  Document that errno may not be set when finite values are
39590         returned on overflow.  Document intent to set errno on underflow
39591         only for underflow to zero.
39593         [BZ #16271]
39594         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39595         round-to-nearest then adjust result for other rounding modes.
39596         * include/fenv.h (fegetround): Use libm_hidden_proto.
39597         * math/fegetround.c (fegetround): Use libm_hidden_def.
39598         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39599         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39600         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39601         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39602         Likewise.
39603         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39604         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39605         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39606         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39608 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39610         [BZ #16077]
39611         * nss/Versions (libnss_files): Add
39612         _nss_files_gethostbyname3_r.
39613         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39614         New function.
39615         (HOST_DB_LOOKUP): Remove macro.
39616         (_nss_files_gethostbyname_r): Implement function without the
39617         HOST_DB_LOOKUP macro.
39618         (_nss_files_gethostbyname2_r): Likewise.
39620 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39622         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39624 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39626         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39627         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39628         warning.
39630 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39632         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39633         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39634         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39635         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39636         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39637         __fe_nomask_env_priv and attribute_hidden.
39638         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39639         (libc_feupdateenv_test_ppc): Likewise.
39640         (libc_feresetround_ppc): Likewise.
39641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39642         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39643         compat_symbol macro.
39644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39645         (__fe_nomask_env): Likewise.
39646         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39648 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39650         * string/Makefile: Remove ifunc tests.
39651         * string/test-string.h: Define TEST_IFUNC.
39652         * string/test-bcopy-ifunc.c: Remove.
39653         * string/test-bzero-ifunc.c: Likewise.
39654         * string/test-memccpy-ifunc.c: Likewise.
39655         * string/test-memchr-ifunc.c: Likewise.
39656         * string/test-memcmp-ifunc.c: Likewise.
39657         * string/test-memcpy-ifunc.c: Likewise.
39658         * string/test-memmem-ifunc.c: Likewise.
39659         * string/test-memmove-ifunc.c: Likewise.
39660         * string/test-mempcpy-ifunc.c: Likewise.
39661         * string/test-memrchr-ifunc.c: Likewise.
39662         * string/test-memset-ifunc.c: Likewise.
39663         * string/test-rawmemchr-ifunc.c: Likewise.
39664         * string/test-stpcpy-ifunc.c: Likewise.
39665         * string/test-stpncpy-ifunc.c: Likewise.
39666         * string/test-strcasecmp-ifunc.c: Likewise.
39667         * string/test-strcasestr-ifunc.c: Likewise.
39668         * string/test-strcat-ifunc.c: Likewise.
39669         * string/test-strchr-ifunc.c: Likewise.
39670         * string/test-strchrnul-ifunc.c: Likewise.
39671         * string/test-strcmp-ifunc.c: Likewise.
39672         * string/test-strcpy-ifunc.c: Likewise.
39673         * string/test-strcspn-ifunc.c: Likewise.
39674         * string/test-strlen-ifunc.c: Likewise.
39675         * string/test-strncasecmp-ifunc.c: Likewise.
39676         * string/test-strncat-ifunc.c: Likewise.
39677         * string/test-strncmp-ifunc.c: Likewise.
39678         * string/test-strncpy-ifunc.c: Likewise.
39679         * string/test-strnlen-ifunc.c: Likewise.
39680         * string/test-strpbrk-ifunc.c: Likewise.
39681         * string/test-strrchr-ifunc.c: Likewise.
39682         * string/test-strspn-ifunc.c: Likewise.
39683         * string/test-strstr-ifunc.c: Likewise.
39685 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39687         * benchtests/Makefile: Remove ifunc tests.
39688         * benchtests/bench-string.h: Define TEST_IFUNC.
39689         * benchtests/bench-bcopy-ifunc.c: Remove.
39690         * benchtests/bench-bzero-ifunc.c: Likewise.
39691         * benchtests/bench-memccpy-ifunc.c: Likewise.
39692         * benchtests/bench-memchr-ifunc.c: Likewise.
39693         * benchtests/bench-memcmp-ifunc.c: Likewise.
39694         * benchtests/bench-memcpy-ifunc.c: Likewise.
39695         * benchtests/bench-memmem-ifunc.c: Likewise.
39696         * benchtests/bench-memmove-ifunc.c: Likewise.
39697         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39698         * benchtests/bench-memrchr-ifunc.c: Likewise.
39699         * benchtests/bench-memset-ifunc.c: Likewise.
39700         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39701         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39702         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39703         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39704         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39705         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39706         * benchtests/bench-strcat-ifunc.c: Likewise.
39707         * benchtests/bench-strchr-ifunc.c: Likewise.
39708         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39709         * benchtests/bench-strcmp-ifunc.c: Likewise.
39710         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39711         * benchtests/bench-strcpy-ifunc.c: Likewise.
39712         * benchtests/bench-strcspn-ifunc.c: Likewise.
39713         * benchtests/bench-strlen-ifunc.c: Likewise.
39714         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39715         * benchtests/bench-strncat-ifunc.c: Likewise.
39716         * benchtests/bench-strncmp-ifunc.c: Likewise.
39717         * benchtests/bench-strncpy-ifunc.c: Likewise.
39718         * benchtests/bench-strnlen-ifunc.c: Likewise.
39719         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39720         * benchtests/bench-strrchr-ifunc.c: Likewise.
39721         * benchtests/bench-strsep-ifunc.c: Likewise.
39722         * benchtests/bench-strspn-ifunc.c: Likewise.
39723         * benchtests/bench-strstr-ifunc.c: Likewise.
39725 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39727         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39729 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39731         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39732         * rt/aio.h: Likewise.
39733         * sysdeps/gnu/bits/utmp.h: Likewise.
39734         * sysdeps/gnu/bits/utmpx.h: Likewise.
39735         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39736         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39737         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39738         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39739         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39740         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39741         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39742         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39743         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39744         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39745         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39746         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39747         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39749         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39750         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39751         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39752         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39753         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39754         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39755         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39756         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39757         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39758         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39759         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39761         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39762         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39763         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39764         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39765         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39766         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39767         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39768         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39769         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39770         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39771         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39772         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39773         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39774         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39775         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39776         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39778 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39780         [BZ #16245]
39781         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39782         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39784 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39786         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39787         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39788         Likewise.
39790 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39792         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39793         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39794         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39795         (__fesetround): Remove define.
39796         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39797         rounding and exceptions handling.
39798         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39799         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39800         (__fe_nomask_env): Likewise.
39801         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39802         __fegetround instead of fegetround.
39803         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39804         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39806 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39808         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39809         it's there.
39811         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39813 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39815         [BZ #11157]
39816         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39817         (encrypt_r): Likewise.
39818         * malloc/obstack.h (obstack_free): Likewise.
39819         * posix/unistd.h (encrypt): Likewise.
39821 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39823         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39824         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39825         DL_CALL_DT_FINI() that call the functions directly.
39826         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39827         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39828         * elf/dl-fini.c: Likewise.
39830 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39832         * malloc/hooks.c (memalign_check): Add alignment rounding.
39833         * malloc/malloc.c (_mid_memalign): New function.
39834         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39835         Implement by calling _mid_memalign.
39836         * manual/probes.texi (Memory Allocation Probes): Remove
39837         memory_valloc_retry and memory_pvalloc_retry.
39839 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39841         * locale/programs/locarchive.c (open_archive): Add const
39842         qualifier to ARCHIVEFNAME and copy default fname to
39843         DEFAULT_FNAME.
39845         [BZ #15601]
39846         * libio/tst-widetext.input: Rename Oriya to Odia.
39847         * locale/iso-639.def: Likewise.
39849         * manual/probes.texi (Mathematical Function Probes): Add
39850         documentation for sin, cos, asin and acos probes.
39851         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39852         (__sin32): Add slowasin probe.
39853         (__cos32): Add slowacos probe.
39854         (__mpsin): Add slowsin probe.
39855         (__mpcos): Add slowcos probe.
39857 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39859         [BZ #15483]
39860         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39861         thread-local __sim_exceptions_thread and global
39862         __sim_exceptions_global.
39863         (__sim_disabled_exceptions): Change to thread-local
39864         __sim_disabled_exceptions_thread and global
39865         __sim_disabled_exceptions_global.
39866         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39867         and global __sim_round_mode_global.
39868         (__simulate_exceptions): Use thread-local floating-point state and
39869         set global state from it as needed.
39870         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39871         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39872         __sim_round_mode_thread.
39873         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39874         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39875         and global __sim_exceptions_global.
39876         (__sim_disabled_exceptions): Change to thread-local
39877         __sim_disabled_exceptions_thread and global
39878         __sim_disabled_exceptions_global.
39879         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39880         and global __sim_round_mode_global.
39881         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39882         (SIM_SET_GLOBAL): Likewise.
39883         * sysdeps/powerpc/soft-fp/sfp-machine.h
39884         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39885         __sim_round_mode_thread.
39886         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39887         __sim_disabled_exceptions_thread.
39888         (__sim_exceptions): Change to __sim_exceptions_thread.
39889         (__sim_disabled_exceptions): Change to
39890         __sim_disabled_exceptions_thread.
39891         (__sim_round_mode): Change to __sim_round_mode_thread.
39892         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39893         thread-local floating-point state and set global state from it as
39894         needed.
39895         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39896         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39897         (__sim_disabled_exceptions): Remove extern declaration.
39898         (feenableexcept): Use thread-local floating-point state and set
39899         global state from it as needed.
39900         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39901         extern declaration.
39902         (__sim_disabled_exceptions): Likewise.
39903         (__sim_round_mode): Likewise.
39904         (__fegetenv): Use thread-local floating-point state.
39905         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39906         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39907         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39908         floating-point state and set global state from it as needed.
39909         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39910         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39911         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39912         Likewise.
39913         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39914         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39915         Likewise.
39916         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39917         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39918         Use __sim_round_mode_thread.
39919         * math/test-fenv-tls.c: New file.
39920         * math/Makefile (tests): Add test-fenv-tls.
39921         ($(objpfx)test-fenv-tls): Depend on
39922         $(common-objpfx)nptl/libpthread.so.
39924 2013-11-19  Andreas Schwab  <schwab@suse.de>
39926         * locale/programs/locale.c (show_info): Decode wordarray elements.
39927         * locale/categories.def (LC_MONETARY): Add element for
39928         _NL_MONETARY_CRNCYSTR.
39929         * locale/C-monetary.c (conversion_rate): New variable.
39930         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39931         element.
39933 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39935         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39936         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39938 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39940         * elf/Makefile (tst-auxv): New test.
39941         * elf/tst-auxv.c: New
39942         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39944 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39946         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39947         (hidden_proto): Caller changed.
39948         (hidden_tls_proto): New macro.
39949         (libc_hidden_tls_proto): Likewise.
39950         (rtld_hidden_tls_proto): Likewise.
39951         (libm_hidden_tls_proto): Likewise.
39952         (libresolv_hidden_tls_proto): Likewise.
39953         (librt_hidden_tls_proto): Likewise.
39954         (libdl_hidden_tls_proto): Likewise.
39955         (libnss_files_hidden_tls_proto): Likewise.
39956         (libnsl_hidden_tls_proto): Likewise.
39957         (libnss_nisplus_hidden_tls_proto): Likewise.
39958         (libutil_hidden_tls_proto): Likewise.
39960 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39962         [BZ #10253]
39963         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39964         (decompose_rpath): Defer expansion to fillin_rpath.
39965         (_dl_init_paths): Pass linkmap to fillin_rpath.
39967 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39969         * benchtests/Makefile: Add strsep.
39970         * benchtests/bench-strsep.c: New file: strsep benchtest.
39971         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39973 2013-11-18  Andreas Schwab  <schwab@suse.de>
39975         * locale/programs/locale.c (show_info) [case byte]: Check for
39976         '\377' instead of '\177'.
39977         * locale/C-monetary.c (not_available): Always use "\377".
39978         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39979         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39980         detect unavailable sign_posn locale elements.
39981         * locale/localeconv.c (__localeconv): For grouping and
39982         mon_grouping handle "\177" and "\377" like no grouping.
39983         (INT_ELEM): New macro.  Use it to set all numeric members.
39984         * locale/programs/ld-monetary.c (monetary_read)
39985         <tok_mon_grouping>: Normalize single -1 to the empty string.
39986         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39987         Likewise.
39989 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39991         [BZ #16055]
39992         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39993         when we match (nil).
39994         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39996 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39998         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39999         (NO_TEST_INLINE): Update value.
40000         (ERRNO_UNCHANGED): Likewise.
40001         (ERRNO_EDOM): Likewise.
40002         (ERRNO_ERANGE): Likewise.
40003         (IGNORE_RESULT): Likewise.
40004         (check_float_internal): Check signs of NaN results if
40005         TEST_NAN_SIGN used.
40006         (check_complex): Pass TEST_NAN_SIGN flag through to second
40007         check_float_internal call.
40008         (copysign_test_data): Add tests with quiet NaNs as second
40009         argument.  Use TEST_NAN_SIGN.
40010         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40011         TEST_NAN_SIGN.
40012         (signbit_test_data): Add tests of quiet NaN argument.
40013         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40015         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40016         $ignore_result.
40017         (parse_args): Handle function results specified as IGNORE.
40018         * math/libm-test.inc (IGNORE_RESULT): New macro.
40019         (check_float_internal): Do not check numerical result if flag
40020         IGNORE_RESULT set.
40021         (check_complex): Pass through IGNORE_RESULT to second
40022         check_float_internal call.
40023         (check_int): Do not check numerical result if flag IGNORE_RESULT
40024         set.
40025         (check_long): Likewise.
40026         (check_bool): Likewise.
40027         (check_longlong): Likewise.
40028         (lrint_test_data): Add tests of infinite and NaN arguments.
40029         (lrint_tonearest_test_data): Likewise.
40030         (lrint_towardzero_test_data): Likewise.
40031         (lrint_downward_test_data): Likewise.
40032         (lrint_upward_test_data): Likewise.
40033         (llrint_test_data): Likewise.
40034         (llrint_tonearest_test_data): Likewise.
40035         (llrint_towardzero_test_data): Likewise.
40036         (llrint_downward_test_data): Likewise.
40037         (llrint_upward_test_data): Likewise.
40038         (lround_test_data): Likewise.
40039         (llround_test_data): Likewise.
40041         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40042         (ERRNO_UNCHANGED): Update value.
40043         (ERRNO_EDOM): Likewise.
40044         (ERRNO_ERANGE): Likewise.
40045         (NO_TEST_INLINE_FLOAT): New macro.
40046         (NO_TEST_INLINE_DOUBLE): Likewise.
40047         (enable_test): New function.
40048         (RUN_TEST_f_f): Check enable_test before running test.
40049         (RUN_TEST_2_f): Likewise.
40050         (RUN_TEST_fff_f): Likewise.
40051         (RUN_TEST_c_f): Likewise.
40052         (RUN_TEST_f_f1): Likewise.
40053         (RUN_TEST_fF_f1): Likewise.
40054         (RUN_TEST_fI_f1): Likewise.
40055         (RUN_TEST_ffI_f1): Likewise.
40056         (RUN_TEST_c_c): Likewise.
40057         (RUN_TEST_cc_c): Likewise.
40058         (RUN_TEST_f_i): Likewise.
40059         (RUN_TEST_f_i_tg): Likewise.
40060         (RUN_TEST_ff_i_tg): Likewise.
40061         (RUN_TEST_f_b): Likewise.
40062         (RUN_TEST_f_b_tg): Likewise.
40063         (RUN_TEST_f_l): Likewise.
40064         (RUN_TEST_f_L): Likewise.
40065         (RUN_TEST_fFF_11): Likewise.
40066         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40067         conditionals.
40068         (cosh_test_data): Likewise.
40069         (exp_test_data): Likewise.
40070         (expm1_test_data): Likewise.
40071         (hypot_test_data): Likewise.
40072         (pow_test_data): Likewise.
40073         (sinh_test_data): Likewise.
40074         (tanh_test_data): Likewise.
40075         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40076         flags argument.
40078         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40079         tests with quiet NaN input and output.
40080         (acosh_test_data): Likewise.
40081         (asin_test_data): Likewise.
40082         (asinh_test_data): Likewise.
40083         (atan_test_data): Likewise.
40084         (atanh_test_data): Likewise.
40085         (atan2_test_data): Likewise.
40086         (cbrt_test_data): Likewise.
40087         (cos_test_data): Likewise.
40088         (cosh_test_data): Likewise.
40089         (erf_test_data): Likewise.
40090         (erfc_test_data): Likewise.
40091         (exp_test_data): Likewise.
40092         (exp10_test_data): Likewise.
40093         (exp2_test_data): Likewise.
40094         (expm1_test_data): Likewise.
40095         (hypot_test_data): Likewise.
40096         (j0_test_data): Likewise.
40097         (j1_test_data): Likewise.
40098         (jn_test_data): Likewise.
40099         (lgamma_test_data): Likewise.
40100         (log_test_data): Likewise.
40101         (log10_test_data): Likewise.
40102         (log1p_test_data): Likewise.
40103         (log2_test_data): Likewise.
40104         (pow_test_data): Likewise.
40105         (scalb_test_data): Likewise.
40106         (sin_test_data): Likewise.
40107         (sincos_test_data): Likewise.
40108         (sinh_test_data): Likewise.
40109         (tan_test_data): Likewise.
40110         (tanh_test_data): Likewise.
40111         (tgamma_test_data): Likewise.
40112         (y0_test_data): Likewise.
40113         (y1_test_data): Likewise.
40114         (yn_test_data): Likewise.
40116         [BZ #16167]
40117         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40118         argument being NaN and avoid computations with second argument in
40119         that case.
40120         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40121         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40122         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40124 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40126         * locale/iso-639.def: Add Chitwani Tharu (the).
40128 2013-11-14  Andreas Schwab  <schwab@suse.de>
40130         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40131         word instead of empty string.
40133 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40136         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40138         (__fe_nomask_env): Likewise.
40140 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40142         * benchtests/bench-timing.h: Include time.h.
40144 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40146         [BZ #15997]
40147         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40148         to 3.4.0 for x32.
40149         * sysdeps/unix/sysv/linux/configure: Regenerated.
40151 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40153         [BZ #16151]
40154         * stdlib/strtod_l.c (round_and_return): Do not consider
40155         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40156         exponent one less than half the least subnormal exponent.
40157         * stdlib/test-strtod-round-data: Add more tests.
40158         * stdlib/tst-strtod-round.c (tests): Regenerated.
40160 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40162         [BZ #14143]
40163         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40164         (__fe_mask_env): Likewise.
40165         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40166         libm_hidden_proto and add function prototype.
40167         (__fe_mask_env): Add function prototype.
40168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40169         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40171         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40173         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40175 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40177         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40178         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40180 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40182         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40183         of htab_find_slot().
40185 2013-11-11  David S. Miller  <davem@davemloft.net>
40187         [BZ #16150]
40188         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40189         symbol in the non-vis3 case in static builds.
40190         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40191         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40192         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40193         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40195 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40197         [BZ #387]
40198         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40199         it is empty.
40201 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40203         * benchtests/Makefile: Add bench-strtod.
40204         * benchtests/bench-strtod.c: New file: strtod benchtest
40206 2013-11-11  Andreas Schwab  <schwab@suse.de>
40208         [BZ #16153]
40209         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40210         terminating NUL in key length.
40212 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40214         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40215         Add artificial ODP entry for vDSO symbol for PPC64.
40216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40217         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40219 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40221         [BZ #15374]
40222         * nss/getent.c (services_keys): Recognize services starting with digit.
40224 2013-11-06  David S. Miller  <davem@davemloft.net>
40226         [BZ #15985]
40227         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40228         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40230 2013-11-06  Will Newton  <will.newton@linaro.org>
40232         * manual/memory.texi (Malloc Examples): Remove register
40233         keyword from examples.
40235 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40237         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40239 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40241         [BZ #6981]
40242         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40243         depending on [__GCC_IEC_559 > 0].
40244         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40245         depending on [__GCC_IEC_559_COMPLEX > 0].
40247 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40249         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40250         to iso-639.def.
40252 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40254         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40256 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40258         [BZ #16112]
40259         * malloc/malloc (malloc_info): Do not handle first bin as
40260         special case.
40262 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40264         * locale/iso-639.def: Add Central Nahuatl (nhn).
40266 2013-11-01  Bruno Haible  <bruno@clisp.org>
40268         [BZ #7003]
40269         * manual/math.texi (BSD Random): Specify range upper bound as
40270         in POSIX.
40272 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40274         * locale/iso-639.def: Add Meadow Mari (mhr).
40276 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40278         [BZ #14752], [BZ #15763]
40279         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40280         Validate name.
40281         * rt/tst_shm.c: Add test for escaping directory.
40283 2013-10-31  Andreas Schwab  <schwab@suse.de>
40285         [BZ #15917]
40286         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40287         followed by 'x' as part of digit sequence.
40288         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40290 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40292         [BZ #16037]
40293         * configure.ac: allow GNU Make 4.0 and greater.
40294         * configure: Regenerated.
40296 2013-10-30  Will Newton  <will.newton@linaro.org>
40298         [BZ #16038]
40299         * malloc/hooks.c (memalign_check): Limit alignment to the
40300         maximum representable power of two.
40301         * malloc/malloc.c (__libc_memalign): Likewise.
40302         * malloc/tst-memalign.c (do_test): Add test for very
40303         large alignment values.
40304         * malloc/tst-posix_memalign.c (do_test): Likewise.
40306 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40308         [BZ #11087]
40309         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40310         (munmap_chunk): Likewise.
40311         (mremap_chunk): Likewise.
40313 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40315         [BZ #15799]
40316         * stdlib/div.c (div): Remove obsolete code.
40317         * stdlib/ldiv.c (ldiv): Likewise.
40318         * stdlib/lldiv.c (lldiv): Likewise.
40320 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40322         [BZ #16071]
40323         * nss/nss_files/files-XXX.c (get_contents_ret): New
40324         enumerator.
40325         (get_contents): New function.
40326         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40328 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40330         * configure.in: Moved to ...
40331         * configure.ac: ... here. Change reference to configure.in
40332         to configure.ac.
40333         * sysdeps/arm/preconfigure.ac: ... here.
40334         configure.in to configure.ac.
40335         * sysdeps/gnu/configure.in: Moved to ...
40336         * sysdeps/gnu/configure.ac: ... here.
40337         * sysdeps/i386/configure.in: Moved to ...
40338         * sysdeps/i386/configure.ac: ... here.
40339         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40340         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40341         * sysdeps/mach/configure.in: Moved to ...
40342         * sysdeps/mach/configure.ac: ... here.
40343         * sysdeps/mach/hurd/configure.in: Moved to ...
40344         * sysdeps/mach/hurd/configure.ac: ... here.
40345         * sysdeps/powerpc/configure.in: Moved to ...
40346         * sysdeps/powerpc/configure.ac: ... here.
40347         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40348         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40349         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40350         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40351         * sysdeps/s390/s390-32/configure.in: Moved to ...
40352         * sysdeps/s390/s390-32/configure.ac: ... here.
40353         * sysdeps/s390/s390-64/configure.in: Moved to ...
40354         * sysdeps/s390/s390-64/configure.ac: ... here.
40355         * sysdeps/sh/configure.in: Moved to ...
40356         * sysdeps/sh/configure.ac: ... here.
40357         * sysdeps/sparc/configure.in: Moved to ...
40358         * sysdeps/sparc/configure.ac: ... here.
40359         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40360         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40361         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40362         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40363         * sysdeps/x86_64/configure.in: Moved to ...
40364         * sysdeps/x86_64/configure.ac: ... here.
40365         * sysdeps/x86_64/preconfigure.in: Moved to ...
40366         * sysdeps/x86_64/preconfigure.ac: ... here.
40367         * aclocal.m4: Change reference to configure.in to configure.ac.
40368         * config.h.in: Likewise.
40369         * manual/install.texi: Likewise.
40370         * manual/maint.texi: Likewise.
40371         * Makefile: Likewise.
40372         * malloc/Makefile: Likewise.
40373         * nscd/Makefile: Likewise.
40374         * Makeconfig: Change reference to configure.in and
40375         preconfigure.in to configure.ac and preconfigure.ac
40376         respectively.
40377         * INSTALL: Regenerated.
40378         * configure: Likewise.
40379         * sysdeps/gnu/configure: Likewise.
40380         * sysdeps/i386/configure: Likewise.
40381         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40382         * sysdeps/mach/configure: Likewise.
40383         * sysdeps/mach/hurd/configure: Likewise.
40384         * sysdeps/powerpc/configure: Likewise.
40385         * sysdeps/powerpc/powerpc32/configure: Likewise.
40386         * sysdeps/powerpc/powerpc64/configure: Likewise.
40387         * sysdeps/s390/s390-32/configure: Likewise.
40388         * sysdeps/s390/s390-64/configure: Likewise.
40389         * sysdeps/sh/configure: Likewise.
40390         * sysdeps/sparc/configure: Likewise.
40391         * sysdeps/unix/sysv/linux/configure: Likewise.
40392         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40393         * sysdeps/x86_64/configure: Likewise.
40394         * sysdeps/x86_64/preconfigure: Likewise.
40396 2013-10-29  Andreas Schwab  <schwab@suse.de>
40398         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40400 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40402         * benchtests/pow-inputs: Add new inputs.
40404         * benchtests/exp-inputs: Add new inputs.
40406         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40407         conditional check for return value.
40408         (__cos32): Likewise.
40410 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40412         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40413         to provide a boost for large inputs with word alignment.
40414         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40415         implementation based on optimized PPC64 strcpy.
40416         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40417         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40418         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40419         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40421 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40423         [BZ #2801]
40424         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40426 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40428         [BZ #14876]
40429         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40430         * time/tst-strptime.c (day_tests): Add testcase.
40432 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40434         [BZ #14029]
40435         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40437 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40439         [BZ #16074]
40440         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40441         MAP_FAILED on error.
40443 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40445         [BZ #16072]
40446         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40447         heap for large requests.
40449 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40451         [BZ #9954]
40452         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40453         result if the result has no associated interface.
40454         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40455         interface for all 127.X.Y.Z addresses.
40457 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40459         * locale/iso-639.def: Add Ligurian (lij)
40461 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40463         [BZ #15825]
40464         * sunrpc/rpc_main.c: Document rpcgen -5.
40466 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40468         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40470 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40472         [BZ #10278]
40473         * posix/glob.c: Match only directories when trailing slash is present.
40474         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40475         (main): Add testcase.
40477 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40479         [BZ #15670]
40480         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40482 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40484         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40485         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40486         AUTH_DES and cindex for FIPS 140-2.
40487         (DES Encryption): Add cindex FIPS 46-3.
40489         * locale/locarchive.h (struct locarhandle): Add fname.
40490         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40491         if an optional argument was specified to --list-archive,
40492         otherwise NULL.
40493         * locale/programs/locarchive.c (show_archive_content): Take new
40494         argument fname and pass it via ah.fname to open_archive.
40495         * locale/programs/localedef.h: Update decl.
40496         (open_archive): If AH->fname is non-null, open that file
40497         rather than the default file name, and don't ignore ENOENT.
40498         (create_archive): Set AH.fname to NULL.
40499         (delete_locales_from_archive): Likewise.
40500         (add_locales_to_archive): Likewise.
40501         * locale/programs/locfile.c (write_all_categories): Likewise.
40503 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40504             Aldy Hernandez  <aldyh@redhat.com>
40506         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40507         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40508         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40509         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40510         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40511         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40512         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40513         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40514         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40515         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40516         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40517         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40518         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40519         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40520         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40521         Likewise.
40522         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40523         Likewise.
40524         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40525         Likewise.
40526         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40527         Likewise.
40528         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40529         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40530         Likewise.
40531         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40532         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40533         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40534         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40535         Likewise.
40536         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40537         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40538         * sysdeps/powerpc/preconfigure: Likewise.
40539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40540         Likewise.
40541         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40542         Replace contents of file by #include of <fenv_libc.h>.
40543         * sysdeps/powerpc/soft-fp/sfp-machine.h
40544         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40545         and <sys/prctl.h>.
40546         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40547         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40552         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40553         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40554         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40555         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40556         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40557         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40559         Allow copysignl PLT reference to be missing.
40561 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40562             Joseph Myers  <joseph@codesourcery.com
40564         [BZ #15948]
40565         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40566         single character.
40567         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40569 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40571         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40572         * elf/tst-tls1.c: Likewise.
40573         * elf/tst-tls10.h: Likewise.
40574         * elf/tst-tls14.c: Likewise.
40575         * elf/tst-tls2.c: Likewise.
40576         * elf/tst-tls3.c: Likewise.
40577         * elf/tst-tls4.c: Likewise.
40578         * elf/tst-tls5.c: Likewise.
40579         * elf/tst-tls6.c: Likewise.
40580         * elf/tst-tls7.c: Likewise.
40581         * elf/tst-tls8.c: Likewise.
40582         * elf/tst-tls9.c: Likewise.
40583         * elf/tst-tlsmod1.c: Likewise.
40584         * elf/tst-tlsmod13.c: Likewise.
40585         * elf/tst-tlsmod13a.c: Likewise.
40586         * elf/tst-tlsmod14a.c: Likewise.
40587         * elf/tst-tlsmod16a.c: Likewise.
40588         * elf/tst-tlsmod16b.c: Likewise.
40589         * elf/tst-tlsmod2.c: Likewise.
40590         * elf/tst-tlsmod3.c: Likewise.
40591         * elf/tst-tlsmod4.c: Likewise.
40592         * elf/tst-tlsmod5.c: Likewise.
40593         * elf/tst-tlsmod6.c: Likewise.
40595 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40597         [BZ #12486]
40598         * malloc/malloc.c: remove checks for statistics.
40600 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40602         [BZ #15277]
40603         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40604         * inet/tst-network.c: Add testcase.
40606 2013-10-17  Andreas Schwab  <schwab@suse.de>
40608         [BZ #15218]
40609         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40610         to determine canonical name.
40612 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40614         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40615         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40617         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40618         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40619         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40620         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40621         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40622         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40623         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40624         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40625         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40626         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40627         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40628         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40629         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40631         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40632         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40633         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40634         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40635         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40636         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40637         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40638         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40639         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40640         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40641         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40642         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40643         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40644         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40646         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40647         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40648         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40649         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40650         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40651         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40652         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40653         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40654         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40655         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40656         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40657         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40658         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40659         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40660         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40661         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40662         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40663         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40664         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40665         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40666         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40667         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40668         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40669         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40670         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40671         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40673 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40675         [BZ #16041]
40676         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40677         make result into a quiet NaN.
40679 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40681         * soft-fp/adddf3.c: Fix horizontal whitespace.
40682         * soft-fp/addsf3.c: Likewise.
40683         * soft-fp/addtf3.c: Likewise.
40684         * soft-fp/divdf3.c: Likewise.
40685         * soft-fp/divsf3.c: Likewise.
40686         * soft-fp/divtf3.c: Likewise.
40687         * soft-fp/double.h: Likewise.
40688         * soft-fp/eqdf2.c: Likewise.
40689         * soft-fp/eqsf2.c: Likewise.
40690         * soft-fp/eqtf2.c: Likewise.
40691         * soft-fp/extenddftf2.c: Likewise.
40692         * soft-fp/extended.h: Likewise.
40693         * soft-fp/extendsfdf2.c: Likewise.
40694         * soft-fp/extendsftf2.c: Likewise.
40695         * soft-fp/extendxftf2.c: Likewise.
40696         * soft-fp/fixdfdi.c: Likewise.
40697         * soft-fp/fixdfsi.c: Likewise.
40698         * soft-fp/fixdfti.c: Likewise.
40699         * soft-fp/fixsfdi.c: Likewise.
40700         * soft-fp/fixsfsi.c: Likewise.
40701         * soft-fp/fixsfti.c: Likewise.
40702         * soft-fp/fixtfdi.c: Likewise.
40703         * soft-fp/fixtfsi.c: Likewise.
40704         * soft-fp/fixtfti.c: Likewise.
40705         * soft-fp/fixunsdfdi.c: Likewise.
40706         * soft-fp/fixunsdfsi.c: Likewise.
40707         * soft-fp/fixunsdfti.c: Likewise.
40708         * soft-fp/fixunssfdi.c: Likewise.
40709         * soft-fp/fixunssfsi.c: Likewise.
40710         * soft-fp/fixunssfti.c: Likewise.
40711         * soft-fp/fixunstfdi.c: Likewise.
40712         * soft-fp/fixunstfsi.c: Likewise.
40713         * soft-fp/fixunstfti.c: Likewise.
40714         * soft-fp/floatdidf.c: Likewise.
40715         * soft-fp/floatdisf.c: Likewise.
40716         * soft-fp/floatditf.c: Likewise.
40717         * soft-fp/floatsidf.c: Likewise.
40718         * soft-fp/floatsisf.c: Likewise.
40719         * soft-fp/floatsitf.c: Likewise.
40720         * soft-fp/floattidf.c: Likewise.
40721         * soft-fp/floattisf.c: Likewise.
40722         * soft-fp/floattitf.c: Likewise.
40723         * soft-fp/floatundidf.c: Likewise.
40724         * soft-fp/floatundisf.c: Likewise.
40725         * soft-fp/floatunditf.c: Likewise.
40726         * soft-fp/floatunsidf.c: Likewise.
40727         * soft-fp/floatunsisf.c: Likewise.
40728         * soft-fp/floatunsitf.c: Likewise.
40729         * soft-fp/floatuntidf.c: Likewise.
40730         * soft-fp/floatuntisf.c: Likewise.
40731         * soft-fp/floatuntitf.c: Likewise.
40732         * soft-fp/fmadf4.c: Likewise.
40733         * soft-fp/fmasf4.c: Likewise.
40734         * soft-fp/fmatf4.c: Likewise.
40735         * soft-fp/gedf2.c: Likewise.
40736         * soft-fp/gesf2.c: Likewise.
40737         * soft-fp/getf2.c: Likewise.
40738         * soft-fp/ledf2.c: Likewise.
40739         * soft-fp/lesf2.c: Likewise.
40740         * soft-fp/letf2.c: Likewise.
40741         * soft-fp/muldf3.c: Likewise.
40742         * soft-fp/mulsf3.c: Likewise.
40743         * soft-fp/multf3.c: Likewise.
40744         * soft-fp/negdf2.c: Likewise.
40745         * soft-fp/negsf2.c: Likewise.
40746         * soft-fp/negtf2.c: Likewise.
40747         * soft-fp/op-1.h: Likewise.
40748         * soft-fp/op-2.h: Likewise.
40749         * soft-fp/op-4.h: Likewise.
40750         * soft-fp/op-8.h: Likewise.
40751         * soft-fp/op-common.h: Likewise.
40752         * soft-fp/quad.h: Likewise.
40753         * soft-fp/single.h: Likewise.
40754         * soft-fp/soft-fp.h: Likewise.
40755         * soft-fp/sqrtdf2.c: Likewise.
40756         * soft-fp/sqrtsf2.c: Likewise.
40757         * soft-fp/sqrttf2.c: Likewise.
40758         * soft-fp/subdf3.c: Likewise.
40759         * soft-fp/subsf3.c: Likewise.
40760         * soft-fp/subtf3.c: Likewise.
40761         * soft-fp/truncdfsf2.c: Likewise.
40762         * soft-fp/trunctfdf2.c: Likewise.
40763         * soft-fp/trunctfsf2.c: Likewise.
40764         * soft-fp/trunctfxf2.c: Likewise.
40765         * soft-fp/unorddf2.c: Likewise.
40766         * soft-fp/unordsf2.c: Likewise.
40767         * soft-fp/unordtf2.c: Likewise.
40769 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40771         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40772         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40774 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40776         * elf/dl-libc.c: Clear initfini list after freeing.
40778 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40780         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40781         * soft-fp/addsf3.c: Likewise.
40782         * soft-fp/addtf3.c: Likewise.
40783         * soft-fp/divdf3.c: Likewise.
40784         * soft-fp/divsf3.c: Likewise.
40785         * soft-fp/divtf3.c: Likewise.
40786         * soft-fp/double.h: Likewise.
40787         * soft-fp/eqdf2.c: Likewise.
40788         * soft-fp/eqsf2.c: Likewise.
40789         * soft-fp/eqtf2.c: Likewise.
40790         * soft-fp/extenddftf2.c: Likewise.
40791         * soft-fp/extended.h: Likewise.
40792         * soft-fp/extendsfdf2.c: Likewise.
40793         * soft-fp/extendsftf2.c: Likewise.
40794         * soft-fp/extendxftf2.c: Likewise.
40795         * soft-fp/fixdfdi.c: Likewise.
40796         * soft-fp/fixdfsi.c: Likewise.
40797         * soft-fp/fixdfti.c: Likewise.
40798         * soft-fp/fixsfdi.c: Likewise.
40799         * soft-fp/fixsfsi.c: Likewise.
40800         * soft-fp/fixsfti.c: Likewise.
40801         * soft-fp/fixtfdi.c: Likewise.
40802         * soft-fp/fixtfsi.c: Likewise.
40803         * soft-fp/fixtfti.c: Likewise.
40804         * soft-fp/fixunsdfdi.c: Likewise.
40805         * soft-fp/fixunsdfsi.c: Likewise.
40806         * soft-fp/fixunsdfti.c: Likewise.
40807         * soft-fp/fixunssfdi.c: Likewise.
40808         * soft-fp/fixunssfsi.c: Likewise.
40809         * soft-fp/fixunssfti.c: Likewise.
40810         * soft-fp/fixunstfdi.c: Likewise.
40811         * soft-fp/fixunstfsi.c: Likewise.
40812         * soft-fp/fixunstfti.c: Likewise.
40813         * soft-fp/floatdidf.c: Likewise.
40814         * soft-fp/floatdisf.c: Likewise.
40815         * soft-fp/floatditf.c: Likewise.
40816         * soft-fp/floatsidf.c: Likewise.
40817         * soft-fp/floatsisf.c: Likewise.
40818         * soft-fp/floatsitf.c: Likewise.
40819         * soft-fp/floattidf.c: Likewise.
40820         * soft-fp/floattisf.c: Likewise.
40821         * soft-fp/floattitf.c: Likewise.
40822         * soft-fp/floatundidf.c: Likewise.
40823         * soft-fp/floatundisf.c: Likewise.
40824         * soft-fp/floatunsidf.c: Likewise.
40825         * soft-fp/floatunsisf.c: Likewise.
40826         * soft-fp/floatuntidf.c: Likewise.
40827         * soft-fp/floatuntisf.c: Likewise.
40828         * soft-fp/floatuntitf.c: Likewise.
40829         * soft-fp/fmadf4.c: Likewise.
40830         * soft-fp/fmasf4.c: Likewise.
40831         * soft-fp/fmatf4.c: Likewise.
40832         * soft-fp/gedf2.c: Likewise.
40833         * soft-fp/gesf2.c: Likewise.
40834         * soft-fp/getf2.c: Likewise.
40835         * soft-fp/ledf2.c: Likewise.
40836         * soft-fp/lesf2.c: Likewise.
40837         * soft-fp/letf2.c: Likewise.
40838         * soft-fp/muldf3.c: Likewise.
40839         * soft-fp/mulsf3.c: Likewise.
40840         * soft-fp/multf3.c: Likewise.
40841         * soft-fp/negdf2.c: Likewise.
40842         * soft-fp/negsf2.c: Likewise.
40843         * soft-fp/negtf2.c: Likewise.
40844         * soft-fp/op-1.h: Likewise.
40845         * soft-fp/op-2.h: Likewise.
40846         * soft-fp/op-4.h: Likewise.
40847         * soft-fp/op-8.h: Likewise.
40848         * soft-fp/op-common.h: Likewise.
40849         * soft-fp/quad.h: Likewise.
40850         * soft-fp/single.h: Likewise.
40851         * soft-fp/soft-fp.h: Likewise.
40852         * soft-fp/sqrtdf2.c: Likewise.
40853         * soft-fp/sqrtsf2.c: Likewise.
40854         * soft-fp/sqrttf2.c: Likewise.
40855         * soft-fp/subdf3.c: Likewise.
40856         * soft-fp/subsf3.c: Likewise.
40857         * soft-fp/subtf3.c: Likewise.
40858         * soft-fp/truncdfsf2.c: Likewise.
40859         * soft-fp/trunctfdf2.c: Likewise.
40860         * soft-fp/trunctfsf2.c: Likewise.
40861         * soft-fp/trunctfxf2.c: Likewise.
40862         * soft-fp/unorddf2.c: Likewise.
40863         * soft-fp/unordsf2.c: Likewise.
40864         * soft-fp/unordtf2.c: Likewise.
40866 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40868         [BZ #15672]
40869         * misc/error.c (error_tail): Fix possible buffer overflow.
40871 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40873         [BZ #13028]
40874         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40875         address.
40877 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40879         [BZ #832]
40880         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40881         testing pipefail option.
40883 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40885         * soft-fp/double.h: Indent preprocessor directives inside #if.
40886         * soft-fp/extended.h: Likewise.
40887         * soft-fp/op-2.h: Likewise.
40888         * soft-fp/op-4.h: Likewise.
40889         * soft-fp/op-common.h: Likewise.
40890         * soft-fp/quad.h: Likewise.
40891         * soft-fp/single.h: Likewise.
40892         * soft-fp/soft-fp.h: Likewise.
40894 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40896         * iconv/iconv_prog.c: Fix typos.
40897         * stdio-common/psiginfo-data.h: Likewise.
40899 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40901         [BZ #15764]
40902         * locale/setlocale.c: Fix typo.
40904 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40906         [BZ #16036]
40907         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40908         signaling NaN arguments.
40909         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40910         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40912         [BZ #14910]
40913         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40914         unordered operands.
40915         * soft-fp/gesf2.c (__gesf2): Likewise.
40916         * soft-fp/getf2.c (__getf2): Likewise.
40917         * soft-fp/ledf2.c (__ledf2): Likewise.
40918         * soft-fp/lesf2.c (__lesf2): Likewise.
40919         * soft-fp/letf2.c (__letf2): Likewise.
40921         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40922         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40923         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40924         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40925         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40926         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40927         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40928         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40929         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40930         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40931         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40932         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40933         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40934         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40935         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40936         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40937         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40938         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40939         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40940         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40941         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40942         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40943         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40944         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40945         * soft-fp/floattidf.c (__floattidf): Likewise.
40946         * soft-fp/floattisf.c (__floattisf): Likewise.
40947         * soft-fp/floattitf.c (__floattitf): Likewise.
40948         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40949         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40950         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40951         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40952         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40953         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40954         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40955         * soft-fp/gesf2.c (__gesf2): Likewise.
40956         * soft-fp/getf2.c (__getf2): Likewise.
40957         * soft-fp/ledf2.c (__ledf2): Likewise.
40958         * soft-fp/lesf2.c (__lesf2): Likewise.
40959         * soft-fp/letf2.c (__letf2): Likewise.
40961         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40962         Undefine and redefine.
40963         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40964         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40965         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40966         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40967         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40968         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40969         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40970         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40971         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40972         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40973         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40974         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40975         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40976         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40977         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40979         [BZ #16032]
40980         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40981         without decrementing exponent if mantissa >= that for the
40982         denominator, not >.
40983         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40984         denominator, not >.  Decrement exponent in < case instead of
40985         incrementing in >= case.
40986         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40987         without decrementing exponent if mantissa >= that for the
40988         denominator, not >.
40990         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40991         computing saturated result for unsigned overflow.
40993 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40994             Jeff Law  <law@redhat.com>
40996         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40997         (atan2Mp): Add systemtap probe marker.
40998         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40999         (__ieee754_log): Add systemtap probe marker.
41000         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41001         (atanMp): Add systemtap probe marker.
41002         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41003         (tanMp): Add systemtap probe marker.
41004         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41005         (__slowexp): Add systemtap probe marker.
41006         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41007         (__slowpow): Add systemtap probe marker.
41008         * manual/probes.texi: Document probes.
41010 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41012         [BZ #15362]
41013         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41014         written.
41015         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41016         written.
41017         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41018         written to buffer but not flushed.
41019         * libio/iofwrite_u.c:  Likewise.
41020         * libio/iopadn.c:  Return bytes returned even if EOF was
41021         encountered.
41022         * libio/iowpadn.c:  Likewise.
41023         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41024         if _IO_padn does not write the whole buffer.
41025         [!COMPILE_WPRINTF] (PAD): Likewise.
41027 2013-10-10  David S. Miller  <davem@davemloft.net>
41029         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41030         directory block.
41032 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41034         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41035         instead of FSF address.
41036         * soft-fp/fixdfti.c: Likewise.
41037         * soft-fp/fixsfti.c: Likewise.
41038         * soft-fp/fixtfti.c: Likewise.
41039         * soft-fp/fixunsdfti.c: Likewise.
41040         * soft-fp/fixunssfti.c: Likewise.
41041         * soft-fp/fixunstfti.c: Likewise.
41042         * soft-fp/floattidf.c: Likewise.
41043         * soft-fp/floattisf.c: Likewise.
41044         * soft-fp/floattitf.c: Likewise.
41045         * soft-fp/floatuntidf.c: Likewise.
41046         * soft-fp/floatuntisf.c: Likewise.
41047         * soft-fp/floatuntitf.c: Likewise.
41048         * soft-fp/trunctfxf2.c: Likewise.
41050         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41051         * soft-fp/fixdfti.c: Likewise.
41052         * soft-fp/fixsfti.c: Likewise.
41053         * soft-fp/fixtfti.c: Likewise.
41054         * soft-fp/fixunsdfti.c: Likewise.
41055         * soft-fp/fixunssfti.c: Likewise.
41056         * soft-fp/fixunstfti.c: Likewise.
41057         * soft-fp/floattidf.c: Likewise.
41058         * soft-fp/floattisf.c: Likewise.
41059         * soft-fp/floattitf.c: Likewise.
41060         * soft-fp/floatuntidf.c: Likewise.
41061         * soft-fp/floatuntisf.c: Likewise.
41062         * soft-fp/floatuntitf.c: Likewise.
41063         * soft-fp/trunctfxf2.c: Likewise.
41065 2013-10-10  David S. Miller  <davem@davemloft.net>
41067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41069 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41071         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41072         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41073         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41074         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41075         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41076         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41077         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41079         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41080         for NaNs before doing comparisons on argument.
41081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41082         Likewise.
41084 2013-10-10  Will Newton  <will.newton@linaro.org>
41086         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41087         passed to _int_memalign does not overflow.
41089 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41091         * scripts/bench.pl: Add include-sources directive.
41092         * benchtests/README: Update documentation.
41094 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41096         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41097         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41098         instead of FP_INIT_ROUNDMODE.
41099         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41100         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41102         [BZ #16034]
41103         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41104         copy class of input value.
41105         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41106         not handle exceptions.
41107         * soft-fp/negsf2.c (__negsf2): Likewise.
41108         * soft-fp/negtf2.c (__negtf2): Likewise.
41109         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41111 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41113         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41114         semicolon.  From Linux kernel.
41116 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41118         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41120 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41122         [BZ #156]
41123         * manual/socket.texi: Added statement about buffer
41124         for gethostbyname2_r.
41126 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41128         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41129         Use .p2align directive instead, throughout.
41130         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41131         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41132         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41133         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41134         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41135         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41136         * sysdeps/x86_64/strchr.S: Likewise.
41137         * sysdeps/x86_64/strrchr.S: Likewise.
41139 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41141         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41143         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41145         * sysdeps/generic/math_private.h (__mpsin1): Remove
41146         declaration.
41147         (__mpcos1): Likewise.
41148         (__mpsin): New argument __range_reduce.
41149         (__mpcos): Likewise.
41150         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41151         (slow): Use __mpsin and __mpcos.
41152         (slow1): Likewise.
41153         (slow2): Likewise.
41154         (sloww): Likewise.
41155         (sloww1): Likewise.
41156         (sloww2): Likewise.
41157         (bsloww): Likewise.
41158         (bsloww1): Likewise.
41159         (bsloww2): Likewise.
41160         (cslow2): Likewise.
41161         (csloww): Likewise.
41162         (csloww1): Likewise.
41163         (csloww2): Likewise.
41164         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41165         range_reduce.  Merge in __mpsin1.
41166         (__mpcos): Likewise.
41167         (__mpsin1): Remove.
41168         (__mpcos1): Likewise.
41170 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41172         * locale/loadlocale.c (_nl_intern_locale_data): Use
41173         LOCFILE_ALIGNED_P.
41174         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41175         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41176         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41177         obstack data is appropriately aligned.
41178         (obstack_int32_grow_fast): Likewise.
41179         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41180         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41181         (add_locale_uint32_array): Likewise.
41183 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41185         * benchtests/Makefile: Remove ARGLIST and RET variables.
41186         ($(objpfx)bench-%.c): Pass only function name to the script.
41187         * benchtests/README: Update documentation.
41188         * benchtests/acos-inputs: Add new directives.
41189         * benchtests/acosh-inputs: Likewise.
41190         * benchtests/asin-inputs: Likewise.
41191         * benchtests/asinh-inputs: Likewise.
41192         * benchtests/atan-inputs: Likewise.
41193         * benchtests/atanh-inputs: Likewise.
41194         * benchtests/cos-inputs: Likewise.
41195         * benchtests/cosh-inputs: Likewise.
41196         * benchtests/exp-inputs: Likewise.
41197         * benchtests/log-inputs: Likewise.
41198         * benchtests/pow-inputs: Likewise.
41199         * benchtests/rint-inputs: Likewise.
41200         * benchtests/sin-inputs: Likewise.
41201         * benchtests/sinh-inputs: Likewise.
41202         * benchtests/tan-inputs: Likewise.
41203         * benchtests/tanh-inputs: Likewise.
41204         * scripts/bench.pl: Add support for new directives.
41206 2013-10-07  Alan Modra  <amodra@gmail.com>
41208         * README: Fix careless merge.
41210 2013-10-05  Alan Modra  <amodra@gmail.com>
41212         * NEWS: Mention powerpc64le support and bugs fixed.
41213         * README: Both big-endian and little-endian powerpc64 supported.
41215 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41217         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41218         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41219         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41220         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41222 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41224         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41225         match prototype.
41227 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41229         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41230         Move -mhard-float appending from
41231         ports/sysdeps/powerpc/powerpc32/Makefile.
41232         [$(with-fp) = yes] (ASFLAGS): Likewise.
41233         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41234         * sysdeps/powerpc/nofpu: Move directory from
41235         ports/sysdeps/powerpc/nofpu.
41236         * sysdeps/powerpc/soft-fp: Move directory from
41237         ports/sysdeps/powerpc/soft-fp.
41238         * sysdeps/powerpc/powerpc32/405: Move directory from
41239         ports/sysdeps/powerpc/powerpc32/405.
41240         * sysdeps/powerpc/powerpc32/440: Move directory from
41241         ports/sysdeps/powerpc/powerpc32/440.
41242         * sysdeps/powerpc/powerpc32/464: Move directory from
41243         ports/sysdeps/powerpc/powerpc32/464.
41244         * sysdeps/powerpc/powerpc32/476: Move directory from
41245         ports/sysdeps/powerpc/powerpc32/476.
41246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41247         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41249         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41251         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41253         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41255         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41256         * README: Update for powerpc-*-linux-gnu software floating point
41257         support in libc.
41259         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41260         case to powerpc/powerpc32*.
41261         * sysdeps/unix/sysv/linux/configure: Regenerated.
41263         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41264         (_FPU_MASK_OM): Define as 0x04.
41265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41267         0x00c10080.
41268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41269         0x0000003c.
41270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41273         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41274         getcontext_e500.
41275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41276         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41277         setcontext_e500.
41278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41279         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41280         and setcontext_e500.
41282 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41284         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41286 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41288         * manual/threads.texi (Default Thread Attributes): Fix typo.
41290 2013-10-04  Will Newton  <will.newton@linaro.org>
41292         * malloc/Makefile: Add tst-memalign.
41293         * malloc/tst-memalign.c: New file.
41295         * malloc/tst-posix_memalign.c: Add comments.
41296         (do_test): Add comments and call free on all potentially
41297         allocated pointers. Add space after cast.
41299         * malloc/tst-pvalloc.c: Add comments.
41300         (do_test): Add comments and call free on all potentially
41301         allocated pointers. Remove duplicate check for NULL pointer.
41302         Add space after cast.
41304         * malloc/tst-valloc.c: Add comments.
41305         (do_test): Add comments and call free on all potentially
41306         allocated pointers. Remove duplicate check for NULL pointer.
41307         Add space after cast.
41309 2013-10-04  Alan Modra  <amodra@gmail.com>
41311         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41312         Use stdint types in rather than __attribute__((mode())).
41313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41315 2013-10-04  Alan Modra  <amodra@gmail.com>
41317         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41318         Correct handling of unaligned relocs for little-endian.
41319         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41321 2013-10-04  Alan Modra  <amodra@gmail.com>
41323         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41324         * configure: Regenerate.
41325         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41326         * shlib-versions: Likewise.
41328 2013-10-04  Alan Modra  <amodra@gmail.com>
41330         * string/tester.c (test_memrchr): Increment reported test cycle.
41332 2013-10-04  Alan Modra  <amodra@gmail.com>
41334         * string/test-memcpy.c (do_one_test): When reporting errors, print
41335         string address and don't overrun end of string.
41337 2013-10-04  Alan Modra  <amodra@gmail.com>
41339         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41340         insrdi.  Make better use of reg selection to speed exit slightly.
41341         Schedule entry path a little better.  Remove useless "are we done"
41342         checks on entry to main loop.  Handle wrapping around zero address.
41343         Correct main loop count.  Handle single left-over word from main
41344         loop inline rather than by using loop_small.  Remove extra word
41345         case in loop_small caused by wrong loop count.  Add little-endian
41346         support.
41347         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41348         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41349         cache hint.
41350         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41351         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41352         support.  Avoid rlwimi.
41353         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41355 2013-10-04  Alan Modra  <amodra@gmail.com>
41357         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41358         insrdi.  Formatting.
41359         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41360         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41361         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41362         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41363         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41364         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41366 2013-10-04  Alan Modra  <amodra@gmail.com>
41368         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41370         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41371         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41372         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41373         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41374         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41375         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41376         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41377         use of regs.  Use power7 mtocrf.  Tidy function tails.
41379 2013-10-04  Alan Modra  <amodra@gmail.com>
41381         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41382         Formatting.  Consistently use rXXX register defines or rN defines.
41383         Use early exit labels that avoid restoring unused non-volatile regs.
41384         Make cr field use more consistent with rWORDn compares.  Rename
41385         regs used as shift registers for unaligned loop, using rN defines
41386         for short lifetime/multiple use regs.
41387         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41388         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41389         addi 1,1,64 to pop stack frame.  Simplify return value code.
41390         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41392 2013-10-04  Alan Modra  <amodra@gmail.com>
41394         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41395         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41396         rather than rlwimi.
41397         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41398         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41399         little-endian support.  Correct typos.
41400         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41401         rather than rlwimi.
41402         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41403         in loop and entry code to keep "and." results.
41404         (strchr): Add little-endian support.  Comment.  Move cntlzd
41405         earlier in tail.
41406         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41408 2013-10-04  Alan Modra  <amodra@gmail.com>
41410         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41411         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41412         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41413         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41415 2013-10-04  Alan Modra  <amodra@gmail.com>
41417         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41418         (rTMP): Define as r11.
41419         (strcmp): Add little-endian support.  Optimise tail.
41420         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41421         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41422         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41423         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41424         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41425         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41426         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41428 2013-10-04  Alan Modra  <amodra@gmail.com>
41430         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41431         little-endian support.  Remove unnecessary "are we done" tests.
41432         Handle "s" wrapping around zero and extremely large "size".
41433         Correct main loop count.  Handle single left-over word from main
41434         loop inline rather than by using small_loop.  Correct comments.
41435         Delete "zero" tail, use "end_max" instead.
41436         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41438 2013-10-04  Alan Modra  <amodra@gmail.com>
41440         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41441         support.  Don't branch over align.
41442         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41443         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41444         support.  Rearrange tmp reg use to suit.  Comment.
41445         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41447 2013-10-04  Alan Modra  <amodra@gmail.com>
41449         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41451 2013-10-04  Alan Modra  <amodra@gmail.com>
41453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41454         conditional form of branch and link when obtaining pc.
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41457 2013-10-04  Alan Modra  <amodra@gmail.com>
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41460         HIWORD/LOWORD.
41461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41464 2013-10-04  Alan Modra  <amodra@gmail.com>
41466         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41467         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41468         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41469         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41470         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41471         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41472         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41473         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41474         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41475         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41477 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41478             Alistair Popple <alistair@ozlabs.au.ibm.com>
41479             Alan Modra <amodra@gmail.com>
41481         [BZ #15723]
41482         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41483         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41484         _dl_hwcap access for little-endian.
41485         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41486         destroy vmx regs when saving unaligned.
41487         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41488         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41489         destroy vmx regs when saving unaligned.
41491 2013-10-04  Alan Modra  <amodra@gmail.com>
41493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41494         Don't use a union to pack hi/low value.
41496 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41498         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41499         for little-endian.
41500         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41501         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41502         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41503         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41504         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41506 2013-10-04  Alan Modra  <amodra@gmail.com>
41508         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41509         constants to usual value for .cst8 section, and remove redundant
41510         high address load.
41511         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41512         constant for 0x1p52.  Load little-endian words of double from
41513         correct stack offsets.
41515 2013-10-04  Alan Modra  <amodra@gmail.com>
41517         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41518         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41519         words of double from correct stack offsets.
41520         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41521         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41522         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41523         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41524         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41525         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41526         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41527         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41528         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41529         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41530         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41531         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41532         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41533         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41534         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41535         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41536         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41538 2013-10-04  Alan Modra  <amodra@gmail.com>
41540         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41541         64-bit int/double union.
41542         (_FPU_SETCW): Likewise.
41543         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41544         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41546 2013-10-04  Alan Modra  <amodra@gmail.com>
41548         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41549         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41551 2013-10-04  Alan Modra  <amodra@gmail.com>
41553         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41554         use vector int constants.
41555         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41557 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41559         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41560         array with long long.
41561         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41562         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41563         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41564         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41565         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41566         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41567         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41568         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41569         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41570         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41571         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41572         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41573         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41575 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41577         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41578         (__signbit): Likewise.  Correct for little-endian.
41579         (__signbitl): Call __signbit.
41580         (lrint): Correct for little-endian.
41581         (lrintf): Call lrint.
41583 2013-10-04  Alan Modra  <amodra@gmail.com>
41585         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41586         union 32-bit int array member with 64-bit int array.
41587         (t515, tm256): Double rather than long double.
41588         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41590 2013-10-04  Alan Modra  <amodra@gmail.com>
41592         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41593         Delete.
41594         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41596         version of math_ldbl.h.
41598 2013-10-04  Alan Modra  <amodra@gmail.com>
41600         [BZ #15734], [BZ #15735]
41601         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41602         all uses of ieee875 long double macros and unions.  Simplify test
41603         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41604         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41605         normalize after ldbl_extract_mantissa, and don't add hidden bit
41606         already handled.  Don't treat low word of ieee854 mantissa like
41607         low word of IBM long double and mask off bit when testing for
41608         zero.
41609         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41610         all uses of ieee875 long double macros and unions.  Simplify tests
41611         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41612         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41613         two1022, instead use their values.  Recognise that tests for large
41614         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41615         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41616         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41617         test for 0.0L and nan.  Correct negation.
41618         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41619         ieee875 long double macros and unions.  Correct output for large
41620         magnitude x.  Correct absolute value calculation.
41621         (__erfcl): Likewise.
41622         * math/libm-test.inc: Add tests for errors discovered in IBM long
41623         double versions of fmodl, remainderl, erfl and erfcl.
41625 2013-10-04  Alan Modra  <amodra@gmail.com>
41627         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41628         all uses of ieee854 long double macros and unions.  Simplify tests
41629         for long doubles that are fully specified by the high double.
41630         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41631         Likewise.
41632         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41633         Remove dead code too.
41634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41635         (__ieee754_ynl): Likewise.
41636         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41637         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41638         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41639         Remove dead code too.
41640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41641         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41642         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41643         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41644         Simplify.
41645         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41646         Simplify.
41647         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41648         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41650         Comment on variable precision.
41651         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41652         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41653         Likewise.
41654         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41655         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41656         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41657         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41658         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41660 2013-10-04  Alan Modra  <amodra@gmail.com>
41662         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41663         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41664         all uses of ieee854 long double macros and unions.
41665         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41666         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41667         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41668         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41669         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41670         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41671         Likewise.
41672         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41673         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41674         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41675         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41676         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41677         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41678         Simplify sign and nan test too.
41679         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41680         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41681         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41682         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41683         Likewise.
41684         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41685         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41686         Likewise.
41687         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41688         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41689         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41690         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41691         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41692         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41694 2013-10-04  Alan Modra  <amodra@gmail.com>
41696         * stdio-common/printf_size.c (__printf_size): Don't use
41697         union ieee854_long_double in fpnum union.
41698         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41699         signbit macro to retrieve sign from long double.
41700         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41701         retrieve sign from long double.
41702         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41703         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41704         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41705         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41706         * math/test-misc.c (main): Don't use union ieee854_long_double.
41708 2013-10-04  Alan Modra  <amodra@gmail.com>
41710         [BZ #15680]
41711         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41712         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41713         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41714         calculation.  Remove unnecessary test for denormal exponent.
41715         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41716         Correct handling of denormals.  Avoid undefined shift behaviour.
41717         Correct normalisation of low mantissa when low double is denormal.
41718         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41719         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41720         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41721         Correct normalisation of low mantissa.  Test for overflow of high
41722         mantissa and normalise.
41723         (ldbl_nearbyint): Use more readable constant for two52.
41724         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41725         (__mpn_construct_long_double): Fix test for overflow of high
41726         mantissa and correct normalisation.  Avoid undefined shift.
41728 2013-10-04  Alan Modra  <amodra@gmail.com>
41730         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41731         (union ibm_extended_long_double): Define as an array of ieee754_double.
41732         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41733         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41734         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41735         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41736         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41737         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41739         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41740         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41741         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41742         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41744 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41746         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41747         page size instead of calling getpagesize.
41749         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41750         (LOCFILE_ALIGN_MASK): Likewise.
41751         (LOCFILE_ALIGN_UP): Likewise.
41752         (LOCFILE_ALIGNED_P): Likewise.
41753         * locale/programs/ld-collate.c (collate_output): Use the new
41754         macros instead of __alignof__ (int32_t).
41755         * locale/weight.h (findidx): Likewise.
41757 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41759         [BZ #431]
41760         * manual/string.texi: Fix strncat and wcsncat.
41762 2013-10-03  Brooks Moses  <bmoses@google.com>
41764         [BZ #15915]
41765         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41766         * Makerules: ...here, and adjust associated comments.
41768 2013-10-02  Will Newton  <will.newton@linaro.org>
41770         * malloc/Makefile: Add tst-pvalloc.
41771         * malloc/tst-pvalloc.c: New file.
41773 2013-10-02  Will Newton  <will.newton@linaro.org>
41775         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41776         improve test coverage.
41778 2013-10-02  Will Newton  <will.newton@linaro.org>
41780         * malloc/Makefile: Add tst-posix_memalign.
41781         * malloc/tst-posix_memalign.c: New file.
41783 2013-10-01  Eric Blake  <eblake@redhat.com>
41785         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41786         Use __THROWNL rather than __THROW on static functions.
41788 2013-09-30  Petr Machata  <pmachata@redhat.com>
41790         * elf/elf.h (R_AARCH64_ABS16): New macro.
41791         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41792         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41793         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41794         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41795         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41796         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41797         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41798         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41799         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41800         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41801         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41802         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41803         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41804         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41805         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41806         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41807         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41808         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41809         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41810         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41811         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41812         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41813         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41814         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41815         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41816         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41817         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41818         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41819         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41820         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41821         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41822         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41823         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41824         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41825         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41826         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41827         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41828         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41829         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41830         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41831         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41832         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41833         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41834         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41835         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41836         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41837         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41838         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41839         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41840         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41841         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41842         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41843         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41844         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41845         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41846         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41847         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41848         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41849         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41850         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41851         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41852         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41853         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41854         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41855         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41856         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41857         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41858         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41859         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41860         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41861         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41862         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41863         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41864         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41865         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41866         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41867         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41868         (R_AARCH64_TLSDESC_LDR): Likewise.
41869         (R_AARCH64_TLSDESC_ADD): Likewise.
41870         (R_AARCH64_TLSDESC_CALL): Likewise.
41872 2013-09-30  Andreas Schwab  <schwab@suse.de>
41874         [BZ #15048]
41875         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41876         the nss database lookup.
41877         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41880 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41882         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41884 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41886         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41887         ${Bash-specific parameter/pattern/string} parameter expansion.
41888         * sysdeps/unix/make-syscalls.sh: Likewise.
41890 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41892         * sysdeps/sh/stackguard-macros.h: New file.
41894 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41896         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41898         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41899         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41900         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41901         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41903 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41905         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41906         Fix thread ID register.
41908 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41910         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41911         [POSIX || UNIX98]: Require rather than permitting all symbols from
41912         <time.h>.
41913         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41914         element of struct sched_param.
41915         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41916         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41917         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41918         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41919         constant.
41921 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41923         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41924         argument calculation.
41926 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41928         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41929         Expect macro.
41930         [POSIX] (pthread_attr_t): Do not require type.
41931         [POSIX] (pthread_cond_t): Likewise.
41932         [POSIX] (pthread_condattr_t): Likewise.
41933         [POSIX] (pthread_key_t): Likewise.
41934         [POSIX] (pthread_mutex_t): Likewise.
41935         [POSIX] (pthread_mutexattr_t): Likewise.
41936         [POSIX] (pthread_once_t): Likewise.
41937         [POSIX] (pthread_t): Likewise.
41938         [POSIX-based standards] (pthread_atfork): Expect function.
41940 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41941             Richard Sandiford  <richard@codesourcery.com>
41943         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41944         (swap_endianness_p): New extern variable.
41945         (set_big_endian): New inline function.
41946         (maybe_swap_uint32): Likewise.
41947         (maybe_swap_uint32_array): Likewise.
41948         (maybe_swap_uint32_obstack): Likewise.
41949         * locale/programs/locfile.c: Include <stdbool.h>.
41950         (swap_endianness_p): New variable.
41951         (add_locale_uint32): Call maybe_swap_uint32.
41952         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41953         (write_locale_data): Call maybe_swap_uint32_array.
41954         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41955         maybe_swap_uint32.
41956         (obstack_int32_grow_fast): Likewise.
41957         (output_weightwc): Call maybe_swap_uint32_obstack.
41958         (collate_output): Likewise.
41959         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41960         (OPT_LITTLE_ENDIAN): Likewise.
41961         (options): Add --little-endian and --big-endian options.
41962         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41963         * locale/programs/locarchive.c: Include "locfile.h".
41964         (GET): New macro.
41965         (SET): Likewise.
41966         (INC): Likewise.
41967         (create_archive): Use the new macros to access fields of
41968         structures directly mapped from or written to locale archives.
41969         (oldlocrecentcmp): Likewise.
41970         (enlarge_archive): Likewise.
41971         (insert_name): Likewise.
41972         (add_alias): Likewise.
41973         (add_locale): Likewise.
41974         (delete_locales_from_archive): Likewise.
41975         (show_archive_content): Likewise.
41976         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41977         locale data.
41979 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41981         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41982         http://www.gnu.org/doc/freemanuals.texi.
41983         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41985 2013-09-24  Will Newton  <will.newton@linaro.org>
41987         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41988         macro.
41990 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41992         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41993         unsigned char.
41995 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41997         * manual/threads.texi (POSIX Threads): Fix a typo.
41999 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42001         [BZ #14547]
42002         * string/tst-strcoll-overflow.c: New test case.
42003         * string/Makefile (xtests): Add tst-strcoll-overflow.
42004         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42005         cache if string sizes may cause integer overflow.
42007         [BZ #14547]
42008         * string/strcoll_l.c (coll_seq): New members rule, idx,
42009         save_idx and back_us.
42010         (get_next_seq_nocache): New function.
42011         (do_compare_nocache): New function.
42012         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42013         when malloc fails.
42015 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42017         [BZ #15754]
42018         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42019         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42020         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42022         [BZ #15754]
42023         * elf/Makefile (tests): Add tst-ptrguard1.
42024         (tests-static): Add tst-ptrguard1-static.
42025         (tst-ptrguard1-ARGS): Define.
42026         (tst-ptrguard1-static-ARGS): Define.
42027         * elf/tst-ptrguard1.c: New file.
42028         * elf/tst-ptrguard1-static.c: New file.
42029         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42030         * sysdeps/i386/stackguard-macros.h: Likewise.
42031         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42032         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42033         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42034         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42035         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42036         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42038 2013-09-23  Hector Marco  <hecmargi@upv.es>
42039             Ismael Ripoll  <iripoll@disca.upv.es>
42040             Carlos O'Donell  <carlos@redhat.com>
42042         [BZ #15754]
42043         * sysdeps/generic/stackguard-macros.h: Define
42044         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42045         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42046         Define __pointer_chk_guard_local.
42047         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42048         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42050 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42052         [BZ #15859]
42053         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42055 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42057         * include/string.h (__ffs): Declare as hidden.
42058         * string/ffs.c (__ffs): Define as hidden.
42059         * sysdeps/i386/ffs.c (__ffs): Likewise.
42060         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42061         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42062         * sysdeps/s390/ffs.c (__ffs): Likewise.
42063         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42065 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42067         * NEWS: Mention malloc probes.
42069         * malloc/arena.c (new_heap): New memory_heap_new probe.
42070         (grow_heap): New memory_heap_more probe.
42071         (shrink_heap): New memory_heap_less probe.
42072         (heap_trim): New memory_heap_free probe.
42073         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42074         (systrim): New memory_sbrk_less probe.
42075         * manual/probes.texi: Document them.
42077         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42078         * manual/probes.texi: Document it.
42080         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42081         (__libc_realloc): Add memory_realloc_retry probe.
42082         (__libc_memalign): Add memory_memalign_retry probe.
42083         (__libc_valloc): Add memory_valloc_retry probe.
42084         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42085         (__libc_calloc): Add memory_calloc_retry probe.
42086         * manual/probes.texi: Document them.
42088         * malloc/arena.c (get_free_list): Add probe
42089         memory_arena_reuse_free_list.
42090         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42091         and memory_arena_reuse.
42092         (arena_get2) [!PER_THREAD]: Likewise.
42093         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42094         memory_arena_reuse_realloc.
42095         * manual/probes.texi: Document them.
42097         * malloc/malloc.c (__libc_free): Add
42098         memory_mallopt_free_dyn_thresholds probe.
42099         (__libc_mallopt): Add multiple memory_mallopt probes.
42100         * manual/probes.texi: Document them.
42102         * malloc/malloc.c: Include stap-probe.h.
42103         (__libc_mallopt): Add memory_mallopt probe.
42104         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42105         * manual/probes.texi: New.
42106         * manual/Makefile (chapters): Add probes.
42107         * manual/threads.texi: Set next node.
42109 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42111         [BZ #15963, #13985]
42112         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42113         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42114         Add `Chinese' to `nan' entry name.
42116 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42118         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42119         (POLYNOMIAL): Likewise.
42120         (TAYLOR_SINCOS): Likewise.
42121         (TAYLOR_SLOW): Likewise.
42122         (__sin): Use TAYLOR_SINCOS.
42123         (__cos): Likewise.
42124         (slow): Use TAYLOR_SLOW.
42125         (sloww): Likewise.
42126         (bsloww): Likewise.
42127         (csloww): Likewise.
42129 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42131         * stdlib/strtod_l.c: Fix buffer overrun.
42133 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42135         * benchtests/Makefile (bench): Add sincos.
42136         * benchtests/bench-sincos.c: New file.
42138         * math/libm-test.inc (cos_test_data): New test inputs.
42139         (sin_test_data): Likewise.
42141         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42142         macro.
42143         (__sin): Use it.
42144         (__cos): Likewise.
42145         (slow1): Likewise.
42146         (slow2): Likewise.
42147         (sloww1): Likewise.
42148         (sloww2): Likewise.
42149         (bsloww1): Likewise.
42150         (bsloww2): Likewise.
42151         (cslow2): Likewise.
42152         (csloww1): Likewise.
42153         (csloww2): Likewise.
42155         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42156         function.
42157         (__sin): Use it.
42158         (__cos): Likewise.
42160         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42161         gotos.
42162         (__cos): Likewise.
42164 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42166         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42167         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42168         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42169         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42170         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42171         * elf/cache.c (print_entry): Handle the new cache flags.
42173 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42174             Aldy Hernandez  <aldyh@redhat.com>
42176         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42177         Change condition to [_SOFT_FLOAT].
42178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42185         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42188         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42190         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42193         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42194         declaration.
42196 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42198         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42199         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42200         (__longjmp): Use LOAD_GP to load saved GPRs.
42201         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42202         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42203         (__sigsetjmp): Use SAVE_GP to save GPRs.
42205         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42206         Do not append -msoft-float.
42207         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42209 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42211         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42213 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42215         [BZ #15966]
42216         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42217         (_FPU_GETCW): Use initial "__" on variable and field names but not
42218         on macro parameter name.
42219         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42220         parentheses around reference to macro parameter.
42222 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42224         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42225         prototype.
42226         (ctype_startup): Use uint32_t in cast and sizeof for
42227         ctype->charnames.
42229 2013-09-11  Jia Liu  <proljc@gmail.com>
42231         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42232         __daddr_t_defined.
42233         [__FreeBSD__]: Likewise.
42235 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42238         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42239         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42240         (strchr): Remove __strchr_sse42 ifunc selection.
42241         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42242         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42244 2013-09-11  Will Newton  <will.newton@linaro.org>
42246         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42247         parameter to RES. Remove hardcoded 1000 value.
42248         * benchtests/bench-skeleton.c (main): Pass RES parameter
42249         to TIMING_INIT and multiply result by 1000.
42251 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42255 2013-09-11  Andreas Schwab  <schwab@suse.de>
42257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42258         if not defined.
42259         (O_TMPFILE) [__USE_GNU]: Define.
42260         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42261         Define.
42263 2013-09-11  Will Newton  <will.newton@linaro.org>
42265         [BZ #15857]
42266         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42267         does not overflow.
42269 2013-09-11  Will Newton  <will.newton@linaro.org>
42271         [BZ #15856]
42272         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42273         does not overflow.
42275 2013-09-11  Will Newton  <will.newton@linaro.org>
42277         [BZ #15855]
42278         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42279         does not overflow.
42281 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42283         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42284         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42285         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42286         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42287         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42289 2013-09-10  Allan McRae  <allan@archlinux.org>
42291         [BZ #15748]
42292         * manual/arith.texi (Parsing of Floats): Clarify
42293         cross-reference.
42295         [BZ #15849]
42296         * manual/install.texi (Running make install): Mention
42297         --enable-pt-chown.
42298         * INSTALL: Regenerated.
42300 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42302         * csu/init-first.c (_init): Remove the !SHARED condition around
42303         FPU control word initialization.
42304         * elf/dl-support.c (_dl_fpu_control): New variable.
42305         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42306         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42307         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42308         * math/test-fpucw-static.c: New file.
42309         * math/test-fpucw-ieee.c: New file.
42310         * math/test-fpucw-ieee-static.c: New file.
42311         * math/Makefile (tests): Add `test-fpucw-ieee' and
42312         `$(tests-static)'.
42313         (tests-static): New variable.
42314         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42315         dependency to...
42316         [($(build-shared),yes)]
42317         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42318         ... this.
42319         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42320         New dependency.
42322 2013-09-09  Allan McRae  <allan@archlinux.org>
42324         [BZ #15939]
42325         * manual/string.texi (Collation Functions): Fix typo in
42326         strcoll example.
42327         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42329         [BZ #15893]
42330         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42332         [BZ #15892]
42333         * libio/memstream.c (open_memstream): Fix memory leak.
42334         * libio/wmemstream.c (open_wmemstream): Likewise.
42336         [BZ #15895]
42337         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42339 2013-09-09  Will Newton  <will.newton@linaro.org>
42341         * malloc/Makefile: Add tst-realloc to tests.
42342         * malloc/tst-realloc.c: New file.
42344 2013-09-09  Allan McRae  <allan@archlinux.org>
42346         [BZ #15844]
42347         * COPYING: Update from GNU website to fix FSF address.
42348         * COPYING.LIB: Likewise.
42350 2013-09-06  David S. Miller  <davem@davemloft.net>
42352         * po/zh_TW.po: Update Chinese (traditional) translation from
42353         translation project.
42355 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42356             Joseph Myers  <joseph@codesourcery.com>
42358         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42359         "localeinfo.h".
42360         (obstack_chunk_alloc): New macro.
42361         (obstack_chunk_free): Likewise.
42362         (record_offset): New function.
42363         (init_locale_data): Likewise.
42364         (align_locale_data): Likewise.
42365         (add_locale_empty): Likewise.
42366         (add_locale_raw_data): Likewise.
42367         (add_locale_raw_obstack): Likewise.
42368         (add_locale_string): Likewise.
42369         (add_locale_wstring): Likewise.
42370         (add_locale_uint32): Likewise.
42371         (add_locale_uint32_array): Likewise.
42372         (add_locale_char): Likewise.
42373         (start_locale_structure): Likewise.
42374         (end_locale_structure): Likewise.
42375         (start_locale_prelude): Likewise.
42376         (end_locale_prelude): Likewise.
42377         (write_locale_data): Take locale_file structure rather than an
42378         iovec.
42379         * locale/programs/locfile.h: Include "obstack.h".
42380         (struct locale_file): Change to store locale file contents instead
42381         of header.
42382         (init_locale_data): New prototype.
42383         (align_locale_data): Likewise.
42384         (add_locale_empty): Likewise.
42385         (add_locale_raw_data): Likewise.
42386         (add_locale_raw_obstack): Likewise.
42387         (add_locale_string): Likewise.
42388         (add_locale_wstring): Likewise.
42389         (add_locale_uint32): Likewise.
42390         (add_locale_uint32_array): Likewise.
42391         (add_locale_char): Likewise.
42392         (start_locale_structure): Likewise.
42393         (end_locale_structure): Likewise.
42394         (start_locale_prelude): Likewise.
42395         (end_locale_prelude): Likewise.
42396         (write_locale_data): Update prototype.
42397         * locale/programs/3level.h (struct TABLE): Remove result field.
42398         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42399         Use new locale_file interface.
42400         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42401         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42402         * locale/programs/ld-address.c (address_output): Use new
42403         locale_file interface.
42404         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42405         NO_ADD_LOCALE.
42406         (collate_finish): Don't call collseq_table_finalize.
42407         (collate_output): Use new locale_file interface.
42408         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42409         in file.
42410         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42411         (TABLE): Move defines earlier in file.
42412         (ELEMENT): Likewise.
42413         (DEFAULT): Likewise.
42414         (wctrans_table_add): Move macro and inline function earlier in
42415         file.
42416         (struct wctype_table): Move type earlier in file.
42417         (add_locale_wctype_table): New static prototype.
42418         (struct locale_ctype_t): Use logical types instead of struct iovec
42419         pointers for members.
42420         (ctype_output): Use new locale_file interface.
42421         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42422         new locale_file interface.
42423         (allocate_arrays): Update for use of new locale_file interface.
42424         * locale/programs/ld-identification.c (identification_output): Use
42425         new locale_file interface.
42426         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42427         * locale/programs/ld-messages.c (messages_output): Likewise.
42428         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42429         * locale/programs/ld-name.c (name_output): Likewise.
42430         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42431         * locale/programs/ld-paper.c (paper_output): Likewise.
42432         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42433         * locale/programs/ld-time.c (time_output): Likewise.
42435 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42437         * benchtests/Makefile: Add memrchr benchmark.
42438         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42439         benchmark as memrchr.
42440         * benchtests/bench-memrchr-ifunc.c: New file.
42441         * benchtests/bench-memrchr.c: New file.
42443 2013-09-06   Will Newton  <will.newton@linaro.org>
42445         * benchtests/Makefile (string-bench): Add memcpy.
42447 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42448             Cong Wang  <amwang@redhat.com>
42450         [BZ #15850]
42451         * sysdeps/unix/sysv/linux/bits/in.h
42452         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42453         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42454         before __USE_KERNEL_IPV6_DEFS uses.
42455         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42456         IPPROTO_BEETPH.
42457         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42458         sockaddr_in6, or ipv6_mreq.
42460 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42462         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42463         memory access for final bytes in some large inputs.
42464         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42466 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42468         * string/test-memrchr.c: New file.
42469         * string/test-memrchr-ifunc.c: New file.
42470         * string/Makefile: Add new memrchr testcase.
42472 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42474         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42475         fanotify_init returns EPERM.
42477 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42479         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42480         errors.
42481         (top level): Treat second token from macro or constant entries for
42482         allowed headers as allowed.
42483         * include/complex.h: Condition internal declarations on
42484         [!_ISOMAC].
42485         * include/fenv.h: Condition include of <stdbool.h> and internal
42486         declarations on [!_ISOMAC].
42488 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42490         [BZ #15923]
42491         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42493 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42495         * configure.in (--enable-versioning): Remove configure option.
42496         (libc_cv_asm_symver_directive): Remove configure test.
42497         (libc_cv_ld_version_script_option): Likewise.
42498         (VERSIONING): Remove variable and AC_SUBST.
42499         (DO_VERSIONING): Remove AC_DEFINE.
42500         * configure: Regenerated.
42501         * config.h.in (DO_VERSIONING): Remove macro.
42502         * Makerules [$(versioning) = yes]: Change conditionals to
42503         [$(build-shared) = yes].
42504         * config.make.in (versioning): Remove variable.
42505         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42506         [$(build-shared) = yes].
42507         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42508         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42509         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42510         [$(build-shared) = yes].
42511         * extra-lib.mk [$(versioning) = yes]: Likewise.
42512         * hurd/Makefile [$(versioning) = yes]: Likewise.
42513         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42514         [SHARED].
42515         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42516         [SHARED].
42517         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42518         [SHARED && !NO_HIDDEN].
42519         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42520         [SHARED].
42521         [SHARED && DO_VERSIONING]: Likewise..
42522         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42523         [$(build-shared) = yes].
42524         * manual/install.texi (--disable-versioning): Remove
42525         documentation.
42526         * INSTALL: Regenerated.
42527         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42528         to [SHARED].
42529         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42530         [$(build-shared) = yes].
42531         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42532         * sysdeps/i386/i686/multiarch/strstr-c.c
42533         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42534         [SHARED && !NO_HIDDEN].
42535         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42536         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42537         * sysdeps/powerpc/powerpc32/dl-machine.c
42538         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42539         * sysdeps/powerpc/powerpc32/sysdep.h
42540         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42541         to [SHARED && PIC && !NO_HIDDEN].
42542         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42543         conditional to [SHARED].
42545 2013-09-04   Will Newton  <will.newton@linaro.org>
42547         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42548         * benchtests/bench-string.h: Include bench-timing.h instead
42549         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42550         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42551         call to HP_TIMING_DIFF_INIT.
42552         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42553         instead of hp-timing.h macros.
42554         * benchtests/bench-memchr.c: Likewise.
42555         * benchtests/bench-memcmp.c: Likewise.
42556         * benchtests/bench-memcpy.c: Likewise.
42557         * benchtests/bench-memmem.c: Likewise.
42558         * benchtests/bench-memmove.c: Likewise.
42559         * benchtests/bench-memset.c: Likewise.
42560         * benchtests/bench-rawmemchr.c: Likewise.
42561         * benchtests/bench-strcasecmp.c: Likewise.
42562         * benchtests/bench-strcasestr.c: Likewise.
42563         * benchtests/bench-strcat.c: Likewise.
42564         * benchtests/bench-strchr.c: Likewise.
42565         * benchtests/bench-strcmp.c: Likewise.
42566         * benchtests/bench-strcpy.c: Likewise.
42567         * benchtests/bench-strcpy_chk.c: Likewise.
42568         * benchtests/bench-strlen.c: Likewise.
42569         * benchtests/bench-strncasecmp.c: Likewise.
42570         * benchtests/bench-strncat.c: Likewise.
42571         * benchtests/bench-strncmp.c: Likewise.
42572         * benchtests/bench-strncpy.c: Likewise.
42573         * benchtests/bench-strnlen.c: Likewise.
42574         * benchtests/bench-strpbrk.c: Likewise.
42575         * benchtests/bench-strrchr.c: Likewise.
42576         * benchtests/bench-strspn.c: Likewise.
42577         * benchtests/bench-strstr.c: Likewise.
42579 2013-09-04  Will Newton  <will.newton@linaro.org>
42581         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42583 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42585         [BZ #15427]
42586         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42587         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42588         * math/libm-test.inc (lgamma_test_data): Add more tests.
42589         * sysdeps/i386/fpu/libm-test-ulps: Update.
42590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42592 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42594         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42596         Add ifunc.
42597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42598         Add strcmp-sse2-unaligned
42599         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42601 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42603         * Versions.def (libc): Add GLIBC_2.19.
42605 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42607         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42608         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42610 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42612         [BZ #14155]
42613         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42614         intermediate calculations in recurrence.
42615         (__ieee754_ynf): Likewise.
42616         * math/libm-test.inc (jn_test_data): Do not allow spurious
42617         underflow exception.  Add more tests.
42618         (yn_test_data): Add more tests.
42619         * sysdeps/i386/fpu/libm-test-ulps: Update.
42620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42622 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42624         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42626 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42628         * csu/init-first.c: Fix then/than typos.
42629         * locale/programs/ld-collate.c: Likewise.
42630         * locale/programs/linereader.h: Likewise.
42631         * manual/charset.texi: Likewise.
42632         * manual/filesys.texi: Likewise.
42633         * manual/stdio.texi: Likewise.
42634         * manual/string.texi: Likewise.
42635         * stdlib/fmtmsg.c: Likewise.
42636         * sysdeps/i386/stpncpy.S: Likewise.
42637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42638         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42639         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42640         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42642 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42644         * elf/dl-open.c: Fix typos.
42645         * iconvdata/gbbig5.c: Likewise.
42646         * iconvdata/iso-2022-jp.c: Likewise.
42647         * iconv/gconv_int.h: Likewise.
42648         * iconv/loop.c: Likewise.
42649         * nis/rpcsvc/nis.h: Likewise.
42650         * resolv/ns_name.c: Likewise.
42651         * stdio-common/vfscanf.c: Likewise.
42652         * streams/stropts.h: Likewise.
42653         * sunrpc/rpc_thread.c: Likewise.
42654         * sysdeps/i386/strpbrk.S: Likewise.
42655         * sysdeps/ieee754/k_standard.c: Likewise.
42656         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42658         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42659         * sysdeps/mach/hurd/profil.c: Likewise.
42660         * sysdeps/s390/dl-procinfo.h: Likewise.
42661         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42662         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42663         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42664         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42665         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42667 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42669         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42670         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42672 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42674         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42675         aix specific files.
42676         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42677         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42678         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42679         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42680         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42681         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42682         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42683         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42685 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42686             Roland McGrath  <roland@hack.frob.com>
42688         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42689         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42691 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42693         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42694         __executable_start symbol instead of _start.
42696 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42698         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42699         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42700         Move macros to...
42701         * sysdeps/gnu/ldsodefs.h: ... this new file.
42703         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42704         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42705         instead of ELFOSABI_LINUX.
42707         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42708         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42709         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42710         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42711         Likewise.
42712         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42713         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42714         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42715         Likewise.
42716         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42717         (ibm_extended_long_double): Add ieee_nan member.
42718         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42719         (do_test): New function.
42721         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42722         TEST_TRUNC.
42723         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42724         functions, renamed from truncdfsf_test, trunctfsf_test,
42725         trunctfdf_test.
42726         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42727         functions.
42728         (do_test): Run all these.
42730 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42732         * argp/argp-help.c: Fix typos.
42733         * argp/argp-parse.c: Likewise.
42734         * debug/backtracesyms.c: Likewise.
42735         * elf/elf.h: Likewise.
42736         * malloc/malloc.c: Likewise.
42737         * nis/nis_print.c: Likewise.
42738         * resolv/res_comp.c: Likewise.
42739         * stdlib/stdlib.h: Likewise.
42740         * sunrpc/clnt_tcp.c: Likewise.
42741         * sunrpc/clnt_udp.c: Likewise.
42742         * sunrpc/clnt_unix.c: Likewise.
42743         * sysdeps/unix/bsd/ptsname.c: Likewise.
42744         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42745         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42747         Likewise.
42748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42749         Likewise.
42750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42751         Likewise.
42752         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42754 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42756         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42759 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42761         [BZ #15897]
42762         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42763         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42764         ($(objpfx)bug-dl-leaf): New rule.
42765         ($(objpfx)bug-dl-leaf.so): Likewise.
42766         ($(objpfx)bug-dl-leaf.out): Likewise.
42767         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42768         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42769         * dlfcn/bug-dl-leaf.c: New test.
42770         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42771         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42772         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42773         (dlclose): Likewise.
42774         (dlmopen): Likewise.
42776 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42778         * include/netdb.h [!_ISOMAC]:
42779         Don't include <tls.h>.
42780         (h_errno, __libc_h_errno): Move declaration and macros out of
42781         [_LIBC_REENTRANT].
42783         * include/resolv.h [_RESOLV_H_]:
42784         Don't include <tls.h>.
42785         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42786         * resolv/res_libc.c: Don't include <tls.h>.
42787         (_res): Use __attribute__ ((nocommon)) in place of
42788         __attribute__ ((section (".bss"))).
42790         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42791         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42793         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42795         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42796         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42798         * resolv/res_mkquery.c: Include <sys/time.h>.
42800         * inet/ifreq.c: Moved to ...
42801         * sysdeps/unix/ifreq.c: ... here.
42802         * inet/ifreq.c: New file, true stub version.
42804         * socket/sa_len.c: New file.
42805         * socket/Makefile (aux): Add it.
42806         * sysdeps/unix/sysv/linux/Makefile
42807         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42808         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42809         and #include <socket/sa_len.c>.
42810         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42811         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42813         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42814         * bits/socket.h: ... here.
42816         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42817         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42818         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42820 2013-08-27  Andreas Schwab  <schwab@suse.de>
42822         [BZ #15736]
42823         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42824         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42825         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42826         * string/test-strcasecmp.c (test_main): Run tests in several
42827         locales.
42828         * string/test-strncasecmp.c (test_main): Likewise.
42830         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42831         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42832         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42833         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42834         (__strncasecmp_ssse3) [PIC]: Likewise.
42836 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42838         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42840         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42841         instead of explicitly declaring xdecrypt.
42842         * nis/nss_nis/nis-publickey.c: Likewise.
42844 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42846         [BZ #15890]
42847         * nscd/aicache.c: Include res_hconf.h.
42848         (addhstaiX): Initialize res_hconf.
42850 2013-08-26  Andreas Schwab  <schwab@suse.de>
42852         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42853         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42855 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42857         * nscd/aicache.c (addhstaiX): Fix indentation.
42859 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42861         * configure.ac: Quote $build_pt_chown test.
42862         * configure: Regenerated.
42864 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42866         [BZ #15532]
42867         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42868         * math/s_cexpf.c (__cexpf): Likewise.
42869         * math/s_cexpl.c (__cexpl): Likewise.
42870         * math/libm-test.inc (cexp_test_data): Correct expected return
42871         value for NaN + i0.  Add another test.
42873 2013-08-22  David S. Miller  <davem@davemloft.net>
42875         * po/ca.po: Update Catalan translation from translation project.
42876         * po/uk.po: Add Ukrainian translations from translation project.
42878 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42880         [BZ #15797]
42881         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42882         is infinite, not alongside NaN test.
42883         * math/s_fdimf.c (__fdimf): Likewise.
42884         * math/s_fdiml.c (__fdiml): Likewise.
42885         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42886         errno is unchanged.
42888 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42890         * argp/argp-help.c: Fix typos.
42891         * crypt/speeds.c: Likewise.
42892         * csu/check_fds.c: Likewise.
42893         * elf/dl-load.c: Likewise.
42894         * elf/dl-open.c: Likewise.
42895         * elf/reldep3.c: Likewise.
42896         * elf/reldep.c: Likewise.
42897         * elf/sprof.c: Likewise.
42898         * iconv/iconv_charmap.c: Likewise.
42899         * iconv/skeleton.c: Likewise.
42900         * iconv/strtab.c: Likewise.
42901         * io/lockf64.c: Likewise.
42902         * libio/libioP.h: Likewise.
42903         * resolv/gai_notify.c: Likewise.
42904         * resolv/ns_name.c: Likewise.
42905         * resolv/ns_samedomain.c: Likewise.
42906         * resolv/res_send.c: Likewise.
42907         * stdlib/random.c: Likewise.
42908         * sunrpc/rpc/xdr.h: Likewise.
42909         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42910         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42911         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42912         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42913         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42914         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42915         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42916         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42917         * sysdeps/mach/hurd/check_fds.c: Likewise.
42918         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42919         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42920         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42921         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42922         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42923         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42924         * sysdeps/pthread/aio_notify.c: Likewise.
42925         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42926         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42927         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42928         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42929         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42931 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42933         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42934         version if bit_Slow_SSE4_2 is set.
42935         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42936         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42938 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42940         [BZ #15867]
42941         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42942         trampoline stack frame information.
42943         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42945         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42946         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42947         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42948         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42949         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42950         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42951         sa_flags value.
42952         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42953         interrupting a syscall and set with option SA_SIGINFO.
42955 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42957         [BZ #15531]
42958         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42959         argument is infinite.
42960         * math/s_cprojf.c (__cprojf): Likewise.
42961         * math/s_cprojl.c (__cprojl): Likewise.
42962         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42963         * math/libm-test.inc (cproj_test_data): Add more tests.
42965         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42967         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42968         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42969         size.  Use __ffs to determine corresponding shift.
42971 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42972             Roland McGrath  <roland@hack.frob.com>
42974         * Makefile (INSTALL): Remove trailing blank lines from output of
42975         makeinfo.
42977 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42979         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42980         Align 32 bit compat elf_greg to 8 bytes.
42982 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42984         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42986 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42988         * string/strcoll_l.c (coll_seq): New structure.
42989         (get_next_seq_cached): New function.
42990         (get_next_seq): New function.
42991         (do_compare): New function.
42992         (STRCOLL): Use GNU style definition.  Simplify implementation
42993         by using get_next_seq, get_next_seq_cached and do_compare.
42995 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42997         [BZ #14699]
42998         CVE-2013-4237
42999         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43000         member.
43001         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43002         member.
43003         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43004         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43005         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43006         conditional.
43007         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43008         GETDENTS_64BIT_ALIGNED.
43009         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43010         * manual/filesys.texi (Reading/Closing Directory): Document
43011         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43012         strongly.
43013         * manual/conf.texi (Limits for Files): Add portability note to
43014         NAME_MAX, PATH_MAX.
43015         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43017 2013-08-13  Andreas Schwab  <schwab@suse.de>
43019         [BZ #15749]
43020         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43021         of fabs.
43022         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43023         LDBL_MAX_EXP >= 16384]: Add tests for it.
43025 2013-08-12  David S. Miller  <davem@davemloft.net>
43027         * version.h (RELEASE): Set to "development".
43028         (VERSION): Set to "2.18.90".
43029         * NEWS: Add 2.19 section.
43031 2013-08-03  David S. Miller  <davem@davemloft.net>
43033         * po/ko.po: Update Korean translation from translation project.
43035 2013-08-01  David S. Miller  <davem@davemloft.net>
43037         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43038         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43039         Bilka.
43041 2013-07-30  David S. Miller  <davem@davemloft.net>
43043         * po/fr.po: Update French translation from translation project.
43045 2013-07-28  David S. Miller  <davem@davemloft.net>
43047         * po/cs.po: Update Czech translation from translation project.
43049         * po/sv.po: Update Swedish translation from translation project.
43051 2013-07-27  David S. Miller  <davem@davemloft.net>
43053         * po/eo.po: Update Esperanto translation from translation project.
43055         * po/vi.po: Update Vietnamese translation from translation project.
43057         * po/de.po: Update German translation from translation project.
43059 2013-07-26  David S. Miller  <davem@davemloft.net>
43061         * po/bg.po: Update Bulgarian translation from translation project.
43063         * po/nl.po: Update Dutch translation from translation project.
43064         * po/pl.po: Update Polish translation from translation project.
43065         * po/ru.po: Update Russian translation from translation project.
43067 2013-07-24  David S. Miller  <davem@davemloft.net>
43069         * po/libc.pot: Update.
43071 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43073         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43074         variable page size.
43075         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43076         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43077         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43079 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43081         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43083 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43084             Andreas Schwab  <schwab@suse.de>
43085             Roland McGrath  <roland@hack.frob.com>
43086             Joseph Myers  <joseph@codesourcery.com>
43087             Carlos O'Donell  <carlos@redhat.com>
43089         [BZ #15755]
43090         * config.h.in: Define HAVE_PT_CHOWN.
43091         * config.make.in (build-pt-chown): New variable.
43092         * configure.in (--enable-pt_chown): New configure option.
43093         * configure: Regenerate.
43094         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43095         build-pt-chown is enabled.
43096         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43097         pt_chown to fix pty ownership.
43098         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43099         CLOSE_ALL_FDS.
43100         * manual/install.texi (Configuring and compiling): Mention
43101         --enable-pt_chown. Add @findex for grantpt.
43102         * INSTALL: Regenerate.
43104 2013-07-20  David S. Miller  <davem@davemloft.net>
43106         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43107         difference between 32-bit and 64-bit.
43109 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43111         [BZ #15711]
43112         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43113         Avoid system header dependency with -ffreestanding.
43114         ($(objpfx)bits/syscall%d): Likewise.
43116 2013-07-13  David S. Miller  <davem@davemloft.net>
43118         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43119         underflows from atanl/atan2l due to bug 15319.
43120         (casinh_test_data): Likewise.
43122 2013-07-07  David S. Miller  <davem@davemloft.net>
43124         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43126 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43128         * sysdeps/i386/fpu/libm-test-ulps: Update.
43129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43131 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43133         * configure.in (--enable-lock-elision): Fix message text.
43134         * INSTALL: Regenerate.
43135         * configure: Regenerate.
43137 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43141 2013-07-03  Andreas Jaeger  <aj@suse.de>
43143         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43144         define.
43145         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43146         (ptrace_peeksiginfo_args): Add.
43147         (__ptrace_peeksiginfo_flags): Add.
43148         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43149         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43150         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43152 2013-07-03  Allan McRae  <allan@archlinux.org>
43154         * sysdeps/i386/fpu/libm-test-ulps: Update.
43156 2013-07-02  David S. Miller  <davem@davemloft.net>
43158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43160 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43164 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43166         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43169 2013-07-02  Andi Kleen <ak@linux.intel.com>
43171         * config.h.in (ENABLE_LOCK_ELISION): Add.
43172         * configure.in (--enable-lock-elision): Add option.
43173         * manual/install.texi: Document --enable lock elision.
43174         * configure: Regenerate
43175         * INSTALL: Regenerate.
43177 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43179         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43180         SSE4.2 strcasecmp for libc.a.
43181         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43183 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43185         [BZ #13304]
43186         * soft-fp/op-common.h (_FP_FMA): New macro.
43187         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43188         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43189         (_FP_MUL_MEAT_1_imm): ... here.
43190         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43191         (_FP_MUL_MEAT_1_wide): ... here.
43192         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43193         (_FP_MUL_MEAT_1_hard): ... here.
43194         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43195         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43196         (_FP_MUL_MEAT_2_wide): ... here.
43197         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43198         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43199         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43200         (_FP_MUL_MEAT_2_gmp): ... here.
43201         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43202         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43203         (_FP_MUL_MEAT_4_wide): ... here.
43204         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43205         (_FP_MUL_MEAT_4_gmp): ... here.
43206         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43207         (_FP_WFRACBITS_DW_S): Likewise.
43208         (_FP_WFRACXBITS_DW_S): Likewise.
43209         (_FP_HIGHBIT_DW_S): Likewise.
43210         (FP_FMA_S): Likewise.
43211         (_FP_FRAC_HIGH_DW_S): Likewise.
43212         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43213         (_FP_WFRACBITS_DW_D): Likewise.
43214         (_FP_WFRACXBITS_DW_D): Likewise.
43215         (_FP_HIGHBIT_DW_D): Likewise.
43216         (FP_FMA_D): Likewise.
43217         (_FP_FRAC_HIGH_DW_D): Likewise.
43218         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43219         (_FP_WFRACBITS_DW_E): Likewise.
43220         (_FP_WFRACXBITS_DW_E): Likewise.
43221         (_FP_HIGHBIT_DW_E): Likewise.
43222         (FP_FMA_E): Likewise.
43223         (_FP_FRAC_HIGH_DW_E): Likewise.
43224         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43225         (_FP_WFRACBITS_DW_Q): Likewise.
43226         (_FP_WFRACXBITS_DW_Q): Likewise.
43227         (_FP_HIGHBIT_DW_Q): Likewise.
43228         (FP_FMA_Q): Likewise.
43229         (_FP_FRAC_HIGH_DW_Q): Likewise.
43230         * soft-fp/fmasf4.c: New file.
43231         * soft-fp/fmadf4.c: Likewise.
43232         * soft-fp/fmatf4.c: Likewise.
43234 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43237         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43238         Silvermont.
43239         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43240         macro.
43241         (index_Slow_SSE4_2): Likewise.
43242         (index_Prefer_PMINUB_for_stringop): Likewise.
43243         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43244         bit_Slow_SSE4_2 is set.
43245         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43246         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43248 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43250         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43251         rtld_global._dl_hwcap2.
43252         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43253         POWER8.
43254         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43255         POWER8 feature descriptions defined in _dl_hwcap2.
43256         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43257         string handling for POWER8 feature bits.
43258         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43259         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43260         _dl_powerpc_cap_flags.
43261         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43262         * sysdeps/powerpc/rtld-global-offsets.sym
43263         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43264         _dl_hwcap2 in the rtld_global_ro structure.
43266 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43268         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43269         hardware capabilities in support of AT_HWCAP2.
43270         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43271         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43272         GLRO(dl_hwcap2).
43273         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43274         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43275         explicitly the unknown a_type display mechanism is used.
43276         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43277         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43278         struct member.
43279         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43280         to macro prototype for AT_HWCAP2 support.
43281         * sysdeps/i386/dl-procinfo.h: Likewise.
43282         * sysdeps/s390/dl-procinfo.h: Likewise.
43283         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43284         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43285         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43286         return -1 for unknown a_type display fallback.
43287         * sysdeps/sparc/dl-procinfo.h: Likewise.
43288         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43289         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43291 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43293         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43294         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43296 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43298         [BZ #12492]
43299         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43300         mprotect making __stack_prot writable.
43302 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43303             Joseph Myers  <joseph@codesourcery.com>
43305         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43306         as being properly aligned.
43308 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43310         * dlfcn/modstatic5.c: New file.
43311         * dlfcn/tststatic5.c: New file.
43312         * dlfcn/Makefile (tests): Add tststatic5.
43313         (tests-static): Likewise.
43314         (modules-names): Add modstatic5.
43315         (tststatic5-ENV): New variable.
43316         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43318         [BZ #15022]
43319         * elf/dl-support.c (_dl_main_map): New variable.
43320         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43321         (_dl_nns, _dl_load_adds): Set to 1.
43322         (_dl_initial_searchlist): Refer to _dl_main_map.
43323         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43324         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43325         call to _dl_get_origin.
43326         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43327         around call_map.
43328         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43329         * dlfcn/modstatic3.c: New file.
43330         * dlfcn/tststatic3.c: New file.
43331         * dlfcn/tststatic4.c: New file.
43332         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43333         (tests-static): Likewise.
43334         (modules-names): Add modstatic3.
43335         (tststatic3-ENV, tststatic4-ENV): New variables.
43336         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43337         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43339 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43341         * configure.in (CC): Require GCC version 4.4 or later.
43342         * configure: Regenerated.
43343         * manual/install.texi (Tools for Compilation): Update GCC version
43344         requirement.
43345         * INSTALL: Regenerated.
43347 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43349         [BZ #15674]
43350         * string/test-memcmp.c (check2): New.
43351         (main): Call check2.
43353         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43355 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43357         [BZ #15022]
43358         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43359         over to...
43360         (dl_open_worker) [!SHARED]: ... here.
43362 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43364         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43366 2013-06-25  Richard Henderson  <rth@redhat.com>
43368         * locale/programs/locarchive.c: Include <libc-internal.h>
43370 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43372         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43373         trailing whitespace removed.
43375 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43377         [BZ #10283]
43378         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43379         * locale/programs/locarchive.c: Include libc-mmap.h.
43380         (prepare_address_space): Take two new outputs (the mmap base and len).
43381         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43382         values.
43383         (create_archive): Declare new mmap base and len values for
43384         prepare_address_space, and store the result in ah.
43385         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43386         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43387         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43388         Declare new mmap base and len values for
43389         prepare_address_space, and store the result in new_ah.
43390         (open_archive): Declare new mmap base and len values for
43391         prepare_address_space, and store the result in ah.
43392         (close_archive): If ah->mmap_base is not NULL, use that and
43393         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43394         * sysdeps/generic/libc-mmap.h: New file.
43396 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43398         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43399         (ALIGN_UP): Likewise.
43400         (PTR_ALIGN_DOWN): Likewise.
43401         (PTR_ALIGN_UP): Likewise.
43403 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43405         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43406         entry mapped to PPC_PLATFORM_POWER8.
43407         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43408         POWER8.
43409         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43410         (_dl_string_platform): Add case for exporting platform position for
43411         POWER8.
43412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43413         search path to sysdeps/powerpc/powerpc32/power8 directory.
43414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43415         search path to sysdeps/powerpc/powerpc64/power8 directory.
43416         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43417         power7 directories.
43418         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43419         power7 directories.
43421 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43423         * INSTALL: Regenerate.
43425         * nscd/connections.c (nscd_init): Fix comment.
43427 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43429         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43431         [BZ #15667]
43432         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43433         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43435 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43437         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43438         DL_DST_REQ_STATIC.
43439         (DL_DST_REQ_STATIC): Remove macro.
43441 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43443         [BZ #7006]
43444         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43445         with a shift of 0 bits.
43447 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43449         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43450         $(tststatic-ENV).
43452 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43454         [BZ #15655]
43455         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43457 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43459         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43460         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43461         accepts -fno-tree-loop-distribute-patterns.
43462         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43463         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43464         recursive call.
43465         * string/memset.c (memset): Likewise.
43466         * string/test-memmove.c (simple_memmove): Disable loop transformation
43467         to library calls.
43468         * string/test-memset.c (simple_memset): Likewise.
43469         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43470         * benchtests/bench-memset.c (simple_memset): Likewise.
43471         * configure: Regenerated.
43473 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43475         * math/test-misc.c (main): Ignore fesetround failure when failures
43476         of subsequent rounding tests would be ignored.
43478         [BZ #15654]
43479         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43480         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43481         * math/fegetenv.c (__fegetenv): Return 0.
43482         * math/fegetexcept.c (fegetexcept): Return 0.
43483         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43484         FE_TONEAREST.
43485         * math/feholdexcpt.c (feholdexcept): Return 0.
43486         * math/fesetenv.c (__fesetenv): Return 0.
43487         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43488         argument FE_TONEAREST.
43489         * math/feupdateenv.c (__feupdateenv): Return 0.
43490         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43492 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43494         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43495         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43496         ($(objpfx)rtld-%.os rules): Use them.
43498 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43500         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43501         fields.
43503 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43505         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43506         length of target pattern, then descending length of dependency pattern.
43507         * configure.in (AWK): Require gawk 3.1.2 or newer.
43508         * manual/install.texi (Tools for Compilation): Say that we do.
43509         * configure: Regenerated.
43511         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43512         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43513         * scripts/sysd-rules.awk: ... this new script.
43514         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43515         than a glob-style pattern.
43517 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43519         * math/test-misc.c (main): Do not treat incorrectly rounded
43520         conversions as failure unless ROUNDING_TESTS passes.
43522 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43524         [BZ #15631]
43525         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43526         restore exception state around main square root computation, then
43527         check for inexactness explicitly.
43529         * math/libm-test.inc (fma_test_data): Add another test.
43531 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43533         * manual/threads.texi (Non-POSIX Extensions): New document
43534         node.  Document pthread_getattr_default_np and
43535         pthread_setattr_default_np.
43537         * Versions.def (libpthread): Add GLIBC_2.18.
43538         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43540         Likewise.
43541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43542         Likewise.
43543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43544         Likewise.
43545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43546         Likewise.
43547         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43548         Likewise.
43549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43550         Likewise.
43551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43552         Likewise.
43553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43554         Likewise.
43555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43556         Likewise.
43558 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43560         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43561         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43563 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43564             H.J. Lu  <hjl.tools@gmail.com>
43566         [BZ #15627]
43567         * sysdeps/x86_64/rtld-memset.c: Remove file.
43568         * sysdeps/x86_64/rtld-memset.S: New file.
43570 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43572         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43573         (test_in_one_mode): Take arguments for whether the rounding mode
43574         is supported for each floating-point type.
43575         (do_test): Pass new arguments to test_in_one_mode using
43576         ROUNDING_TESTS.
43578 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43580         * posix/tst-waitid.c (do_test): Distinguish different instances of
43581         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43582         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43583         before entering the kernel for waitpid.
43585 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43587         * NEWS: Fix note on clock function precision.  Text by Roland
43588         McGrath.
43590 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43592         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43593         it into place only when and if the sanity check passes.
43595 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43597         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43598         output for whether conversion result is exact.  Take argument
43599         indicating whether type is IBM long double.
43600         (round_for_all): Change need_exact field to ibm_ld.
43601         * stdlib/tst-strtod-round.c (struct exactness): New type.
43602         (struct test): Change bool ld_ok field to struct exactness exact.
43603         (TEST): Update all definitions for change to field.
43604         (tests): Regenerate array contents.
43605         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43606         field value.  Check for IBM long double here.
43607         (do_test): Update calls to test_in_one_mode.
43609 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43611         [BZ #12515]
43612         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43613         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43615 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43617         [BZ #15605]
43618         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43619         generated by the compiler on loop optimizations.
43620         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43621         general definitions.
43623 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43625         * math/bug-nextafter.c: Include <math-tests.h>.
43626         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43627         the relevant type.
43628         * math/bug-nexttoward.c: Include <math-tests.h>.
43629         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43630         the relevant type.
43631         * math/test-misc.c: Include <math-tests.h>.
43632         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43633         the relevant type.
43635 2013-06-12  Andreas Jaeger  <aj@suse.de>
43637         * po/ia.po: Update Interlingua translation from translation
43638         project.
43640 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43642         * include/fenv.h: Include stdbool.h.
43643         (struct rm_ctx): New structure.
43644         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43645         Define macro.
43646         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43647         (SET_RESTORE_ROUNDF): Likewise.
43648         (SET_RESTORE_ROUNDL): Likewise.
43649         (SET_RESTORE_ROUND_NOEX): Likewise.
43650         (SET_RESTORE_ROUND_NOEXF): Likewise.
43651         (SET_RESTORE_ROUND_NOEXL): Likewise.
43652         (SET_RESTORE_ROUND_53BIT): Likewise.
43653         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43654         (libc_feresetround_noexf_ctx): Likewise.
43655         (libc_feresetround_noexl_ctx): Likewise.
43656         (libc_feholdsetround_53bit_ctx): Likewise.
43657         (libc_feresetround_53bit_ctx): Likewise.
43658         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43659         (libc_feholdexcept_setround_sse_ctx): New function.
43660         (libc_fesetenv_sse_ctx): Likewise.
43661         (libc_feupdateenv_sse_ctx): Likewise.
43662         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43663         (libc_feholdexcept_setround_387_ctx): Likewise.
43664         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43665         (libc_feholdsetround_387_prec_ctx): Likewise.
43666         (libc_feholdsetround_387_ctx): Likewise.
43667         (libc_feholdsetround_387_53bit_ctx): Likewise.
43668         (libc_feholdsetround_sse_ctx): Likewise.
43669         (libc_feresetround_sse_ctx): Likewise.
43670         (libc_feresetround_387_ctx): Likewise.
43671         (libc_feupdateenv_387_ctx): Likewise.
43672         (libc_feholdexcept_setroundf_ctx): Define macro.
43673         (libc_fesetenvf_ctx): Likewise.
43674         (libc_feupdateenvf_ctx): Likewise.
43675         (libc_feholdsetroundf_ctx): Likewise.
43676         (libc_feresetroundf_ctx): Likewise.
43677         (libc_feholdexcept_setround_ctx): Likewise.
43678         (libc_fesetenv_ctx): Likewise.
43679         (libc_feupdateenv_ctx): Likewise.
43680         (libc_feholdsetround_ctx): Likewise.
43681         (libc_feresetround_ctx): Likewise.
43682         (libc_feholdexcept_setroundl_ctx): Likewise.
43683         (libc_feupdateenvl_ctx): Likewise.
43684         (libc_feholdsetroundl_ctx): Likewise.
43685         (libc_feresetroundl_ctx): Likewise.
43686         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43687         (libc_feresetround_53bit_ctx): Likewise.
43689 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43691         * locale/iso-639.def: Convert to UTF-8.
43693 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43695         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43696         (EXCEPTION_TESTS_double): Likewise.
43697         (EXCEPTION_TESTS_long_double): Likewise.
43698         (EXCEPTION_TESTS): Likewise.
43699         * math/libm-test.inc (test_exceptions): Only test exceptions if
43700         EXCEPTION_TESTS (FLOAT).
43702 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43704         * benchtests/Makefile (string-bench): Add strcpy_chk and
43705         stpcpy_chk.
43706         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43707         * benchtests/bench-stpcpy_chk.c: New file.
43708         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43709         * benchtests/bench-strcpy_chk.c: New file.
43710         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43711         code.
43712         (do_test): Likewise.
43714 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43716         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43717         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43718         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43719         with tabs where appropriate.
43720         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43721         dl-procinfo.h.
43722         [PPC_PLATFORM_PPC440]: Likewise.
43723         [PPC_PLATFORM_PPC464]: Likewise.
43724         [PPC_PLATFORM_PPC476]: Likewise.
43725         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43726         ppc464, and ppc476 platform strings merging from ports/
43727         dl-procinfo.h.
43729 2013-06-11  Andreas Schwab  <schwab@suse.de>
43731         [BZ #14991]
43732         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43733         (from_ucs4_idx): Regenerate.
43734         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43735         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43736         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43737         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43738         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43739         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43740         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43741         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43742         from FROM_LOOP and TO_LOOP specific macros.
43743         (BODY): Handle combining characters.
43744         * iconvdata/BIG5HKSCS.irreversible: Update.
43745         * iconvdata/BIG5HKSCS.precomposed: New file.
43746         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43747         characters.
43748         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43750 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43752         * include/sys/time.h: Fix indentation and add copyright header.
43754         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43755         (do_test): Likewise.
43756         * string/test-memchr.c (do_one_test): Likewise.
43757         (do_test): Likewise.
43758         * string/test-memcmp.c (do_one_test): Likewise.
43759         (do_test): Likewise.
43760         * string/test-memcpy.c (do_one_test): Likewise.
43761         (do_test): Likewise.
43762         * string/test-memmem.c (do_one_test): Likewise.
43763         (do_test): Likewise.
43764         (do_random_tests): Likewise.
43765         * string/test-memmove.c (do_one_test): Likewise.
43766         (do_test): Likewise.
43767         * string/test-memset.c (do_one_test): Likewise.
43768         (do_test): Likewise.
43769         * string/test-rawmemchr.c (do_one_test): Likewise.
43770         (do_test): Likewise.
43771         * string/test-strcasecmp.c (do_one_test): Likewise.
43772         (do_test): Likewise.
43773         * string/test-strcasestr.c (do_one_test): Likewise.
43774         (do_test): Likewise.
43775         * string/test-strcat.c (do_one_test): Likewise.
43776         (do_test): Likewise.
43777         * string/test-strchr.c (do_one_test): Likewise.
43778         (do_test): Likewise.
43779         * string/test-strcmp.c (do_one_test): Likewise.
43780         (do_test): Likewise.
43781         * string/test-strcpy.c (do_one_test): Likewise.
43782         (do_test): Likewise.
43783         * string/test-string.h: Likewise.
43784         (test_init): Likewise.
43785         * string/test-strlen.c (do_one_test): Likewise.
43786         (do_test): Likewise.
43787         * string/test-strncasecmp.c (do_one_test): Likewise.
43788         (do_test): Likewise.
43789         * string/test-strncat.c (do_one_test): Likewise.
43790         (do_test): Likewise.
43791         * string/test-strncmp.c (do_one_test): Likewise.
43792         (do_test_limit): Likewise.
43793         (do_test): Likewise.
43794         * string/test-strncpy.c (do_one_test): Likewise.
43795         (do_test): Likewise.
43796         * string/test-strnlen.c (do_one_test): Likewise.
43797         (do_test): Likewise.
43798         * string/test-strpbrk.c (do_one_test): Likewise.
43799         (do_test): Likewise.
43800         * string/test-strrchr.c (do_one_test): Likewise.
43801         (do_test): Likewise.
43802         * string/test-strspn.c (do_one_test): Likewise.
43803         (do_test): Likewise.
43804         * string/test-strstr.c (do_one_test): Likewise.
43805         (do_test): Likewise.
43807         * benchtests/Makefile (string-bench): Add string benchmarks.
43808         * benchtests/bench-bcopy-ifunc.c: New file.
43809         * benchtests/bench-bcopy.c: New file.
43810         * benchtests/bench-bzero-ifunc.c: New file.
43811         * benchtests/bench-bzero.c: New file.
43812         * benchtests/bench-memccpy-ifunc.c: New file.
43813         * benchtests/bench-memccpy.c: New file.
43814         * benchtests/bench-memchr-ifunc.c: New file.
43815         * benchtests/bench-memchr.c: New file.
43816         * benchtests/bench-memcmp-ifunc.c: New file.
43817         * benchtests/bench-memcmp.c: New file.
43818         * benchtests/bench-memmem-ifunc.c: New file.
43819         * benchtests/bench-memmem.c: New file.
43820         * benchtests/bench-memmove-ifunc.c: New file.
43821         * benchtests/bench-memmove.c: New file.
43822         * benchtests/bench-mempcpy-ifunc.c: New file.
43823         * benchtests/bench-mempcpy.c: New file.
43824         * benchtests/bench-memset-ifunc.c: New file.
43825         * benchtests/bench-memset.c: New file.
43826         * benchtests/bench-rawmemchr-ifunc.c: New file.
43827         * benchtests/bench-rawmemchr.c: New file.
43828         * benchtests/bench-stpcpy-ifunc.c: New file.
43829         * benchtests/bench-stpcpy.c: New file.
43830         * benchtests/bench-stpncpy-ifunc.c: New file.
43831         * benchtests/bench-stpncpy.c: New file.
43832         * benchtests/bench-strcasecmp-ifunc.c: New file.
43833         * benchtests/bench-strcasecmp.c: New file.
43834         * benchtests/bench-strcasestr-ifunc.c: New file.
43835         * benchtests/bench-strcasestr.c: New file.
43836         * benchtests/bench-strcat-ifunc.c: New file.
43837         * benchtests/bench-strcat.c: New file.
43838         * benchtests/bench-strchr-ifunc.c: New file.
43839         * benchtests/bench-strchr.c: New file.
43840         * benchtests/bench-strchrnul-ifunc.c: New file.
43841         * benchtests/bench-strchrnul.c: New file.
43842         * benchtests/bench-strcmp-ifunc.c: New file.
43843         * benchtests/bench-strcmp.c: New file.
43844         * benchtests/bench-strcpy-ifunc.c: New file.
43845         * benchtests/bench-strcpy.c: New file.
43846         * benchtests/bench-strcspn-ifunc.c: New file.
43847         * benchtests/bench-strcspn.c: New file.
43848         * benchtests/bench-strlen-ifunc.c: New file.
43849         * benchtests/bench-strlen.c: New file.
43850         * benchtests/bench-strncasecmp-ifunc.c: New file.
43851         * benchtests/bench-strncasecmp.c: New file.
43852         * benchtests/bench-strncat-ifunc.c: New file.
43853         * benchtests/bench-strncat.c: New file.
43854         * benchtests/bench-strncmp-ifunc.c: New file.
43855         * benchtests/bench-strncmp.c: New file.
43856         * benchtests/bench-strncpy-ifunc.c: New file.
43857         * benchtests/bench-strncpy.c: New file.
43858         * benchtests/bench-strnlen-ifunc.c: New file.
43859         * benchtests/bench-strnlen.c: New file.
43860         * benchtests/bench-strpbrk-ifunc.c: New file.
43861         * benchtests/bench-strpbrk.c: New file.
43862         * benchtests/bench-strrchr-ifunc.c: New file.
43863         * benchtests/bench-strrchr.c: New file.
43864         * benchtests/bench-strspn-ifunc.c: New file.
43865         * benchtests/bench-strspn.c: New file.
43866         * benchtests/bench-strstr-ifunc.c: New file.
43867         * benchtests/bench-strstr.c: New file.
43869         * benchtests/Makefile: Disable parallel execution of targets.
43870         (string-bench): Add memcpy.
43871         (benchset): New variable to store a list of benchmark sets.
43872         (bench-func): Renamed from bench.
43873         (bench-set): New target.
43874         (bench): Depend on bench-func and bench-set.
43875         * benchtests/README: Add section on benchmark sets.
43876         * benchtests/bench-memcpy-ifunc.c: New file.
43877         * benchtests/bench-memcpy.c: New file.
43878         * benchtests/bench-string.h: New file.
43880 2013-06-11  Andreas Schwab  <schwab@suse.de>
43882         [BZ #15577]
43883         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43884         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43885         values in the triple.
43886         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43887         terminator in the group key.
43889 2013-06-11  Andreas Jaeger  <aj@suse.de>
43891         * po/zh_TW.po: Update Chinese (traditional) translation from
43892         translation project.
43894 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43896         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43897         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43898         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43899         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43900         (clock_getcpuclockid): Likewise.
43901         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43902         Add weak_alias and libc_hidden_def.
43903         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43904         * rt/clock_gettime.c (clock_gettime): Rename to
43905         __clock_gettime.  Add weak_alias and libc_hidden_def.
43906         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43907         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43908         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43909         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43910         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43911         Likewise.
43912         * rt/clock_settime.c (clock_settime): Rename to
43913         __clock_settime.  Add weak_alias and libc_hidden_def.
43914         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43916 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43918         * mach/err_boot.sub: Remove trailing whitespace.
43919         * mach/err_ipc.sub: Likewise.
43920         * mach/err_mach.sub: Likewise.
43922         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43923         (ROUNDING_TESTS_double): Likewise.
43924         (ROUNDING_TESTS_long_double): Likewise.
43925         (ROUNDING_TESTS): Likewise.
43926         * math/libm-test.inc: Include <math-tests.h>.
43927         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43928         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43929         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43930         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43932 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43934         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43935         of assigning.
43937 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43939         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43940         otherwise empty TRANS lines.
43941         * sysdeps/gnu/errlist.c: Regenerated.
43943         * catgets/gencat.c (error_print): Use (void) in function
43944         definition.
43945         * crypt/crypt_util.c (__init_des): Likewise.
43946         * crypt/speeds.c (Stop): Likewise.
43947         (main): Likewise.
43948         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43949         * inet/ruserpass.c (token): Likewise.
43950         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43951         * intl/localealias.c (extend_alias_table): Likewise.
43952         * intl/plural-exp.c (init_germanic_plural): Likewise.
43953         * libio/fcloseall.c (__fcloseall): Likewise.
43954         * libio/genops.c (_IO_flush_all): Likewise.
43955         (_IO_flush_all_linebuffered): Likewise.
43956         (_IO_cleanup): Likewise.
43957         (_IO_iter_begin): Likewise.
43958         (_IO_iter_end): Likewise.
43959         (_IO_list_lock): Likewise.
43960         (_IO_list_unlock): Likewise.
43961         (_IO_list_resetlock): Likewise.
43962         * libio/getchar.c (getchar): Likewise.
43963         * libio/getchar_u.c (getchar_unlocked): Likewise.
43964         * libio/getwchar.c (getwchar): Likewise.
43965         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43966         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43967         * login/getpt.c (__getpt): Likewise.
43968         * login/tst-utmp.c (main): Likewise.
43969         * malloc/hooks.c (__malloc_check_init): Likewise.
43970         * malloc/malloc.c (__malloc_stats): Likewise.
43971         * malloc/mtrace.c (tr_break): Likewise.
43972         (mtrace): Likewise.
43973         (muntrace): Likewise.
43974         * misc/fstab.c (endfsent): Likewise.
43975         * misc/getclktck.c (__getclktck): Likewise.
43976         * misc/getdtsz.c (__getdtablesize): Likewise.
43977         * misc/gethostid.c (gethostid): Likewise.
43978         * misc/getpagesize.c (__getpagesize): Likewise.
43979         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43980         (__get_nprocs): Likewise.
43981         (__get_phys_pages): Likewise.
43982         (__get_avphys_pages): Likewise.
43983         * misc/getttyent.c (getttyent): Likewise.
43984         (setttyent): Likewise.
43985         (endttyent): Likewise.
43986         * misc/getusershell.c (getusershell): Likewise.
43987         (endusershell): Likewise.
43988         (setusershell): Likewise.
43989         (initshells): Likewise.
43990         * misc/hsearch.c (__hdestroy): Likewise.
43991         * misc/sync.c (sync): Likewise.
43992         * misc/syslog.c (closelog_internal): Likewise.
43993         (closelog): Likewise.
43994         * misc/ttyslot.c (ttyslot): Likewise.
43995         * misc/vhangup.c (vhangup): Likewise.
43996         * posix/fork.c (__fork): Likewise.
43997         * posix/getegid.c (__getegid): Likewise.
43998         * posix/geteuid.c (__geteuid): Likewise.
43999         * posix/getgid.c (__getgid): Likewise.
44000         * posix/getpid.c (__getpid): Likewise.
44001         * posix/getppid.c (__getppid): Likewise.
44002         * posix/getuid.c (__getuid): Likewise.
44003         * posix/pause.c (pause): Likewise.
44004         * posix/setpgrp.c (setpgrp): Likewise.
44005         * posix/setsid.c (__setsid): Likewise.
44006         * posix/test-vfork.c (noop): Likewise.
44007         * resolv/gethnamaddr.c (_endhtent): Likewise.
44008         (_gethtent): Likewise.
44009         (ht_endhostent): Likewise.
44010         (gethostent): Likewise.
44011         (dns_service): Likewise.
44012         * stdlib/drand48.c (drand48): Likewise.
44013         * stdlib/lrand48.c (lrand48): Likewise.
44014         * stdlib/mrand48.c (mrand48): Likewise.
44015         * stdlib/rand.c (rand): Likewise.
44016         * stdlib/random.c (__random): Likewise.
44017         * stdlib/setenv.c (clearenv): Likewise.
44018         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44019         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44020         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44021         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44022         (__get_nprocs): Likewise.
44023         (__get_phys_pages): Likewise.
44024         (__get_avphys_pages): Likewise.
44025         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44026         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44027         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44028         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44029         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44030         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44031         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44032         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44033         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44034         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44035         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44036         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44037         * sysdeps/posix/clock.c (clock): Likewise.
44038         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44039         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44040         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44041         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44042         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44043         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44044         (__get_nprocs_conf): Likewise.
44045         (__get_phys_pages): Likewise.
44046         (__get_avphys_pages): Likewise.
44047         * time/clock.c (clock): Likewise.
44048         * time/tzset.c (__tzname_max): Likewise.
44050 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44052         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44053         (__bswap_32): Do not use "register".
44054         * crypt/crypt.c (_ufc_doit_r): Likewise.
44055         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44056         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44057         * gmon/gmon.c (__monstartup): Likewise.
44058         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44059         * hurd/hurdmalloc.c (more_memory): Likewise.
44060         (malloc): Likewise.
44061         (free): Likewise.
44062         (realloc): Likewise.
44063         (malloc_fork_prepare): Likewise.
44064         (malloc_fork_parent): Likewise.
44065         (malloc_fork_child): Likewise.
44066         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44067         (_svcauth_des): Likewise.
44068         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44069         * inet/inet_net.c (inet_network): Likewise.
44070         * inet/inet_netof.c (inet_netof): Likewise.
44071         * inet/rcmd.c (__validuser2_sa): Likewise.
44072         * io/fts.c (fts_open): Likewise.
44073         (fts_load): Likewise.
44074         (fts_close): Likewise.
44075         (fts_read): Likewise.
44076         (fts_children): Likewise.
44077         (fts_build): Likewise.
44078         (fts_stat): Likewise.
44079         (fts_sort): Likewise.
44080         (fts_alloc): Likewise.
44081         (fts_lfree): Likewise.
44082         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44083         (_IO_file_xsgetn): Likewise.
44084         (_IO_file_xsgetn_mmap): Likewise.
44085         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44086         (_IO_cookie_write): Likewise.
44087         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44088         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44089         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44090         * malloc/obstack.c (_obstack_begin): Likewise.
44091         (_obstack_begin_1): Likewise.
44092         (_obstack_newchunk): Likewise.
44093         (_obstack_allocated_p): Likewise.
44094         (obstack_free): Likewise.
44095         (_obstack_memory_used): Likewise.
44096         * misc/getttyent.c (getttynam): Likewise.
44097         (getttyent): Likewise.
44098         (skip): Likewise.
44099         (value): Likewise.
44100         * misc/getusershell.c (initshells): Likewise.
44101         * misc/syslog.c (__vsyslog_chk): Likewise.
44102         * misc/ttyslot.c (ttyslot): Likewise.
44103         * nis/nis_hash.c (__nis_hash): Likewise.
44104         * posix/fnmatch_loop.c (FCT): Likewise.
44105         * posix/getconf.c (print_all): Likewise.
44106         (main): Likewise.
44107         * posix/getopt.c (exchange): Likewise.
44108         * posix/glob.c (globfree): Likewise.
44109         (prefix_array): Likewise.
44110         (__glob_pattern_type): Likewise.
44111         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44112         (NS_GET32): Likewise.
44113         (NS_PUT16): Likewise.
44114         (NS_PUT32): Likewise.
44115         * resolv/gethnamaddr.c (getanswer): Likewise.
44116         (gethostbyname2): Likewise.
44117         (gethostbyaddr): Likewise.
44118         (_gethtent): Likewise.
44119         (_gethtbyname2): Likewise.
44120         (_gethtbyaddr): Likewise.
44121         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44122         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44123         * resolv/res_init.c (__res_vinit): Likewise.
44124         (net_mask): Likewise.
44125         * resolv/res_mkquery.c (outchar): Likewise.
44126         (PRINT): Likewise.
44127         * stdio-common/printf_fp.c (outchar): Likewise.
44128         (PRINT): Likewise.
44129         * stdio-common/printf_fphex.c (outchar): Likewise.
44130         (PRINT): Likewise.
44131         * stdio-common/printf_size.c (outchar): Likewise.
44132         (PRINT): Likewise.
44133         * stdio-common/test_rdwr.c (main): Likewise.
44134         * stdio-common/tfformat.c (matches): Likewise.
44135         * stdio-common/vfprintf.c (outchar): Likewise.
44136         (printf_unknown): Likewise.
44137         (buffered_vfprintf): Likewise.
44138         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44139         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44140         (ReadFile): Likewise.
44141         * stdlib/qsort.c (SWAP): Likewise.
44142         (_quicksort): Likewise.
44143         * stdlib/setenv.c (__add_to_environ): Likewise.
44144         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44145         * stdlib/strtol_l.c (__strtol_l): Likewise.
44146         * stdlib/tst-strtod.c (main): Likewise.
44147         * stdlib/tst-strtol.c (main): Likewise.
44148         * stdlib/tst-strtoll.c (main): Likewise.
44149         * string/bits/string2.h (__strcmp_cc): Likewise.
44150         (__strcmp_cg): Likewise.
44151         (__strcspn_c1): Likewise.
44152         (__strcspn_c2): Likewise.
44153         (__strcspn_c3): Likewise.
44154         (__strspn_c1): Likewise.
44155         (__strspn_c2): Likewise.
44156         (__strspn_c3): Likewise.
44157         (__strsep_1c): Likewise.
44158         (__strsep_2c): Likewise.
44159         (__strsep_3c): Likewise.
44160         * string/memccpy.c (__memccpy): Likewise.
44161         * string/stpcpy.c (__stpcpy): Likewise.
44162         * string/strcmp.c (strcmp): Likewise.
44163         * string/strrchr.c (strrchr): Likewise.
44164         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44165         Likewise.
44166         * sysdeps/mach/hurd/getcwd.c
44167         (_hurd_canonicalize_directory_name_internal): Likewise.
44168         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44169         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44170         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44171         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44172         Likewise, in both definitions.
44173         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44174         definitions.
44175         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44176         64] (__bswap_64): Likewise.
44177         * time/test_time.c (main): Likewise.
44178         * time/tzfile.c (__tzfile_read): Likewise.
44179         (__tzfile_compute): Likewise.
44180         * time/tzset.c (__tzset_parse_tz): Likewise.
44181         (tzset_internal): Likewise.
44182         (compute_change): Likewise.
44183         * wcsmbs/wcscat.c (__wcscat): Likewise.
44184         * wcsmbs/wcschr.c (wcschr): Likewise.
44185         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44186         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44187         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44188         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44189         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44190         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44191         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44192         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44193         * wcsmbs/wmemset.c (wmemset): Likewise.
44195 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44197         * scripts/config.guess: Update to version 2013-05-16.
44198         * scripts/config.sub: Update to version 2013-04-24.
44199         * scripts/install-sh: Update to version 2011-11-20.07.
44200         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44201         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44203 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44205         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44206         * elf/sln.c: Likewise.
44207         * hurd/hurd/ioctl.h: Likewise.
44208         * hurd/hurdmalloc.c: Likewise.
44209         * hurd/xattr.c: Likewise.
44210         * include/shlib-compat.h: Likewise.
44211         * inet/ruserpass.c: Likewise.
44212         * libio/iofgets_u.c: Likewise.
44213         * libio/iofgetws_u.c: Likewise.
44214         * locale/programs/ld-identification.c: Likewise.
44215         * locale/programs/ld-time.c: Likewise.
44216         * mach/msg-destroy.c: Likewise.
44217         * nss/nss_files/files-netgrp.c: Likewise.
44218         * resolv/res_data.c: Likewise.
44219         * soft-fp/op-1.h: Likewise.
44220         * soft-fp/op-2.h: Likewise.
44221         * soft-fp/op-4.h: Likewise.
44222         * soft-fp/op-common.h: Likewise.
44223         * stdio-common/printf_fphex.c: Likewise.
44224         * stdlib/strtod_l.c: Likewise.
44225         * sunrpc/rpc/clnt.h: Likewise.
44226         * sysdeps/generic/framestate.c: Likewise.
44227         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44228         * sysdeps/i386/bsd-setjmp.S: Likewise.
44229         * sysdeps/i386/__longjmp.S: Likewise.
44230         * sysdeps/i386/setjmp.S: Likewise.
44231         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44232         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44234         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44235         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44236         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44237         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44240         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44241         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44242         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44243         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44244         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44245         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44246         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44247         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44248         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44249         * sysdeps/ieee754/support.c: Likewise.
44250         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44251         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44252         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44253         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44254         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44255         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44256         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44257         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44258         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44259         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44260         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44261         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44262         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44263         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44264         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44265         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44266         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44269 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44271         * posix/transbug.c: Remove executable mode.
44273 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44275         * crypt/speeds.c: Remove trailing whitespace.
44276         * dlfcn/default.c: Likewise.
44277         * elf/ifuncdep2.c: Likewise.
44278         * elf/ifuncmain1.c: Likewise.
44279         * elf/ifuncmain1vis.c: Likewise.
44280         * elf/testobj.h: Likewise.
44281         * elf/tst-stackguard1.c: Likewise.
44282         * gmon/sys/gmon.h: Likewise.
44283         * hurd/hurdmsg.c: Likewise.
44284         * hurd/new-fd.c: Likewise.
44285         * hurd/ports-get.c: Likewise.
44286         * iconvdata/ibm1008_420.c: Likewise.
44287         * inet/tst-getni1.c: Likewise.
44288         * inet/tst-getni2.c: Likewise.
44289         * libio/ioungetc.c: Likewise.
44290         * libio/wfiledoalloc.c: Likewise.
44291         * manual/libm-err-tab.pl: Likewise.
44292         * math/w_dremf.c: Likewise.
44293         * misc/ftruncate.c: Likewise.
44294         * posix/bug-glob2.c: Likewise.
44295         * posix/tst-pcre.c: Likewise.
44296         * posix/wait4.c: Likewise.
44297         * resolv/README: Likewise.
44298         * resolv/res_debug.h: Likewise.
44299         * resolv/tst-inet_ntop.c: Likewise.
44300         * setjmp/bug269-setjmp.c: Likewise.
44301         * soft-fp/extended.h: Likewise.
44302         * soft-fp/op-1.h: Likewise.
44303         * soft-fp/op-2.h: Likewise.
44304         * soft-fp/op-4.h: Likewise.
44305         * soft-fp/op-8.h: Likewise.
44306         * soft-fp/testit.c: Likewise.
44307         * stdio-common/bug16.c: Likewise.
44308         * stdlib/random.c: Likewise.
44309         * sunrpc/rpcsvc/rquota.x: Likewise.
44310         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44311         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44312         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44313         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44314         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44315         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44316         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44317         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44318         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44319         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44320         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44321         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44322         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44323         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44324         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44325         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44326         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44327         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44328         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44329         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44330         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44331         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44332         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44333         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44334         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44335         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44337         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44338         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44339         * sysdeps/ieee754/s_lib_version.c: Likewise.
44340         * sysdeps/mach/hurd/check_fds.c: Likewise.
44341         * sysdeps/mach/hurd/getsockname.c: Likewise.
44342         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44343         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44344         * sysdeps/powerpc/bits/link.h: Likewise.
44345         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44346         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44347         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44348         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44349         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44350         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44351         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44352         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44353         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44354         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44355         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44356         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44357         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44358         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44359         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44360         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44361         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44362         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44363         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44364         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44365         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44366         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44367         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44368         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44369         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44370         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44371         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44372         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44373         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44374         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44375         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44377         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44378         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44379         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44380         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44381         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44382         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44383         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44384         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44385         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44386         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44387         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44388         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44389         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44390         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44391         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44392         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44393         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44394         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44395         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44397         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44398         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44399         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44400         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44401         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44402         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44403         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44404         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44405         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44406         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44407         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44408         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44409         * sysdeps/powerpc/sysdep.h: Likewise.
44410         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44411         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44412         * sysdeps/sh/dl-trampoline.S: Likewise.
44413         * sysdeps/sh/memset.S: Likewise.
44414         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44415         * sysdeps/sh/strlen.S: Likewise.
44416         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44417         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44418         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44419         * sysdeps/sparc/sparc32/rem.S: Likewise.
44420         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44421         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44422         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44423         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44424         * sysdeps/sparc/sparc32/urem.S: Likewise.
44425         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44426         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44427         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44428         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44429         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44430         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44431         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44432         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44433         * sysdeps/unix/bsd/times.c: Likewise.
44434         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44435         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44439         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44440         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44441         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44442         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44443         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44444         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44445         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44446         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44447         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44448         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44449         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44450         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44451         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44452         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44453         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44454         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44455         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44456         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44457         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44458         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44459         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44460         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44461         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44462         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44463         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44464         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44465         * sysdeps/x86_64/strcspn.S: Likewise.
44467 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44469         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44470         generated file.  Regenerate properly from gen-translit.pl.
44471         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44472         locale/C-translit.h.
44474 2013-06-05  Andreas Schwab  <schwab@suse.de>
44476         [BZ #15100]
44477         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44478         week as 6 instead of -1.
44479         * time/tst-strptime.c (day_tests): Add test case.
44481 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44483         * sysdeps/generic/math_private.h
44484         (libc_feholdexcept_setround_53bit): Replace with
44485         libc_feholdsetround_53bit.
44486         (libc_feupdateenv_53bit): Replace with
44487         libc_feresetround_53bit.
44488         (SET_RESTORE_ROUND_53BIT): Adjust.
44490 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44492         * string/test-strchrnul.c: Add copyright header.
44494         * posix/tst-getaddrinfo4.c: Increase test timeout.
44496 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44498         [BZ #15536]
44499         * math/libm-test.inc (MAX_EXP): Remove
44500         (MIN_EXP): Define.
44501         (ulp): Use MIN_EXP - MANT_DIG.
44502         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44504 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44506         * po/be.po: Revert last change.
44507         * po/zh_CN.po: Likewise.
44508         * po/header.pot: Likewise.
44510 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44512         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44513         link-libc-deps to empty as target-specific variable.
44514         * Makerules (link-libc-args): New variable.
44515         (libc-for-link): Likewise.
44516         (link-libc-deps): Likewise.
44517         (lib%.so): Depend on $(link-libc-deps).  Link with
44518         $(link-libc-args).
44519         (build-module): Link with $(link-libc-args).
44520         (build-module-asneeded): Likewise.
44521         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44522         list of objects.
44523         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44524         target-specific variable.
44525         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44526         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44527         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44528         libc.
44529         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44530         libc and ld.so.
44531         ($(objpfx)libpcprofile.so): Likewise.
44532         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44533         libc_nonshared.a.
44534         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44535         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44536         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44537         $(link-libc-deps).
44538         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44539         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44540         * login/Makefile ($(objpfx)libutil.so): Likewise.
44541         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44542         * math/Makefile ($(objpfx)libm.so): Likewise.
44543         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44544         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44545         variable instead of depending directly on libc.
44546         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44547         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44548         $(link-libc-deps).
44549         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44550         libc.
44551         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44552         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44553         ($(objpfx)libanl.so): Likewise.
44554         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44555         ld.so.
44556         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44557         $(link-libc-deps).
44558         * sysdeps/i386/fpu/Makefile: Remove file.
44559         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44560         ($(objpfx)libm.so): Remove dependency on ld.so.
44562 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44564         [BZ # 15553]
44565         * nis/yp_xdr.c (XDRMAXNAME): Define.
44566         (XDRMAXRECORD): Define.
44567         (xdr_domainname): Use XDRMAXNAME.
44568         (xdr_mapname): Likewise.
44569         (xdr_peername): Likewise.
44570         (xdr_keydat): Use XDRMAXRECORD.
44571         (xdr_valdat): Likewise.
44573 2013-05-30  Jeff Law  <law@redhat.com>
44575         [BZ #14256]
44576         * manual/errno.texi (ESTALE): Update to account for more than
44577         just NFS file systems.
44578         * sysdeps/gnu/errlist.c: Regenerated.
44580 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44582         [BZ #15465]
44583         * elf/Makefile (tests): Add tst-null-argv.
44584         (modules-names):  Add tst-null-argv-lib.
44585         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44586         (tst-null-argv-ENV): Set environment for tst-null-argv.
44587         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44588         (RTLD_PROGNAME): New macro.
44589         * elf/tst-null-argv.c: New test case.
44590         * elf/tst-null-argv-lib.c: Library for test case.
44591         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44592         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44593         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44594         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44595         * elf/dl-init.c (call_init): Likewise.
44596         (_dl_init): Likewise.
44597         * elf/dl-load.c (print_search_path): Likewise.
44598         (_dl_map_object): Likewise.
44599         * elf/dl-lookup.c (do_lookup_x): Likewise.
44600         (add_dependency): Likewise.
44601         (_dl_lookup_symbol_x): Likewise.
44602         (_dl_debug_bindings): Likewise.
44603         * elf/dl-open.c (_dl_show_scope): Likewise.
44604         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44605         * elf/dl-version.c (match_symbol): Likewise.
44606         (_dl_check_map_versions): Likewise.
44607         * elf/rtld.c (dl_main): Likewise.
44608         (print_unresolved): Use RTLD_PROGNAME.
44609         (print_missing_version): Likewise.
44610         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44611         (elf_machine_rela): Likewise.
44612         * sysdeps/powerpc/powerpc32/dl-machine.c
44613         (__process_machine_rela): Likewise.
44614         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44615         Likewise.
44616         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44617         Likewise.
44618         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44619         Likewise.
44620         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44621         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44622         Likewise.
44623         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44624         Likewise.
44625         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44627 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44629         * po/be.po: Add descriptive title.
44630         * po/zh_CN.po: Likewise.
44631         * po/header.pot: Likewise.
44633 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44635         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44636         error message.
44637         (enlarge_archive): Likewise.
44639 2013-05-28  Ben North  <ben@redfrontdoor.org>
44641         * manual/arith.texi (frexp): It is the magnitude of the return
44642         value which lies in [0.5, 1), not the return value itself.
44644 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44648 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44650         * stdio-common/bug26.c (main): Correct fscanf template.
44652         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44653         declare _dl_skip_args.
44655         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44656         Don't declare.
44658         * manual/platform.texi: Add missing @end deftypefun.
44660 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44662         [BZ #15529]
44663         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44664         bit of mantissa of 2^16382.
44665         * math/libm-test.inc (hypot_test_data): Add more tests.
44667         * math/libm-test.inc: Add drem and pow10 to list of tested
44668         functions.
44669         (pow10_test): New function.
44670         (drem_test): Likewise.
44671         (drem_test_tonearest): Likewise.
44672         (drem_test_towardzero): Likewise.
44673         (drem_test_downward): Likewise.
44674         (drem_test_upward): Likewise.
44675         (main): Call the new functions.
44677         * math/libm-test.inc (finite_test_data): Remove.
44678         (finite_test): Run tests from isfinite_test_data.
44679         (gamma_test_data): Remove.
44680         (gamma_test): Run tests from lgamma_test_data.
44681         * sysdeps/i386/fpu/libm-test-ulps: Update.
44682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44684 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44686         * manual/platform.texi: Add PowerPC PPR function set documentation.
44687         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44688         implementation.
44690 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44692         * math/libm-test.inc (MAX_EXP): Define.
44693         (ULPDIFF): Define.
44694         (ulp): New function.
44695         (check_float_internal): Use ULPDIFF.
44696         (cpow_test): Disable failing test.
44697         (check_ulp): Test ulp() implemetnation.
44698         (main): Call check_ulp before starting tests.
44700 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44702         * math/gen-libm-test.pl (generate_testfile): Do not handle
44703         START_DATA and END_DATA.
44704         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44705         END_DATA.
44706         (acos_tonearest_test_data): Likewise.
44707         (acos_towardzero_test_data): Likewise.
44708         (acos_downward_test_data): Likewise.
44709         (acos_upward_test_data): Likewise.
44710         (acosh_test_data): Likewise.
44711         (asin_test_data): Likewise.
44712         (asin_tonearest_test_data): Likewise.
44713         (asin_towardzero_test_data): Likewise.
44714         (asin_downward_test_data): Likewise.
44715         (asin_upward_test_data): Likewise.
44716         (asinh_test_data): Likewise.
44717         (atan_test_data): Likewise.
44718         (atanh_test_data): Likewise.
44719         (atan2_test_data): Likewise.
44720         (cabs_test_data): Likewise.
44721         (cacos_test_data): Likewise.
44722         (cacosh_test_data): Likewise.
44723         (carg_test_data): Likewise.
44724         (casin_test_data): Likewise.
44725         (casinh_test_data): Likewise.
44726         (catan_test_data): Likewise.
44727         (catanh_test_data): Likewise.
44728         (cbrt_test_data): Likewise.
44729         (ccos_test_data): Likewise.
44730         (ccosh_test_data): Likewise.
44731         (ceil_test_data): Likewise.
44732         (cexp_test_data): Likewise.
44733         (cimag_test_data): Likewise.
44734         (clog_test_data): Likewise.
44735         (clog10_test_data): Likewise.
44736         (conj_test_data): Likewise.
44737         (copysign_test_data): Likewise.
44738         (cos_test_data): Likewise.
44739         (cos_tonearest_test_data): Likewise.
44740         (cos_towardzero_test_data): Likewise.
44741         (cos_downward_test_data): Likewise.
44742         (cos_upward_test_data): Likewise.
44743         (cosh_test_data): Likewise.
44744         (cosh_tonearest_test_data): Likewise.
44745         (cosh_towardzero_test_data): Likewise.
44746         (cosh_downward_test_data): Likewise.
44747         (cosh_upward_test_data): Likewise.
44748         (cpow_test_data): Likewise.
44749         (cproj_test_data): Likewise.
44750         (creal_test_data): Likewise.
44751         (csin_test_data): Likewise.
44752         (csinh_test_data): Likewise.
44753         (csqrt_test_data): Likewise.
44754         (ctan_test_data): Likewise.
44755         (ctan_tonearest_test_data): Likewise.
44756         (ctan_towardzero_test_data): Likewise.
44757         (ctan_downward_test_data): Likewise.
44758         (ctan_upward_test_data): Likewise.
44759         (ctanh_test_data): Likewise.
44760         (ctanh_tonearest_test_data): Likewise.
44761         (ctanh_towardzero_test_data): Likewise.
44762         (ctanh_downward_test_data): Likewise.
44763         (ctanh_upward_test_data): Likewise.
44764         (erf_test_data): Likewise.
44765         (erfc_test_data): Likewise.
44766         (exp_test_data): Likewise.
44767         (exp_tonearest_test_data): Likewise.
44768         (exp_towardzero_test_data): Likewise.
44769         (exp_downward_test_data): Likewise.
44770         (exp_upward_test_data): Likewise.
44771         (exp10_test_data): Likewise.
44772         (exp2_test_data): Likewise.
44773         (expm1_test_data): Likewise.
44774         (fabs_test_data): Likewise.
44775         (fdim_test_data): Likewise.
44776         (finite_test_data): Likewise.
44777         (floor_test_data): Likewise.
44778         (fma_test_data): Likewise.
44779         (fma_towardzero_test_data): Likewise.
44780         (fma_downward_test_data): Likewise.
44781         (fma_upward_test_data): Likewise.
44782         (fmax_test_data): Likewise.
44783         (fmin_test_data): Likewise.
44784         (fmod_test_data): Likewise.
44785         (fpclassify_test_data): Likewise.
44786         (frexp_test_data): Likewise.
44787         (gamma_test_data): Likewise.
44788         (hypot_test_data): Likewise.
44789         (ilogb_test_data): Likewise.
44790         (isfinite_test_data): Likewise.
44791         (isgreater_test_data): Likewise.
44792         (isgreaterequal_test_data): Likewise.
44793         (isinf_test_data): Likewise.
44794         (isless_test_data): Likewise.
44795         (islessequal_test_data): Likewise.
44796         (islessgreater_test_data): Likewise.
44797         (isnan_test_data): Likewise.
44798         (isnormal_test_data): Likewise.
44799         (issignaling_test_data): Likewise.
44800         (isunordered_test_data): Likewise.
44801         (j0_test_data): Likewise.
44802         (j1_test_data): Likewise.
44803         (jn_test_data): Likewise.
44804         (ldexp_test_data): Likewise.
44805         (lgamma_test_data): Likewise.
44806         (lrint_test_data): Likewise.
44807         (lrint_tonearest_test_data): Likewise.
44808         (lrint_towardzero_test_data): Likewise.
44809         (lrint_downward_test_data): Likewise.
44810         (lrint_upward_test_data): Likewise.
44811         (llrint_test_data): Likewise.
44812         (llrint_tonearest_test_data): Likewise.
44813         (llrint_towardzero_test_data): Likewise.
44814         (llrint_downward_test_data): Likewise.
44815         (llrint_upward_test_data): Likewise.
44816         (log_test_data): Likewise.
44817         (log10_test_data): Likewise.
44818         (log1p_test_data): Likewise.
44819         (log2_test_data): Likewise.
44820         (logb_test_data): Likewise.
44821         (logb_downward_test_data): Likewise.
44822         (lround_test_data): Likewise.
44823         (llround_test_data): Likewise.
44824         (modf_test_data): Likewise.
44825         (nearbyint_test_data): Likewise.
44826         (nextafter_test_data): Likewise.
44827         (nexttoward_test_data): Likewise.
44828         (pow_test_data): Likewise.
44829         (pow_tonearest_test_data): Likewise.
44830         (pow_towardzero_test_data): Likewise.
44831         (pow_downward_test_data): Likewise.
44832         (pow_upward_test_data): Likewise.
44833         (remainder_test_data): Likewise.
44834         (remainder_tonearest_test_data): Likewise.
44835         (remainder_towardzero_test_data): Likewise.
44836         (remainder_downward_test_data): Likewise.
44837         (remainder_upward_test_data): Likewise.
44838         (remquo_test_data): Likewise.
44839         (rint_test_data): Likewise.
44840         (rint_tonearest_test_data): Likewise.
44841         (rint_towardzero_test_data): Likewise.
44842         (rint_downward_test_data): Likewise.
44843         (rint_upward_test_data): Likewise.
44844         (round_test_data): Likewise.
44845         (scalb_test_data): Likewise.
44846         (scalbn_test_data): Likewise.
44847         (scalbln_test_data): Likewise.
44848         (signbit_test_data): Likewise.
44849         (sin_test_data): Likewise.
44850         (sin_tonearest_test_data): Likewise.
44851         (sin_towardzero_test_data): Likewise.
44852         (sin_downward_test_data): Likewise.
44853         (sin_upward_test_data): Likewise.
44854         (sincos_test_data): Likewise.
44855         (sinh_test_data): Likewise.
44856         (sinh_tonearest_test_data): Likewise.
44857         (sinh_towardzero_test_data): Likewise.
44858         (sinh_downward_test_data): Likewise.
44859         (sinh_upward_test_data): Likewise.
44860         (sqrt_test_data): Likewise.
44861         (tan_test_data): Likewise.
44862         (tan_tonearest_test_data): Likewise.
44863         (tan_towardzero_test_data): Likewise.
44864         (tan_downward_test_data): Likewise.
44865         (tan_upward_test_data): Likewise.
44866         (tanh_test_data): Likewise.
44867         (tgamma_test_data): Likewise.
44868         (trunc_test_data): Likewise.
44869         (y0_test_data): Likewise.
44870         (y1_test_data): Likewise.
44871         (yn_test_data): Likewise.
44872         (significand_test_data): Likewise.
44874         * math/gen-libm-test.pl (@functions): Remove variable.
44875         (generate_testfile): Don't handle START and END lines.
44876         * math/libm-test.inc (START): New macro.
44877         (END): Likewise.
44878         (END_COMPLEX): Likewise.
44879         (acos_test): Use END macro without arguments.
44880         (acos_test_tonearest): Likewise.
44881         (acos_test_towardzero): Likewise.
44882         (acos_test_downward): Likewise.
44883         (acos_test_upward): Likewise.
44884         (acosh_test): Likewise.
44885         (asin_test): Likewise.
44886         (asin_test_tonearest): Likewise.
44887         (asin_test_towardzero): Likewise.
44888         (asin_test_downward): Likewise.
44889         (asin_test_upward): Likewise.
44890         (asinh_test): Likewise.
44891         (atan_test): Likewise.
44892         (atanh_test): Likewise.
44893         (atan2_test): Likewise.
44894         (cabs_test): Likewise.
44895         (cacos_test): Use END_COMPLEX macro without arguments.
44896         (cacosh_test): Likewise.
44897         (carg_test): Use END macro without arguments.
44898         (casin_test): Use END_COMPLEX macro without arguments.
44899         (casinh_test): Likewise.
44900         (catan_test): Likewise.
44901         (catanh_test): Likewise.
44902         (cbrt_test): Use END macro without arguments.
44903         (ccos_test): Use END_COMPLEX macro without arguments.
44904         (ccosh_test): Likewise.
44905         (ceil_test): Use END macro without arguments.
44906         (cexp_test): Use END_COMPLEX macro without arguments.
44907         (cimag_test): Use END macro without arguments.
44908         (clog_test): Use END_COMPLEX macro without arguments.
44909         (clog10_test): Likewise.
44910         (conj_test): Likewise.
44911         (copysign_test): Use END macro without arguments.
44912         (cos_test): Likewise.
44913         (cos_test_tonearest): Likewise.
44914         (cos_test_towardzero): Likewise.
44915         (cos_test_downward): Likewise.
44916         (cos_test_upward): Likewise.
44917         (cosh_test): Likewise.
44918         (cosh_test_tonearest): Likewise.
44919         (cosh_test_towardzero): Likewise.
44920         (cosh_test_downward): Likewise.
44921         (cosh_test_upward): Likewise.
44922         (cpow_test): Use END_COMPLEX macro without arguments.
44923         (cproj_test): Likewise.
44924         (creal_test): Use END macro without arguments.
44925         (csin_test): Use END_COMPLEX macro without arguments.
44926         (csinh_test): Likewise.
44927         (csqrt_test): Likewise.
44928         (ctan_test): Likewise.
44929         (ctan_test_tonearest): Likewise.
44930         (ctan_test_towardzero): Likewise.
44931         (ctan_test_downward): Likewise.
44932         (ctan_test_upward): Likewise.
44933         (ctanh_test): Likewise.
44934         (ctanh_test_tonearest): Likewise.
44935         (ctanh_test_towardzero): Likewise.
44936         (ctanh_test_downward): Likewise.
44937         (ctanh_test_upward): Likewise.
44938         (erf_test): Use END macro without arguments.
44939         (erfc_test): Likewise.
44940         (exp_test): Likewise.
44941         (exp_test_tonearest): Likewise.
44942         (exp_test_towardzero): Likewise.
44943         (exp_test_downward): Likewise.
44944         (exp_test_upward): Likewise.
44945         (exp10_test): Likewise.
44946         (exp2_test): Likewise.
44947         (expm1_test): Likewise.
44948         (fabs_test): Likewise.
44949         (fdim_test): Likewise.
44950         (finite_test): Likewise.
44951         (floor_test): Likewise.
44952         (fma_test): Likewise.
44953         (fma_test_towardzero): Likewise.
44954         (fma_test_downward): Likewise.
44955         (fma_test_upward): Likewise.
44956         (fmax_test): Likewise.
44957         (fmin_test): Likewise.
44958         (fmod_test): Likewise.
44959         (fpclassify_test): Likewise.
44960         (frexp_test): Likewise.
44961         (gamma_test): Likewise.
44962         (hypot_test): Likewise.
44963         (ilogb_test): Likewise.
44964         (isfinite_test): Likewise.
44965         (isgreater_test): Likewise.
44966         (isgreaterequal_test): Likewise.
44967         (isinf_test): Likewise.
44968         (isless_test): Likewise.
44969         (islessequal_test): Likewise.
44970         (islessgreater_test): Likewise.
44971         (isnan_test): Likewise.
44972         (isnormal_test): Likewise.
44973         (issignaling_test): Likewise.
44974         (isunordered_test): Likewise.
44975         (j0_test): Likewise.
44976         (j1_test): Likewise.
44977         (jn_test): Likewise.
44978         (ldexp_test): Likewise.
44979         (lgamma_test): Likewise.
44980         (lrint_test): Likewise.
44981         (lrint_test_tonearest): Likewise.
44982         (lrint_test_towardzero): Likewise.
44983         (lrint_test_downward): Likewise.
44984         (lrint_test_upward): Likewise.
44985         (llrint_test): Likewise.
44986         (llrint_test_tonearest): Likewise.
44987         (llrint_test_towardzero): Likewise.
44988         (llrint_test_downward): Likewise.
44989         (llrint_test_upward): Likewise.
44990         (log_test): Likewise.
44991         (log10_test): Likewise.
44992         (log1p_test): Likewise.
44993         (log2_test): Likewise.
44994         (logb_test): Likewise.
44995         (logb_test_downward): Likewise.
44996         (lround_test): Likewise.
44997         (llround_test): Likewise.
44998         (modf_test): Likewise.
44999         (nearbyint_test): Likewise.
45000         (nextafter_test): Likewise.
45001         (nexttoward_test): Likewise.
45002         (pow_test): Likewise.
45003         (pow_test_tonearest): Likewise.
45004         (pow_test_towardzero): Likewise.
45005         (pow_test_downward): Likewise.
45006         (pow_test_upward): Likewise.
45007         (remainder_test): Likewise.
45008         (remainder_test_tonearest): Likewise.
45009         (remainder_test_towardzero): Likewise.
45010         (remainder_test_downward): Likewise.
45011         (remainder_test_upward): Likewise.
45012         (remquo_test): Likewise.
45013         (rint_test): Likewise.
45014         (rint_test_tonearest): Likewise.
45015         (rint_test_towardzero): Likewise.
45016         (rint_test_downward): Likewise.
45017         (rint_test_upward): Likewise.
45018         (round_test): Likewise.
45019         (scalb_test): Likewise.
45020         (scalbn_test): Likewise.
45021         (scalbln_test): Likewise.
45022         (signbit_test): Likewise.
45023         (sin_test): Likewise.
45024         (sin_test_tonearest): Likewise.
45025         (sin_test_towardzero): Likewise.
45026         (sin_test_downward): Likewise.
45027         (sin_test_upward): Likewise.
45028         (sincos_test): Likewise.
45029         (sinh_test): Likewise.
45030         (sinh_test_tonearest): Likewise.
45031         (sinh_test_towardzero): Likewise.
45032         (sinh_test_downward): Likewise.
45033         (sinh_test_upward): Likewise.
45034         (sqrt_test): Likewise.
45035         (tan_test): Likewise.
45036         (tan_test_tonearest): Likewise.
45037         (tan_test_towardzero): Likewise.
45038         (tan_test_downward): Likewise.
45039         (tan_test_upward): Likewise.
45040         (tanh_test): Likewise.
45041         (tgamma_test): Likewise.
45042         (trunc_test): Likewise.
45043         (y0_test): Likewise.
45044         (y1_test): Likewise.
45045         (yn_test): Likewise.
45046         (significand_test): Likewise.
45048 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45050         [BZ #15381]
45051         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45053 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45055         [BZ #14894]
45056         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45057         __ppc_mdoio and __ppc_mdoom.
45058         * manual/platform.texi: Document new functions __ppc_yield,
45059         __ppc_mdoio and __ppc_mdoom.
45061 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45063         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45064         (main): Mention "tls" pseudo-hwcap is legacy.
45065         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45067 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45069         * math/gen-libm-test.pl (parse_args): Output only string of
45070         arguments as text for test name, not full call or descriptions of
45071         tests for extra outputs.
45072         (generate_testfile): Do not pass function name to parse_args.
45073         Generate this_func variable from START.
45074         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45075         field to arg_str.
45076         (struct test_ff_f_data): Likewise.
45077         (test_ff_f_data_nexttoward): Likewise.
45078         (struct test_fi_f_data): Likewise.
45079         (struct test_fl_f_data): Likewise.
45080         (struct test_if_f_data): Likewise.
45081         (struct test_fff_f_data): Likewise.
45082         (struct test_c_f_data): Likewise.
45083         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45084         (struct test_fF_f1_data): Likewise.
45085         (struct test_ffI_f1_data): Likewise.
45086         (struct test_c_c_data): Rename test_name field to arg_str.
45087         (struct test_cc_c_data): Likewise.
45088         (struct test_f_i_data): Likewise.
45089         (struct test_ff_i_data): Likewise.
45090         (struct test_f_l_data): Likewise.
45091         (struct test_f_L_data): Likewise.
45092         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45093         and extra2_name.
45094         (COMMON_TEST_SETUP): New macro.
45095         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45096         (COMMON_TEST_CLEANUP): Likewise.
45097         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45098         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45099         macros.
45100         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45101         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45102         macros.
45103         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45104         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45105         cleanup macros.
45106         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45107         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45108         macros.
45109         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45110         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45111         macros.
45112         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45113         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45114         cleanup macros.
45115         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45116         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45117         cleanup macros.
45118         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45119         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45120         cleanup macros.
45121         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45122         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45123         macros.
45124         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45125         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45126         macros.
45127         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45128         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45129         macros.
45130         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45131         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45132         cleanup macros.
45133         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45134         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45135         cleanup macros.
45136         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45137         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45138         macros.
45139         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45140         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45141         cleanup macros.
45142         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45143         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45144         macros.
45145         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45146         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45147         macros.
45148         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45149         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45150         cleanup macros.
45151         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45153 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45155         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45156         to _sifields.sigfault.
45157         (si_addr_lsb): Define new macro.
45158         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45159         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45160         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45162 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45164         [BZ #15441]
45165         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45166         returns -1.
45167         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45168         null return -1.
45169         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45170         loading the domain.
45172 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45174         * math/gen-libm-test.pl (parse_args): Do not include expected
45175         result in test name.
45176         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45177         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45178         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45179         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45180         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45183 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45185         * benchtests/Makefile: Sort function entries.
45187         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45188         tanh, asinh, acosh, atanh.
45189         * benchtests/acos-inputs: New file.
45190         * benchtests/acosh-inputs: New file.
45191         * benchtests/asin-inputs: New file.
45192         * benchtests/asinh-inputs: New file.
45193         * benchtests/atanh-inputs: New file.
45194         * benchtests/cosh-inputs: New file.
45195         * benchtests/log-inputs: New file.
45196         * benchtests/sinh-inputs: New file.
45197         * benchtests/tanh-inputs: New file.
45199 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45201         [BZ #15339]
45202         * posix/tst-getaddrinfo4.c: New test.
45203         * posix/Makefile (tests): Add it.
45205 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45207         [BZ #15339]
45208         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45209         when no services were used.
45210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45211         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45213 2013-05-21  Andreas Schwab  <schwab@suse.de>
45215         [BZ #15014]
45216         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45217         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45218         successful.
45219         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45220         redundant variable declarations and reallocation of buffer when
45221         parsing as IPv6 address.  Always set NSS status when called from
45222         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45223         buffer too small.  Correct computation of needed size.
45224         * nss/Makefile (tests): Add test-digits-dots.
45225         * nss/test-digits-dots.c: New test.
45227 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45229         * benchtests/Makefile: Remove instructions for adding
45230         benchmark tests.
45231         * benchtests/README: New file to explain how to execute and
45232         enhance the benchmark tests.
45234 2013-05-21  Andreas Schwab  <schwab@suse.de>
45236         [BZ #15493]
45237         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45238         * setjmp/tst-sigsetjmp.c: New test.
45240 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45242         * sysdeps/x86_64/memset.S (memset): New implementation.
45243         (__bzero): Likewise.
45244         (__memset_tail): New function.
45246 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45248         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45249         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45250         __memcpy_sse2_unaligned ifunc selection.
45251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45252         Add memcpy-sse2-unaligned.S.
45253         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45254         Add: __memcpy_sse2_unaligned.
45256 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45258         [BZ #15490]
45259         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45260         math_force_eval before restoring floating-point envrionment.
45261         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45262         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45263         Likewise.
45264         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45265         <math_private.h>.
45266         (__nearbyintl): Use math_force_eval before restoring
45267         floating-point environment.
45268         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45270         * math/gen-libm-test.pl (special_functions): Remove.
45271         (parse_args): Don't handle TEST_extra.  Handle functions with no
45272         return value.
45273         * math/libm-test.inc (struct test_sincos_data): Replace with
45274         struct test_fFF_11_data.
45275         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45276         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45277         (sincos_test_data): Change element type to struct
45278         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45279         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45280         RUN_TEST_LOOP_sincos.
45281         * math/README.libm-test: Don't mention special handling of
45282         individual functions.
45283         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45286         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45290         * math/gen-libm-test.pl (get_variable): Remove function.
45291         (parse_args): Don't show pointer parameters to call in test
45292         names.  Use "extra output N" in test names for extra outputs
45293         rather than naming variables.
45295 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45297         [BZ #15488]
45298         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45299         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45300         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45301         double tests.
45302         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45303         disable.
45304         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45305         check_long_double.
45307         * math/gen-libm-test.pl (@tests): Remove variable.
45308         ($count): Likewise.
45309         (new_test): Remove function.
45310         (show_exceptions): New function.
45311         (special_functions): Use show_exceptions instead of new_test.
45312         (parse_args): Likewise.
45313         (generate_testfile): Pass only function name in generated call to
45314         print_max_error or print_complex_max_error.
45315         (get_ulps): Do not handle complex tests specially.
45316         (output_test): Rename to ...
45317         (get_all_ulps_for_test): ... this.  Return a string rather than
45318         printing to a file.  Require ulps to be present.
45319         (output_ulps): Generate arrays rather than #defines.
45320         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45321         (struct ulp_data): New type.
45322         (BUILD_COMPLEX_ULP): Remove macro.
45323         (compare_ulp_data): New function.
45324         (find_ulps): Likewise.
45325         (find_test_ulps): Likewise.
45326         (find_function_ulps): Likewise.
45327         (find_complex_function_ulps): Likewise.
45328         (print_max_error): Determine allowed ulps using
45329         find_function_ulps.
45330         (print_complex_max_error): Determine allowed ulps using
45331         find_complex_function_ulps.
45332         (check_float_internal): Determine max ulps using find_test_ulps.
45333         (check_float): Do not take max_ulp parameter.  Update call to
45334         check_float_internal.
45335         (check_complex): Likewise.
45336         (check_int): Do not take max_ulp parameter.
45337         (check_long): Likewise.
45338         (check_bool): Likewise.
45339         (check_longlong): Likewise.
45340         (struct test_f_f_data): Remove max_ulp field.
45341         (struct test_ff_f_data): Likewise.
45342         (struct test_ff_f_data_nexttoward): Likewise.
45343         (struct test_fi_f_data): Likewise.
45344         (struct test_fl_f_data): Likewise.
45345         (struct test_if_f_data): Likewise.
45346         (struct test_fff_f_data): Likewise.
45347         (struct test_c_f_data): Likewise.
45348         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45349         (struct test_fF_f1_data): Likewise.
45350         (struct test_ffI_f1_data): Likewise.
45351         (struct test_c_c_data): Remove max_ulp field.
45352         (struct test_cc_c_data): Likewise.
45353         (struct test_f_i_data): Likewise.
45354         (struct test_ff_i_data): Likewise.
45355         (struct test_f_l_data): Likewise.
45356         (struct test_f_L_data): Likewise.
45357         (struct test_sincos_data): Likewise.
45358         (RUN_TEST_f_f): Do not handle ulps.
45359         (RUN_TEST_LOOP_f_f): Likewise.
45360         (RUN_TEST_2_f): Likewise.
45361         (RUN_TEST_LOOP_2_f): Likewise.
45362         (RUN_TEST_fff_f): Likewise.
45363         (RUN_TEST_LOOP_fff_f): Likewise.
45364         (RUN_TEST_c_f): Likewise.
45365         (RUN_TEST_LOOP_c_f): Likewise.
45366         (RUN_TEST_f_f1): Likewise.
45367         (RUN_TEST_LOOP_f_f1): Likewise.
45368         (RUN_TEST_fF_f1): Likewise.
45369         (RUN_TEST_LOOP_fF_f1): Likewise.
45370         (RUN_TEST_fI_f1): Likewise.
45371         (RUN_TEST_LOOP_fI_f1): Likewise.
45372         (RUN_TEST_ffI_f1): Likewise.
45373         (RUN_TEST_LOOP_ffI_f1): Likewise.
45374         (RUN_TEST_c_c): Likewise.
45375         (RUN_TEST_LOOP_c_c): Likewise.
45376         (RUN_TEST_cc_c): Likewise.
45377         (RUN_TEST_LOOP_cc_c): Likewise.
45378         (RUN_TEST_f_i): Likewise.
45379         (RUN_TEST_LOOP_f_i): Likewise.
45380         (RUN_TEST_f_i_tg): Likewise.
45381         (RUN_TEST_LOOP_f_i_tg): Likewise.
45382         (RUN_TEST_ff_i_tg): Likewise.
45383         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45384         (RUN_TEST_f_b): Likewise.
45385         (RUN_TEST_LOOP_f_b): Likewise.
45386         (RUN_TEST_f_b_tg): Likewise.
45387         (RUN_TEST_LOOP_f_b_tg): Likewise.
45388         (RUN_TEST_f_l): Likewise.
45389         (RUN_TEST_LOOP_f_l): Likewise.
45390         (RUN_TEST_f_L): Likewise.
45391         (RUN_TEST_LOOP_f_L): Likewise.
45392         (RUN_TEST_sincos): Likewise.
45393         (RUN_TEST_LOOP_sincos): Likewise.
45395 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45397         [BZ #15480]
45398         [BZ #15485]
45399         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45400         main case of finite arguments, set rounding mode to FE_TONEAREST
45401         and discard exceptions.
45402         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45403         exceptions.
45404         (remainder_tonearest_test_data): New variable.
45405         (remainder_test_tonearest): New function.
45406         (remainder_towardzero_test_data): New variable.
45407         (remainder_test_towardzero): New function.
45408         (remainder_downward_test_data): New variable.
45409         (remainder_test_downward): New function.
45410         (remainder_upward_test_data): New variable.
45411         (remainder_test_upward): New function.
45412         (main): Call the new test functions.
45414         * math/libm-test.inc (struct test_f_f1_data): Remove field
45415         extra_init.
45416         (struct test_fF_f1_data): Likewise.
45417         (struct test_ffI_f1_data): Likewise.
45418         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45419         based on value of EXTRA_EXPECTED.
45420         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45421         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45422         EXTRA_VAR based on value of EXTRA_EXPECTED.
45423         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45424         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45425         EXTRA_VAR based on value of EXTRA_EXPECTED.
45426         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45427         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45428         EXTRA_VAR based on value of EXTRA_EXPECTED.
45429         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45430         * math/gen-libm-test.pl (parse_args): Don't output initializers
45431         for extra output values.
45433         * math/libm-test.inc (check_int): Expect result to be exactly
45434         equal to expected value and do not handle ulps.
45435         (check_long): Likewise.
45436         (check_longlong): Likewise.
45438         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45439         exceptions.
45440         (cimag_test_data): Likewise.
45441         (conj_test_data): Likewise.
45442         (copysign_test_data): Likewise.
45443         (cproj_test_data): Likewise.
45444         (creal_test_data): Likewise.
45445         (fabs_test_data): Likewise.
45446         (fdim_test_data): Likewise.
45447         (finite_test_data): Likewise.
45448         (floor_test_data): Likewise.
45449         (fmax_test_data): Likewise.
45450         (fmin_test_data): Likewise.
45451         (fmod_test_data): Likewise.
45452         (fpclassify_test_data): Likewise.
45453         (frexp_test_data): Likewise.
45454         (ilogb_test_data): Likewise.
45455         (isfinite_test_data): Likewise.
45456         (isgreater_test_data): Likewise.
45457         (isgreaterequal_test_data): Likewise.
45458         (isinf_test_data): Likewise.
45459         (isless_test_data): Likewise.
45460         (islessequal_test_data): Likewise.
45461         (islessgreater_test_data): Likewise.
45462         (isnan_test_data): Likewise.
45463         (isnormal_test_data): Likewise.
45464         (issignaling_test_data): Likewise.
45465         (isunordered_test_data): Likewise.
45466         (ldexp_test_data): Likewise.
45467         (lrint_test_data): Likewise.
45468         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45469         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45470         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45471         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45472         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45473         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45474         test input.
45475         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45476         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45477         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45478         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45479         that test input.
45480         (lrint_downward_test_data): Test for "inexact" exceptions.
45481         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45482         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45483         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45484         test input.
45485         (lrint_upward_test_data): Test for "inexact" exceptions.
45486         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45487         test input.
45488         (llrint_test_data): Test for "inexact" exceptions.
45489         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45490         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45491         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45492         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45493         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45494         (llrint_downward_test_data): Test for "inexact" exceptions.
45495         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45496         (llrint_upward_test_data): Test for "inexact" exceptions.
45497         (logb_test_data): Likewise.
45498         (logb_downward_test_data): Likewise.
45499         (nextafter_test_data): Likewise.
45500         (nexttoward_test_data): Likewise.
45501         (remainder_test_data): Likewise.
45502         (remquo_test_data): Likewise.
45503         (scalbn_test_data): Likewise.
45504         (scalbln_test_data): Likewise.
45505         (signbit_test_data): Likewise.
45506         (sqrt_test_data): Likewise.
45507         (significand_test_data): Likewise.
45509 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45511         [BZ #15424]
45512         * benchtests/bench-modf.c (struct args): Mark arg0 as
45513         volatile.
45514         * scripts/bench.pl: Mark members of struct args as volatile.
45516 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45518         [BZ # 15497]
45519         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45520         negative infinity on POWER6 or lower.
45521         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45523 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45525         [BZ #15442]
45526         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45527         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45528         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45529         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45530         (_FP_SETQNAN): New macro.
45531         (_FP_SETQNAN_SEMIRAW): Likewise.
45532         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45533         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45534         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45535         (FP_EXTEND): Use _FP_FRAC_SNANP.
45536         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45537         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45538         into account.
45539         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45540         New macro.
45541         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45542         Likewise.
45544 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45546         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45547         with DIVIDE_BY_ZERO_EXCEPTION.
45548         (gamma_test_data): Likewise.
45549         (lgamma_test_data): Likewise.
45550         (log_test_data): Likewise.
45551         (log10_test_data): Likewise.
45552         (log2_test_data): Likewise.
45553         (tgamma_test_data): Likewise.
45555         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45556         (acos_test_tonearest): Likewise.
45557         (acos_test_towardzero): Likewise.
45558         (acos_test_downward): Likewise.
45559         (acos_test_upward): Likewise.
45560         (acosh_test): Likewise.
45561         (asin_test): Likewise.
45562         (asin_test_tonearest): Likewise.
45563         (asin_test_towardzero): Likewise.
45564         (asin_test_downward): Likewise.
45565         (asin_test_upward): Likewise.
45566         (asinh_test): Likewise.
45567         (atan_test): Likewise.
45568         (atanh_test): Likewise.
45569         (atan2_test): Likewise.
45570         (cabs_test): Likewise.
45571         (cacos_test): Likewise.
45572         (cacosh_test): Likewise.
45573         (casin_test): Likewise.
45574         (casinh_test): Likewise.
45575         (catan_test): Likewise.
45576         (catanh_test): Likewise.
45577         (cbrt_test): Likewise.
45578         (ccos_test): Likewise.
45579         (ccosh_test): Likewise.
45580         (cexp_test): Likewise.
45581         (clog_test): Likewise.
45582         (clog10_test): Likewise.
45583         (cos_test): Likewise.
45584         (cos_test_tonearest): Likewise.
45585         (cos_test_towardzero): Likewise.
45586         (cos_test_downward): Likewise.
45587         (cos_test_upward): Likewise.
45588         (cosh_test): Likewise.
45589         (cosh_test_tonearest): Likewise.
45590         (cosh_test_towardzero): Likewise.
45591         (cosh_test_downward): Likewise.
45592         (cosh_test_upward): Likewise.
45593         (cpow_test): Likewise.
45594         (csin_test): Likewise.
45595         (csinh_test): Likewise.
45596         (csqrt_test): Likewise.
45597         (ctan_test): Likewise.
45598         (ctan_test_tonearest): Likewise.
45599         (ctan_test_towardzero): Likewise.
45600         (ctan_test_downward): Likewise.
45601         (ctan_test_upward): Likewise.
45602         (ctanh_test): Likewise.
45603         (ctanh_test_tonearest): Likewise.
45604         (ctanh_test_towardzero): Likewise.
45605         (ctanh_test_downward): Likewise.
45606         (ctanh_test_upward): Likewise.
45607         (erf_test): Likewise.
45608         (erfc_test): Likewise.
45609         (exp_test): Likewise.
45610         (exp_test_tonearest): Likewise.
45611         (exp_test_towardzero): Likewise.
45612         (exp_test_downward): Likewise.
45613         (exp_test_upward): Likewise.
45614         (exp10_test): Likewise.
45615         (exp2_test): Likewise.
45616         (expm1_test): Likewise.
45617         (fmod_test): Likewise.
45618         (gamma_test): Likewise.
45619         (hypot_test): Likewise.
45620         (j0_test): Likewise.
45621         (j1_test): Likewise.
45622         (jn_test): Likewise.
45623         (lgamma_test): Likewise.
45624         (log_test): Likewise.
45625         (log10_test): Likewise.
45626         (log1p_test): Likewise.
45627         (log2_test): Likewise.
45628         (logb_test_downward): Likewise.
45629         (pow_test): Likewise.
45630         (pow_test_tonearest): Likewise.
45631         (pow_test_towardzero): Likewise.
45632         (pow_test_downward): Likewise.
45633         (pow_test_upward): Likewise.
45634         (remainder_test): Likewise.
45635         (remquo_test): Likewise.
45636         (sin_test): Likewise.
45637         (sin_test_tonearest): Likewise.
45638         (sin_test_towardzero): Likewise.
45639         (sin_test_downward): Likewise.
45640         (sin_test_upward): Likewise.
45641         (sincos_test): Likewise.
45642         (sinh_test): Likewise.
45643         (sinh_test_tonearest): Likewise.
45644         (sinh_test_towardzero): Likewise.
45645         (sinh_test_downward): Likewise.
45646         (sinh_test_upward): Likewise.
45647         (sqrt_test): Likewise.
45648         (tan_test): Likewise.
45649         (tan_test_tonearest): Likewise.
45650         (tan_test_towardzero): Likewise.
45651         (tan_test_downward): Likewise.
45652         (tan_test_upward): Likewise.
45653         (tanh_test): Likewise.
45654         (tgamma_test): Likewise.
45655         (y0_test): Likewise.
45656         (y1_test): Likewise.
45657         (yn_test): Likewise.
45659         * math/gen-libm-test.pl (adjust_arg): Remove function.
45660         (special_function): Remove argument $in_func.  Only handle
45661         generating output for tables of tests, not inside functions.
45662         (parse_args): Likewise.
45663         (generate_testfile): Remove variable $in_func.  Update call to
45664         parse_args.
45665         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45666         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45667         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45668         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45669         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45670         (MAX_VALUE_INIT): Rename macro to max_value.
45671         (MIN_VALUE_INIT): Rename macro to min_value.
45672         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45673         (plus_zero): Remove variable.
45674         (minus_zero): Likewise.
45675         (plus_infty): Likewise.
45676         (minus_infty): Likewise.
45677         (qnan_value): Likewise.
45678         (max_value): Likewise.
45679         (min_value): Likewise.
45680         (min_subnorm_value): Likewise.
45682 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45684         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45685         uint64_t or uint32_t usage.
45686         * crypt/sha256-block.c: Likewise.
45687         * crypt/sha256-crypt.c: Likewise.
45688         * crypt/sha256.c: Likewise.
45689         * crypt/sha512-block.c: Likewise.
45690         * crypt/sha512-crypt.c: Likewise.
45691         * crypt/sha512.c: Likewise.
45692         * debug/backtrace-tst.c: Likewise.
45693         * debug/pcprofiledump.c: Likewise.
45694         * elf/cache.c: Likewise.
45695         * elf/dl-cache.c: Likewise.
45696         * elf/dl-misc.c: Likewise.
45697         * elf/dl-profile.c: Likewise.
45698         * elf/dl-support.c: Likewise.
45699         * elf/ldconfig.c: Likewise.
45700         * elf/sprof.c: Likewise.
45701         * iconv/dummy-repertoire.c: Likewise.
45702         * iconv/iconv_charmap.c: Likewise.
45703         * iconv/skeleton.c: Likewise.
45704         * iconvdata/8bit-generic.c: Likewise.
45705         * iconvdata/cp737.h: Likewise.
45706         * iconvdata/cp775.h: Likewise.
45707         * iconvdata/ibm1008.h: Likewise.
45708         * iconvdata/ibm1025.h: Likewise.
45709         * iconvdata/ibm1046.h: Likewise.
45710         * iconvdata/ibm1097.h: Likewise.
45711         * iconvdata/ibm1112.h: Likewise.
45712         * iconvdata/ibm1122.h: Likewise.
45713         * iconvdata/ibm1123.h: Likewise.
45714         * iconvdata/ibm1124.h: Likewise.
45715         * iconvdata/ibm1129.h: Likewise.
45716         * iconvdata/ibm1130.h: Likewise.
45717         * iconvdata/ibm1132.h: Likewise.
45718         * iconvdata/ibm1133.h: Likewise.
45719         * iconvdata/ibm1137.h: Likewise.
45720         * iconvdata/ibm1140.h: Likewise.
45721         * iconvdata/ibm1141.h: Likewise.
45722         * iconvdata/ibm1142.h: Likewise.
45723         * iconvdata/ibm1143.h: Likewise.
45724         * iconvdata/ibm1144.h: Likewise.
45725         * iconvdata/ibm1145.h: Likewise.
45726         * iconvdata/ibm1146.h: Likewise.
45727         * iconvdata/ibm1147.h: Likewise.
45728         * iconvdata/ibm1148.h: Likewise.
45729         * iconvdata/ibm1149.h: Likewise.
45730         * iconvdata/ibm1153.h: Likewise.
45731         * iconvdata/ibm1154.h: Likewise.
45732         * iconvdata/ibm1155.h: Likewise.
45733         * iconvdata/ibm1156.h: Likewise.
45734         * iconvdata/ibm1157.h: Likewise.
45735         * iconvdata/ibm1158.h: Likewise.
45736         * iconvdata/ibm1160.h: Likewise.
45737         * iconvdata/ibm1161.h: Likewise.
45738         * iconvdata/ibm1162.h: Likewise.
45739         * iconvdata/ibm1163.h: Likewise.
45740         * iconvdata/ibm1164.h: Likewise.
45741         * iconvdata/ibm1166.h: Likewise.
45742         * iconvdata/ibm1167.h: Likewise.
45743         * iconvdata/ibm12712.h: Likewise.
45744         * iconvdata/ibm1390.h: Likewise.
45745         * iconvdata/ibm1399.h: Likewise.
45746         * iconvdata/ibm16804.h: Likewise.
45747         * iconvdata/ibm4517.h: Likewise.
45748         * iconvdata/ibm4899.h: Likewise.
45749         * iconvdata/ibm4909.h: Likewise.
45750         * iconvdata/ibm4971.h: Likewise.
45751         * iconvdata/ibm5347.h: Likewise.
45752         * iconvdata/ibm803.h: Likewise.
45753         * iconvdata/ibm856.h: Likewise.
45754         * iconvdata/ibm901.h: Likewise.
45755         * iconvdata/ibm902.h: Likewise.
45756         * iconvdata/ibm9030.h: Likewise.
45757         * iconvdata/ibm9066.h: Likewise.
45758         * iconvdata/ibm921.h: Likewise.
45759         * iconvdata/ibm922.h: Likewise.
45760         * iconvdata/ibm9448.h: Likewise.
45761         * iconvdata/isiri-3342.h: Likewise.
45762         * iconvdata/jis0201.h: Likewise.
45763         * include/link.h: Likewise.
45764         * include/netdb.h: Likewise.
45765         * inet/check_native.c: Likewise.
45766         * inet/check_pf.c: Likewise.
45767         * inet/getipv4sourcefilter.c: Likewise.
45768         * inet/getnameinfo.c: Likewise.
45769         * inet/getsourcefilter.c: Likewise.
45770         * inet/htonl.c: Likewise.
45771         * inet/setipv4sourcefilter.c: Likewise.
45772         * inet/setsourcefilter.c: Likewise.
45773         * inet/test-inet6_opt.c: Likewise.
45774         * inet/tst-network.c: Likewise.
45775         * locale/C-collate.c: Likewise.
45776         * locale/C-ctype.c: Likewise.
45777         * locale/C-time.c: Likewise.
45778         * locale/C-translit.h: Likewise.
45779         * locale/loadarchive.c: Likewise.
45780         * locale/programs/3level.h: Likewise.
45781         * locale/programs/charmap.c: Likewise.
45782         * locale/programs/charmap.h: Likewise.
45783         * locale/programs/ld-address.c: Likewise.
45784         * locale/programs/ld-collate.c: Likewise.
45785         * locale/programs/ld-ctype.c: Likewise.
45786         * locale/programs/ld-identification.c: Likewise.
45787         * locale/programs/ld-measurement.c: Likewise.
45788         * locale/programs/ld-messages.c: Likewise.
45789         * locale/programs/ld-monetary.c: Likewise.
45790         * locale/programs/ld-name.c: Likewise.
45791         * locale/programs/ld-numeric.c: Likewise.
45792         * locale/programs/ld-paper.c: Likewise.
45793         * locale/programs/ld-telephone.c: Likewise.
45794         * locale/programs/ld-time.c: Likewise.
45795         * locale/programs/linereader.c: Likewise.
45796         * locale/programs/locale.c: Likewise.
45797         * locale/programs/locarchive.c: Likewise.
45798         * locale/programs/locfile.h: Likewise.
45799         * locale/programs/repertoire.c: Likewise.
45800         * locale/programs/simple-hash.c: Likewise.
45801         * locale/programs/simple-hash.h: Likewise.
45802         * malloc/memusage.c: Likewise.
45803         * malloc/memusagestat.c: Likewise.
45804         * nis/nis_defaults.c: Likewise.
45805         * nis/nis_hash.c: Likewise.
45806         * nis/nis_print.c: Likewise.
45807         * nis/nis_xdr.c: Likewise.
45808         * nscd/connections.c: Likewise.
45809         * nscd/hstcache.c: Likewise.
45810         * nscd/nscd_gethst_r.c: Likewise.
45811         * nscd/nscd_getserv_r.c: Likewise.
45812         * nscd/nscd_helper.c: Likewise.
45813         * nscd/servicescache.c: Likewise.
45814         * nss/makedb.c: Likewise.
45815         * nss/nss_db/db-XXX.c: Likewise.
45816         * nss/nss_db/db-initgroups.c: Likewise.
45817         * nss/nss_db/db-netgrp.c: Likewise.
45818         * nss/nss_files/files-network.c: Likewise.
45819         * nss/nss_files/files-parse.c: Likewise.
45820         * posix/bug-regex5.c: Likewise.
45821         * posix/fnmatch_loop.c: Likewise.
45822         * posix/regcomp.c: Likewise.
45823         * posix/regexec.c: Likewise.
45824         * posix/tst-rfc3484-2.c: Likewise.
45825         * posix/tst-rfc3484-3.c: Likewise.
45826         * posix/tst-rfc3484.c: Likewise.
45827         * resolv/nss_dns/dns-canon.c: Likewise.
45828         * resolv/nss_dns/dns-network.c: Likewise.
45829         * resolv/res_init.c: Likewise.
45830         * resolv/res_mkquery.c: Likewise.
45831         * resolv/tst-aton.c: Likewise.
45832         * stdlib/cxa_atexit.c: Likewise.
45833         * stdlib/cxa_finalize.c: Likewise.
45834         * stdlib/gen-fpioconst.c: Likewise.
45835         * stdlib/strtol_l.c: Likewise.
45836         * string/tst-endian.c: Likewise.
45837         * sunrpc/auth_des.c: Likewise.
45838         * sunrpc/clnt_udp.c: Likewise.
45839         * sunrpc/rtime.c: Likewise.
45840         * sunrpc/svcauth_des.c: Likewise.
45841         * sunrpc/xdr.c: Likewise.
45842         * sunrpc/xdr_intXX_t.c: Likewise.
45843         * sunrpc/xdr_rec.c: Likewise.
45844         * sysdeps/generic/ldconfig.h: Likewise.
45845         * sysdeps/generic/ldsodefs.h: Likewise.
45846         * sysdeps/generic/memusage.h: Likewise.
45847         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45848         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45849         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45850         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45851         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45852         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45853         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45855         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45856         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45857         * sysdeps/posix/getaddrinfo.c: Likewise.
45858         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45859         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45860         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45861         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45862         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45863         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45864         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45865         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45866         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45867         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45868         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45869         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45870         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45871         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45872         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45873         * sysdeps/x86_64/dl-tls.h: Likewise.
45874         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45875         * time/alt_digit.c: Likewise.
45876         * time/era.c: Likewise.
45877         * wcsmbs/tst-c16c32-1.c: Likewise.
45879 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45881         * math/libm-test.inc (struct test_sincos_data): New type.
45882         (RUN_TEST_LOOP_sincos): New macro.
45883         (sincos_test_data): New variable.
45884         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45886 2013-05-16  Richard Henderson  <rth@redhat.com>
45888         * math/atest-exp2.c (LIMB64): New macro.
45889         (CONSTSZ): New macro.
45890         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45891         (hexdig): Move ...
45892         (print_mpn_fp): ... to function scope.
45893         (read_mpn_hex): Remove.
45894         (get_log2): Remove.
45895         (exp2_mpn): Use mp_log2.
45896         (main): Use mp_exp1.
45898 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45900         * math/libm-test.inc: Remove comment about not testing "inexact"
45901         exceptions.
45902         (INEXACT_EXCEPTION): New macro.
45903         (NO_INEXACT_EXCEPTION): Likewise.
45904         (INVALID_EXCEPTION_OK): Update value.
45905         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45906         (OVERFLOW_EXCEPTION_OK): Likewise.
45907         (UNDERFLOW_EXCEPTION_OK): Likewise.
45908         (IGNORE_ZERO_INF_SIGN): Likewise.
45909         (ERRNO_UNCHANGED): Likewise.
45910         (ERRNO_EDOM): Likewise.
45911         (ERRNO_ERANGE): Likewise.
45912         (test_exceptions): Handle testing "inexact" exceptions.
45913         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45914         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45915         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45916         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45917         INEXACT_EXCEPTION.
45918         (rint_towardzero_test_data): Likewise.
45919         (rint_downward_test_data): Likewise.
45920         (rint_upward_test_data): Likewise.
45922         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45923         with OVERFLOW_EXCEPTION.
45924         (exp10_test_data): Likewise.
45925         (exp2_test_data): Likewise.
45926         (expm1_test_data): Likewise.
45927         (lgamma_test_data): Likewise.
45928         (pow_test_data): Likewise.
45929         (tgamma_test_data): Likewise.
45930         (yn_test_data): Remove duplicate test of overflow.
45932         * math/libm-test.inc (struct test_cc_c_data): New type.
45933         (RUN_TEST_LOOP_cc_c): New macro.
45934         (cpow_test_data): New variable.
45935         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45937         * math/libm-test.inc (struct test_f_L_data): New type.
45938         (RUN_TEST_LOOP_f_L): New macro.
45939         (llrint_test_data): New variable.
45940         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45941         (llrint_tonearest_test_data): New variable.
45942         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45943         (llrint_towardzero_test_data): New variable.
45944         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45945         (llrint_downward_test_data): New variable.
45946         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45947         (llrint_upward_test_data): New variable.
45948         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45949         (llround_test_data): New variable.
45950         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45952 2013-05-13  Peter Collingbourne  <pcc@google.com>
45954         * math/atest-exp2.c (get_log2): Remove const attribute.
45956 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45958         * math/libm-test.inc (struct test_f_l_data): New type.
45959         (RUN_TEST_LOOP_f_l): New macro.
45960         (lrint_test_data): New variable.
45961         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45962         (lrint_tonearest_test_data): New variable.
45963         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45964         (lrint_towardzero_test_data): New variable.
45965         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45966         (lrint_downward_test_data): New variable.
45967         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45968         (lrint_upward_test_data): New variable.
45969         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45970         (lround_test_data): New variable.
45971         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45973 2013-05-15  Peter Collingbourne  <pcc@google.com>
45975         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45976         (EXTRACT_WORDS64) Use where appropriate.
45977         (INSERT_WORDS64) Likewise.
45979         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45980         constraints with x constraints.
45981         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45983         * malloc/obstack.c (_obstack_compat): Add initializer.
45985 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45987         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45988         si_trapno and add si_addr_lsb to _sifields.sigfault.
45989         (si_trapno): Remove macro.
45990         (si_addr_lsb): Define new macro.
45991         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45993 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45995         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45996         instead of TEST_f_l.
45997         (llrint_test_tonearest): Likewise.
45998         (llrint_test_towardzero): Likewise.
45999         (llrint_test_downward): Likewise.
46000         (llrint_test_upward): Likewise.
46001         (llround_test): Likewise.
46003         * math/libm-test.inc (struct test_f_i_data): Add comment.
46004         (RUN_TEST_LOOP_f_b): New macro.
46005         (RUN_TEST_LOOP_f_b_tg): Likewise.
46006         (finite_test_data): New variable.
46007         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46008         (isfinite_test_data): New variable.
46009         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46010         (isinf_test_data): New variable.
46011         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46012         (isnan_test_data): New variable.
46013         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46014         (isnormal_test_data): New variable.
46015         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46016         (issignaling_test_data): New variable.
46017         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46018         (signbit_test_data): New variable.
46019         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46021         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46022         with INVALID_EXCEPTION.
46023         (acosh_test_data): Likewise.
46024         (asin_test_data): Likewise.
46025         (atanh_test_data): Likewise.
46026         (fmod_test_data): Likewise.
46027         (log_test_data): Likewise.
46028         (log10_test_data): Likewise.
46029         (log2_test_data): Likewise.
46030         (pow_test_data): Likewise.
46031         (sqrt_test_data): Likewise.
46032         (y0_test_data): Likewise.
46033         (y1_test_data): Likewise.
46034         (yn_test_data): Likewise.
46036         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46037         function contents.
46039         * math/libm-test.inc (struct test_ff_i_data): New type.
46040         (RUN_TEST_LOOP_ff_i_tg): New macro.
46041         (isgreater_test_data): New variable.
46042         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46043         (isgreaterequal_test_data): New variable.
46044         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46045         (isless_test_data): New variable.
46046         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46047         (islessequal_test_data): New variable.
46048         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46049         (islessgreater_test_data): New variable.
46050         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46051         (isunordered_test_data): New variable.
46052         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46054 2013-05-14  David S. Miller  <davem@davemloft.net>
46056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46058 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46060         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46062         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46063         extra_test to int.
46064         (struct test_f_i_data): Change type of max_ulp to int.
46066         * math/libm-test.inc (test_ffI_f1_data): New type.
46067         (RUN_TEST_LOOP_ffI_f1): New macro.
46068         (remquo_test_data): New variable.
46069         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46071         * setjmp/tst-setjmp-fp.c: New file.
46072         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46073         (link-libm): New variable.
46074         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46076         * math/libm-test.inc (struct test_f_i_data): New type.
46077         (RUN_TEST_LOOP_f_i): New macro.
46078         (RUN_TEST_LOOP_f_i_tg): Likewise.
46079         (fpclassify_test_data): New variable.
46080         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46081         (ilogb_test_data): New variable.
46082         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46084         * math/libm-test.inc (scalbln_test): Correct function name in END
46085         call.
46087         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46088         (RUN_TEST_LOOP_fI_f1): New macro.
46089         (frexp_test_data): New variable.
46090         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46092         * math/libm-test.inc (struct test_fF_f1_data): New type.
46093         (RUN_TEST_LOOP_fF_f1): New macro.
46094         (modf_test_data): New variable.
46095         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46097         * math/libm-test.inc (struct test_f_f1_data): New type.
46098         (RUN_TEST_LOOP_f_f1): New macro.
46099         (gamma_test_data): New variable.
46100         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46101         (lgamma_test_data): New variable.
46102         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46104 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46106         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46107         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46108         (main): Comment "tls" pseudo-hwcap.
46110 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46112         * math/libm-test.inc (struct test_fl_f_data): New type.
46113         (RUN_TEST_LOOP_fl_f): New variable.
46114         (scalbln_test_data): New variable.
46115         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46117         * math/libm-test.inc (struct test_fi_f_data): New type.
46118         (RUN_TEST_LOOP_fi_f): New macro.
46119         (ldexp_test_data): New variable.
46120         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46121         (scalbn_test_data): New variable.
46122         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46124         * math/libm-test.inc (struct test_c_f_data): New type.
46125         (RUN_TEST_LOOP_c_f): New macro.
46126         (cabs_test_data): New variable.
46127         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46128         (carg_test_data): New variable.
46129         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46130         (cimag_test_data): New variable.
46131         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46132         (creal_test_data): New variable.
46133         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46135         * math/libm-test.inc (struct test_if_f_data): New type.
46136         (RUN_TEST_LOOP_if_f): New macro.
46137         (jn_test_data): New variable.
46138         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46139         (yn_test_data): New variable.
46140         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46142         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46144 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46146         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46147         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46149 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46151         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46152         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46153         (bench-deps): Add bench-timing.h.
46154         * benchtests-bench-skeleton.c: Include bench-timing.h.
46155         (main): Use TIMING_* macros instead of clock_gettime.
46156         * benchtests/bench-timing.h: New file.
46158         [BZ #14582]
46159         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46160         Renamed from _LIB_VERSION.
46161         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46163 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46165         * math/libm-test.inc (struct test_fff_f_data): New type.
46166         (RUN_TEST_LOOP_fff_f): New macro.
46167         (fma_test_data): New variable.
46168         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46169         (fma_towardzero_test_data): New variable.
46170         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46171         (fma_downward_test_data): New variable.
46172         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46173         (fma_upward_test_data): New variable.
46174         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46176         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46177         (struct test_c_c_data): New type.
46178         (RUN_TEST_LOOP_c_c): New macro.
46179         (cacos_test_data): New variable.
46180         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46181         (cacosh_test_data): New variable.
46182         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46183         (casin_test_data): New variable.
46184         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46185         (casinh_test_data): New variable.
46186         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46187         (catan_test_data): New variable.
46188         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46189         (catanh_test_data): New variable.
46190         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46191         (ccos_test_data): New variable.
46192         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46193         (ccosh_test_data): New variable.
46194         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46195         (cexp_test_data): New variable.
46196         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46197         (clog_test_data): New variable.
46198         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46199         (clog10_test_data): New variable.
46200         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46201         (conj_test_data): New variable.
46202         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46203         (cproj_test_data): New variable.
46204         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46205         (csin_test_data): New variable.
46206         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46207         (csinh_test_data): New variable.
46208         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46209         (csqrt_test_data): New variable.
46210         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46211         (ctan_test_data): New variable.
46212         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46213         (ctan_tonearest_test_data): New variable.
46214         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46215         (ctan_towardzero_test_data): New variable.
46216         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46217         (ctan_downward_test_data): New variable.
46218         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46219         (ctan_upward_test_data): New variable.
46220         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46221         (ctanh_test_data): New variable.
46222         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46223         (ctanh_tonearest_test_data): New variable.
46224         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46225         (ctanh_towardzero_test_data): New variable.
46226         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46227         (ctanh_downward_test_data): New variable.
46228         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46229         (ctanh_upward_test_data): New variable.
46230         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46231         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46232         of BUILD_COMPLEX.
46234         * math/libm-test.inc (struct test_ff_f_data): New type.
46235         (struct test_ff_f_data_nexttoward): Likewise.
46236         (RUN_TEST_LOOP_2_f): New macro.
46237         (RUN_TEST_LOOP_ff_f): Likewise.
46238         (atan2_test_data): New variable.
46239         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46240         (copysign_test_data): New variable.
46241         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46242         (fdim_test_data): New variable.
46243         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46244         (fmax_test_data): New variable.
46245         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46246         (fmin_test_data): New variable.
46247         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46248         (fmod_test_data): New variable.
46249         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46250         (hypot_test_data): New variable.
46251         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46252         (nextafter_test_data): New variable.
46253         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46254         (nexttoward_test_data): New variable.
46255         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46256         (pow_test_data): New variable.
46257         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46258         (pow_tonearest_test_data): New variable.
46259         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46260         (pow_towardzero_test_data): New variable.
46261         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46262         (pow_downward_test_data): New variable.
46263         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46264         (pow_upward_test_data): New variable.
46265         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46266         (remainder_test_data): New variable.
46267         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46268         (scalb_test_data): New variable.
46269         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46270         * sysdeps/i386/fpu/libm-test-ulps: Update.
46272 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46274         * math/libm-test.inc (fma_test): Use max_value instead of local
46275         variable fltmax.
46276         (nextafter_test): Likewise.
46278         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46279         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46280         (acos_downward_test_data): New variable.
46281         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46282         (acos_upward_test_data): New variable.
46283         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46284         (acosh_test_data): New variable.
46285         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46286         (asin_test_data): New variable.
46287         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46288         (asin_tonearest_test_data): New variable.
46289         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46290         (asin_towardzero_test_data): New variable.
46291         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46292         (asin_downward_test_data): New variable.
46293         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46294         (asin_upward_test_data): New variable.
46295         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46296         (asinh_test_data): New variable.
46297         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46298         (atan_test_data): New variable.
46299         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46300         (atanh_test_data): New variable.
46301         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46302         (cbrt_test_data): New variable.
46303         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46304         (ceil_test_data): New variable.
46305         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46306         (cos_test_data): New variable.
46307         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46308         (cos_tonearest_test_data): New variable.
46309         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46310         (cos_towardzero_test_data): New variable.
46311         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46312         (cos_downward_test_data): New variable.
46313         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46314         (cos_upward_test_data): New variable.
46315         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46316         (cosh_test_data): New variable.
46317         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46318         (cosh_tonearest_test_data): New variable.
46319         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46320         (cosh_towardzero_test_data): New variable.
46321         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46322         (cosh_downward_test_data): New variable.
46323         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46324         (cosh_upward_test_data): New variable.
46325         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46326         (erf_test_data): New variable.
46327         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46328         (erfc_test_data): New variable.
46329         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46330         (exp_test_data): New variable.
46331         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46332         (exp_tonearest_test_data): New variable.
46333         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46334         (exp_towardzero_test_data): New variable.
46335         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46336         (exp_downward_test_data): New variable.
46337         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46338         (exp_upward_test_data): New variable.
46339         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46340         (exp10_test_data): New variable.
46341         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46342         (exp2_test_data): New variable.
46343         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46344         (expm1_test_data): New variable.
46345         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46346         (fabs_test_data): New variable.
46347         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46348         (floor_test_data): New variable.
46349         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46350         (j0_test_data): New variable.
46351         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46352         (j1_test_data): New variable.
46353         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46354         (log_test_data): New variable.
46355         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46356         (log10_test_data): New variable.
46357         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46358         (log1p_test_data): New variable.
46359         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46360         (log2_test_data): New variable.
46361         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46362         (logb_test_data): New variable.
46363         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46364         (logb_downward_test_data): New variable.
46365         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46366         (nearbyint_test_data): New variable.
46367         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46368         (rint_test_data): New variable.
46369         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46370         (rint_tonearest_test_data): New variable.
46371         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46372         (rint_towardzero_test_data): New variable.
46373         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46374         (rint_downward_test_data): New variable.
46375         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46376         (rint_upward_test_data): New variable.
46377         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46378         (round_test_data): New variable.
46379         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46380         (sin_test_data): New variable.
46381         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46382         (sin_tonearest_test_data): New variable.
46383         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46384         (sin_towardzero_test_data): New variable.
46385         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46386         (sin_downward_test_data): New variable.
46387         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46388         (sin_upward_test_data): New variable.
46389         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46390         (sinh_test_data): New variable.
46391         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46392         (sinh_tonearest_test_data): New variable.
46393         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46394         (sinh_towardzero_test_data): New variable.
46395         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46396         (sinh_downward_test_data): New variable.
46397         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46398         (sinh_upward_test_data): New variable.
46399         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46400         (sqrt_test_data): New variable.
46401         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46402         (tan_test_data): New variable.
46403         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46404         (tan_tonearest_test_data): New variable.
46405         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46406         (tan_towardzero_test_data): New variable.
46407         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46408         (tan_downward_test_data): New variable.
46409         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46410         (tan_upward_test_data): New variable.
46411         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46412         (tanh_test_data): New variable.
46413         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46414         (tgamma_test_data): New variable.
46415         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46416         (trunc_test_data): New variable.
46417         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46418         (y0_test_data): New variable.
46419         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46420         (y1_test_data): New variable.
46421         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46422         (significand_test_data): New variable.
46423         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46425 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46427         [BZ #12387]
46428         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46430 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46432         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46434 2013-05-10  Andreas Jaeger  <aj@suse.de>
46436         [BZ #15448]
46437         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46438         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46440 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46442         * math/gen-libm-test.pl (adjust_arg): New function.
46443         (special_functions): Handle generating output in both functions
46444         and arrays.
46445         (parse_args): Likewise.
46446         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46447         $in_func argument to parse_args.
46448         * math/libm-test.inc (struct test_f_f_data): New type.
46449         (IF_ROUND_INIT_): New macro.
46450         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46451         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46452         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46453         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46454         (ROUND_RESTORE_): Likewise.
46455         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46456         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46457         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46458         (ROUND_RESTORE_FE_UPWARD): Likewise.
46459         (RUN_TEST_LOOP_f_f): New macro.
46460         (acos_test_data): New variable.
46461         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46462         (acos_tonearest_test_data): New variable.
46463         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46465 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46467         * benchtests/bench-skeleton.c (startup): Fix coding style.
46469 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46471         [BZ #6809]
46472         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46473         negative infinity argument.
46474         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46475         negative infinity argument.
46476         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46477         negative infinity argument.
46478         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46479         domain errors.
46481 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46483         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46484         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46485         * iconv/iconv_prog.c (main): Likewise.
46486         * locale/programs/charmap-dir.c (charmap_readdir)
46487         (fopen_uncompressed): Likewise.
46488         * locale/programs/locfile.c (siblings_uncached)
46489         (write_locale_data): Use lstat64 instead of lstat.
46490         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46491         stat.
46493 2013-05-10  Andreas Jaeger  <aj@suse.de>
46495         [BZ #15395]
46496         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46497         localization.
46498         Include <locale.h>.
46500 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46502         * elf/dl-close.c (_dl_close_worker): Add comments.
46504 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46506         [BZ #15359]
46507         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46508         high part of pi/2.
46509         (__ieee754_rem_pio2l): Update comments.
46511         [BZ #15429]
46512         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46513         high part of pi/2.
46514         (__ieee754_rem_pio2l): Update comments.
46516         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46517         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46519         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46520         M_PI_4l.
46522         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46523         (M_PI_34_LOG10El): Likewise.
46524         (M_PI2_LOG10El): Likewise.
46525         (M_PI4_LOG10El): Likewise.
46526         (M_PI_LOG10El): Likewise.
46528 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46532 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46534         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46535         (MINUS_ZERO_INIT): Likewise.
46536         (PLUS_INFTY_INIT): Likewise.
46537         (MINUS_INFTY_INIT): Likewise.
46538         (QNAN_VALUE_INIT): Likewise.
46539         (MAX_VALUE_INIT): Likewise.
46540         (MIN_VALUE_INIT): Likewise.
46541         (MIN_SUBNORM_VALUE_INIT): Likewise.
46542         (plus_zero): Initialize with PLUS_ZERO_INIT.
46543         (minus_zero): Initialize with MINUS_ZERO_INIT.
46544         (plus_infty): Initialize with PLUS_INFTY_INIT.
46545         (minus_infty): Initialize with MINUS_INFTY_INIT.
46546         (qnan_value): Initialize with QNAN_VALUE_INIT.
46547         (max_value): Initialize with MAX_VALUE_INIT.
46548         (min_value): Initialize with MIN_VALUE_INIT.
46549         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46551         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46552         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46553         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46554         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46556         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46557         (RUN_TEST_2_f): Likewise.
46558         (RUN_TEST_ff_f): Likewise.
46559         (RUN_TEST_fi_f): Likewise.
46560         (RUN_TEST_fl_f): Likewise.
46561         (RUN_TEST_fff_f): Likewise.
46562         (RUN_TEST_c_f): Likewise.
46563         (RUN_TEST_f_f1): Likewise.
46564         (RUN_TEST_fF_f1): Likewise.
46565         (RUN_TEST_fI_f1): Likewise.
46566         (RUN_TEST_ffI_f1): Likewise.
46567         (RUN_TEST_c_c): Likewise.
46568         (RUN_TEST_cc_c): Likewise.
46569         (RUN_TEST_f_i): Likewise.
46570         (RUN_TEST_f_i_tg): Likewise.
46571         (RUN_TEST_ff_i_tg): Likewise.
46572         (RUN_TEST_f_b): Likewise.
46573         (RUN_TEST_f_b_tg): Likewise.
46574         (RUN_TEST_f_l): Likewise.
46575         (RUN_TEST_f_L): Likewise.
46576         (RUN_TEST_sincos): Likewise.
46577         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46578         whether to show exceptions.  Do not include ");\n" in return
46579         value.
46580         (special_functions): Output call to RUN_TEST_sincos instead of
46581         check_float calls.  Update calls to new_test.
46582         (parse_args): Output call to single RUN_TEST_* macro instead of
46583         check_* calls and other assignments.  Update calls to new_test.
46585         [BZ #2546]
46586         [BZ #2560]
46587         [BZ #5159]
46588         [BZ #15426]
46589         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46590         input to result for tgamma overflow.
46591         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46592         (gamma_coeff): New variable.
46593         (NCOEFF): New macro.
46594         (gamma_positive): New function.
46595         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46596         underflow here.  Use gamma_positive instead of exp (lgamma) for
46597         other arguments.
46598         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46599         (gamma_coeff): New variable.
46600         (NCOEFF): New macro.
46601         (gammaf_positive): New function.
46602         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46603         underflow here.  Use gamma_positive instead of exp (lgamma) for
46604         other arguments.
46605         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46606         (gamma_coeff): New variable.
46607         (NCOEFF): New macro.
46608         (gammal_positive): New function.
46609         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46610         underflow here.  Use gamma_positive instead of exp (lgamma) for
46611         other arguments.
46612         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46613         (gamma_coeff): New variable.
46614         (NCOEFF): New macro.
46615         (gammal_positive): New function.
46616         (__ieee754_gammal_r): Handle positive infinity, overflow and
46617         underflow here.  Handle NaN the same as positive infinity.  Remove
46618         check x < 0xffffffff for negative integers.  Use gamma_positive
46619         instead of exp (lgamma) for other arguments.
46620         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46621         (gamma_coeff): New variable.
46622         (NCOEFF): New macro.
46623         (gammal_positive): New function.
46624         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46625         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46626         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46627         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46628         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46629         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46630         * sysdeps/generic/math_private.h (__gamma_productf): New
46631         prototype.
46632         (__gamma_product): Likewise.
46633         (__gamma_productl): Likewise.
46634         * math/Makefile (libm-calls): Add gamma_product.
46635         * math/libm-test.inc (tgamma_test): Add more tests.
46636         * sysdeps/i386/fpu/libm-test-ulps: Update.
46637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46639 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46641         * benchtests/bench-skeleton.c (main): Preheat CPU.
46643 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46645         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46647 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46649         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46650         and _dl_skip_args_internal.
46652 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46654         * manual/message.texi (Message Translation): Talk about users.
46655         Message to key mapping impacts design.
46657 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46659         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46661         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46663         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46664         * sysdeps/wordsize-64/glob64.c: ... here.
46666         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46667         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46668         New macros.
46670         * debug/getlogin_r_chk.c: Moved to ...
46671         * login/getlogin_r_chk.c: ... here.
46672         * debug/Makefile (routines): Move getlogin_r_chk to ...
46673         * login/Makefile (routines): ... here.
46674         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46675         * login/Versions (libc: GLIBC_2.4): ... here.
46677         * io/poll.c (__poll): Renamed from poll.
46678         Add libc_hidden_def.
46679         (poll): Define as weak alias.
46681         * debug/ptsname_r_chk.c: Moved to ...
46682         * login/ptsname_r_chk.c: ... here.
46683         * debug/Makefile (routines): Move ptsname_r_chk to ...
46684         * login/Makefile (routines): ... here.
46685         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46686         * login/Versions (libc: GLIBC_2.4): ... here.
46688         * posix/getlogin.c: Moved to ...
46689         * login/getlogin.c: ... here.
46690         * posix/getlogin_r.c: Moved to ...
46691         * login/getlogin_r.c: ... here.
46692         * posix/getlogin_r.c: Moved to ...
46693         * login/getlogin_r.c: ... here.
46694         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46695         * login/Makefile (routines): ... here.
46696         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46697         * login/Versions (libc: GLIBC_2.0): ... here.
46699         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46700         (setrlimit): Define as weak alias.
46702         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46703         Call __ names for open, ftruncate, and close.
46704         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46705         (truncate): Define as weak alias.
46707 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46709         * math/gen-libm-test.pl (parse_args): Initialize x before each
46710         test of frexp, modf and remquo.
46712         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46713         test signgam value.
46715 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46717         [BZ #15418]
46718         [BZ #15419]
46719         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46720         internal tests.
46721         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46723 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46725         * elf/dl-writev.h: New file.
46726         * elf/dl-misc.c: Include it.
46727         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46728         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46730 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46732         * math/libm-test.inc (noXFails): Remove variable.
46733         (noXPasses): Likewise.
46734         (BUILD_COMPLEX_INT): Remove macro.
46735         (print_screen): Remove xfail argument.
46736         (print_screen_max_error): Likewise.
46737         (update_stats): Likewise.
46738         (print_max_error): Likewise.  Update calls to other affected
46739         functions.
46740         (print_complex_max_error): Likewise.
46741         (test_single_exception): Update calls to print_screen.
46742         (test_single_errno): Likewise.
46743         (check_float_internal): Remove xfail argument.  Update calls to
46744         other affected functions.
46745         (check_float): Likewise.
46746         (check_complex): Likewise.
46747         (check_int): Likewise.
46748         (check_long): Likewise.
46749         (check_bool): Likewise.
46750         (check_longlong): Likewise.
46751         (main): Don't print noXFails and noXPasses.
46752         * math/gen-libm-test.pl (top level): Don't mention expected
46753         failure handling in comment.
46754         (new_test): Don't handle expected failures.
46755         (parse_args): Don't mention expected failure handling in comment.
46756         (generate_testfile): Don't handle expected failures.
46757         (parse_ulps): Likewise.
46758         (print_ulps_file): Likewise.
46759         (get_failure): Remove function.
46760         (output_test): Don't handle expected failures.
46761         * make/README.libm-test: Don't mention expected failure handling.
46763         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46764         (minus_zero): Likewise.
46765         (plus_infty): Likewise.
46766         (minus_infty): Likewise.
46767         (qnan_value): Likewise.
46768         (max_value): Likewise.
46769         (min_value): Likewise.
46770         (min_subnorm_value): Likewise.
46771         (initialize): Do not initialize those variables dynamically.
46773 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46775         * io/open.c (__open_2): Moved to ...
46776         * io/open_2.c: ... this new file.
46777         * io/open64.c (__open64_2): Moved to ...
46778         * io/open64_2.c: ... this new file.
46779         * io/openat.c (__openat_2): Moved to ...
46780         * io/openat_2.c: ... this new file.
46781         * io/openat64.c (__openat64_2): Moved to ...
46782         * io/openat64_2.c: ... this new file.
46783         * io/Makefile (routines): Add them.
46784         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46785         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46786         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46787         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46788         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46789         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46790         (__openat64): Add hidden_ver.
46791         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46792         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46794         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46795         Separately conditionalize setting of GLRO(dl_sysinfo) so
46796         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46797         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46799 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46801         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46802         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46803         definition.
46804         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46805         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46806         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46807         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46808         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46810 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46812         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46813         test signgam value.
46815         * math/libm-test.inc (hypot_test): Do not use
46816         IGNORE_ZERO_INF_SIGN.
46818 2013-05-03  Andreas Jaeger  <aj@suse.de>
46820         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46821         Linux 3.9.
46822         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46823         (PF_MAX): Adjust for VSOCK change.
46825 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46829 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46831         [BZ #15264]
46832         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46833         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46834         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46836 2013-05-02  David S. Miller  <davem@davemloft.net>
46838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46840 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46842         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46844 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46846         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46848 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46850         [BZ #14952]
46851         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46852         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46853         Use __attribute__ ((__gnu_inline__)).
46854         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46855         Don't use __attribute__ ((__gnu_inline__)).
46857 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46859         [BZ #15423]
46860         * math/s_catan.c (__catan): Handle small real or imaginary part of
46861         input specially to avoid spurious underflow.
46862         * math/s_catanf.c (__catanf): Likewise.
46863         * math/s_catanh.c (__catanh): Likewise.
46864         * math/s_catanhf.c (__catanhf): Likewise.
46865         * math/s_catanhl.c (__catanhl): Likewise.
46866         * math/s_catanl.c (__catanl): Likewise.
46867         * math/libm-test.inc (catan_test): Add more tests.
46868         (catanh_test): Likewise.
46869         * sysdeps/i386/fpu/libm-test-ulps: Update.
46870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46872 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46876 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46878         [BZ #15416]
46879         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46880         accurately for denominator in atan2.
46881         * math/s_catanf.c (__catanf): Likewise.
46882         * math/s_catanh.c (__catanh): Likewise.
46883         * math/s_catanhf.c (__catanhf): Likewise.
46884         * math/s_catanhl.c (__catanhl): Likewise.
46885         * math/s_catanl.c (__catanl): Likewise.
46886         * math/libm-test.inc (catan_test): Add more tests.
46887         (catanh_test): Likewise.
46888         * sysdeps/i386/fpu/libm-test-ulps: Update.
46889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46891 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46893         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46895         * benchtests/Makefile (bench): Remove slow benchmarks.
46896         * benchtests/atan-inputs: Add slow benchmark inputs.
46897         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46898         (BENCH_FUNC): Accept variant offset.
46899         (VARIANT): Define.
46900         * benchtests/bench-skeleton.c (main): Run benchmark for each
46901         variant.
46902         * benchtests/cos-inputs: Add slow benchmark inputs.
46903         * benchtests/exp-inputs: Likewise.
46904         * benchtests/pow-inputs: Likewise.
46905         * benchtests/sin-inputs: Likewise.
46906         * benchtests/slowatan-inputs: Remove.
46907         * benchtests/slowatan.c: Remove.
46908         * benchtests/slowcos-inputs: Remove.
46909         * benchtests/slowcos.c: Remove.
46910         * benchtests/slowexp-inputs: Remove.
46911         * benchtests/slowexp.c: Remove.
46912         * benchtests/slowpow-inputs: Remove.
46913         * benchtests/slowpow.c: Remove.
46914         * benchtests/slowsin-inputs: Remove.
46915         * benchtests/slowsin.c: Remove.
46916         * benchtests/slowtan-inputs: Remove.
46917         * benchtests/slowtan.c: Remove.
46918         * benchtests/tan-inputs: Add slow benchmark inputs.
46919         * scripts/bench.pl: Parse comments and directives.
46921         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46922         in CPPFLAGS.
46923         ($(objpfx)bench-%.c): Remove *-ITER.
46924         * benchtests/bench-modf.c: Remove definition of ITER.
46925         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46926         (main): Loop for DURATION seconds instead of fixed number of
46927         iterations.
46928         * scripts/bench.pl: Don't expect iterations in parameters.
46930 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46932         * io/fchdir.c (__fchdir): Renamed from fchdir.
46933         (fchdir): Define as weak alias.
46935 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46937         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46938         (ERRNO_EDOM): Likewise.
46939         (ERRNO_ERANGE): Likewise.
46940         (noErrnoTests): New variable.
46941         (init_max_error): Set errno to 0.
46942         (test_single_errno): New function.
46943         (test_errno): Likewise.
46944         (check_float_internal): Call test_errno.  Set errno to 0.
46945         (check_complex): Refer to errno tests in comment.
46946         (check_int): Call test_errno.  Set errno to 0.
46947         (check_long): Likewise.
46948         (check_bool): Likewise.
46949         (check_longlong): Likewise.
46950         (cos_test): Use ERRNO_* flags for errno tests instead of
46951         check_int.
46952         (expm1_test): Likewise.
46953         (fmod_test): Likewise.
46954         (ilogb_test): Likewise.
46955         (lgamma_test): Likewise.
46956         (pow_test): Likewise.
46957         (remainder_test): Likewise.
46958         (sin_test): Likewise.
46959         (tan_test): Likewise.
46960         (yn_test): Likewise.
46961         (initialize): Set errno to 0.
46962         (main): Print number of errno tests.
46963         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46965 2013-04-29  Andreas Jaeger  <aj@suse.de>
46967         [BZ #15084]
46968         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46969         and RES_USEVC.
46971         [BZ #15085]
46972         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46973         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46974         unimplemented.
46976         [BZ #15380]
46977         * stdlib/random.c (__initstate): Return NULL if
46978         __initstate fails.
46980         [BZ #15086]
46981         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46982         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46983         RES_SNGLKUPREOP.
46985 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46989 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46991         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46992         of individual tests.
46993         (casin_test): Likewise.
46994         (casinh_test): Likewise.
46996 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46998         [BZ #15409]
46999         * math/s_catan.c (__catan): Handle arguments with large real or
47000         imaginary part separately without squaring.
47001         * math/s_catanf.c (__catanf): Likewise.
47002         * math/s_catanh.c (__catanh): Likewise.
47003         * math/s_catanhf.c (__catanhf): Likewise.
47004         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47005         and redefine.
47006         (__catanhl): Handle arguments with large real or imaginary part
47007         separately without squaring.
47008         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47009         and redefine.
47010         (__catanl): Handle arguments with large real or imaginary part
47011         separately without squaring.
47012         * math/libm-test.inc (catan_test): Add more tests.
47013         (catanh_test): Likewise.
47014         * sysdeps/i386/fpu/libm-test-ulps: Update.
47015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47017 2013-04-27  Andreas Jaeger  <aj@suse.de>
47019         [BZ #15007]
47020         * stdlib/stdlib.h: Update guards for qecvt.
47021         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47022         <stdlib.h>.
47024 2013-04-27  Allan McRae  <allan@archlinux.org>
47026         * sysdeps/i386/fpu/libm-test-ulps: Update.
47028 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47030         [BZ #15406]
47031         * math/s_catan.c: Include <float.h>.
47032         (__catan): Ensure underflow exception occurs for underflowed
47033         result.
47034         * math/s_catanf.c: Include <float.h>.
47035         (__catanf): Ensure underflow exception occurs for underflowed
47036         result.
47037         * math/s_catanh.c: Include <float.h>.
47038         (__catanh): Ensure underflow exception occurs for underflowed
47039         result.
47040         * math/s_catanhf.c: Include <float.h>.
47041         (__catanhf): Ensure underflow exception occurs for underflowed
47042         result.
47043         * math/s_catanhl.c: Include <float.h>.
47044         (__catanhl): Ensure underflow exception occurs for underflowed
47045         result.
47046         * math/s_catanl.c: Include <float.h>.
47047         (__catanl): Ensure underflow exception occurs for underflowed
47048         result.
47049         * math/libm-test.inc (catan_test): Add more tests.
47050         (catanh_test): Likewise.
47052         [BZ #15405]
47053         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47054         underflowed result.
47055         * math/s_ccoshf.c (__ccoshf): Likewise.
47056         * math/s_ccoshl.c (__ccoshl): Likewise.
47057         * math/s_csin.c (__csin): Likewise.
47058         * math/s_csinf.c (__csinf): Likewise.
47059         * math/s_csinh.c (__csinh): Likewise.
47060         * math/s_csinhf.c (__csinhf): Likewise.
47061         * math/s_csinhl.c (__csinhl): Likewise.
47062         * math/s_csinl.c (__csinl): Likewise.
47063         * math/libm-test.inc (ccos_test): Add more tests.
47064         (ccosh_test): Likewise.
47065         (csin_test): Likewise.
47066         (csinh_test): Likewise.
47068 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47070         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47071         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47072         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47073         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47074         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47075         powerpc/power5+/fpu folders.
47076         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47079 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47081         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47083 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47085         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47086         additions to variable.
47087         [$(config-machine) = x86_64] (modules-names): Likewise.
47088         ($(objpfx)tst-audit3): Remove dependency.
47089         ($(objpfx)tst-audit3.out): Likewise.
47090         ($(objpfx)tst-audit4): Likewise.
47091         ($(objpfx)tst-audit4.out): Likewise.
47092         ($(objpfx)tst-audit5): Likewise.
47093         ($(objpfx)tst-audit5.out): Likewise.
47094         ($(objpfx)tst-audit6): Likewise.
47095         ($(objpfx)tst-audit6.out): Likewise.
47096         ($(objpfx)tst-audit7): Likewise.
47097         ($(objpfx)tst-audit7.out): Likewise.
47098         (tst-audit3-ENV): Remove variable.
47099         (tst-audit4-ENV): Likewise.
47100         (tst-audit5-ENV): Likewise.
47101         (tst-audit6-ENV): Likewise.
47102         (tst-audit7-ENV): Likewise.
47103         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47104         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47105         addition to variable.
47106         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47107         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47108         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47109         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47110         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47111         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47112         tst-audit3, tst-audit4 and tst-audit5.
47113         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47114         tst-audit6 and tst-audit7.
47115         [$(subdir) = elf] (modules-names): Add audit modules for those
47116         tests.
47117         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47118         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47119         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47120         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47121         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47122         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47123         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47124         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47125         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47126         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47127         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47128         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47129         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47130         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47131         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47132         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47133         Likewise.
47134         [$(subdir) = elf && $(config-cflags-avx) = yes]
47135         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47136         [$(subdir) = elf && $(config-cflags-avx) = yes]
47137         (CFLAGS-tst-auditmod4a.c): Likewise.
47138         [$(subdir) = elf && $(config-cflags-avx) = yes]
47139         (CFLAGS-tst-auditmod4b.c): Likewise.
47140         [$(subdir) = elf && $(config-cflags-avx) = yes]
47141         (CFLAGS-tst-auditmod6b.c): Likewise.
47142         [$(subdir) = elf && $(config-cflags-avx) = yes]
47143         (CFLAGS-tst-auditmod6c.c): Likewise.
47144         [$(subdir) = elf && $(config-cflags-avx) = yes]
47145         (CFLAGS-tst-auditmod7b.c): Likewise.
47146         * elf/tst-audit3.c: Move to ...
47147         * sysdeps/x86_64/tst-audit3.c: ... here.
47148         * elf/tst-audit4.c: Move to ...
47149         * sysdeps/x86_64/tst-audit4.c: ... here.
47150         * elf/tst-audit5.c: Move to ...
47151         * sysdeps/x86_64/tst-audit5.c: ... here.
47152         * elf/tst-audit6.c: Move to ...
47153         * sysdeps/x86_64/tst-audit6.c: ... here.
47154         * elf/tst-audit7.c: Move to ...
47155         * sysdeps/x86_64/tst-audit7.c: ... here.
47156         * elf/tst-auditmod3a.c: Move to ...
47157         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47158         * elf/tst-auditmod3b.c: Move to ...
47159         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47160         * elf/tst-auditmod4a.c: Move to ...
47161         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47162         * elf/tst-auditmod4b.c: Move to ...
47163         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47164         * elf/tst-auditmod5a.c: Move to ...
47165         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47166         * elf/tst-auditmod5b.c: Move to ...
47167         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47168         * elf/tst-auditmod6a.c: Move to ...
47169         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47170         * elf/tst-auditmod6b.c: Move to ...
47171         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47172         * elf/tst-auditmod6c.c: Move to ...
47173         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47174         * elf/tst-auditmod7a.c: Move to ...
47175         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47176         * elf/tst-auditmod7b.c: Move to ...
47177         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47179 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47181         [BZ #15366]
47182         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47183         define unconditionally.
47184         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47185         define unconditionally.
47186         (INT8_C, INT16_C, etc.): Likewise.
47188 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47190         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47191         __ehdr_start with hidden visibility.
47193         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47195 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47197         * math/libm-test.inc (cos_test): Use accurate hex constants.
47198         (sincost_test): Likewise.
47200 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47202         * math/libm-test.inc (catan_test): Add more tests.
47203         (catanh_test): Likewise.
47205         * math/s_catanf.c (__catanf): Use suffixed floating-point
47206         constants.
47207         * math/s_catanhf.c (__catanhf): Likewise.
47208         * math/s_catanhl.c (__catanhl): Likewise.
47209         * math/s_catanl.c (__catanl): Likewise.
47211         [BZ #15394]
47212         * math/s_catan.c (__catan): Calculate imaginary part of result
47213         with log1p not log unless computing log of number close to 0.
47214         * math/s_catanf.c (__catanf): Likewise.
47215         * math/s_catanl.c (__catanl): Likewise.
47216         * math/s_catanh.c (__catanh): Calculate real part of result with
47217         log1p not log unless computing log of number close to 0.
47218         * math/s_catanhf.c (__catanhf): Likewise.
47219         * math/s_catanhl.c (__catanhl): Likewise.
47220         * math/libm-test.inc (catan_test): Add more tests.
47221         (catanh_test): Likewise.
47222         * sysdeps/i386/fpu/libm-test-ulps: Update.
47223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47225 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47227         * benchtests/Makefile: Mention files in which fast and slow
47228         paths of math functions are implemented.
47230 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47232         * sysdeps/posix/timespec_get.c: New file.
47234 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47236         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47237         POWER.
47238         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47239         for POWER.
47240         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47241         powerpc/power5/fpu folders.
47242         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47243         * benchtests/Makefile: Add modf testcase.
47244         * benchtests/bench-modf.c: New file: Benchmark test for mo
47246 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47248         [BZ #14888]
47249         * time/Makefile (tests): Add tst-strptime-whitespace.
47250         * time/strptime_l.c (get_number): Use ISSPACE.
47251         (__strptime_internal): Likewise.
47252         * time/tst-strptime-whitespace.c: New test case.
47254 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47256         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47257         member.
47258         (_nss_files_init): Set it here.
47260 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47262         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47263         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47264         unsigned.
47266 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47268         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47270 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47272         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47273         size just once.
47275 2013-04-21  David S. Miller  <davem@davemloft.net>
47277         * po/ru.po: Update Russion translation from translation project.
47279 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47281         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47282         and setfsgid.
47284 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47286         * configure.in: Remove i386 configure warning. Remove i386 case.
47287         * configure: Regenerate.
47288         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47289         Add example to error message.
47290         * sysdeps/i386/configure: Regenerate.
47292 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47294         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47295         slowtan.
47296         * benchtests/cos-inputs: New file.
47297         * benchtests/slowcos-inputs: New file.
47298         * benchtests/slowcos.c: New file.
47299         * benchtests/slowtan-inputs: New file.
47300         * benchtests/slowtan.c: New file.
47301         * benchtests/tan-inputs: New file.
47303 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47305         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47306         considered kosher.
47308 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47310         * benchtests/Makefile: Include cppflags-iterator.mk to add
47311         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47313         * Makefile.in (bench-clean): New target.
47314         * benchtests/Makefile (bench-clean): Likewise.
47316 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47318         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47320 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47322         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47324 2013-04-15  Andreas Schwab  <schwab@suse.de>
47326         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47327         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47328         * nscd/pwdcache.c (cache_addpw): Likewise.
47329         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47330         more than recsize.
47332 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47334         * benchtests/Makefile (bench): Write all output to
47335         bench-out.tmp together.
47337 2013-04-15  Andreas Schwab  <schwab@suse.de>
47339         * nscd/nscd.c (main): Don't fork again after closing files.
47341 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47343         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47345         * benchtests/Rules (bench-deps): Collect dependencies into a
47346         single variable.  Add Makefile to dependencies.
47347         ($(objpfx)bench-%.c): Depend on bench-deps.
47349 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47350             Xavier Roche  <roche+kml2@exalead.com>
47352         [BZ #15361]
47353         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47354         just that it's a file descriptor.
47355         * manual/llio.texi (Synchronizing AIO Operations): Update description
47356         for EBADF error from aio_fsync.
47358 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47360         * Rules (bench): Move target definition...
47361         * benchtests/Makefile: ... here.
47363 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47365         * math/libm-test.inc (cos_test): Fix PI/2 test.
47366         (sincos_test): Likewise.
47367         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47368         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47370 2013-04-11  Andreas Schwab  <schwab@suse.de>
47372         [BZ #13988]
47373         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47374         accept exponent character only when digits were seen.
47375         * stdio-common/Makefile (tests): Add bug26.
47376         * stdio-common/bug26.c: New file.
47378         [BZ #14293]
47379         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47380         non-freeable.
47382 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47384         * Makeconfig (rtld-prefix): Define built linker prefix.
47385         * Rules (run-bench): Use it.
47386         * math/Makefile (run-regen-ulps): Likewise.
47388         * Rules (bench): Remove eval.
47390 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47391             Roland McGrath  <roland@hack.frob.com>
47392             Ondrej Bilka  <neleai@seznam.cz>
47394         [BZ #15346]
47395         * time/getdate.c: Include ctype.h and alloca.h.
47396         (__getdate_r): Trim leading and trailing spaces of input.
47397         * time/tst-getdate.c (tests): Add tests with leading and
47398         trailing spaces.
47400 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47402         [BZ #14280]
47403         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47404         when computing value.
47406 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47408         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47409         Use testrun.sh to run libm tests.
47411         [BZ #15309]
47412         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47414 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47416         [BZ #15264]
47417         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47419 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47421         * Makefile.in (regen-ulps): New target.
47422         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47423         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47424         [ifneq (no,$(PERL)] (regen-ulps): New target.
47425         [ifeq (no,$(PERL)] (regen-ulps): New target.
47426         * math/libm-test.inc (ulps_file_name): Define.
47427         (output_dir): New variable.
47428         (options): Add "output-dir" option.
47429         (parse_opt): Handle 'o' case.
47430         (main): If output_dir is non-NULL use it as a prefix
47431         otherwise use "".
47432         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47434 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47436         [BZ #10060, #10062]
47437         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47438         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47439         fail configure if __sync_val_compare_and_swap is not inlined.
47440         * sysdeps/i386/configure: Regenerate.
47441         * configure.in: Build for i686 when configured for i386.
47442         * configure: Regenerate.
47443         * README: Remove i386 reference.
47445 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47447         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47448         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47450 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47452         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47453         (lmsnanval): New variables.
47454         (F): Add conversion tests.
47455         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47456         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47458         * stdio-common/tstdiomisc.c (F): Properly collect individual
47459         tests' results.
47461         [BZ #14686, #15336]
47462         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47463         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47464         Instead, use input NaN values or generate a qNaN by arithmetic
47465         operation.  Also fix bugs to comply with the standard.
47466         * math/libm-test.inc (remainder_test): Add more tests.
47468         [BZ #15335, #15342]
47469         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47470         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47471         input NaN values or generate a qNaN by arithmetic operation.
47473         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47474         unreachable code.
47476         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47477         definitions.
47479 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47481         [BZ #14478]
47482         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47483         underflowed result.
47484         * math/s_cexpf.c (__cexpf): Likewise.
47485         * math/s_cexpl.c (__cexpl): Likewise.
47486         * math/libm-test.inc (cexp_test): Add more tests.
47488 2013-04-03  Andreas Schwab  <schwab@suse.de>
47490         [BZ #15330]
47491         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47492         order arrays from heap if bigger than alloca cutoff.
47494 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47496         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47497         (SNAN_TESTS_double): Refer to GCC PR56831.
47498         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47499         GCC PR56828.
47501 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47503         * Rules (bench): Move bench.out after the run is complete.
47505         * Rules (bench): Echo currently running benchmark.
47507         * benchtests/Makefile (bench): Add atan and slowatan.
47508         * benchtests/atan-inputs: New file.
47509         * benchtests/slowatan-inputs: New file.
47510         * benchtests/slowatan.c: New file.
47512         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47513         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47514         its value.
47516         [BZ #15305]
47517         * sysdeps/unix/sysv/linux/kernel-features.h
47518         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47519         __ASSUME_XFS_RESTRICTED_CHOWN.
47520         * sysdeps/unix/sysv/linux/pathconf.c
47521         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47522         Save and restore errno.
47524 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47526         [BZ #15327]
47527         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47528         arguments using __kernel_casinh.
47529         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47530         arguments using __kernel_casinhf.
47531         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47532         arguments using __kernel_casinhl.
47533         * math/libm-test.inc (cacosh_test): Add more tests.
47534         * sysdeps/i386/fpu/libm-test-ulps: Update.
47535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47537 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47539         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47542         * bench/Makefile (bench): Add sin and slowsin.
47543         * benchtests/sin-inputs: New file.
47544         * benchtests/slowsin-inputs: New file.
47545         * benchtests/slowsin.c: New file.
47547         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47548         (bench): Add slowexp and slowpow.
47549         (exp-ITER): Increase iterations.
47550         (pow-ITER): Likewise.
47551         * benchtests/exp-inputs: Change input.
47552         * benchtests/pow-inputs: Likewise.
47553         * benchtests/slowexp-inputs: New file.
47554         * benchtests/slowexp.c: New file.
47555         * benchtests/slowpow-inputs: New file.
47556         * benchtests/slowpow.c: New file.
47558 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47560         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47561         instructions.
47562         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47563         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47564         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47565         * benchtests/Makefile: Add rint benchtest.
47566         * benchtests/rint-inputs: Input for rint benchtest.
47568 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47570         * Versions.def (libm): Add GLIBC_2.18.
47571         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47572         hidden libm prototypes.
47573         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47574         * math/Makefile (libm-calls): Add s_issignaling.
47575         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47576         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47577         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47578         declaration.
47579         * math/math.h [__USE_GNU] (issignaling): New macro.
47580         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47581         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47582         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47583         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47584         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47585         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47586         * manual/arith.texi (issignaling): New section.
47587         * manual/libm-err-tab.pl (@all_functions): Update comment.
47588         * math/gen-libm-test.pl (parse_args): Apply special handling for
47589         issignaling.
47590         * math/libm-test.inc (print_float, issignaling_test): New
47591         functions.
47592         (check_float_internal): Add issignaling checks.
47593         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47594         default definition.
47595         * sysdeps/powerpc/math-tests.h: New file.
47596         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47597         tests.
47598         * math/test-snan.c (TEST_FUNC): Likewise.
47600 2013-03-30  David S. Miller  <davem@davemloft.net>
47602         * po/de.po: Update from translation team.
47604 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47606         [BZ #10357]
47607         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47608         imaginary part less than 1.0 and real part less than 0.5
47609         specially.
47610         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47611         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47612         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47613         (cacos_test): Add more tests.
47614         (casin_test): Likewise.
47615         (casinh_test): Likewise.
47616         * sysdeps/i386/fpu/libm-test-ulps: Update.
47617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47619 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47621         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47622         ONE with its value.
47624         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47625         (__pow_mp): Replace ONE and MONE with their values.
47626         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47627         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47628         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47629         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47630         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47631         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47633         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47635         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47636         (__pow_mp): Replace ZERO and MZERO with their values.
47637         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47638         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47639         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47641         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47642         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47643         (__sqr): Likewise.
47645         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47647         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47649 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47651         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47652         Declare with __attribute__ ((weak)).
47653         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47654         Call __call_tls_dtors only if it's not NULL.
47656 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47658         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47659         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47660         magic __ehdr_start linker symbol if it's defined.
47661         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47662         them up here if it was already done.
47664         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47665         (_dl_aux_init): Use const in cast when setting it.
47666         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47667         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47668         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47670         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47671         Declare them here.
47672         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47673         * csu/libc-tls.c: Nor here.
47674         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47676         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47677         (__libc_message): Never call vsyslog.
47679 2013-03-28  Alan Modra  <amodra@gmail.com>
47681         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47682         Define as empty.
47683         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47684         Likewise.
47686 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47688         [BZ #15214]
47689         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47690         underflow.
47691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47693 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47695         [BZ #15304]
47696         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47697         Don't add gid passed as argument.
47699         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47701 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47703         [BZ #15307]
47704         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47705         imaginary part between 1.0 and 1.5 and real part less than 0.5
47706         specially.
47707         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47708         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47709         * math/libm-test.inc (cacos_test): Add more tests.
47710         (casin_test): Likewise.
47711         (casinh_test): Likewise.
47712         * sysdeps/i386/fpu/libm-test-ulps: Update.
47713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47715 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47717         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47718         constants.
47719         (norm): Likewise.
47720         (denorm): Likewise.
47721         (__dbl_mp): Likewise.
47722         (add_magnitudes): Likewise.
47723         (sub_magnitudes): Likewise.
47724         (__add): Likewise.
47725         (__sub): Likewise.
47726         (__mul): Likewise.
47727         (__sqr): Likewise.
47728         (__inv): Likewise.
47729         (__dvd): Likewise.
47731         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47732         commented code.
47733         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47734         (__dubcos): Likewise.
47735         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47736         (__ieee754_acos): Likewise.
47737         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47738         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47739         (__exp1): Likewise.
47740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47742         (log1): Likewise.
47743         (my_log2): Likewise.
47744         (checkint): Likewise.
47745         * sysdeps/ieee754/dbl-64/e_remainder.c
47746         (__ieee754_remainder): Likewise.
47747         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47748         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47749         (bsloww): Likewise.
47750         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47752         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47753         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47754         MANTISSA_STORE_T to store computations on mantissa.  Use
47755         macros for rounding and division.
47756         (denorm): Likewise.
47757         (__dbl_mp): Likewise.
47758         (add_magnitudes): Likewise.
47759         (sub_magnitudes): Likewise.
47760         (__mul): Likewise.
47761         (__sqr): Likewise.
47762         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47763         powers of two in terms of TWOPOW macro.
47764         (mp_no): Make type of mantissa as MANTISSA_T.
47765         [!RADIXI]: Define RADIXI.
47766         [!TWO52]: Define TWO52.
47767         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47769 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47771         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47772         llroundl symbol when building for PPC32.
47774 2013-03-24  Mark H Weaver  <mhw@netris.org>
47776         * manual/arith.texi (Normalization Functions): Fix prototypes for
47777         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47779 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47781         [BZ #13889]
47782         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47783         high value to check if expl overflow.
47784         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47785         to check for underflow and overflow.
47786         * math/libm-test.inc: Add exp test.
47788 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47790         [BZ #11120]
47791         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47792         with NOT_IN_libc.
47794 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47796         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47797         symbol.
47799 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47801         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47802         wrap blocks consisting of several statements.
47804         * sysdeps/generic/math-tests.h: New file.
47805         * sysdeps/i386/fpu/math-tests.h: Likewise.
47806         * math/test-snan.c: Include it.
47807         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47809 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47811         [BZ #15285]
47812         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47813         (__ieee754_j0l): Do not improve calculations using cos of twice
47814         input for inputs above LDBL_MAX / 2.0L.
47815         (__ieee754_y0l): Likewise.
47816         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47817         (__ieee754_j1l): Do not improve calculations using cos of twice
47818         input for inputs above LDBL_MAX / 2.0L.
47819         (__ieee754_y1l): Likewise.
47820         * math/libm-test.inc (j0_test): Add another test.
47821         (j1_test): Likewise.
47822         (y0_test): Likewise.
47823         (y1_test): Likewise.
47824         * sysdeps/i386/fpu/libm-test-ulps: Update.
47826 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47828         * Rules ($(objpfx)bench-%.c): Include code from a C source
47829         file.
47831 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47833         [BZ #15287]
47834         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47835         imaginary part 1.0 and real part less than 0.5 specially.
47836         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47837         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47838         * math/libm-test.inc (cacos_test): Add more tests.
47839         (casin_test): Likewise.
47840         (casinh_test): Likewise.
47841         * sysdeps/i386/fpu/libm-test-ulps: Update.
47842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47844 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47846         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47847         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47849 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47851         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47852         * config.make.in (config-cflags-sse4): Remove variable.
47853         (config-cflags-avx): Likewise.
47854         (config-cflags-sse2avx): Likewise.
47855         (config-cflags-novzeroupper): Likewise.
47856         (config-asflags-i686): Likewise.
47857         (have-mfma4): Likewise.
47858         (have-as-vis3): Likewise.
47859         (MIG): Likewise.
47860         * configure.in (MIG): Do not AC_SUBST.
47861         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47862         (libc_cv_cc_sse4): Do not AC_SUBST.
47863         (libc_cv_cc_avx): Likewise.
47864         (libc_cv_cc_sse2avx): Likewise.
47865         (libc_cv_cc_novzeroupper): Likewise.
47866         (libc_cv_cc_fma4): Likewise.
47867         (libc_cv_as_i686): Likewise.
47868         (libc_cv_sparc_as_vis3): Likewise.
47869         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47870         LIBC_CONFIG_VAR.
47871         (config-asflags-i686): Likewise.
47872         (config-cflags-avx): Likewise.
47873         (config-cflags-sse2avx): Likewise.
47874         (have-mfma4): Likewise.
47875         (config-cflags-novzeroupper): Likewise.
47876         * sysdeps/mach/configure.in (MIG): Likewise.
47877         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47878         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47879         LIBC_CONFIG_VAR.
47880         (config-cflags-avx): Likewise.
47881         (config-cflags-sse2avx): Likewise.
47882         (have-mfma4): Likewise.
47883         (config-cflags-novzeroupper): Likewise.
47884         * configure: Regenerated.
47885         * sysdeps/i386/configure: Likewise.
47886         * sysdeps/mach/configure: Likewise.
47887         * sysdeps/sparc/configure: Likewise.
47888         * sysdeps/x86_64/configure: Likewise.
47890 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47892         [BZ #14812]
47893         * locale/programs/localedef.c (options): Put N_ translation marker
47894         on argument names, not just descriptions.
47896 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47898         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47900 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47902         [BZ #14176]
47903         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47905 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47907         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47908         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47909         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47910         [!BEFORE_ABORT] (before_abort): New function.
47911         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47912         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47913         (writev_for_fatal): New function.
47914         (WRITEV_FOR_FATAL): New macro; call that.
47915         (backtrace_and_maps): New function.
47916         (BEFORE_ABORT): New macro; call that.
47917         (struct str_list): Type removed.
47918         (__libc_message, __libc_fatal): Functions removed.
47919         Include <sysdeps/posix/libc_fatal.c> instead.
47921 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47923         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47924         constants.
47925         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47926         double constants.
47928 2013-03-19  Andreas Schwab  <schwab@suse.de>
47930         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47931         * sysdeps/gnu/configure: Regenerate.
47933         * configure.in: Substitute libc_cv_rtlddir.
47934         * configure: Regenerate.
47935         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47936         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47937         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47938         * elf/Makefile (install-others, CFLAGS-interp.c)
47939         (ldso_install, common-ldd-rewrite): Likewise.
47940         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47941         $(inst_slibdir)/$(rtld-installed-name).
47942         * scripts/rellns-sh: Add -p option.
47943         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47944         for source.
47946 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47948         * manual/nptl.texi: Renamed to ...
47949         * manual/threads.texi: ... this.
47950         * manual/Makefile (chapters): Update.
47952 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47954         [BZ #14812]
47955         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47956         on argument names, not just descriptions.
47957         * malloc/memusagestat.c (options): Likewise.
47958         * nss/getent.c (options): Likewise.
47960 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47962         [BZ #14812]
47963         * iconv/iconv_prog.c (options): Put N_ translation marker
47964         on argument names, not just descriptions.
47965         * iconv/iconvconfig.c (options): Likewise.
47967 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47969         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47970         implementation which is faster on all x86_64 architectures.
47971         Tested on AMD, Intel Nehalem, SNB, IVB.
47972         * sysdeps/x86_64/strnlen.S: Likewise.
47974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47975         Remove all multiarch strlen and strnlen versions.
47976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47977         Remove strlen and strnlen related parts.
47979         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47980         Inline strlen part.
47981         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47983         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47984         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47985         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47986         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47987         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47988         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47990 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47992         * manual/memory.texi (Malloc Tunable Parameters):
47993         Sort parameters alphabetically. Add comments for missing entries.
47995 2013-03-17  David S. Miller  <davem@davemloft.net>
47997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47999 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48001         [BZ #15283]
48002         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48003         for arguments at most half maximum finite value.
48004         * math/libm-test.inc (j0_test): Add more tests.
48005         (j1_test): Likewise.
48006         (y0_test): Likewise.
48007         (y1_test): Likewise.
48008         * sysdeps/i386/fpu/libm-test-ulps: Update.
48009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48011         [BZ #14155]
48012         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48013         1 / x and functions P and Q for arguments above 0x1p256L.
48014         (__ieee754_y0l): Likewise.
48015         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48016         (__ieee754_y1l): Likewise.
48017         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48018         (j1_test): Likewise.
48019         (y0_test): Likewise.
48020         (y1_test): Likewise.
48022 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48024         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48025         variable.
48027 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48029         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48030         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48031         zero since it's initialized to EXEC_PAGESIZE.
48033         * sysdeps/unix/sysv/linux/ldsodefs.h
48034         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48035         * sysdeps/generic/ldsodefs.h: ... here.
48037 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48039         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48041         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48042         math/test-snan.c.
48043         * math/test-snan.c: Renamed from
48044         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48045         * math/Makefile (tests): Add test-snan.
48046         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48047         test-powerpc-snan.
48049         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48050         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48051         functions.
48052         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48053         __builtin_nan family of functions.
48054         * math/libm-test.inc (initialize): Initialize qnan_value with
48055         __builtin_nan family of functions.
48056         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48057         Remove variables.
48058         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48059         Remove functions.
48060         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48061         storage class.  Initialize qNaN_var and sNaN_var with
48062         __builtin_nan and __builtin_nans families of functions,
48063         respectively.
48065         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48066         (sqrt_test): Remove duplicate test with qNaN input.
48067         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48068         (round_test, signbit_test, significand_test): Note missing +/-Inf
48069         as well as qNaN tests.
48071         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48072         qNaN_var.  Fix a few strings, too.
48073         * math/libm-test.inc (nan_value): Rename to qnan_value.
48074         * math/gen-libm-test.pl (%beautify): Adjust to that.
48075         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48076         * math/test-misc.c (main): Likewise.
48077         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48078         to __qnan_bytes, and __qnan_union, respectively.
48079         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48080         Likewise.
48081         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48082         and lqnanval, respectively.
48083         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48084         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48085         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48086         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48088         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48089         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48090         doubles.
48092         * math/test-misc.c (main): Fix copy'n'pastos.
48093         * misc/tst-efgcvt.c (special): Likewise.
48095         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48096         Remove declarations.
48098 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48100         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48101         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48102         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48103         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48105 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48107         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48108         macro to return vdso values correctly in IFUNC implementations.
48109         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48110         Optimization by using IFUNC.
48112 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48113             Richard Henderson  <rth@redhat.com>
48114             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48116         * Makefile.in (bench): New target.
48117         * NEWS: Mention the benchmark framework.
48118         * Rules (bench): Likewise.
48119         (binaries-bench): Generate binaries for functions to
48120         benchmark.
48121         * benchtests/Makefile: New makefile for benchmark tests.
48122         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48123         programs.
48124         * benchtests/exp-inputs: New input file for EXP function.
48125         * benchtests/pow-inputs: New input file for POW function.
48126         * scripts/bench.pl: New script to generate source files for
48127         benchmark programs.
48129 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48131         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48132         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48133         computations on mantissa.  Use macros for rounding and
48134         division.
48135         (denorm): Likewise.
48136         (__dbl_mp): Likewise.
48137         (add_magnitudes): Likewise.
48138         (sub_magnitudes): Likewise.
48139         (__mul): Likewise.
48140         (__sqr): Likewise.
48141         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48142         powers of two in terms of TWOPOW macro.
48143         (mp_no): Make type of mantissa as MANTISSA_T.
48144         [!RADIXI]: Define RADIXI.
48145         [!TWO52]: Define TWO52.
48146         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48148         * manual/nptl.texi (cindex): Modify threads to pthreads.
48150 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48152         * sysdeps/x86_64/preconfigure: Regenerated.
48154 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48156         [BZ #14155]
48157         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48158         0x1p28 and above.
48159         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48160         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48161         0x1p28 and above.
48162         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48163         * math/libm-test.inc (j0_test): Do not allow one spurious
48164         underflow exception.
48165         (y1_test): Likewise.
48167 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48169         * manual/Makefile (chapters): Add nptl.
48170         * manual/debug.texi (Debugging Support): Add link to Threads
48171         chapter.
48172         * manual/nptl.texi: New file.
48174         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48176 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48178         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48179         for non-NULL pointer before the memory validity test. Pointed
48180         out by Holger Brunck <holger.brunck@keymile.com>.
48182 2013-03-13  Andreas Schwab  <schwab@suse.de>
48184         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48185         instead of .os.
48187 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48189         * timezone/zic.c: Update from tzcode 2013b.
48191 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48193         * manual/install.texi (Configuring and compiling):
48194         Mention i686 and i586.
48195         * INSTALL: Regenerate.
48197 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48199         * sysdeps/init_array/elf-init.c: New file.
48200         * csu/elf-init.c
48201         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48202         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48204         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48205         __gmon_start__ as global, but as static with a .preinit_array pointer.
48206         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48207         * sysdeps/init_array/crti.S: New file, empty except for comments.
48208         * sysdeps/init_array/crtn.S: Likewise.
48210 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48212         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48213         definining bcopy.
48214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48215         Remove Prefer_SSE_for_memop.
48216         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48217         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48218         HAS_PREFER_SSE_FOR_MEMOP.
48219         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48220         memset-x86-64.
48221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48222         Remove bzero, memset ifunc support.
48223         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48224         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48225         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48226         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48228 2013-03-11  Andreas Schwab  <schwab@suse.de>
48230         [BZ #15234]
48231         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48232         by SHLIB_COMPAT.
48233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48234         (GLIBC_2.16): Remove pthread_atfork.
48236 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48238         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48239         (ptestcases.h): Likewise.
48241 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48243         * Makeconfig ($(common-objpfx)config.status): Depend on
48244         sysdeps/*/preconfigure{,.in} too.
48246 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48248         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48249         (__free_hook): Use void * instead of __malloc_ptr_t.
48250         (__malloc_hook): Likewise.
48251         (__realloc_hook): Likewise.
48252         (__memalign_hook): Likewise.
48253         (__after_morecore_hook): Likewise.
48254         * malloc/arena.c (save_malloc_hook): Likewise.
48255         (save_free_hook): Likewise.
48256         * malloc/hooks.c (malloc_hook_ini): Likewise.
48257         (realloc_hook_ini): Likewise.
48258         (memalign_hook_ini): Likewise.
48259         * malloc/malloc.c (malloc_hook_ini): Likewise.
48260         (realloc_hook_ini): Likewise.
48261         (memalign_hook_ini): Likewise.
48262         (__free_hook): Likewise.
48263         (__malloc_hook): Likewise.
48264         (__realloc_hook): Likewise.
48265         (__memalign_hook): Likewise.
48266         (__libc_malloc): Likewise.
48267         (__libc_free): Likewise.
48268         (__libc_realloc): Likewise.
48269         (__libc_memalign): Likewise.
48270         (__libc_valloc): Likewise.
48271         (__libc_pvalloc): Likewise.
48272         (__libc_calloc): Likewise.
48273         (__posix_memalign): Likewise.
48274         * malloc/morecore.c (__sbrk): Likewise.
48275         (__default_morecore): Likewise.
48277         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48279         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48280         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48281         __malloc_ptrdiff_t.
48283         * malloc/malloc.h (__malloc_size_t): Remove macro.
48284         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48285         __malloc_size_t.
48286         (old_memalign_hook): Likewise.
48287         (old_realloc_hook): Likewise.
48288         (struct hdr): Likewise.
48289         (flood): Likewise.
48290         (mallochook): Likewise.
48291         (memalignhook): Likewise.
48292         (reallochook): Likewise.
48293         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48294         (tr_old_realloc_hook): Likewise.
48295         (tr_old_memalign_hook): Likewise.
48296         (tr_mallochook): Likewise.
48297         (tr_reallochook): Likewise.
48298         (tr_memalignhook): Likewise.
48300 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48302         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48303         default_ldbl_pack and using as default implementation.
48304         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48305         implementation.
48306         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48307         redundant definition.
48308         (ldbl_insert_mantissa): Likewise.
48309         (ldbl_canonicalize): Likewise.
48310         (ldbl_nearbyint): Likewise.
48311         (ldbl_pack): Rename to ldbl_pack_ppc.
48312         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48313         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48314         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48316 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48319         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48320         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48321         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48323         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48324         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48325         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48327 2013-03-07  Andreas Jaeger  <aj@suse.de>
48329         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48330         bits/mman-linux.h.
48332 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48334         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48335         Include mpa.h and declare __MPEXP.
48336         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48337         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48338         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48339         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48340         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48341         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48342         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48344         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48345         (__slowpow): Use long double EXPL and LOGL functions to
48346         compute POW.
48347         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48348         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48349         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48350         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48351         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48352         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48354         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48355         intermediate variable to calculate exponent.
48356         (__sqr): Likewise.
48357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48358         Likewise.
48359         (__sqr): Likewise.
48361         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48362         [!NO__SQR]: Define __sqr.
48363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48364         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48365         sysdeps/ieee754/dbl-64/mpa.c.
48366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48368         [BZ #12723]
48369         * posix/Makefile (tests): Add tst-pathconf.
48370         * posix/tst-pathconf.c: New test case.
48371         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48372         _PC_PIPE_BUF.
48373         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48375 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48377         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48379 2013-03-06  Andreas Jaeger  <aj@suse.de>
48381         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48382         definition via __MAP_ANONYMOUS.
48384         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48385         it's not part of Linux headers.
48387         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48388         (MAP_HUGE_MASK): Define.
48390         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48391         Define.
48392         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48393         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48394         Define.
48395         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48396         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48397         Define.
48398         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48399         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48400         Define.
48401         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48403         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48404         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48405         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48406         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48407         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48408         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48410         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48411         Handle f2fs.
48413         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48414         Handle f2fs and efivarfs.
48416         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48417         f2fs.
48419         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48420         (EFIVARFS_MAGIC): Add.
48421         (F2FS_LINK_MAX): Add.
48423 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48425         * stdio-common/vfprintf.c: Replace __builtin_expect with
48426         __glibc_unlikely.
48428 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48430         [BZ #13550]
48431         * sysdeps/generic/bp-sym.h: Remove file.
48432         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48433         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48434         <bp-sym.h> and <bp-asm.h>.
48435         (__longjmp): Don't use BP_SYM.
48436         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48437         and <bp-asm.h>.
48438         (memcpy): Don't use BP_SYM.
48439         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48440         <bp-sym.h> and <bp-asm.h>.
48441         (memcpy): Don't use BP_SYM.
48442         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48443         <bp-asm.h>.
48444         (memcpy): Don't use BP_SYM.
48445         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48446         <bp-asm.h>.
48447         (memset): Don't use BP_SYM.
48448         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48449         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48450         (__bzero): Don't use BP_SYM.
48451         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48452         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48453         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48454         <bp-sym.h> and <bp-asm.h>.
48455         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48456         pointers.
48457         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48458         <bp-sym.h> and <bp-asm.h>.
48459         (memcpy): Don't use BP_SYM.
48460         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48461         <bp-sym.h> and <bp-asm.h>.
48462         (memset): Don't use BP_SYM.
48463         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48464         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48465         (__bzero): Don't use BP_SYM.
48466         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48467         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48468         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48469         <bp-sym.h> and <bp-asm.h>.
48470         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48471         pointers.
48472         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48473         <bp-sym.h> and <bp-asm.h>.
48474         (memcpy): Don't use BP_SYM.
48475         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48476         <bp-sym.h> and <bp-asm.h>.
48477         (memset): Don't use BP_SYM.
48478         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48479         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48480         (__bzero): Don't use BP_SYM.
48481         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48482         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48483         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48484         <bp-sym.h> and <bp-asm.h>.
48485         (__memchr): Don't use BP_SYM.
48486         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48487         <bp-sym.h> and <bp-asm.h>.
48488         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48489         pointers.
48490         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48491         <bp-sym.h> and <bp-asm.h>.
48492         (memcpy): Don't use BP_SYM.
48493         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48494         <bp-sym.h> and <bp-asm.h>.
48495         (__mempcpy): Don't use BP_SYM.
48496         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48497         <bp-sym.h> and <bp-asm.h>.
48498         (__memrchr): Don't use BP_SYM.
48499         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48500         <bp-sym.h> and <bp-asm.h>.
48501         (memset): Don't use BP_SYM.
48502         (__bzero): Likewise.
48503         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48504         <bp-sym.h> and <bp-asm.h>.
48505         (__rawmemchr): Don't use BP_SYM.
48506         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48507         <bp-sym.h> and <bp-asm.h>.
48508         (__STRCMP): Don't use BP_SYM.
48509         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48510         <bp-sym.h> and <bp-asm.h>.
48511         (strchr): Don't use BP_SYM.
48512         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48513         <bp-sym.h> and <bp-asm.h>.
48514         (__strchrnul): Don't use BP_SYM.
48515         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48516         <bp-sym.h> and <bp-asm.h>.
48517         (strlen): Don't use BP_SYM.
48518         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48519         <bp-sym.h> and <bp-asm.h>.
48520         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48521         pointers.
48522         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48523         <bp-sym.h> and <bp-asm.h>.
48524         (__strnlen): Don't use BP_SYM.
48525         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48526         <bp-sym.h> and <bp-asm.h>.
48527         (__GI__setjmp): Don't use BP_SYM.
48528         (_setjmp): Likewise.
48529         (__sigsetjmp): Likewise.
48530         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48531         (L(start_addresses)): Don't use BP_SYM.
48532         (_start): Likewise.
48533         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48534         <bp-asm.h>.
48535         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48536         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48537         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48538         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48539         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48540         <bp-asm.h>.
48541         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48542         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48543         about bounded pointers.
48544         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48545         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48546         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48547         <bp-asm.h>.
48548         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48549         about bounded pointers.  Remove GKM FIXME comments.
48550         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48551         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48552         <bp-asm.h>.
48553         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48554         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48555         Remove GKM FIXME comments.
48556         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48557         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48558         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48559         <bp-asm.h>.
48560         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48561         about bounded pointers.  Remove GKM FIXME comment.
48562         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48563         and <bp-asm.h>.
48564         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48565         pointers.
48566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48567         <bp-sym.h> and <bp-asm.h>.
48568         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48570         <bp-sym.h> and <bp-asm.h>.
48571         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48572         comment.
48574 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48576         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48577         call free(NULL).
48579 2013-03-05  David S. Miller  <davem@davemloft.net>
48581         * po/es.po: Update from translation team.
48583 2013-03-05  Andreas Jaeger  <aj@suse.de>
48585         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48586         <bits/mman-linux.h>.
48587         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48588         is fine.
48589         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48590         <bits/mman-linux.h> to end of file.
48591         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48592         is fine.
48593         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48594         <bits/mman-linux.h> to end of file.
48595         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48596         is fine.
48597         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48598         <bits/mman-linux.h> to end of file.
48600         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48601         (MCL_CURRENT, MCL_FUTURE): Define here.
48603 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48605         [BZ #15232]
48606         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48607         attribute_hidden.
48608         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48610 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48612         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48613         fourth parameter needed for rt_sigprocmask syscall.
48614         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48615         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48616         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48617         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48618         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48619         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48621 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48623         [BZ #13550]
48624         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48625         comment about bounded pointers.
48626         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48627         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48629 2013-03-04  Andreas Jaeger  <aj@suse.de>
48631         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48632         common definitions.
48634         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48635         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48636         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48637         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48638         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48639         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48641 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48643         [BZ #15055]
48644         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48645         __ieee754_sqrl instead of __sqrl.
48647 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48649         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48650         * sysdeps/powerpc/fpu_control.h: ... here.
48651         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48652         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48653         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48654         * sysdeps/powerpc/bits/mathinline.h: ... here.
48656 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48658         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48659         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48660         to just [NEED_DL_SYSINFO_DSO].
48661         * elf/dl-support.c: Likewise.
48662         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48663         * elf/rtld.c (dl_main): Likewise.
48664         * elf/setup-vdso.h (setup_vdso): Likewise.
48665         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48666         * sysdeps/unix/sysv/linux/dl-sysdep.c
48667         (_dl_discover_osversion): Likewise.
48669 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48671         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48672         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48674 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48676         * NEWS: Mention libm performance improvements and non-x86 PI
48677         futex support.
48679         * csu/libc-start.c (__pthread_initialize_minimal): Change
48680         function arguments.
48681         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48683 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48685         [BZ #13550]
48686         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48687         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48688         <bp-sym.h> and <bp-asm.h>.
48689         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48690         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48691         and <bp-asm.h>.
48692         (memcpy): Don't use BP_SYM.
48693         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48694         <bp-asm.h>.
48695         (__mpn_add_n): Don't use BP_SYM.
48696         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48697         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48698         and <bp-asm.h>.
48699         (__mpn_addmul_1): Don't use BP_SYM.
48700         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48701         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48702         <bp-sym.h>.
48703         (_setjmp): Don't use BP_SYM.
48704         (__novmx_setjmp): Likewise.
48705         (__GI__setjmp): Likewise.
48706         (__vmx_setjmp): Likewise.
48707         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48708         <bp-sym.h>.
48709         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48710         (__bzero): Don't use BP_SYM.
48711         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48712         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48713         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48714         <bp-sym.h> and <bp-asm.h>.
48715         (memcpy): Don't use BP_SYM.
48716         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48717         <bp-sym.h> and <bp-asm.h>.
48718         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48719         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48720         <bp-sym.h> and <bp-asm.h>.
48721         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48722         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48723         <bp-asm.h>.
48724         (__mpn_lshift): Don't use BP_SYM.
48725         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48726         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48727         <bp-asm.h>.
48728         (memset): Don't use BP_SYM.
48729         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48730         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48731         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48732         <bp-asm.h>.
48733         (__mpn_mul_1): Don't use BP_SYM.
48734         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48735         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48736         <bp-sym.h> and <bp-asm.h>.
48737         (memcmp): Don't use BP_SYM.
48738         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48739         <bp-sym.h> and <bp-asm.h>.
48740         (memcpy): Don't use BP_SYM.
48741         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48742         <bp-sym.h> and <bp-asm.h>.
48743         (memset): Don't use BP_SYM.
48744         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48745         <bp-sym.h> and <bp-asm.h>.
48746         (strncmp): Don't use BP_SYM.
48747         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48748         <bp-sym.h> and <bp-asm.h>.
48749         (memcpy): Don't use BP_SYM.
48750         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48751         <bp-sym.h> and <bp-asm.h>.
48752         (memset): Don't use BP_SYM.
48753         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48754         <bp-sym.h> and <bp-asm.h>.
48755         (__memchr): Don't use BP_SYM.
48756         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48757         <bp-sym.h> and <bp-asm.h>.
48758         (memcmp): Don't use BP_SYM.
48759         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48760         <bp-sym.h> and <bp-asm.h>.
48761         (memcpy): Don't use BP_SYM.
48762         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48763         <bp-sym.h> and <bp-asm.h>.
48764         (__mempcpy): Don't use BP_SYM.
48765         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48766         <bp-sym.h> and <bp-asm.h>.
48767         (__memrchr): Don't use BP_SYM.
48768         * sysdeps/powerpc/powerpc32/power7/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/rawmemchr.S: Don't include
48772         <bp-sym.h> and <bp-asm.h>.
48773         (__rawmemchr): Don't use BP_SYM.
48774         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48775         <bp-sym.h> and <bp-asm.h>.
48776         (__STRCMP): Don't use BP_SYM.
48777         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48778         <bp-sym.h> and <bp-asm.h>.
48779         (strchr): Don't use BP_SYM.
48780         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48781         <bp-sym.h> and <bp-asm.h>.
48782         (__strchrnul): Don't use BP_SYM.
48783         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48784         <bp-sym.h> and <bp-asm.h>.
48785         (strlen): Don't use BP_SYM.
48786         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48787         <bp-sym.h> and <bp-asm.h>.
48788         (strncmp): Don't use BP_SYM.
48789         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48790         <bp-sym.h> and <bp-asm.h>.
48791         (__strnlen): Don't use BP_SYM.
48792         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48793         <bp-asm.h>.
48794         (__mpn_rshift): Don't use BP_SYM.
48795         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48796         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48797         <bp-sym.h> and <bp-asm.h>.
48798         (__sigsetjmp): Don't use BP_SYM.
48799         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48800         (L(start_addresses)): Don't use BP_SYM.
48801         (_start): Likewise.
48802         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48803         <bp-asm.h>.
48804         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48805         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48806         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48807         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48808         <bp-asm.h>.
48809         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48810         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48811         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48812         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48813         <bp-asm.h>.
48814         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48815         comments.
48816         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48817         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48818         <bp-asm.h>.
48819         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48820         FIXME comments.
48821         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48822         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48823         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48824         <bp-asm.h>.
48825         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48826         comment.
48827         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48828         and <bp-asm.h>.
48829         (strncmp): Don't use BP_SYM,
48830         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48831         <bp-asm.h>.
48832         (__mpn_sub_n): Don't use BP_SYM.
48833         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48834         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48835         and <bp-asm.h>.
48836         (__mpn_submul_1): Don't use BP_SYM.
48837         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48839         <bp-sym.h> and <bp-asm.h>.
48840         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48842         <bp-sym.h> and <bp-asm.h>.
48843         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48844         comment.
48846 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48848         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48849         Use ZK to minimize writes to Z.
48850         (sub_magnitudes): Simplify code a bit.
48851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48852         Use ZK to minimize writes to Z.
48853         (sub_magnitudes): Simplify code a bit.
48855 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48857         * csu/gmon-start.c: Add special exception to license text.
48859 2013-02-27  Richard Henderson  <rth@redhat.com>
48861         * scripts/config.guess: Update from config.git.
48862         * scripts/config.sub: Likewise.
48864 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48866         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48868         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48870         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48872         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48874         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48876 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48878         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48879         [$(build-shared = yes].
48881 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48883         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48884         (__mul): Reduce iterations for calculating mantissa.
48886         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48887         MPTWO.
48888         (__mpranred): Likewise.
48890         [BZ #15160]
48891         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48892         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48894 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48896         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48897         Define __attribute__.
48899 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48901         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48902         unused.
48903         * posix/regex_internal.h (__attribute): Remove.
48904         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48905         (re_string_context_at): Likewise.
48906         (bitset_not): Use __attribute__ and mark function as possibly
48907         unused.
48908         (bitset_merge): Likewise.
48909         (bitset_mask): Likewise.
48910         (re_string_char_size_at): Likewise.
48911         (re_string_wchar_at): Likewise.
48912         (re_string_elem_size_at): Likewise.
48914 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48916         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48917         code.
48918         (cc32): Likewise.
48920         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48921         (__acr): Likewise.
48922         (__cpy): Likewise.
48923         (norm): Likewise.
48924         (denorm): Likewise.
48925         (__dbl_mp): Likewise.
48926         (add_magnitudes): Likewise.
48927         (sub_magnitudes): Likewise.
48928         (__mul): Likewise.
48929         (__inv): Likewise.
48931         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48932         style.
48934         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48935         style.
48937         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48938         code.
48940         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48941         up changes with default code.
48942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48943         Likewise.
48945 2013-02-24  Allan McRae  <allan@archlinux.org>
48947         * manual/socket.texi (The Internet Namespace): Order menu items
48948         to match that in the file.
48950         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48951         node listing of the info page menu.
48953 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48955         [BZ #13550]
48956         * sysdeps/i386/bp-asm.h: Remove file.
48957         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48958         (PARMS): Do not use macros from bp-asm.h.
48959         (S1): Likewise.
48960         (S2): Likewise.
48961         (SIZE): Likewise.
48962         (__mpn_add_n): Do not use BP_SYM
48963         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48964         "bp-asm.h".
48965         (PARMS): Do not use macros from bp-asm.h.
48966         (S1): Likewise.
48967         (SIZE): Likewise.
48968         (__mpn_addmul_1): Do not use BP_SYM
48969         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48970         "bp-asm.h".
48971         (PARMS): Do not use macros from bp-asm.h.
48972         (SIGMSK): Likewise.
48973         (_setjmp): Likewise.  Do not use BP_SYM.
48974         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48975         "bp-asm.h".
48976         (PARMS): Do not use macros from bp-asm.h.
48977         (SIGMSK): Likewise.
48978         (setjmp): Likewise.  Do not use BP_SYM.
48979         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48980         "bp-asm.h".
48981         (PARMS): Do not use macros from bp-asm.h.
48982         (__frexp): Do not use BP_SYM.
48983         (frexp): Likewise.
48984         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48985         "bp-asm.h".
48986         (PARMS): Do not use macros from bp-asm.h.
48987         (__frexpf): Do not use BP_SYM.
48988         (frexpf): Likewise.
48989         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48990         "bp-asm.h".
48991         (PARMS): Do not use macros from bp-asm.h.
48992         (__frexpl): Do not use BP_SYM.
48993         (frexpl): Likewise.
48994         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48995         "bp-asm.h".
48996         (PARMS): Do not use macros from bp-asm.h.
48997         (__remquo): Do not use BP_SYM.
48998         (remquo): Likewise.
48999         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49000         "bp-asm.h".
49001         (PARMS): Do not use macros from bp-asm.h.
49002         (__remquof): Do not use BP_SYM.
49003         (remquof): Likewise.
49004         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49005         "bp-asm.h".
49006         (PARMS): Do not use macros from bp-asm.h.
49007         (__remquol): Do not use BP_SYM.
49008         (remquol): Likewise.
49009         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49010         "bp-asm.h".
49011         (PARMS): Do not use macros from bp-asm.h.
49012         (DEST): Likewise.
49013         (SRC): Likewise.
49014         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49015         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49016         "bp-asm.h".
49017         (PARMS): Do not use macros from bp-asm.h.
49018         (strlen): Do not use BP_SYM.
49019         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49020         "bp-asm.h".
49021         (PARMS): Do not use macros from bp-asm.h.
49022         (S1): Likewise.
49023         (S2): Likewise.
49024         (SIZE): Likewise.
49025         (__mpn_add_n): Do not use BP_SYM.
49026         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49027         "bp-asm.h".
49028         (PARMS): Do not use macros from bp-asm.h.
49029         (S1): Likewise.
49030         (SIZE): Likewise.
49031         (__mpn_addmul_1): Do not use BP_SYM.
49032         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49033         weak_alias.
49034         (bzero): Likewise.
49035         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49036         "bp-asm.h".
49037         (PARMS): Do not use macros from bp-asm.h.
49038         (S): Likewise.
49039         (SIZE): Likewise.
49040         (__mpn_lshift): Do not use BP_SYM.
49041         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49042         "bp-asm.h".
49043         (PARMS): Do not use macros from bp-asm.h.
49044         (DEST): Likewise.
49045         (SRC): Likewise.
49046         (LEN): Likewise.
49047         (memcpy): Likewise.  Do not use BP_SYM.
49048         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49049         libc_hidden_def and weak_alias.
49050         (mempcpy): Do not use BP_SYM in weak_alias.
49051         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49052         "bp-asm.h".
49053         (PARMS): Do not use macros from bp-asm.h.
49054         (DEST): Likewise.
49055         (LEN): Likewise.
49056         [!BZERO_P] (CHR): Likewise.
49057         (memset): Likewise.  Do not use BP_SYM.
49058         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49059         "bp-asm.h".
49060         (PARMS): Do not use macros from bp-asm.h.
49061         (S1): Likewise.
49062         (SIZE): Likewise.
49063         (__mpn_mul_1): Do not use BP_SYM.
49064         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49065         "bp-asm.h".
49066         (PARMS): Do not use macros from bp-asm.h.
49067         (S): Likewise.
49068         (SIZE): Likewise.
49069         (__mpn_rshift): Do not use BP_SYM.
49070         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49071         "bp-asm.h".
49072         (PARMS): Do not use macros from bp-asm.h.
49073         (STR): Likewise.
49074         (CHR): Likewise.
49075         (strchr): Likewise.  Do not use BP_SYM.
49076         (index): Do not use BP_SYM in weak_alias.
49077         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49078         "bp-asm.h".
49079         (PARMS): Do not use macros from bp-asm.h.
49080         (DEST): Likewise.
49081         (SRC): Likewise.
49082         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49083         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49084         "bp-asm.h".
49085         (PARMS): Do not use macros from bp-asm.h.
49086         (strlen): Do not use BP_SYM.
49087         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49088         "bp-asm.h".
49089         (PARMS): Do not use macros from bp-asm.h.
49090         (S1): Likewise.
49091         (S2): Likewise.
49092         (SIZE): Likewise.
49093         (__mpn_sub_n): Do not use BP_SYM.
49094         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49095         "bp-asm.h".
49096         (PARMS): Do not use macros from bp-asm.h.
49097         (S1): Likewise.
49098         (SIZE): Likewise.
49099         (__mpn_submul_1): Do not use BP_SYM.
49100         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49101         "bp-asm.h".
49102         (PARMS): Do not use macros from bp-asm.h.
49103         (S1): Likewise.
49104         (S2): Likewise.
49105         (SIZE): Likewise.
49106         (__mpn_add_n): Do not use BP_SYM.
49107         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49108         weak_alias.
49109         (bzero): Likewise.
49110         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49111         "bp-asm.h".
49112         (PARMS): Do not use macros from bp-asm.h.
49113         (BLK2): Likewise.
49114         (LEN): Likewise.
49115         (memcmp): Do not use BP_SYM.
49116         (bcmp): Do not use BP_SYM in weak_alias.
49117         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49118         "bp-asm.h".
49119         (PARMS): Do not use macros from bp-asm.h.
49120         (DEST): Likewise.
49121         (SRC): Likewise.
49122         (LEN): Likewise.
49123         (memcpy): Likewise.  Do not use BP_SYM.
49124         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49125         "bp-asm.h".
49126         (PARMS): Do not use macros from bp-asm.h.
49127         (DEST): Likewise.
49128         (SRC): Likewise.
49129         (LEN): Likewise.
49130         (memmove): Likewise.  Do not use BP_SYM.
49131         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49132         "bp-asm.h".
49133         (PARMS): Do not use macros from bp-asm.h.
49134         (DEST): Likewise.
49135         (SRC): Likewise.
49136         (LEN): Likewise.
49137         (__mempcpy): Likewise.  Do not use BP_SYM.
49138         (mempcpy): Do not use BP_SYM in weak_alias.
49139         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49140         "bp-asm.h".
49141         (PARMS): Do not use macros from bp-asm.h.
49142         (DEST): Likewise.
49143         (LEN): Likewise.
49144         [!BZERO_P] (CHR): Likewise.
49145         (memset): Likewise.  Do not use BP_SYM.
49146         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49147         "bp-asm.h".
49148         (PARMS): Do not use macros from bp-asm.h.
49149         (STR2): Likewise.
49150         (strcmp): Do not use BP_SYM.
49151         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49152         "bp-asm.h".
49153         (PARMS): Do not use macros from bp-asm.h.
49154         (STR): Likewise.
49155         (DELIM): Likewise.
49156         [USE_AS_STRTOK_R] (SAVE): Likewise.
49157         (FUNCTION): Likewise.  Do not use BP_SYM.
49158         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49159         aliases.
49160         (strtok_r): Likewise.
49161         (__GI___strtok_r): Likewise.
49162         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49163         (PARMS): Do not use macros from bp-asm.h.
49164         (S): Likewise.
49165         (SIZE): Likewise.
49166         (__mpn_lshift): Do not use BP_SYM.
49167         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49168         (PARMS): Do not use macros from bp-asm.h.
49169         (STR): Likewise.
49170         (CHR): Likewise.
49171         (__memchr): Do not use BP_SYM.
49172         (memchr): Do not use BP_SYM in weak_alias.
49173         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49174         (PARMS): Do not use macros from bp-asm.h.
49175         (BLK2): Likewise.
49176         (LEN): Likewise.
49177         (memcmp): Do not use BP_SYM.
49178         (bcmp): Do not use BP_SYM in weak_alias.
49179         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49180         (PARMS): Do not use macros from bp-asm.h.
49181         (S1): Likewise.
49182         (SIZE): Likewise.
49183         (__mpn_mul_1): Do not use BP_SYM.
49184         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49185         "bp-asm.h".
49186         (PARMS): Do not use macros from bp-asm.h.
49187         (STR): Likewise.
49188         (CHR): Likewise.
49189         (__rawmemchr): Do not use BP_SYM.
49190         (rawmemchr): Do not use BP_SYM in weak_alias.
49191         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49192         (PARMS): Do not use macros from bp-asm.h.
49193         (S): Likewise.
49194         (SIZE): Likewise.
49195         (__mpn_rshift): Do not use BP_SYM.
49196         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49197         (PARMS): Do not use macros from bp-asm.h.
49198         (SIGMSK): Likewise.
49199         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49200         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49201         (_start): Do not use BP_SYM.
49202         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49203         (PARMS): Do not use macros from bp-asm.h.
49204         (DEST): Likewise.
49205         (SRC): Likewise.
49206         (__stpcpy): Likewise.  Do not use BP_SYM.
49207         (stpcpy): Do not use BP_SYM in weak_alias.
49208         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49209         "bp-asm.h".
49210         (PARMS): Do not use macros from bp-asm.h.
49211         (DEST): Likewise.
49212         (SRC): Likewise.
49213         (LEN): Likewise.
49214         (__stpncpy): Likewise.  Do not use BP_SYM.
49215         (stpncpy): Do not use BP_SYM in weak_alias.
49216         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49217         (PARMS): Do not use macros from bp-asm.h.
49218         (STR): Likewise.
49219         (CHR): Likewise.
49220         (strchr): Likewise.  Do not use BP_SYM.
49221         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49222         "bp-asm.h".
49223         (PARMS): Do not use macros from bp-asm.h.
49224         (STR): Likewise.
49225         (CHR): Likewise.
49226         (__strchrnul): Likewise.  Do not use BP_SYM.
49227         (strchrnul): Do not use BP_SYM in weak_alias.
49228         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49229         "bp-asm.h".
49230         (PARMS): Do not use macros from bp-asm.h.
49231         (STOP): Likewise.
49232         (strcspn): Do not use BP_SYM.
49233         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49234         "bp-asm.h".
49235         (PARMS): Do not use macros from bp-asm.h.
49236         (STR): Likewise.
49237         (STOP): Likewise.
49238         (strpbrk): Likewise.  Do not use BP_SYM.
49239         * sysdeps/i386/strrchr.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         (strrchr): Likewise.  Do not use BP_SYM.
49245         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49246         (PARMS): Do not use macros from bp-asm.h.
49247         (SKIP): Likewise.
49248         (strspn): Do not use BP_SYM.
49249         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49250         (PARMS): Do not use macros from bp-asm.h.
49251         (STR): Likewise.
49252         (DELIM): Likewise.
49253         (SAVE): Likewise.
49254         (FUNCTION): Likewise.  Do not use BP_SYM.
49255         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49256         aliases.
49257         (strtok_r): Likewise.
49258         (__GI___strtok_r): Likewise.
49259         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49260         (PARMS): Do not use macros from bp-asm.h.
49261         (S1): Likewise.
49262         (S2): Likewise.
49263         (SIZE): Likewise.
49264         (__mpn_sub_n): Do not use BP_SYM.
49265         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49266         "bp-asm.h".
49267         (PARMS): Do not use macros from bp-asm.h.
49268         (S1): Likewise.
49269         (SIZE): Likewise.
49270         (__mpn_submul_1): Do not use BP_SYM.
49271         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49272         <bp-sym.h>.
49273         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49274         and <bp-asm.h>.
49275         (PARMS): Do not use macros from bp-asm.h.
49276         (FLAGS): Likewise.
49277         (PTID): Likewise.
49278         (TLS): Likewise.
49279         (CTID): Likewise.
49280         (__clone): Do not use BP_SYM.
49281         (clone): Do not use BP_SYM in weak_alias.
49282         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49283         and <bp-asm.h>.
49284         (PARMS): Do not use macros from bp-asm.h.
49285         (LEN): Likewise.
49286         (__mmap64): Do not use BP_SYM.
49287         (mmap64): Do not use BP_SYM in weak_alias.
49288         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49289         <bp-sym.h> and <bp-asm.h>.
49290         (PARMS): Do not use macros from bp-asm.h.
49291         (__posix_fadvise64_l64): Do not use BP_SYM.
49292         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49293         (PARMS): Do not use macros from bp-asm.h.
49294         (NSOPS): Likewise.
49295         (semtimedop): Do not use BP_SYM.
49296         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49297         and <bp-asm.h>.
49299 2013-02-21  Allan McRae  <allan@archlinux.org>
49301         * manual/message.texi (Charset conversion in gettext):
49302         Move @end statement to beginning of line.
49304 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49307         static.
49308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49309         Likewise.
49311         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49312         (denorm): Likewise.
49313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49316 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49318         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49319         tail-call to the resolved function if pltexit isn't needed.
49321 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49324         or Y being zero as being unlikely.
49325         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49326         Likewise.
49328 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49330         * manual/nss.texi (System Databases and Name Service Switch):
49331         Remove frobnicate @pxref.
49333 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49335         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49336         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49338 2013-02-20  Petr Machata  <pmachata@redhat.com>
49340         * elf/elf.h (R_ARM_TARGET1): New macro.
49341         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49342         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49343         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49344         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49345         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49346         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49347         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49348         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49349         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49350         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49351         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49352         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49353         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49354         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49355         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49356         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49357         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49358         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49359         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49360         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49361         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49362         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49363         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49364         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49365         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49366         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49367         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49368         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49369         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49370         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49371         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49372         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49373         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49374         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49375         (R_ARM_THM_GOT_BREL12): Likewise.
49376         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49377         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49378         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49379         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49380         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49381         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49382         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49383         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49384         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49386 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49388         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49389         __attribute_used__ to __attribute__ ((unused)).
49391 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49393         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49394         powerpc mpa.c.
49395         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49396         comment formatting.
49397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49399 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49401         [BZ #13550]
49402         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49403         Remove macro.
49404         (ENTER): Remove both macro definitions.
49405         (LEAVE): Likewise.
49406         (CHECK_BOUNDS_LOW): Likewise.
49407         (CHECK_BOUNDS_HIGH): Likewise.
49408         (CHECK_BOUNDS_BOTH): Likewise.
49409         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49410         (RETURN_BOUNDED_POINTER): Likewise.
49411         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49412         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49413         (POP_ERRNO_LOCATION_RETURN): Likewise.
49414         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49415         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49416         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49417         macros.
49418         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49419         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49420         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49421         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49422         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49423         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49424         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49425         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49426         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49427         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49428         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49429         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49430         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49431         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49432         removed macros.
49433         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49434         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49435         macros.
49436         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49437         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49438         * sysdeps/i386/i586/memset.S (memset): Likewise.
49439         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49440         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49441         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49442         macros.
49443         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49444         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49445         Change uses of L(2) to L(out).
49446         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49447         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49448         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49449         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49450         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49451         removed macros.
49452         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49453         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49454         macros.
49455         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49456         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49457         (RETURN): Do not use macro LEAVE.
49458         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49459         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49460         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49461         * sysdeps/i386/i686/memset.S (memset): Likewise.
49462         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49463         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49464         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49465         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49466         Likewise.
49467         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49468         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49469         L(1_2) and L(1_3) into L(1).
49470         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49471         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49472         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49473         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49474         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49475         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49476         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49477         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49478         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49479         macros.
49480         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49481         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49482         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49483         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49484         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49485         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49486         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49487         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49488         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49489         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49490         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49491         * sysdeps/i386/strspn.S (strspn): Likewise.
49492         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49493         conditional code.
49494         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49495         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49496         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49497         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49498         L(1_3) into L(1_1).
49499         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49500         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49501         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49502         macros.
49503         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49505 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49507         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49508         macro.
49510 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49512         * math/atest-exp.c (exp_mpn): Remove ROUND.
49513         * math/atest-exp2.c (exp_mpn): Likewise.
49514         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49516         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49517         * stdlib/tst-tls-atexit-lib.c: Likewise.
49518         * stdlib/tst-tls-atexit.c: Likewise.
49520 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49522         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49523         and __attribute_alloc_size__.
49525 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49527         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49528         __attribute_alloc_size__.
49529         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49530         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49532 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49534         * include/programs/xmalloc.h: New file.
49535         * catgets/gencat.c: Include it.
49536         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49537         * elf/pldd.c: Likewise.
49538         * iconv/iconv_charmap.c: Likewise.
49539         * iconv/iconvconfig.c: Likewise.
49540         * iconv/strtab.c: Likewise.
49541         * locale/programs/locale.c: Likewise.
49542         * locale/programs/localedef.h: Likewise.
49543         * locale/programs/simple-hash.c: Likewise.
49544         * nscd/nscd.h: Likewise.
49545         * nss/makedb.c: Likewise.
49546         * sysdeps/generic/ldconfig.h: Likewise.
49548 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49550         * Versions.def: Add GLIBC_2.18.
49551         * include/link.h (struct link_map): New member l_tls_dtor_count.
49552         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49553         (__call_tls_dtors): Likewise.
49554         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49555         __cxa_thread_atexit_impl.
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49557         Likewise.
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49559         Likewise.
49560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49561         Likewise.
49562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49563         Likewise.
49564         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49566         Likewise.
49567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49568         Likewise.
49569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49571         Likewise.
49572         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49573         (tests): Add test case tst-tls-atexit.
49574         (modules-names): Add shared library for tst-tls-atexit.
49575         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49576         (GLIBC_PRIVATE): Add __call_tls_dtors.
49577         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49578         for libstdc++.
49579         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49580         * stdlib/tst-tls-atexit.c: New test case.
49581         * stdlib/tst-tls-atexit-lib.c: New test case.
49583         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49585         * elf/Versions (ld): Add _dl_find_dso_for_object.
49586         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49587         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49588         (dl_open_worker): Use _dl_find_dso_for_object.
49589         * elf/dl-sym.c (do_sym): Likewise.
49590         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49592 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49594         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49595         Syntactic changes only.
49596         (_dl_runtime_profile): Do a tail-call to the resolved function.
49598 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49600         [BZ #13550]
49601         * sysdeps/x86_64/bp-asm.h: Remove file.
49602         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49603         <bp-sym.h> and <bp-asm.h>.
49604         (__clone): Do not use BP_SYM.
49605         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49606         <bp-sym.h> and <bp-asm.h>.
49607         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49608         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49609         "bp-asm.h".
49610         (_setjmp): Do not use BP_SYM.
49611         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49612         "bp-asm.h".
49613         (setjmp): Do not use BP_SYM.
49614         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49615         libc_hidden_def.
49616         (mempcpy): Do not use BP_SYM in weak_alias.
49617         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49618         "bp-asm.h".
49619         (strchr): Do not use BP_SYM.
49620         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49621         "bp-asm.h".
49622         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49623         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49624         (_start): Do not use BP_SYM.
49625         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49626         "bp-asm.h".
49627         (strcat): Do not use BP_SYM.
49628         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49629         "bp-asm.h".
49630         (STRCMP): Do not use BP_SYM.
49631         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49632         "bp-asm.h".
49633         (STRCPY): Do not use BP_SYM.
49634         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49635         "bp-asm.h".
49636         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49637         "bp-asm.h".
49638         (FUNCTION): Do not use BP_SYM.
49639         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49640         weak_alias.
49641         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49643 2013-02-17  Andreas Jaeger  <aj@suse.de>
49645         * time/Versions: Sort entries.
49646         * string/Versions: Likewise.
49647         * resolv/Versions: Likewise.
49648         * posix/Versions: Likewise.
49649         * iconv/Versions: Likewise.
49650         * elf/Versions: Likewise.
49651         * wcsmbs/Versions: Likewise.
49653 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49655         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49656         loop termination condition.
49658         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49659         variable to calculate EZ.
49660         (__sqr): Likewise.
49662         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49663         the lower precision input.
49665 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49667         [BZ #13550]
49668         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49669         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49670         (run-via-rtld-prefix): Do not handle %-bp tests.
49671         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49672         (all-object-suffixes): Remove .ob.
49673         (bppfx): Remove variable.
49674         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49675         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49676         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49677         [$(build-bounded) = yes] (libtype.ob): Likewise.
49678         * Makerules (elide-routines.ob): Remove variable.
49679         (do-tests-clean): Do not handle *-bp.out.
49680         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49681         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49682         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49683         (tests): Do not include $(tests-bp.out).
49684         (xtests): Do not include $(xtests-bp.out).
49685         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49686         [$(build-bounded) = yes] ($(addprefix
49687         $(objpfx),$(binaries-bounded))): Remove rule.
49688         ($(objpfx)%-bp.out): Remove rule.
49689         * config.make.in (build-bounded): Remove variable.
49690         * crypt/Makefile [$(build-bounded) = yes]
49691         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49692         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49693         append to variable.
49694         [$(build-bounded) = yes] (install-lib): Likewise.
49695         [$(build-bounded) = yes] (generated): Likewise.
49696         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49697         Remove rule.
49698         * intl/Makefile [$(build-bounded) = yes]
49699         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49700         * math/Makefile [$(build-bounded) = yes]
49701         ($(tests:%=$(objpfx)%-bp): Likewise.
49702         * misc/Makefile [$(build-bounded) = yes]
49703         ($(objpfx)tst-tsearch-bp): Likewise.
49704         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49705         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49706         Remove dependency.
49707         * string/Makefile (o-objects.ob): Remove variable.
49708         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49709         (CFLAGS-.ob): Remove variable.
49710         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49711         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49712         both definitions of variable.
49713         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49714         (ASFLAGS-.ob): Remove variable.
49716 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49718         [BZ #13550]
49719         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49720         Remove __BOUNDED_POINTERS__ from condition.
49721         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49722         * string/bits/string2.h [!__NO_STRING_INLINES &&
49723         !__BOUNDED_POINTERS__]: Likewise.
49724         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49725         Likewise.
49726         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49727         Remove conditional code.
49728         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49729         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49730         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49731         condition.
49733         [BZ #13550]
49734         * csu/libc-start.c: Do not include <bp-sym.h>.
49735         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49736         * elf/dl-open.c: Do not include <bp-sym.h>.
49737         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49738         * math/fegetenv.c: Do not include <bp-sym.h>.
49739         (fegetenv): Do not use BP_SYM in versioned symbols.
49740         * nptl/sysdeps/pthread/bits/libc-lockP.h
49741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49742         <bp-sym.h>.
49743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49744         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49746         (__pthread_mutex_destroy): Likewise.
49747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49748         (__pthread_mutex_lock): Likewise.
49749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49750         (__pthread_mutex_trylock): Likewise.
49751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49752         (__pthread_mutex_unlock): Likewise.
49753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49754         (__pthread_mutexattr_init): Likewise.
49755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49756         (__pthread_mutexattr_destroy): Likewise.
49757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49758         (__pthread_mutexattr_settype): Likewise.
49759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49760         (__pthread_rwlock_init): Likewise.
49761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49762         (__pthread_rwlock_destroy): Likewise.
49763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49764         (__pthread_rwlock_rdlock): Likewise.
49765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49766         (__pthread_rwlock_tryrdlock): Likewise.
49767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49768         (__pthread_rwlock_wrlock): Likewise.
49769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49770         (__pthread_rwlock_trywrlock): Likewise.
49771         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49772         (__pthread_rwlock_unlock): Likewise.
49773         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49774         (__pthread_key_create): Likewise.
49775         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49776         (__pthread_setspecific): Likewise.
49777         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49778         (__pthread_getspecific): Likewise.
49779         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49780         Likewise.
49781         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49782         (_pthread_cleanup_push_defer): Likewise.
49783         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49784         (_pthread_cleanup_pop_restore): Likewise.
49785         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49786         (pthread_setcancelstate): Likewise.
49787         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49788         <bp-sym.h>.
49789         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49790         (memchr): Do not use BP_SYM in weak_alias.
49791         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49792         (fegetenv): Do not use BP_SYM in versioned symbols.
49793         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49794         (fesetenv): Do not use BP_SYM in versioned symbols.
49795         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49796         (feupdateenv): Do not use BP_SYM in versioned symbols.
49797         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49798         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49799         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49800         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49801         (open64): Do not use BP_SYM in weak_alias.
49802         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49803         (fegetenv): Do not use BP_SYM in versioned symbols.
49804         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49805         (fesetenv): Do not use BP_SYM in versioned symbols.
49806         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49807         (feupdateenv): Do not use BP_SYM in versioned symbols.
49808         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49809         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49810         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49811         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49812         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49813         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49814         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49815         <bp-sym.h>.
49816         (__libc_start_main): Do not use BP_SYM.
49818 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49821         redundant return line.
49822         (norm): Likewise.
49823         (denorm): Likewise.
49824         (dbl_mp): Likewise.
49825         (sub_magnitudes): Likewise.
49826         (__add): Likewise.
49827         (__sub): Likewise.
49828         (__mul): Likewise.
49829         (__inv): Likewise.
49830         (__dvd): Likewise.
49831         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49832         (norm): Likewise.
49833         (denorm): Likewise.
49834         (dbl_mp): Likewise.
49835         (sub_magnitudes): Likewise.
49836         (__add): Likewise.
49837         (__sub): Likewise.
49838         (__mul): Likewise.
49839         (__inv): Likewise.
49840         (__dvd): Likewise.
49842         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49843         instead of __mul.
49844         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49845         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49846         (cc32): Likewise.
49848         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49849         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49850         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49851         of __mul for squares.
49852         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49853         function
49854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49855         Likewise.
49856         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49857         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49859 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49861         [BZ #13550]
49862         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49863         code.
49864         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49865         prototype or function definition.  Rename ubp_* variables and
49866         parameters.  Remove argv definitions conditional on
49867         [__BOUNDED_POINTERS__].
49868         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49869         * elf/dl-runtime.c (_dl_fixup): Likewise.
49870         * include/set-hooks.h (RUN_HOOK): Likewise.
49871         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49872         definition.
49873         * string/strcpy.c (strcpy): Do not use __unbounded.
49874         * sysdeps/generic/frame.h (struct layout): Likewise.
49875         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49876         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49877         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49878         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49879         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49880         (__backtrace): Likewise.
49881         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49882         use __ptrvalue.
49883         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49884         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49885         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49886         Likewise.
49887         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49888         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49889         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49890         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49891         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49892         Do not use __unbounded.
49893         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49894         Rename __unboundedrlimits parameter to rlimits in prototype.
49895         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49896         Do not use __unbounded.
49897         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49898         not use __ptrvalue.
49899         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49900         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49901         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49902         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49903         __ptrvalue or __unbounded.
49904         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49905         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49906         use __unbounded.
49907         (__new_msgctl): Do not use __ptrvalue.
49908         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49909         __unbounded.
49910         (__libc_msgrcv): Do not use __ptrvalue.
49911         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49912         startup_info): Do not use __unbounded.
49913         (__libc_start_main): Likewise.  Rename ubp_* variables and
49914         parameters.  Remove argv definitions conditional on
49915         [__BOUNDED_POINTERS__].
49916         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49917         __ptrvalue.
49918         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49919         use __unbounded.
49920         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49921         or __ptrvalue.
49922         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49923         use __unbounded.
49924         (__new_shmctl): Do not use __ptrvalue.
49925         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49926         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49927         Likewise.
49928         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49929         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49930         (__libc_sigaction): Likewise.
49931         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49932         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49933         Likewise.
49934         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49936 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49938         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49940         * string/mempcpy.c: Implement by calling memcpy.
49942 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49944         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49946         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49947         evaluation.
49949         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49950         values in the mantissa.
49952         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49953         minimize writes to Z.
49954         (sub_magnitudes): Simplify code a bit.
49956 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49958         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49959         from the message.  The linker prefixes all warnings with that already.
49961 2013-02-12  Andreas Schwab  <schwab@suse.de>
49963         [BZ #15078]
49964         * posix/regexec.c (extend_buffers): Add parameter min_len.
49965         (check_matching): Pass minimum needed length.
49966         (clean_state_log_if_needed): Likewise.
49967         (get_subexp): Likewise.
49968         * posix/Makefile (tests): Add bug-regex34.
49969         (bug-regex34-ENV): Define.
49970         * posix/bug-regex34.c: New file.
49972         [BZ #11561]
49973         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49974         elements compare against the byte sequence of it, not its name.
49975         * posix/Makefile (tests): Add bug-regex35.
49976         (bug-regex35-ENV): Define.
49977         * posix/bug-regex35.c: New file.
49979 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49981         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49982         comment.
49983         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49984         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49985         (CHECK_EOL): Add undef.
49987 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49989         * bits/stdlib-bsearch.h: New file.
49990         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49991         * stdlib/stdlib.h: Likewise.
49993 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49995         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49996         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49997         declaration.
49998         * manual/search.texi (Array Search Function): Add missing const in
49999         lfind prototype.
50000         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50001         declaration to use rlim_t.
50002         (Basic Scheduling Functions): Remove erroneous const from
50003         sched_getparam prototype.  Remove erroneous * from
50004         sched_get_priority_max and sched_get_priority_min prototypes.
50005         (Resource Usage): Fix summary @comment on vtimes to refer to
50006         sys/vtimes.h rather than vtimes.h.
50007         Add missing *s in vtimes prototype.
50008         (Limits on Resources): Fix ulimit prototype to return long int.
50009         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50010         prototypes to use long int rather than double.
50011         (BSD Random): Fix initstate and setstate to use char *, not void *.
50012         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50013         prototype to make second argument 'struct aiocb64 *const[]'.
50014         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50015         (Status of AIO Operations): Remove erroneous const in aio_return and
50016         aio_return64 prototypes.
50017         (Synchronizing I/O): Fix sync prototype to return void.
50018         * manual/startup.texi (Suboptions): Remove an erroneous const in
50019         getsubopt prototype.
50020         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50021         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50022         use size_t rather than int.
50023         (Scanning All Users): Likewise for getpwent_r.
50024         (Setting Groups): Add missing const to setgroups prototype.
50025         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50026         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50027         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50028         'const void *' rather than 'const char *'.
50029         (Host Address Functions): Likewise for inet_ntop.
50030         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50031         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50032         ssize_t for return value.
50033         (Sending Data): Likewise for send, sendto, sendmsg.
50034         (Socket Option Functions): Add a missing const in setsockopt prototype.
50035         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50036         use wchar_t for the argument.
50037         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50038         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50039         take no arguments.
50040         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50041         double/float/long double for second argument.
50042         Fix return types of significand, significandf, significandl.
50043         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50044         argument in fchmod prototype.
50045         (File Owner): Use uid_t and gid_t in fchown prototype.
50046         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50047         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50048         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50049         use 'const struct dirent **' as argument types to CMP function pointer
50050         argument.
50051         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50052         (File Times): Fix summary magic @comment for struct utimbuf and utime
50053         to refer to utime.h, not time.h.
50054         * manual/string.texi (Argz Functions): Add missing const in
50055         argz_extract and argz_next prototypes.
50056         (Finding Tokens in a String): Likewise for basename.
50057         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50058         (Copying and Concatenation): Fix typo in wmemmove prototype.
50059         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50060         (Signal Stack): Remove erroneous const in sigstack prototype.
50061         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50062         prototype.
50063         (Simple Calendar Time): Likewise for stime.
50064         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50065         prototype.
50066         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50067         say sys/sysctl.h instead.
50068         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50069         and vsyslog prototypes.
50071 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50073         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50074         Remove.
50076 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50078         * misc/sys/mman.h: Fix typo in mremap comment.
50080 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50082         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50083         the '\0' terminator.
50085 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50087         [BZ #13550]
50088         * debug/segfault.c: Don't include <bp-checks.h>.
50089         * sysdeps/generic/bp-checks.h: Remove file.
50090         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50091         (__GETDENTS): Don't use CHECK_N.
50092         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50093         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50094         (__getgroups): Don't use CHECK_N.
50095         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50096         (setgroups): Don't use CHECK_N.
50097         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50098         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50099         (__libc_msgrcv): Don't use CHECK_N.
50100         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50101         (__libc_msgsnd): Don't use CHECK_N.
50102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50103         <bp-checks.h>.
50104         (__libc_pread): Don't use CHECK_N.
50105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50106         include <bp-checks.h>.
50107         (__libc_pread64): Don't use CHECK_N.
50108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50109         include <bp-checks.h>.
50110         (__libc_pwrite): Don't use CHECK_N.
50111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50112         include <bp-checks.h>.
50113         (__libc_pwrite64): Don't use CHECK_N.
50114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50115         <bp-checks.h>.
50116         (__libc_pread): Don't use CHECK_N.
50117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50118         include <bp-checks.h>.
50119         (__libc_pread64): Don't use CHECK_N.
50120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50121         include <bp-checks.h>.
50122         (__libc_pwrite): Don't use CHECK_N.
50123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50124         include <bp-checks.h>.
50125         (__libc_pwrite64): Don't use CHECK_N.
50126         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50127         (do_pread): Don't use CHECK_N.
50128         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50129         (do_pread64): Don't use CHECK_N.
50130         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50131         (do_pwrite): Don't use CHECK_N.
50132         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50133         (do_pwrite64): Don't use CHECK_N.
50134         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50135         (__libc_readv): Don't use CHECK_N.
50136         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50137         (semop): Don't use CHECK_N.
50138         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50139         <bp-checks.h>.
50140         (semtimedop): Don't use CHECK_N.
50141         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50142         (__libc_pread): Don't use CHECK_N.
50143         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50144         <bp-checks.h>.
50145         (__libc_pread64): Don't use CHECK_N.
50146         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50147         <bp-checks.h>.
50148         (__libc_pwrite): Don't use CHECK_N.
50149         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50150         <bp-checks.h>.
50151         (__libc_pwrite64): Don't use CHECK_N.
50152         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50153         <bp-checks.h>.
50154         (__libc_msgrcv): Don't use CHECK_N.
50155         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50156         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50157         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50158         (__libc_writev): Don't use CHECK_N.
50160 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50162         * string/strcpy.c: Removed unused variable.
50164         * Makeconfig (+sysdep-includes): Define with := rather than =.
50165         Use an existing include/ subdir of each sysdeps dir before it.
50167 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50169         * nscd/connection.c (register_traced_file): Comment function.
50170         [HAVE_INOTIFY] (union __inev): Define.
50171         [HAVE_INOTIFY] (inotify_check_files): New function.
50172         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50173         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50174         clear_db_cache.
50175         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50177 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50179         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50180         loaded if not already and that a failure is permanent.
50182 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50184         [BZ #15006]
50185         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50186         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50188 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50190         [BZ #13550]
50191         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50192         (CHECK_1_NULL_OK): Likewise.
50193         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50194         (__fxstat): Do not use CHECK_1.
50195         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50196         <bp-checks.h>.
50197         (___fxstat64): Do not use CHECK_1.
50198         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50199         <bp-checks.h>.
50200         (__fxstatat): Do not use CHECK_1.
50201         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50202         <bp-checks.h>.
50203         (__fxstatat64): Do not use CHECK_1.
50204         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50205         <bp-checks.h>.
50206         (__fxstat): Do not use CHECK_1.
50207         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50208         <bp-checks.h>.
50209         (__fxstatat): Do not use CHECK_1.
50210         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50211         <bp-checks.h>.
50212         (__getresgid): Do not use CHECK_1.
50213         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50214         <bp-checks.h>.
50215         (__getresuid): Do not use CHECK_1.
50216         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50217         <bp-checks.h>.
50218         (__lxstat): Do not use CHECK_1.
50219         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50220         <bp-checks.h>.
50221         (__old_msgctl): Do not use CHECK_1.
50222         (__new_msgctl): Likewise.
50223         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50224         <bp-checks.h>.
50225         (__new_setrlimit): Do not use CHECK_1.
50226         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50227         <bp-checks.h>.
50228         (__old_shmctl): Do not use CHECK_1.
50229         (__new_shmctl): Likewise.
50230         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50231         <bp-checks.h>.
50232         (__xstat): Do not use CHECK_1.
50233         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50234         (__lxstat): Do not use CHECK_1.
50235         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50236         <bp-checks.h>.
50237         (___lxstat64): Do not use CHECK_1.
50238         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50239         (__old_msgctl): Do not use CHECK_1.
50240         (__new_msgctl): Likewise.
50241         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50242         <bp-checks.h>.
50243         (__gettimeofday): Do not use CHECK_1.
50244         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50245         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50246         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50247         <bp-checks.h>.
50248         (__gettimeofday): Do not use CHECK_1.
50249         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50250         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50251         (__new_shmctl): Do not use CHECK_1.
50252         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50253         <bp-checks.h>.
50254         (do_sigtimedwait): Do not use CHECK_1.
50255         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50256         <bp-checks.h>.
50257         (do_sigwaitinfo): Do not use CHECK_1.
50258         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50259         <bp-checks.h>.
50260         (msgctl): Do not use CHECK_1.
50261         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50262         <bp-checks.h>.
50263         (shmctl): Do not use CHECK_1.
50264         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50265         (ustat): Do not use CHECK_1.
50266         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50267         <bp-checks.h>.
50268         (__fxstat): Do not use CHECK_1.
50269         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50270         <bp-checks.h>.
50271         (__fxstatat): Do not use CHECK_1.
50272         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50273         <bp-checks.h>.
50274         (__lxstat): Do not use CHECK_1.
50275         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50276         <bp-checks.h>.
50277         (__xstat): Do not use CHECK_1.
50278         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50279         (__xstat): Do not use CHECK_1.
50280         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50281         (___xstat64): Do not use CHECK_1.
50283         [BZ #13550]
50284         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50285         definitions.
50286         (CHECK_BOUNDS_HIGH): Likewise.
50287         * string/strcpy.c: Do not include <bp-checks.h>.
50288         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50290 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50292         * nscd/nscd-client.h (__nscd_drop_map_ref):
50293         Add __attribute__ ((unused)).
50294         * nis/nss-nisplus.h (niserr2nss): Likewise.
50296         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50297         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50299         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50300         Remove inline keyword.
50301         * include/rounding-mode.h (round_away): Likewise.
50302         * libio/wfileops.c (adjust_wide_data): Likewise.
50303         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50304         (__m128i_strloadu_tolower): Likewise.
50305         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50306         (__m128i_strloadu_tolower): Likewise.
50307         * time/mktime.c (ydhms_diff): Likewise.
50308         * locale/elem-hash.h (elem_hash): Likewise.
50309         * locale/setlocale.c (setdata): Likewise.
50310         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50311         (re_string_wchar_at): Likewise.
50312         (bitset_not, bitset_merge, bitset_mask): Likewise.
50313         [!(__GNUC__ > 3)] (inline): Remove macro.
50314         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50315         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50316         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50317         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50318         * string/memcmp.c (memcmp_bytes): Likewise.
50319         * locale/programs/locarchive.c (compute_hashval): Likewise.
50320         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50321         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50322         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50323         * nss/getent.c (print_rpc, print_protocols): Likewise.
50324         (print_passwd, print_group, print_aliases): Likewise.
50325         * nis/nss-nisplus.h (niserr2nss): Likewise.
50326         * nscd/connections.c (restart_p): Likewise.
50327         Change return type to bool.
50329 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50331         * Makeconfig (all-Depend-files): Add existing
50332         $(sorted-subdirs:=/Depend) files.
50333         (all-subdirs): Remove nss.
50334         * sysdeps/unix/inet/Subdirs: Add it here instead.
50335         * hesiod/Depend: New file.
50337         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50338         instead of calling alloca.
50340         * io/lseek.c (__lseek): Rename to __libc_lseek.
50341         Define __lseek as an alias.
50343         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50345 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50347         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50348         else clause and remove check for non-standard endianness.
50350 2013-02-04  David S. Miller  <davem@davemloft.net>
50352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50354 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50356         [BZ #13550]
50357         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50358         (__ubp_memchr): Remove prototype.
50359         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50360         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50361         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50362         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50363         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50364         Remove alias.
50365         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50366         (__ubp_memchr): Likewise.
50367         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50368         (__ubp_memchr): Likewise.
50369         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50370         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50371         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50372         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50373         CHECK_STRING.
50374         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50375         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50376         (__getcwd): Do not use CHECK_STRING.
50377         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50378         <bp-checks.h>.
50379         (__real_chown): Do not use CHECK_STRING.
50380         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50381         <bp-checks.h>.
50382         (fchownat): Do not use CHECK_STRING.
50383         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50384         CHECK_STRING.
50385         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50386         <bp-checks.h>.
50387         (__lchown): Do not use CHECK_STRING.
50388         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50389         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50390         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50391         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50393         include <bp-checks.h>.
50394         (truncate64): Do not use CHECK_STRING.
50395         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50396         <bp-checks.h>.
50397         (__real_chown): Do not use CHECK_STRING.
50398         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50399         <bp-checks.h>.
50400         (__lchown): Do not use CHECK_STRING.
50401         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50402         <bp-checks.h>.
50403         (__chown): Do not use CHECK_STRING.
50404         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50405         <bp-checks.h>.
50406         (truncate64): Do not use CHECK_STRING.
50407         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50408         Likewise.
50409         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50410         (__xmknod): Do not use CHECK_STRING.
50411         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50412         <bp-checks.h>.
50413         (__xmknodat): Do not use CHECK_STRING.
50414         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50415         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50417 2013-02-04  Andreas Schwab  <schwab@suse.de>
50419         [BZ #14142]
50420         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50421         * include/netdb.h: Likewise for h_errno.
50422         * elf/tst-stackguard1.c: Include <tls.h>.
50424 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50426         * elf/link.h (struct link_map): Extend the l_addr comment.
50427         * include/link.h (struct link_map): Likewise.
50429 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50431         [BZ #13550]
50432         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50433         (BOUNDED_1): Remove macro.
50434         * debug/backtrace.c: Don't include <bp-checks.h>.
50435         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50436         (__backtrace): Likewise.
50437         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50438         <bp-checks.h>.
50439         (__backtrace): Don't use BOUNDED_1.
50440         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50441         <bp-checks.h>.
50442         (__backtrace): Don't use BOUNDED_1.
50443         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50444         (__backtrace): Don't use BOUNDED_1.
50445         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50446         (shmat): Don't use BOUNDED_N.
50448 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50450         [BZ #13550]
50451         * sysdeps/generic/bp-start.h: Remove file.
50452         * csu/libc-start.c: Don't include <bp-start.h>.
50453         (LIBC_START_MAIN): Set up __environ directly instead of using
50454         INIT_ARGV_and_ENVIRON.
50455         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50456         <bp-start.h>.
50458         [BZ #13550]
50459         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50460         definitions.
50461         (CHECK_FCNTL): Likewise.
50462         (CHECK_N_PAGES): Likewise.
50464         [BZ #13550]
50465         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50466         definitions.
50467         (CHECK_SIGSET_NULL_OK): Likewise.
50468         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50469         <bp-checks.h>.
50470         (sigpending): Don't use CHECK_SIGSET.
50471         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50472         <bp-checks.h>.
50473         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50474         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50475         <bp-checks.h>.
50476         (do_sigsuspend): Don't use CHECK_SIGSET.
50477         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50478         use CHECK_SIGSET.
50479         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50480         (do_sigwait): Don't use CHECK_SIGSET.
50481         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50482         use CHECK_SIGSET.
50483         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50484         include <bp-checks.h>.
50485         (sigpending): Don't use CHECK_SIGSET.
50486         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50487         include <bp-checks.h>.
50488         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50489         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50490         <bp-checks.h>.
50491         (sigpending): Don't use CHECK_SIGSET.
50492         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50493         <bp-checks.h>.
50494         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50496         [BZ #13550]
50497         * sysdeps/generic/bp-semctl.h: Remove file.
50498         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50499         <bp-checks.h> and <bp-semctl.h>.
50500         (__old_semctl): Don't use CHECK_SEMCTL.
50501         (__new_semctl): Likewise.
50502         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50503         and <bp-semctl.h>.
50504         (__old_semctl): Don't use CHECK_SEMCTL.
50505         (__new_semctl): Likewise.
50506         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50507         <bp-checks.h> and <bp-semctl.h>.
50508         (__old_semctl): Don't use CHECK_SEMCTL.
50509         (__new_semctl): Likewise.
50510         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50511         <bp-checks.h> and <bp-semctl.h>.
50512         (semctl): Don't use CHECK_SEMCTL.
50514         [BZ #13550]
50515         * Makerules (elide-bp-thunks): Remove variable.
50516         (elide-routines.oS): Don't use $(elide-bp-thunks).
50517         (elide-routines.os): Likewise.
50518         (elide-routines.o): Likewise.
50519         (elide-routines.op): Likewise.
50520         (elide-routines.og): Likewise.
50521         (objects): Don't use $(bp-thunks).
50522         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50523         include.
50524         (common-generated): Do not add s-proto-bp.d.
50525         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50526         (int): Likewise.
50527         (typ): Likewise.
50528         Do not generate makefile rules for bounded-pointer thunks.
50529         * sysdeps/generic/bp-thunks.h: Remove file.
50530         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50531         * sysdeps/unix/s-proto-bp.S: Likewise.
50533         [BZ #15062]
50534         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50535         parts of result separately when argument is not close to line from
50536         -i to i and one part of argument is small.
50537         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50538         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50539         * math/libm-test.inc (cacos_test): Add more tests.
50540         (casin_test): Likewise.
50541         (casinh_test): Likewise.
50542         * sysdeps/i386/fpu/libm-test-ulps: Update.
50543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50545 2013-01-31  David S. Miller  <davem@davemloft.net>
50547         * po/de.po: Update from translation team.
50549 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50551         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50553 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50555         * configure.in (_AC_PROG_CC_C89): New definition.
50556         * configure: Regenerate.
50558         * configure.in (AC_PROG_CPP): New definition.
50559         * configure: Regenerate.
50561 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50563         * debug/tst-backtrace.h: New file.
50564         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50565         (ret): Remove variable.
50566         (x): Likewise.
50567         (FAIL): Remove macro.
50568         (NO_INLINE): Likewise.
50569         (fn1): Use match function instead of strstr.
50570         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50571         (ret): Remove variable.
50572         (x): Likewise.
50573         (FAIL): Remove macro.
50574         (NO_INLINE): Likewise.
50575         (fn): Use match function instead of strstr.
50576         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50577         (ret): Remove variable.
50578         (x): Likewise.
50579         (FAIL): Remove macro.
50580         (NO_INLINE): Likewise.
50581         (handle_signal): Use match function instead of strstr.
50582         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50583         (ret): Remove variable.
50584         (x): Likewise.
50585         (FAIL): Remove macro.
50586         (NO_INLINE): Likewise.
50587         (handle_signal): Use match function instead of strstr.
50589 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50591         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50593 2013-01-23  David S. Miller  <davem@davemloft.net>
50595         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50596         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50597         argument of CAS if possible.
50598         * sysdeps/sparc/sparc64/bits/atomic.h
50599         (__arch_compare_and_exchange_val_32_acq): Likewise.
50600         (__arch_compare_and_exchange_val_64_acq): Likewise.
50602 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50604         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50605         * sysdeps/posix/ulimit.c: ... this.
50606         Include <limits.h>.
50607         * sysdeps/unix/bsd/ulimit.c: Remove file.
50609 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50611         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50612         (LDFLAGS-tst-array5): Likewise.
50614 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50616         [BZ #15036]
50617         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50618         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50619         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50620         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50622 2013-01-21  David S. Miller  <davem@davemloft.net>
50624         * sysdeps/sparc/backtrace.c: New file.
50625         * sysdeps/sparc/sparc32/backtrace.h: New file.
50626         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50627         * sysdeps/sparc/sparc64/backtrace.h: New file.
50628         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50629         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50630         -funwind-tables.
50632 2013-01-21  Andreas Schwab  <schwab@suse.de>
50634         [BZ #15020]
50635         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50636         closed its stdout.
50638 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50640         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50641         "mpa2.h".
50642         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50644 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50645             Mark Mitchell  <mark@codesourcery.com>
50646             Tom de Vries  <tom@codesourcery.com>
50647             Paul Pluzhnikov  <ppluzhnikov@google.com>
50649         * debug/tst-backtrace2.c: New file.
50650         * debug/tst-backtrace3.c: Likewise.
50651         * debug/tst-backtrace4.c: Likewise.
50652         * debug/tst-backtrace5.c: Likewise.
50653         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50654         (CFLAGS-tst-backtrace3.c): Likewise.
50655         (CFLAGS-tst-backtrace4.c): Likewise.
50656         (CFLAGS-tst-backtrace5.c): Likewise.
50657         (LDFLAGS-tst-backtrace2): Likewise.
50658         (LDFLAGS-tst-backtrace3): Likewise.
50659         (LDFLAGS-tst-backtrace4): Likewise.
50660         (LDFLAGS-tst-backtrace5): Likewise.
50661         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50662         tst-backtrace4 and tst-backtrace5.
50664 2013-01-18  Anton Blanchard  <anton@samba.org>
50665             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50667         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50668         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50669         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50670         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50672         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50673         "+r" and remove output regs list as redundant.  Add explicit inline
50674         asm to specify register of return val to work around compiler codegen
50675         bug.  Remove (int) cast on return value.  Add return type parameter to
50676         use in macro so that this macro does not truncate return value for
50677         64-bit values.
50678         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50679         pass to INTERNAL_VSYSCALL_NCS.
50680         (INLINE_VSYSCALL): Add 'long int' as return type to
50681         INTERNAL_VSYSCALL_NCS macro invocation.
50682         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50683         INTERNAL_VSYSCALL_NCS macro invocation.
50684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50686 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50688         [BZ #14496]
50689         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50690         Fix application of SIMD FP exception mask.
50692         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50693         mp_no from a power of two.
50694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50695         __mpexp_twomm1.  Use __pow_mp.
50697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50698         multiplication.
50700 2013-01-17  David S. Miller  <davem@davemloft.net>
50702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50704 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50706         [BZ #15023]
50707         * include/complex.h: Condition contents on [!_COMPLEX_H].
50708         (__kernel_casinhf): New prototype.
50709         (__kernel_casinh): Likewise.
50710         (__kernel_casinhl): Likewise.
50711         * math/Makefile (libm_calls): Add k_casinh.
50712         * math/k_casinh.c: New file.
50713         * math/k_casinhf.c: Likewise.
50714         * math/k_casinhl.c: Likewise.
50715         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50716         finite nonzero arguments.
50717         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50718         finite nonzero arguments.
50719         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50720         finite nonzero arguments.
50721         * math/s_casinh.c: Do not include <float.h>.
50722         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50723         * math/s_casinhf.c: Do not include <float.h>.
50724         (__casinhf): Move code for finite nonzero arguments to
50725         k_casinhf.c.
50726         * math/s_casinhl.c: Do not include <float.h>.
50727         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50728         redefine.
50729         (__casinhl): Move code for finite nonzero arguments to
50730         k_casinhl.c.
50731         * math/libm-test.inc (cacos_test): Add more tests.
50732         * sysdeps/i386/fpu/libm-test-ulps: Update.
50733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50735 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50737         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50738         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50739         [!HAVE_MREMAP]: Remove [defined linux] case.
50740         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50742 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50744         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50746 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50748         * elf/elf.h (R_386_SIZE32): New relocation.
50749         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50750         R_386_SIZE32.
50751         (elf_machine_rela): Likewise.
50752         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50753         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50755 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50757         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50758         (FP_FAST_FMA): Do not define.
50759         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50760         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50761         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50762         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50763         !_SOFT_FLOAT]: Likewise.
50764         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50765         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50766         value.
50767         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50768         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50769         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50770         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50771         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50772         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50773         file.
50775 2013-01-16  Andreas Schwab  <schwab@suse.de>
50777         [BZ #14327]
50778         * include/stdlib.h (__mktemp): Add declaration.
50779         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50780         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50782 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50784         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50785         definitions.
50786         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50787         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50788         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50789         definitions here.
50790         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50791         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50792         definitions.
50793         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50794         and ONE.
50795         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50796         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50797         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50798         definitions.
50799         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50800         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50801         definitions.
50802         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50804         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50806 2013-01-15  David S. Miller  <davem@davemloft.net>
50808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50809         trunc{,f} to libm-sysdep_routes.
50810         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50812         file.
50813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50815         file.
50816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50817         file.
50818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50820         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50821         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50822         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50823         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50824         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50825         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50828         nearbyint{,f} to libm-sysdep_routes.
50829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50831         New file.
50832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50833         file.
50834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50835         New file.
50836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50837         file.
50838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50840         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50841         file.
50842         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50843         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50844         file.
50845         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50846         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50847         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50849         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50850         libc_feholdexcept and libc_fesetenv.
50852 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50854         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50856 2013-01-14  David S. Miller  <davem@davemloft.net>
50858         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50859         (SPARC_ASM_VIS2_IFUNC): Likewise.
50860         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50862         use of 'siam' instruction.
50863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50864         Likewise.
50865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50866         Likewise.
50867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50868         Likewise.
50869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50874         file.
50875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50876         file.
50877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50878         file.
50879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50880         file.
50881         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50882         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50883         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50886         new VIS2 routines.
50887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50890         Likewise.
50891         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50893         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50894         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50896         routines to libm-sysdep_routines.
50897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50900         fdim/fdimf to libm-sysdep_routines.
50901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50902         file.
50903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50905         file.
50906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50909         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50910         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50911         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50912         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50914 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50916         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50917         to optimize copies.
50919         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50924         local variable MPTWO.
50925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50926         Likewise.
50928 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50930         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50931         GLOB_NOESCAPE.
50933 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50935         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50937 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50939         * manual/pattern.texi (glob_t): Document gl_flags.
50940         (glob64_t): Likewise.
50942 2013-01-11  David S. Miller  <davem@davemloft.net>
50944         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50945         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50946         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50947         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50948         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50949         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50950         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50951         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50952         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50953         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50954         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50955         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50956         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50958         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50959         sparc V9 rather than using V8 code.
50960         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50961         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50963         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50964         Move to...
50965         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50966         Here.
50968 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50970         [BZ #14941]
50971         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50972         not in the main loop.
50973         * configure: Regenerated.
50975 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50977         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50978         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50979         to just #else.
50980         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50981         [!__GLIBC_HAVE_LONG_LONG] case.
50982         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50983         condition to just #else.
50984         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50985         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50986         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50987         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50988         unconditional.
50989         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50990         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50991         #elif condition to just #else.
50992         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50993         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50994         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50995         #elif condition to just #else.
50997 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50999         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51000         (EF_MIPS_ARCH_64): Fix value.
51001         (EF_MIPS_ARCH_32R2): New.
51002         (EF_MIPS_ARCH_64R2): New.
51004 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51006         * Makeconfig (+link-pie-before-libc): New.
51007         (+link-pie-after-libc): Likewise.
51008         (+link-pie-tests): Likewise.
51009         (+link-pie): Rewritten.
51010         (link-before-libc): Remove $(config-LDFLAGS).
51011         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51012         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51013         (config-LDFLAGS): Renamed to ...
51014         (rtld-LDFLAGS): This.
51015         (rtld-tests-LDFLAGS): New macro.
51016         (link-libc-rpath-link): Likewise.
51017         (link-libc-tests-rpath-link): Likewise.
51018         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51019         (link-libc): Prepand $(link-libc-rpath-link).
51020         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51021         (test-program-prefix): New macro.
51022         (test-via-rtld-prefix): Likewise.
51023         (test-program-cmd): Likewise.
51024         (host-test-program-cmd): Likewise.
51025         * Makefile ($(common-objpfx)testrun.sh): Replace
51026         $(run-program-prefix) with $(test-program-prefix).
51027         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51028         $(rtld-LDFLAGS).
51029         ($(common-objpfx)shlib.lds): Likewise.
51030         (build-module-helper): Likewise.
51031         ($(common-objpfx)format.lds): Likewise.
51032         * Rules (binaries-pie-tests): New.
51033         (binaries-pie-notests): Likewise.
51034         (binaries-pie): Rewritten.
51035         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51036         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51037         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51038         (make-test-out): Replace $(host-built-program-cmd) with
51039         $(host-test-program-cmd).
51040         * config.make.in (build-hardcoded-path-in-tests): New variable.
51041         * configure.in (--enable-hardcoded-path-in-tests): New configure
51042         option.
51043         (hardcoded_path_in_tests): New AC_SUBST.
51044         * configure: Regenerated.
51045         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51046         $(built-program-cmd) with $(test-program-cmd).
51047         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51048         (test_program_cmd): This.
51049         * elf/Makefile ($(objpfx)order.out): Run test with
51050         $(test-program-prefix).
51051         ($(objpfx)order2.out): Likewise.
51052         ($(objpfx)tst-initorder.out): Likewise.
51053         ($(objpfx)tst-initorder2.out): Likewise.
51054         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51055         $(test-program-cmd).
51056         ($(objpfx)tst-array1-static.out): Likewise.
51057         ($(objpfx)tst-array2.out): Likewise.
51058         ($(objpfx)tst-array3.out): Likewise.
51059         ($(objpfx)tst-array4.out): Likewise.
51060         ($(objpfx)tst-array5.out): Likewise.
51061         ($(objpfx)tst-array5-static.out): Likewise.
51062         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51063         $(test-program-cmd).
51064         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51065         $(run-program-prefix) with $(test-program-prefix).
51066         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51067         (test_program_prefix): This.
51068         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51069         $(run-program-prefix) with $(test-program-prefix).
51070         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51071         (test_program_prefix): This.
51072         * iconvdata/tst-tables.sh: Likewise.
51073         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51074         $(run-program-prefix) with $(test-program-prefix).
51075         ($(objpfx)tst-translit.out): Likewise.
51076         ($(objpfx)tst-gettext2.out): Likewise.
51077         ($(objpfx)tst-gettext4.out): Likewise.
51078         ($(objpfx)tst-gettext6.out): Likewise.
51079         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51080         (test_program_prefix): This.
51081         * intl/tst-gettext2.sh: Likewise.
51082         * intl/tst-gettext4.sh  Likewise.
51083         * intl/tst-gettext6.sh: Likewise.
51084         * intl/tst-translit.sh: Likewise.
51085         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51086         with $(test-program-cmd).
51087         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51088         $(run-program-prefix) with $(test-program-prefix).
51089         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51090         (test_program_prefix): This.
51091         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51092         $(run-program-prefix) with $(test-program-prefix).
51093         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51094         (test_program_prefix): This.
51095         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51096         * posix/Makefile ($(objpfx)globtest.out): Replace
51097         $(run-via-rtld-prefix) and $(test-wrapper) with
51098         $(test-program-prefix) and $(test-via-rtld-prefix).
51099         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51100         $(test-program-prefix).
51101         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51102         $(host-test-program-cmd).
51103         (tst-spawn-ARGS): Likewise.
51104         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51105         $(test-program-prefix).
51106         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51107         (test_via_rtld_prefix): This.
51108         (test_wrapper): Renamed to ...
51109         (test_program_prefix): This.
51110         (run_program_prefix): Replaced by test_program_prefix.
51111         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51112         (test_program_prefix): This.
51113         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51114         with $(host-test-program-cmd).
51115         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51116         $(run-program-prefix) with $(test-program-prefix).
51117         ($(objpfx)tst-printf.out): Likewise.
51118         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51119         $(test-program-cmd).
51120         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51121         (test_program_prefix): This.
51122         * stdio-common/tst-unbputc.sh: Likewise.
51123         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51124         $(run-program-prefix) with $(test-program-prefix).
51125         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51126         (test_program_prefix): This.
51127         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51128         $(built-program-cmd) with $(test-program-cmd).
51130 2013-01-11  Andreas Jaeger  <aj@suse.de>
51132         [BZ #15003]
51133         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51134         value. Sync with Linux 3.7.
51136 2013-01-10  David S. Miller  <davem@davemloft.net>
51138         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51139         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51140         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51142 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51144         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51145         never set.
51146         * configure: Regenerated.
51148 2013-01-10  David S. Miller  <davem@davemloft.net>
51150         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51151         sparc V9 rather than using V8 code.
51152         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51153         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51155 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51157         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51158         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51159         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51160         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51161         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51162         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51163         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51164         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51165         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51166         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51167         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51168         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51169         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51170         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51171         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51172         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51173         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51174         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51175         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51176         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51177         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51178         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51179         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51180         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51181         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51182         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51183         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51185 2013-01-10  David S. Miller  <davem@davemloft.net>
51187         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51191         * posix/Makefile (tests-static): New variable.
51192         (tests): Add $(tests-static).
51193         (tst-exec-static-ARGS): New variable.
51194         (tst-spawn-static-ARGS): Likewise.
51195         * posix/tst-exec-static.c: New file.
51196         * posix/tst-spawn-static.c: Likewise.
51197         * posix/tst-exec.c: Support run directly.
51198         * posix/tst-spawn.c: Likewise.
51200 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51202         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51203         long.
51204         * math/bits/mathcalls.h (llrint): Likewise.
51205         (llround): Likewise.
51206         * stdlib/stdlib.h (struct drand48_data): Likewise.
51207         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51208         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51209         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51210         Likewise.
51211         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51212         Likewise.
51213         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51214         (elf_greg_t): Likewise.
51215         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51216         (__jmp_buf): Likewise.
51217         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51218         definitions.
51219         (llrint): Likewise, for all definitions.
51220         (llrintl): Likewise.
51222         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51223         Remove [__GNUC__] condition.
51224         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51225         condition to just [__USE_ISOC99].
51226         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51228 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51230         [BZ #14200]
51231         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51232         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51233         defined.
51234         (_POSIX_V6_ILP32_OFF32): Likewise.
51235         (_XBS5_ILP32_OFF32): Likewise.
51236         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51237         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51239 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51241         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51244         doubles __mpexp_twomm1.  Adjust usage.
51245         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51246         Remove.
51248 2013-01-10  Andreas Schwab  <schwab@suse.de>
51250         [BZ #14964]
51251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51252         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51254 2013-01-09  David S. Miller  <davem@davemloft.net>
51256         [BZ #15003]
51257         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51258         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51259         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51260         (TCP_FASTOPEN): Define.
51261         (tcp_repair_opt): New structure.
51262         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51263         enum values.
51264         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51265         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51266         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51267         (tcp_cookie_transactions): New structure.
51269 2013-01-09  Anton Blanchard  <anton@samba.org>
51271         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51272         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51273         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51274         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51276 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51278         * include/features.h (__USE_ANSI): Remove.
51280 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51282         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51284         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51286 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51288         * sysdeps/s390/fpu/libm-test-ulps: Update.
51290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51292         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51293         (__acr): Likewise.
51294         (__cpy): Likewise.
51295         (norm): Likewise.
51296         (denorm): Likewise.
51297         (__mp_dbl): Likewise.
51298         (__dbl_mp): Likewise.
51299         (add_magnitudes): Likewise.
51300         (sub_magnitudes): Likewise.
51301         (__add): Likewise.
51302         (__sub): Likewise.
51303         (__mul): Likewise.
51304         (__inv): Likewise.
51305         (__dvd): Likewise.
51306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51307         (__acr): Likewise.
51308         (__cpy): Likewise.
51309         (norm): Likewise.
51310         (denorm): Likewise.
51311         (__mp_dbl): Likewise.
51312         (__dbl_mp): Likewise.
51313         (add_magnitudes): Likewise.
51314         (sub_magnitudes): Likewise.
51315         (__add): Likewise.
51316         (__sub): Likewise.
51317         (__mul): Likewise.
51318         (__inv): Likewise.
51319         (__dvd): Likewise.
51320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51321         (__acr): Likewise.
51322         (__cpy): Likewise.
51323         (norm): Likewise.
51324         (denorm): Likewise.
51325         (__mp_dbl): Likewise.
51326         (__dbl_mp): Likewise.
51327         (add_magnitudes): Likewise.
51328         (sub_magnitudes): Likewise.
51329         (__add): Likewise.
51330         (__sub): Likewise.
51331         (__mul): Likewise.
51332         (__inv): Likewise.
51333         (__dvd): Likewise.
51335 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51337         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51338         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51339         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51340         2 && __USE_EXTERN_INLINES]: Likewise.
51342 2013-01-08  Andreas Jaeger  <aj@suse.de>
51344         [BZ# 14985]
51345         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51346         Remove.
51347         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51348         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51350 2013-01-07  Anton Blanchard  <anton@samba.org>
51352         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51353         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51354         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51355         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51356         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51357         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51358         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51359         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51360         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51361         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51362         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51363         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51364         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51365         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51366         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51369         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51370         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51371         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51372         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51373         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51374         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51375         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51376         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51377         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51378         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51379         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51381         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51382         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51384         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51385         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51386         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51387         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51388         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51389         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51390         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51391         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51392         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51393         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51394         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51396 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51398         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51399         (__MALLOC_PMT): Likewise.
51400         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51401         [__GNUC__], only on [_LIBC].
51402         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51403         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51404         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51405         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51406         forward declaration.
51407         (realloc_hook_ini): Likewise.
51408         (memalign_hook_ini): Likewise.
51409         (__libc_memalign): Do not use __MALLOC_PMT in variable
51410         declaration.
51411         (__libc_valloc): Likewise.
51412         (__libc_pvalloc): Likewise.
51413         (__libc_calloc): Likewise.
51414         (__posix_memalign): Likewise.
51416         [BZ #14996]
51417         * math/s_casinh.c: Include <float.h>.
51418         (__casinh): Do not do computation with squaring and square root
51419         for large arguments.
51420         * math/s_casinhf.c: Include <float.h>.
51421         (__casinhf): Do not do computation with squaring and square root
51422         for large arguments.
51423         * math/s_casinhl.c: Include <float.h>.
51424         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51425         (__casinhl): Do not do computation with squaring and square root
51426         for large arguments.
51427         * math/libm-test.inc (casin_test): Add more tests.
51428         (casinh_test): Likewise.
51429         * sysdeps/i386/fpu/libm-test-ulps: Update.
51430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51432 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51434         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51435         (__x86_64_raw_data_cache_size): Likewise.
51436         (__x86_64_data_cache_size_half): Likewise.
51437         (__x86_64_raw_data_cache_size_half): Likewise.
51438         (__x86_64_shared_cache_size): Likewise.
51439         (__x86_64_raw_shared_cache_size): Likewise.
51440         (__x86_64_shared_cache_size_half): Likewise.
51441         (__x86_64_raw_shared_cache_size_half): Likewise.
51442         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51443         to ...
51444         (__x86_data_cache_size): This.
51445         (__x86_64_raw_data_cache_size): Renamed to ...
51446         (__x86_raw_data_cache_size): This.
51447         (__x86_64_data_cache_size_half): Renamed to ...
51448         (__x86_data_cache_size_half): This.
51449         (__x86_64_raw_data_cache_size_half): Renamed to ...
51450         (__x86_raw_data_cache_size_half): This.
51451         (__x86_64_shared_cache_size): Renamed to ...
51452         (__x86_shared_cache_size): This.
51453         (__x86_64_raw_shared_cache_size): Renamed to ...
51454         (__x86_raw_shared_cache_size): This.
51455         (__x86_64_shared_cache_size_half): Renamed to ...
51456         (__x86_shared_cache_size_half): This.
51457         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51458         (__x86_raw_shared_cache_size_half): This.
51459         * sysdeps/x86_64/memcpy.S: Updated.
51460         * sysdeps/x86_64/memset.S: Likewise.
51461         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51462         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51463         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51465 2013-01-04  David S. Miller  <davem@davemloft.net>
51467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51469 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51471         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51472         1 to avoid redefinition warning.
51473         (__USE_GNU): Don't define.
51474         (init_signaling_nan): Protoize.
51476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51478 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51480         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51481         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51482         (__cpymn): Likewise.
51483         (norm): Remove commented code.
51484         (denorm): Likewise.
51485         (__mp_dbl): Likewise.
51486         (__inv): Likewise.
51487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51488         (__cpymn): Likewise.
51489         (norm): Remove commented code.
51490         (denorm): Likewise.
51491         (__mp_dbl): Likewise.
51492         (__inv): Likewise.
51494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51495         mp_no value for 1.0 and 2.0.
51496         (norm): Use RADIXI instead of radixi.d.
51497         (denorm): Likewise.
51498         (__mul): Use 0.0 instead of zero.d.
51499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51500         mp_no value for 1.0 and 2.0.
51501         (norm): Use RADIXI instead of radixi.d.
51502         (denorm): Likewise.
51503         (__mul): Use 0.0 instead of zero.d.
51505 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51507         [BZ #14994]
51508         * math/s_casinh.c (__casinh): Reduce finite argument to first
51509         quadrant then set signs of results at the end.
51510         * math/s_casinhf.c (__casinhf): Likewise.
51511         * math/s_casinhl.c (__casinhl): Likewise.
51512         * math/libm-test.inc (casin_test): Add more tests.
51513         (casinh_test): Likewise.
51514         * sysdeps/i386/fpu/libm-test-ulps: Update.
51515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51517 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51519         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51521         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51523         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51524         declarations.
51525         (denorm): Likewise.
51526         (__mp_dbl): Likewise.
51527         (__inv): Likewise.
51529         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51530         and adjust the header comment.
51532         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51533         variable name from declaration.
51535 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51537         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51538         Initialize COMMON_CPUID_INDEX_7 element.
51539         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51540         (CPUID_RTM): Likewise.
51541         (HAS_RTM): Likewise.
51542         (COMMON_CPUID_INDEX_7): New enum.
51544 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51546         [BZ #14981]
51547         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51548         size is zero, record memory as freed.
51550 2013-01-03  Andreas Jaeger  <aj@suse.de>
51552         * po/ia.po: Add new Interlingua translation.
51554 2012-01-03  Allan McRae  <allan@archlinux.org>
51556         * locale/programs/localedef.c: Fix description of '--posix' flag.
51558 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51560         * NEWS: Update dates in second copyright notice.
51561         * README: Update copyright dates in example.
51562         * manual/libc.texinfo: Update copyright dates.
51563         * scripts/test-installation.pl: Update copyright date in --version
51564         output.
51566         * hurd/ctty-input.c: Fix copyright notice formatting.
51567         * hurd/ctty-output.c: Likewise.
51568         * hurd/dtable.c: Likewise.
51569         * hurd/hurd-raise.c: Likewise.
51570         * hurd/hurdprio.c: Likewise.
51571         * hurd/msgportdemux.c: Likewise.
51572         * misc/sys/file.h: Likewise.
51573         * misc/sys/ioctl.h: Likewise.
51574         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51575         * sysdeps/mach/hurd/chdir.c: Likewise.
51576         * sysdeps/mach/hurd/fchdir.c: Likewise.
51577         * sysdeps/mach/hurd/rename.c: Likewise.
51578         * sysdeps/mach/hurd/rmdir.c: Likewise.
51579         * sysdeps/mach/hurd/seekdir.c: Likewise.
51580         * sysdeps/mach/hurd/setsid.c: Likewise.
51581         * sysdeps/posix/wait3.c: Likewise.
51583         * All files with FSF copyright notices: Update copyright dates
51584         using scripts/update-copyrights.
51585         * intl/plural.c: Regenerated.
51586         * locale/programs/charmap-kw.h: Likewise.
51587         * locale/programs/locfile-kw.h: Likewise.
51589 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51591         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51592         four values.
51594         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51595         calculation loop and add branch prediction.
51597         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51598         check access beyond bounds of m1np.
51600         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51601         MPTWO.
51602         (__inv): Remove local variable MPTWO to use the global
51603         constant.
51604         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51605         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51606         variable MPTWO.
51607         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51608         MP3HALFS static const.
51610 2013-01-01  David S. Miller  <davem@davemloft.net>
51612         * po/ca.po: Update from translation team.
51614 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51616         * scripts/update-copyrights: New file.
51617         * Makeconfig: Reformat copyright notice.
51618         * ctype/ctype.h: Likewise.
51619         * debug/swprintf_chk.c: Likewise.
51620         * elf/dl-cache.c: Likewise.
51621         * elf/dl-debug.c: Likewise.
51622         * elf/dl-object.c: Likewise.
51623         * grp/initgroups.c: Likewise.
51624         * hurd/Makefile: Likewise.
51625         * hurd/hurd/signal.h: Likewise.
51626         * hurd/hurdfault.c: Likewise.
51627         * hurd/hurdioctl.c: Likewise.
51628         * hurd/hurdlookup.c: Likewise.
51629         * hurd/intr-msg.c: Likewise.
51630         * iconv/gconv_open.c: Likewise.
51631         * libio/swprintf.c: Likewise.
51632         * locale/lc-ctype.c: Likewise.
51633         * locale/nl_langinfo.c: Likewise.
51634         * mach/Machrules: Likewise.
51635         * mach/Makefile: Likewise.
51636         * malloc/obstack.h: Likewise.
51637         * manual/Makefile: Likewise.
51638         * manual/tsort.awk: Likewise.
51639         * misc/bits/stab.def: Likewise.
51640         * nis/nis_print_group_entry.c: Likewise.
51641         * nis/nis_table.c: Likewise.
51642         * nis/nss_compat/compat-pwd.c: Likewise.
51643         * nis/nss_compat/compat-spwd.c: Likewise.
51644         * po/Makefile: Likewise.
51645         * posix/fnmatch.c: Likewise.
51646         * posix/regex.h: Likewise.
51647         * resolv/Makefile: Likewise.
51648         * resolv/nss_dns/dns-network.c: Likewise.
51649         * resolv/res_hconf.c: Likewise.
51650         * scripts/gen-sorted.awk: Likewise.
51651         * soft-fp/soft-fp.h: Likewise.
51652         * stdio-common/printf.h: Likewise.
51653         * stdlib/monetary.h: Likewise.
51654         * stdlib/random.c: Likewise.
51655         * stdlib/random_r.c: Likewise.
51656         * sysdeps/generic/Makefile: Likewise.
51657         * sysdeps/gnu/Makefile: Likewise.
51658         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51659         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51660         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51661         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51662         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51663         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51664         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51665         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51666         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51667         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51668         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51669         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51670         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51671         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51672         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51673         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51674         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51675         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51676         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51677         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51678         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51679         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51680         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51681         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51682         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51683         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51684         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51686         * sysdeps/mach/hurd/errnos.awk: Likewise.
51687         * sysdeps/mach/hurd/fork.c: Likewise.
51688         * sysdeps/mach/hurd/getcwd.c: Likewise.
51689         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51690         * sysdeps/mach/hurd/mmap.c: Likewise.
51691         * sysdeps/mach/hurd/utimes.c: Likewise.
51692         * sysdeps/mach/hurd/xmknod.c: Likewise.
51693         * sysdeps/posix/profil.c: Likewise.
51694         * sysdeps/posix/readdir_r.c: Likewise.
51695         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51696         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51697         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51698         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51700         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51701         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51702         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51704         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51705         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51706         * sysdeps/pthread/lio_listio.c: Likewise.
51707         * sysdeps/sparc/dl-procinfo.h: Likewise.
51708         * sysdeps/unix/i386/sysdep.S: Likewise.
51709         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51710         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51711         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51712         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51714         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51715         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51716         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51717         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51718         * sysdeps/wordsize-32/divdi3.c: Likewise.
51719         * time/sys/time.h: Likewise.
51720         * wcsmbs/Makefile: Likewise.
51722 2013-01-01  David S. Miller  <davem@davemloft.net>
51724         * po/fr.po: Update from translation team.
51726         * catgets/gencat.c: Update copyright year.
51727         * csu/version.c: Likewise.
51728         * debug/catchsegv.sh: Likewise.
51729         * debug/pcprofiledump.c: Likewise.
51730         * debug/xtrace.sh: Likewise.
51731         * elf/ldconfig.c: Likewise.
51732         * elf/ldd.bash.in: Likewise.
51733         * elf/pldd.c: Likewise.
51734         * elf/sotruss.ksh: Likewise.
51735         * elf/sprof.c: Likewise.
51736         * iconv/iconv_prog.c: Likewise.
51737         * iconv/iconvconfig.c: Likewise.
51738         * locale/programs/locale.c: Likewise.
51739         * locale/programs/localedef.c: Likewise.
51740         * login/programs/pt_chown.c: Likewise.
51741         * malloc/memusage.sh: Likewise.
51742         * malloc/memusagestat.c: Likewise.
51743         * malloc/mtrace.pl: Likewise.
51744         * nscd/nscd.c: Likewise.
51745         * nss/getent.c: Likewise.
51746         * nss/makedb.c: Likewise.
51747         * posix/getconf.c: Likewise.
51749 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51751         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51752         numbers.
51754 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51756         * math/bits/mathcalls.h (modf): Use __nonnull.
51758 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51760         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51761         (split): Use macro CN instead of the bare value.
51762         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51763         could be used.
51764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51765         instead of the bare value.
51766         (power1): Likewise.
51768 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51770         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51771         __ATAN_TWOM.
51772         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51774         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51775         their values.
51776         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51777         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51778         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51779         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51781 2012-12-28  Andreas Jaeger  <aj@suse.de>
51783         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51784         values are from Linux 3.7.
51786         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51787         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51789 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51791         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51792         TRUE case.
51794         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51795         (norm): Likewise.
51796         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51797         variables with preprocessor constants.
51798         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51799         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51800         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51802 2012-12-27  Bruno Haible  <bruno@clisp.org>
51804         [BZ #14317]
51805         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51806         only if needed.
51808 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51811         and use variable directly.
51812         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51814         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51815         MPONE.
51816         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51817         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51818         variable MPONE.
51819         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51820         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51821         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51822         include directive.  Remove local variable MPONE.
51823         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51824         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51825         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51827 2012-12-25  David S. Miller  <davem@davemloft.net>
51829         * version.h (RELEASE): Set to "development".
51830         (VERSION): Set to "2.17.90".
51831         * NEWS: Add 2.18 section.
51833 2012-12-21  David S. Miller  <davem@davemloft.net>
51835         * po/hr.po: Update from translation team.
51837 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51839         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51841 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51843         * NEWS:  Mention new memcpy for MIPS.
51845 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51847         * manual/contrib.texi (Contributors): Spelling correction.
51849 2012-12-15  David S. Miller  <davem@davemloft.net>
51851         * po/ru.po: Update from translation team.
51853 2012-12-13  David S. Miller  <davem@davemloft.net>
51855         * NEWS: Mention IFUNC testsuite enhancements.
51857         * po/pl.po: Update from translation team.
51858         * po/bg.po: Likewise.
51860         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51861         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51863 2012-12-11  David S. Miller  <davem@davemloft.net>
51865         * po/sv.po: Update from translation team.
51867         * po/vi.po: Update from translation team.
51869         * po/cs.po: Update from translation team.
51871         * po/de.po: Update from translation team.
51872         * po/eo.po: Likewise.
51873         * po/nl.po: Likewise.
51875 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51877         [BZ #14246]
51878         * manual/argp.texi (Argp Helper Functions): Move node to follow
51879         Argp Parsing State.
51881         [BZ #14872]
51882         * manual/conf.texi (Limits on File System Capacity): Mention if
51883         terminating null is included in the max size.
51885 2012-12-10  Andreas Jaeger  <aj@suse.de>
51887         * po/cs.po: Update from translation team.
51889 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51891         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51892         void pointer and cast to uintptr_t.
51893         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51894         path.
51895         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51896         * sysdeps/s390/s390-64/memset.S: Likewise.
51898 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51900         [BZ #14833]
51901         * menual/message.texi (Message Translation): Fix typos.
51902         (Helper programs for gettext): Likewise.
51904 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51906         [BZ #14898]
51907         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51908         Change to -1.
51910 2012-12-07  David S. Miller  <davem@davemloft.net>
51912         * po/libc.pot: Update.
51914 2012-12-07  Richard Henderson  <rth@redhat.com>
51916         [BZ #10114]
51917         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51918         normal/normal case to before the switch.
51919         (_FP_DIV): Likewise.
51921 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51922             Mike Frysinger  <vapier@gentoo.org>
51924         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51925         check for __NR_fadvise64_64.
51927 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51929         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51930         0, not just to plain "0" as a statement.
51931         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51932         with cw.
51934 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51936         * NEWS: Use sourceware.org in Bugzilla URL.
51938 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51941         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51943         * stdio-common/tst-put-error.c (do_test): Add newline to the
51944         padded test to ensure flush.
51946 2012-12-05  Jeff Law  <law@redhat.com>
51948         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51950 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51952         * README: Don't refer to ports add-on as distributed separately.
51953         Mention AArch64 in list of systems supported in the ports add-on.
51955         * LICENSES: Add more non-FSF copyright and license notices.
51957         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51958         ((unused)).
51960         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51962         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51963         10000 as width of padded output.
51965 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51967         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51969         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51970         variable LX with __attribute__ ((unused)).
51971         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51972         Likewise.
51973         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51974         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51976         with __attribute__ ((unused)).
51978 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51980         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51982 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51984         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51985         (CFLAGS-nldbl-acos.c): New variable.
51986         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51987         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51988         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51989         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51990         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51991         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51992         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51993         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51994         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51995         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51996         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51997         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51998         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51999         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52000         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52001         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52002         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52003         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52004         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52005         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52006         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52007         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52008         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52009         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52010         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52011         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52012         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52013         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52014         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52015         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52016         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52017         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52018         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52019         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52020         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52021         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52022         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52023         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52024         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52025         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52026         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52027         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52028         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52029         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52030         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52031         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52032         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52033         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52034         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52035         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52036         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52037         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52038         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52039         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52040         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52041         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52042         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52043         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52044         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52045         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52046         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52047         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52048         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52049         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52050         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52051         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52052         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52053         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52054         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52055         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52056         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52057         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52058         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52059         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52060         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52061         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52062         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52063         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52064         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52065         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52066         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52067         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52068         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52069         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52070         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52071         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52072         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52073         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52074         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52075         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52076         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52077         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52078         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52079         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52080         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52081         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52082         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52085         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52087         [BZ #14914]
52088         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52089         whole low double instead of just low 47 bits when splitting values
52090         into two parts.
52092 2012-12-03  Allan McRae  <allan@archlinux.org>
52094         * manual/stdio.texi (Predefined Printf Handlers): Remove
52095         @hsep and @vsep usage.
52097 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52099         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52100         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52102 2012-12-03  Jeff Law  <law@redhat.com>
52104         * time/sys/time.h (settimeofday): Do not mark TV argument
52105         as __nonnull.
52107 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52109         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52110         when currently writing and seek to current position when not.
52111         * libio/Makefile (tests): Remove bug-fclose1.
52112         * libio/bug-fclose1.c: Delete.
52114 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52116         * manual/arith.texi (feenableexcept): Fix typo.
52117         (fedisableexcept): Likewise.
52119 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52121         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52122         second, differently-typed declaration, rather than a cast.
52124 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52126         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52127         * include/rpc/svc.h: ... here.
52129 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52131         [BZ #13013]
52132         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52133         depending n and resplen2 to catch cases where answer
52134         equals answerp2.
52136 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52138         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52139         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52141 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52143         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52145 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52147         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52149 2012-11-28  Jeff Law  <law@redhat.com>
52151         [BZ #13761]
52152         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52153         dataset_temporary.  Track alloca usage into alloca_used.
52154         If dataset is large allocate and release it via malloc/free.
52156 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52158         [BZ #14197]
52159         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52161 2012-11-28  David S. Miller  <davem@davemloft.net>
52163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52165 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52167         [BZ #14803]
52168         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52169         of pi/2 rounded to nearest to 64 bits.
52170         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52171         nearest to 64 bits.
52172         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52173         bits.
52175 2012-11-28  Jeff Law <law@redhat.com>
52176             Martin Osvald <mosvald@redhat.com>
52178         [BZ #14889]
52179         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52180         * sunrpc/svc.c: Include time.h.
52181         (__svc_accept_failed): New function.
52182         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52183         any reason other than EINTR, call __svc_accept_failed.
52184         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52185         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52187 2012-11-28  Andreas Schwab  <schwab@suse.de>
52189         * scripts/abilist.awk: Also handle indirect functions in .opd
52190         section.
52192 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52194         [BZ #13881]
52195         * sysdeps/x86/fpu/powl_helper.c: New file.
52196         * sysdeps/x86/fpu/Makefile: Likewise.
52197         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52198         (p3): New object.
52199         (__ieee754_powl): Use __powl_helper for finite arguments except
52200         integer exponents below 8.
52201         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52202         (p3): New object.
52203         (__ieee754_powl): Use __powl_helper for finite arguments except
52204         integer exponents below 8.
52205         * math/libm-test.inc (pow_test): Add more tests and enable some
52206         previously disabled tests.
52207         * sysdeps/i386/fpu/libm-test-ulps: Update.
52208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52210 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52211             Carlos O'Donell  <carlos_odonell@mentor.com>
52213         * nss/makedb.c (is_prime): Assert that input is odd and greater
52214         than 4.  Note that fact in a comment too.
52215         (next_prime): Add 4 to input.
52217 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52219         [BZ #11741]
52220         * libio/Makefile (tests): Add test case tst-fwrite-error.
52221         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52222         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52223         * libio/tst-fwrite-error.c: New test case.
52225 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52227         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52228         before casting to void *.
52229         * include/libc-internal.h (__pointer_type): New macro.
52230         (__integer_if_pointer_type_sub): Likewise.
52231         (__integer_if_pointer_type): Likewise.
52232         (cast_to_integer): Likewise.
52233         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52234         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52235         before casting to atomic64_t.
52236         (atomic_exchange_acq): Likewise.
52237         (__arch_exchange_and_add_body): Likewise.
52238         (__arch_add_body): Likewise.
52239         (atomic_add_negative): Likewise.
52240         (atomic_add_zero): Likewise.
52242 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52244         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52245         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52246         (add_fdes): Likewise.
52247         (linear_search_fdes): Likewise.
52248         (binary_search_unencoded_fdes): Likewise.
52250 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52252         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52254 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52256         * configure.in: Autodetect C++ header directories.
52257         * configure: Regenerated.
52259 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52261         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52263 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52267 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52269         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52270         LDBL_MANT_DIG == 106]: Disable some tests.
52271         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52272         Likewise.
52273         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52274         Likewise.
52276         [BZ #14871]
52277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52278         input for small inputs.  Return +/- pi/2 for large inputs.
52279         * math/libm-test.inc (atan_test): Add more tests.
52281         * sysdeps/generic/unwind-dw2-fde-glibc.c
52282         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52283         __attribute__ ((unused)).
52285         [BZ #14645]
52286         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52287         x * y if x and y are nonzero and z is zero.
52289         [BZ #14811]
52290         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52291         nonzero exponents with absolute value below 0x1p-117 to +/-
52292         0x1p-117.
52294         [BZ #14869]
52295         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52296         up arguments below 2**-450, not just those below 2**-500.
52297         * math/libm-test.inc (hypot_test): Add another test.
52299         [BZ #14868]
52300         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52301         Return a+b for ratio over 2**120, not 2**60.
52302         * math/libm-test.inc (hypot_test): Add another test.
52304         * math/libm-test.inc (clog_test): Use
52305         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52306         (clog10_test): Likewise.
52308         [BZ #6778]
52309         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52311 2012-11-22  Andreas Schwab  <schwab@suse.de>
52313         * sysdeps/i386/fpu/libm-test-ulps: Update.
52315 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52317         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52318         printf output with newline.
52320 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52322         [BZ #14865]
52323         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52324         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52325         -z nodlopen, -z initfirst and -z execstack support.
52326         * configure: Regenerated.
52328         * elf/elf.h (DF_1_NODIRECT): New macro.
52329         (DF_1_IGNMULDEF): Likewise.
52330         (DF_1_NOKSYMS): Likewise.
52331         (DF_1_NOHDR): Likewise.
52332         (DF_1_EDITED): Likewise.
52333         (DF_1_NORELOC): Likewise.
52334         (DF_1_SYMINTPOSE): Likewise.
52335         (DF_1_GLOBAUDIT): Likewise.
52336         (DF_1_SINGLETON): Likewise.
52337         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52338         DT_1_SUPPORTED_MASK bits.
52339         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52341 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52343         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52345 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52347         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52348         macro.
52350         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52351         (sendmmsg): Move declarations...
52352         * socket/sys/socket.h: ... here.
52353         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52354         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52355         include it from...
52356         * socket/recvmmsg.c: ... this new file.
52357         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52358         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52359         definition of __sendmmsg hidden.
52360         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52361         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52362         Move ENOSYS stub into and include it from...
52363         * socket/sendmmsg.c: ... this new file.
52364         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52365         (sysdep_routines): Move recvmmsg and sendmmsg...
52366         * socket/Makefile (routines): ... here.
52367         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52368         (GLIBC_PRIVATE): Add __sendmmsg.
52369         * include/sys/socket.h (__sendmmsg): Add declarations.
52370         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52371         sendmmsg.
52373 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52375         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52376         variable I1 with __attribute__ ((unused)).
52377         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52379 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52381         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52382         DUMMY variables with __attribute__ ((unused)).
52384         * bits/byteswap.h: Include <bits/types.h>.
52385         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52387 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52389         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52390         string_t.  Do not manually set errno.
52391         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52392         length with __strnlen.  Make sure to both set errno and return it on
52393         failure.
52395 2012-11-19  David S. Miller  <davem@davemloft.net>
52397         With help from Joseph Myers.
52398         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52399         very large arguments properly.
52400         * math/libm-test.inc (atan_test): New tests.
52401         (atan2_test): New tests.
52402         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52403         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52405 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52407         [BZ #14856]
52408         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52409         Define to 3.
52411         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52412         [POSIX] (EADDRNOTAVAIL): Likewise.
52413         [POSIX] (EAFNOSUPPORT): Likewise.
52414         [POSIX] (EALREADY): Likewise.
52415         [POSIX] (ECONNABORTED): Likewise.
52416         [POSIX] (ECONNREFUSED): Likewise.
52417         [POSIX] (ECONNRESET): Likewise.
52418         [POSIX] (EDESTADDRREQ): Likewise.
52419         [POSIX] (EDQUOT): Likewise.
52420         [POSIX] (EHOSTUNREACH): Likewise.
52421         [POSIX] (EIDRM): Likewise.
52422         [POSIX] (EISCONN): Likewise.
52423         [POSIX] (ELOOP): Likewise.
52424         [POSIX] (EMULTIHOP): Likewise.
52425         [POSIX] (ENETDOWN): Likewise.
52426         [POSIX] (ENETUNREACH): Likewise.
52427         [POSIX] (ENOBUFS): Likewise.
52428         [POSIX] (ENODATA): Likewise.
52429         [POSIX] (ENOLINK): Likewise.
52430         [POSIX] (ENOMSG): Likewise.
52431         [POSIX] (ENOPROTOOPT): Likewise.
52432         [POSIX] (ENOSR): Likewise.
52433         [POSIX] (ENOSTR): Likewise.
52434         [POSIX] (ENOTCONN): Likewise.
52435         [POSIX] (ENOTSOCK): Likewise.
52436         [POSIX] (EOPNOTSUPP): Likewise.
52437         [POSIX] (EOVERFLOW): Likewise.
52438         [POSIX] (EPROTO): Likewise.
52439         [POSIX] (EPROTONOSUPPORT): Likewise.
52440         [POSIX] (EPROTOTYPE): Likewise.
52441         [POSIX] (ESTALE): Likewise.
52442         [POSIX] (ETIME): Likewise.
52443         [POSIX] (ETXTBSY): Likewise.
52444         [POSIX] (EWOULDBLOCK): Likewise.
52445         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52446         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52447         [POSIX] (SEEK_CUR): Likewise.
52448         [POSIX] (SEEK_END): Likewise.
52449         [POSIX || UNIX98] (mode_t): Do not require.
52450         [POSIX] (off_t): Likewise.
52451         [POSIX] (pid_t): Likewise.
52452         [POSIX] (sys/stat.h): Do not allow header.
52453         [POSIX] (unistd.h): Likewise.
52454         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52455         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52456         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52457         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52458         require.
52459         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52460         sigevent): Specify elements.
52461         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52462         entry.
52463         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52464         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52466         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52467         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52468         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52469         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52470         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52471         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52472         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52473         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52474         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52475         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52476         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52477         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52478         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52479         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52480         Likewise.
52481         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52482         Likewise.
52483         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52484         Likewise.
52485         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52486         Likewise.
52487         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52488         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52489         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52490         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52491         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52492         Specify lower bound on value.
52493         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52494         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52495         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52496         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52497         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52498         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52499         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52500         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52501         value.
52502         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52503         as optional.
52504         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52505         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52506         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52507         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52508         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52509         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52510         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52511         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52512         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52513         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52514         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52515         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52516         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52517         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52518         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52519         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52520         entry.
52521         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52522         optional.
52523         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52524         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52525         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52526         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52527         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52528         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52529         Likewise.
52530         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52531         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52532         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52533         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52534         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52535         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52536         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52537         as optional.
52538         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52539         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52540         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52541         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52542         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52543         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52544         specify as optional.
52545         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52546         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52547         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52548         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52549         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52550         [XPG3] (NL_LANGMAX): Likewise.
52551         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52552         [POSIX || XPG3] (NL_NMAX): Likewise.
52553         [POSIX || XPG3] (NL_SETMAX): Likewise.
52554         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52555         [XPG3] (NZERO): Likewise.
52556         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52557         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52558         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52559         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52560         (REG_ERANGE): Expect.
52561         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52562         optional-constant.
52563         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52564         Use (void) in prototype.
52565         [POSIX] (*_t): Allow.
52566         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52567         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52568         (WRDE_BADVAL): Expect.
52570         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52571         expect.
52572         [XPG3 || XPG4] (O_RSYNC): Likewise.
52573         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52574         Likewise.
52575         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52576         [XPG3 || XPG4] (sigqueue): Likewise.
52577         [XPG3 || XPG4] (sigtimedwait): Likewise.
52578         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52579         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52580         [XPG3 || XPG4] (vsnprintf): Likewise.
52581         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52582         Likewise.
52583         [XPG3 || XPG4] (blksize_t): Likewise.
52584         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52585         Likewise.
52586         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52587         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52588         [XPG3 || XPG4] (struct itimerspec): Likewise.
52589         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52590         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52591         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52592         [XPG3 || XPG4] (clockid_t): Likewise.
52593         [XPG3 || XPG4] (timer_t): Likewise.
52594         [XPG3 || XPG4] (clock_getres): Likewise.
52595         [XPG3 || XPG4] (clock_gettime): Likewise.
52596         [XPG3 || XPG4] (clock_settime): Likewise.
52597         [XPG3 || XPG4] (nanosleep): Likewise.
52598         [XPG3 || XPG4] (timer_create): Likewise.
52599         [XPG3 || XPG4] (timer_delete): Likewise.
52600         [XPG3 || XPG4] (timer_gettime): Likewise.
52601         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52602         [XPG3 || XPG4] (timer_settime): Likewise.
52603         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52604         [XPG3 || XPG4] (getlogin_r): Likewise.
52605         [XPG3 || XPG4] (pread): Likewise.
52606         [XPG3 || XPG4] (pthread_atfork): Likewise.
52607         [XPG3 || XPG4] (pwrite): Likewise.
52609         [BZ #14835]
52610         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52611         <bits/siginfo.h>.
52613 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52615         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52616         finalizing MALLSTREAM.
52618         * sysdeps/mach/hurd/syncfs.c: New file.
52620 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52622         [BZ #14719]
52623         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52624         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52625         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52626         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52627         (_nss_dns_gethostbyname4_r): Likewise.
52628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52629         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52631 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52633         [BZ #13763]
52634         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52636 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52638         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52639         * elf/cache.c (print_entry): Print ",AArch64" for
52640         FLAG_AARCH64_LIB64
52642         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52643         * elf/cache.c (print_entry): Print ",hard-float" for
52644         FLAG_ARM_LIBHF.
52646 2012-11-18  David S. Miller  <davem@davemloft.net>
52648         With help from Joseph Myers.
52649         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52650         cutoff to 2**-13.
52651         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52652         cutoff to 2**-25.
52653         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52654         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52655         small.
52656         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52657         * math/libm-test.inc (y0_test): New tests.
52658         (y1_test): New tests.
52659         * sysdeps/i386/fpu/libm-test-ulps: Update.
52660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52663 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52665         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52666         64-bit targets.
52667         * configure: Regenerated.
52669 2012-11-17  David S. Miller  <davem@davemloft.net>
52671         [BZ #14811]
52672         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52673         nonzero exponents with absolute value below 0x1p-128 to +/-
52674         0x1p-128.
52676 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52678         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52680         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52682         * posix/getconf-speclist.c: New file.
52683         * posix/posix-envs.def: Likewise.
52684         * posix/confstr.c (START_ENV_GROUP): New macro.
52685         (END_ENV_GROUP): Likewise.
52686         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52687         (KNOWN_PRESENT_ENV_STRING): Likewise.
52688         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52689         (UNKNOWN_ENVIRONMENT): Likewise.
52690         (confstr): Include posix-envs.def instead of handling
52691         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52692         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52693         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52694         (END_ENV_GROUP): Likewise.
52695         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52696         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52697         (UNKNOWN_ENVIRONMENT): Likewise.
52698         (__sysconf): Include posix-envs.def instead of handling associated
52699         cases directly here.
52700         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52701         preprocessing getconf-speclist.c rather than running getconf or
52702         generating empty file.
52704 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52706         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52708 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52710         [BZ #14672]
52711         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52713 2012-11-16  David S. Miller  <davem@davemloft.net>
52715         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52716         smaller than LDBL_EPSILON/2.0L, just return xm1.
52718 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52720         * elf/tst-array1.c (init): Set constructor priority to 1000.
52721         (fini): Set destructor priority to 1000.
52722         * elf/tst-array2dep.c: Likewise.
52724 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52726         [BZ #11741]
52727         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52728         (_IO_new_file_xsputn): Also return EOF if none of the input
52729         data was written when overflow failed.
52730         * libio/iopadn.c (_IO_padn): Likewise.
52731         * libio/iowpadn.c (_IO_wpadn): Likewise.
52732         * stdio-common/tst-put-error.c: Add copyright notice.
52733         (do_test): Add case for printing padded string.
52734         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52735         _IO_padn returned error.
52736         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52737         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52738         return EOF.
52740 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52742         * libio/libioP.h: Add comment note that the references to C++
52743         bits are now obsolete.
52745 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52747         * math/libm-test.inc (check_complex): Use asprintf.
52749 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52751         * debug/pcprofiledump.c (print_version): Update copyright year.
52752         * malloc/memusagestat.c (print_version): Likewise.
52754 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52756         [BZ #14831]
52757         * elf/Makefile (tests): Add tst-audit8.
52758         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52759         ($(objpfx)tst-audit8.out): New target.
52760         (tst-audit8-ENV): New variable.
52761         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52762         audit if l_reloc_result is NULL.
52763         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52764         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52765         * elf/tst-audit8.c: New file.
52767 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52769         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52770         * misc/Makefile (CFLAGS-select.c): Define.
52771         * posix/Makefile (CFLAGS-pause.c): Define.
52773 2012-11-13  David S. Miller  <davem@davemloft.net>
52775         * crypt/Makefile: Move test targets after toplevel Rules
52776         inclusion.  Grab any necessary sysdep routines when linking.
52777         * crypt/md5.c (md5_process_block): Remove define, we will always
52778         name it __md5_process_block.
52779         (md5_finish_ctx): Update md5_process_block call.
52780         (md5_stream): Likewise.
52781         (md5_process_bytes): Likewise.
52782         (md5_process_block): Rename to __md5_process_block and move to ...
52783         * crypt/md5-block.c: ... here.
52784         * crypt/sha256.c (sha256_process_block): Move to ...
52785         * crypt/sha256-block.c: ... here.
52786         * crypt/sha512.c (sha512_process_block): Move to ...
52787         * crypt/sha512-block.c: ... here.
52788         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52789         path.
52790         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52791         * sysdeps/sparc/sparc64/multiarch/Makefile
52792         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52793         crypt subdir.
52794         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52795         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52796         multiarch changes.
52797         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52798         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52799         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52800         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52801         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52802         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52803         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52804         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52805         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52806         file.
52807         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52808         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52809         file.
52810         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52812 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52814         * timezone/tzselect.ksh: Update from tzcode git revision
52815         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52816         * timezone/zdump.c: Likewise.
52817         * timezone/zic.c: Likewise.
52818         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52819         in TZVERSION setting, not $(PKGVERSION).
52820         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52821         REPORT_BUGS_TO settings.
52823         [BZ #14838]
52824         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52825         macro.
52827 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52829         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52830         detection to immediately after _FP_ROUND().
52831         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52832         bits are 0.
52834 2012-11-11  David S. Miller  <davem@davemloft.net>
52836         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52837         inttypes.h
52838         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52839         __close rather than their public counterparts.
52841 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52843         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52844         file.
52845         [UNIX98] (sem_timedwait): Do not expect.
52846         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52847         [XPG4 || UNIX98] (sockatmark): Do not expect.
52848         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52849         (clock_getcpuclockid): Do not expect.
52850         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52851         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52852         Do not expect.
52853         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52854         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52855         [UNIX98] (vwscanf): Likewise.
52856         [UNIX98] (vswscanf): Likewise.
52858 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52860         * timezone/version.h: Remove file.
52861         * timezone/README: Do not refer to version.h.
52862         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52863         $(objpfx)version.h.
52864         ($(objpfx)zdump.o): Likewise.
52865         ($(objpfx)version.h): New target.
52867         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52868         2012i.
52869         * timezone/README: Don't mention modification to tzselect.ksh.
52870         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52871         work on unmodified tzselect.ksh.  Substitute version numbers in
52872         tzselect.ksh.
52874         * Makefile (format-me): Remove.
52875         (INSTALL): Adjust indentation.  Use commands directly instead of
52876         using $(format-me).
52878         * aclocal.m4 (ACX_PKGVERSION): New macro.
52879         (ACX_BUGURL): Likewise.
52880         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52881         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52882         (REPORT_BUGS_TO): Likewise.
52883         * configure: Regenerated.
52884         * config.h.in (PKGVERSION): New macro.
52885         (REPORT_BUGS_TO): Likewise.
52886         * config.make.in (PKGVERSION): New variable.
52887         (PKGVERSION_TEXI): Likewise.
52888         (REPORT_BUGS_TO): Likewise.
52889         (REPORT_BUGS_TEXI): Likewise.
52890         * Makefile (format-me): Use -I$(common-objpfx)manual.
52891         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52892         ($(common-objpfx)manual/%): New target.
52893         (manual/%): Remove target.
52894         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52895         (print_version): Use PKGVERSION.
52896         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52897         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52898         and REPORT_BUGS_TO.
52899         ($(objpfx)xtrace): Likewise.
52900         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52901         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52902         (print_version): Use PKGVERSION.
52903         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52904         (do_version): Use PKGVERSION.
52905         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52906         REPORT_BUGS_TO.
52907         (common-ldd-rewrite): Likewise.
52908         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52909         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52910         (print_version): Use PKGVERSION.
52911         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52912         * elf/pldd.c (argp_program_bug_address): Remove variable.
52913         (more_help): New function.
52914         (argp): Use more_help.
52915         (print_version): Use PKGVERSION.
52916         * elf/sln.c (main): Use PKGVERSION.
52917         (usage): Use REPORT_BUGS_TO.
52918         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52919         (top level): Use PKGVERSION.
52920         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52921         (print_version): Use PKGVERSION.
52922         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52923         (print_version): Use PKGVERSION.
52924         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52925         (print_version): Use PKGVERSION.
52926         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52927         (print_version): Use PKGVERSION.
52928         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52929         (print_version): Use PKGVERSION.
52930         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52931         (print_version): Use PKGVERSION.
52932         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52933         and BUGURL.
52934         ($(objpfx)memusage): Likewise.
52935         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52936         (do_version): Use PKGVERSION.
52937         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52938         (print_version): Use PKGVERSION.
52939         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52940         ($PKGVERSION): New variable.
52941         ($REPORT_BUGS_TO): Likewise.
52942         (usage): Use $REPORT_BUGS_TO.
52943         (top level): Use $PKGVERSION.
52944         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52945         ($(objpfx)pkgvers.texi): New rule.
52946         ($(objpfx)stamp-pkgvers): Likewise.
52947         * manual/install.texi: Include pkgvers.texi.
52948         (--with-pkgversion): Document new configure option.
52949         (--with-bugurl): Likewise.
52950         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52951         than necessarily for this particular distribution.  Use
52952         REPORT_BUGS_TO for where to report bugs.
52953         * INSTALL: Regenerated.
52954         * manual/libc.texinfo: Include pkgvers.texi.
52955         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52956         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52957         (print_version): Use PKGVERSION.
52958         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52959         (print_version): Use PKGVERSION.
52960         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52961         (print_version): Use PKGVERSION.
52962         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52963         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52964         macro.
52965         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52966         (print_version): Use PKGVERSION.
52967         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52968         (print_version): Use PKGVERSION.
52969         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52970         and PKGVERSION.
52972         * timezone/checktab.awk: Update from tzcode 2012i.
52973         * timezone/ialloc.c: Likewise.
52974         * timezone/private.h: Likewise.
52975         * timezone/scheck.c: Likewise.
52976         * timezone/tzfile.h: Likewise.
52977         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52978         (TZVERSION): Hardcode tzcode version number.
52979         * timezone/zdump.c: Update from tzcode 2012i.
52980         * timezone/zic.c: Likewise.
52981         * timezone/version.h: New file.
52982         * timezone/README: Describe version.h.  Update upstream location.
52984         [BZ #14824]
52985         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52986         (mktemp): Enable declaration.
52987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52988         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52990         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52991         Likewise.
52992         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52993         Likewise.
52994         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52995         Likewise.
52996         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52997         Likewise.
52998         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52999         Likewise.
53000         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53001         Likewise.
53003         [BZ #14821]
53004         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53005         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53006         for copies of such integer values.
53007         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53008         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53010 2012-11-09  Andreas Jaeger  <aj@suse.de>
53012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53013         definitions and declarations that are provided by
53014         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53016 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53018         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53019         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53020         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53021         definition.
53023 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53025         * elf/elf.h: Update comment before AArch64 relocations.
53027 2012-11-07  David S. Miller  <davem@davemloft.net>
53029         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53030         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53031         (__start_context): Declare.
53032         (__makecontext_ret): Delete.
53033         (__makecontext): Hook up __start_context instead of
53034         __makecontext_ret.
53035         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53036         (sysdep_routines): Add __start_context when in stdlib.
53038 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53040         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53041         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53042         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53043         hardcoded "nm".
53044         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53045         (READELF): New variable.  Use it instead of hardcoded "readelf".
53047 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53049         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53050         * sysdeps/x86/Makefile: Here.
53051         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53052         * sysdeps/x86/tst-xmmymm.sh: This.
53054 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53056         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53057         expectations.
53058         [UNIX98] (pthread_barrier_t): Do not expect.
53059         [UNIX98] (pthread_barrierattr_t): Likewise.
53060         [UNIX98] (pthread_spinlock_t): Likewise.
53061         [UNIX98] (pthread_barrier_destroy): Likewise.
53062         [UNIX98] (pthread_barrier_init): Likewise.
53063         [UNIX98] (pthread_barrier_wait): Likewise.
53064         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53065         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53066         [UNIX98] (pthread_barrierattr_init): Likewise.
53067         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53068         [UNIX98] (pthread_getcpuclockid): Likewise.
53069         [UNIX98] (pthread_mutex_timedlock): Likewise.
53070         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53071         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53072         [UNIX98] (pthread_sigmask): Likewise.
53073         [UNIX98] (pthread_spin_destroy): Likewise.
53074         [UNIX98] (pthread_spin_init): Likewise.
53075         [UNIX98] (pthread_spin_lock): Likewise.
53076         [UNIX98] (pthread_spin_trylock): Likewise.
53077         [UNIX98] (pthread_spin_unlock): Likewise.
53078         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53079         Do not expect.
53080         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53081         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53082         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53083         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53084         [XPG3 || XPG4] (pthread_key_t): Likewise.
53085         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53086         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53087         [XPG3 || XPG4] (pthread_once_t): Likewise.
53088         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53089         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53090         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53091         [XPG3 || XPG4] (pthread_t): Likewise.
53093         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53094         not expect.
53095         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53097         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53098         Change function return type to int.
53100         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53101         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53102         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53103         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53104         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53105         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53106         [!POSIX] (posix_madvise): Likewise.
53107         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53108         && !UNIX98].
53109         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53110         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53111         (mode_t): Likewise.
53112         (posix_mem_offset): Likewise.
53113         (posix_typed_mem_get_info): Likewise.
53114         (posix_typed_mem_open): Likewise.
53116         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53117         Change condition to [XOPEN2K8].
53119         * conform/conformtest.pl: Preprocess allow-header data with -x c
53120         instead of from stdin.
53121         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53122         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53123         [C99-based standards] (cerfc): Likewise.
53124         [C99-based standards] (cexp2): Likewise.
53125         [C99-based standards] (cexpm1): Likewise.
53126         [C99-based standards] (clog10): Likewise.
53127         [C99-based standards] (clog1p): Likewise.
53128         [C99-based standards] (clog2): Likewise.
53129         [C99-based standards] (clgamma): Likewise.
53130         [C99-based standards] (ctgamma): Likewise.
53131         [C99-based standards] (cerff): Likewise.
53132         [C99-based standards] (cerfcf): Likewise.
53133         [C99-based standards] (cexp2f): Likewise.
53134         [C99-based standards] (cexpm1f): Likewise.
53135         [C99-based standards] (clog10f): Likewise.
53136         [C99-based standards] (clog1pf): Likewise.
53137         [C99-based standards] (clog2f): Likewise.
53138         [C99-based standards] (clgammaf): Likewise.
53139         [C99-based standards] (ctgammaf): Likewise.
53140         [C99-based standards] (cerfl): Likewise.
53141         [C99-based standards] (cerfcl): Likewise.
53142         [C99-based standards] (cexp2l): Likewise.
53143         [C99-based standards] (cexpm1l): Likewise.
53144         [C99-based standards] (clog10l): Likewise.
53145         [C99-based standards] (clog1pl): Likewise.
53146         [C99-based standards] (clog2l): Likewise.
53147         [C99-based standards] (clgammal): Likewise.
53148         [C99-based standards] (ctgammal): Likewise.
53149         * conform/data/inttypes.h-data [C99-based standards]: Include
53150         stdint.h-data.  Remove all expectations for stdint.h contents.
53151         [C99-based standards] (PRI*): Do not allow.
53152         [C99-based standards] (SCN*): Likewise.
53153         [C99-based standards] (*_t): Likewise.
53154         [C99-based-standards] (PRId8): Expect macro.
53155         [C99-based-standards] (PRIi8): Likewise.
53156         [C99-based-standards] (PRIo8): Likewise.
53157         [C99-based-standards] (PRIu8): Likewise.
53158         [C99-based-standards] (PRIx8): Likewise.
53159         [C99-based-standards] (PRIX8): Likewise.
53160         [C99-based-standards] (SCNd8): Likewise.
53161         [C99-based-standards] (SCNi8): Likewise.
53162         [C99-based-standards] (SCNo8): Likewise.
53163         [C99-based-standards] (SCNu8): Likewise.
53164         [C99-based-standards] (SCNx8): Likewise.
53165         [C99-based-standards] (PRIdLEAST8): Likewise.
53166         [C99-based-standards] (PRIiLEAST8): Likewise.
53167         [C99-based-standards] (PRIoLEAST8): Likewise.
53168         [C99-based-standards] (PRIuLEAST8): Likewise.
53169         [C99-based-standards] (PRIxLEAST8): Likewise.
53170         [C99-based-standards] (PRIXLEAST8): Likewise.
53171         [C99-based-standards] (SCNdLEAST8): Likewise.
53172         [C99-based-standards] (SCNiLEAST8): Likewise.
53173         [C99-based-standards] (SCNoLEAST8): Likewise.
53174         [C99-based-standards] (SCNuLEAST8): Likewise.
53175         [C99-based-standards] (SCNxLEAST8): Likewise.
53176         [C99-based-standards] (PRIdFAST8): Likewise.
53177         [C99-based-standards] (PRIiFAST8): Likewise.
53178         [C99-based-standards] (PRIoFAST8): Likewise.
53179         [C99-based-standards] (PRIuFAST8): Likewise.
53180         [C99-based-standards] (PRIxFAST8): Likewise.
53181         [C99-based-standards] (PRIXFAST8): Likewise.
53182         [C99-based-standards] (SCNdFAST8): Likewise.
53183         [C99-based-standards] (SCNiFAST8): Likewise.
53184         [C99-based-standards] (SCNoFAST8): Likewise.
53185         [C99-based-standards] (SCNuFAST8): Likewise.
53186         [C99-based-standards] (SCNxFAST8): Likewise.
53187         [C99-based-standards] (PRId16): Likewise.
53188         [C99-based-standards] (PRIi16): Likewise.
53189         [C99-based-standards] (PRIo16): Likewise.
53190         [C99-based-standards] (PRIu16): Likewise.
53191         [C99-based-standards] (PRIx16): Likewise.
53192         [C99-based-standards] (PRIX16): Likewise.
53193         [C99-based-standards] (SCNd16): Likewise.
53194         [C99-based-standards] (SCNi16): Likewise.
53195         [C99-based-standards] (SCNo16): Likewise.
53196         [C99-based-standards] (SCNu16): Likewise.
53197         [C99-based-standards] (SCNx16): Likewise.
53198         [C99-based-standards] (PRIdLEAST16): Likewise.
53199         [C99-based-standards] (PRIiLEAST16): Likewise.
53200         [C99-based-standards] (PRIoLEAST16): Likewise.
53201         [C99-based-standards] (PRIuLEAST16): Likewise.
53202         [C99-based-standards] (PRIxLEAST16): Likewise.
53203         [C99-based-standards] (PRIXLEAST16): Likewise.
53204         [C99-based-standards] (SCNdLEAST16): Likewise.
53205         [C99-based-standards] (SCNiLEAST16): Likewise.
53206         [C99-based-standards] (SCNoLEAST16): Likewise.
53207         [C99-based-standards] (SCNuLEAST16): Likewise.
53208         [C99-based-standards] (SCNxLEAST16): Likewise.
53209         [C99-based-standards] (PRIdFAST16): Likewise.
53210         [C99-based-standards] (PRIiFAST16): Likewise.
53211         [C99-based-standards] (PRIoFAST16): Likewise.
53212         [C99-based-standards] (PRIuFAST16): Likewise.
53213         [C99-based-standards] (PRIxFAST16): Likewise.
53214         [C99-based-standards] (PRIXFAST16): Likewise.
53215         [C99-based-standards] (SCNdFAST16): Likewise.
53216         [C99-based-standards] (SCNiFAST16): Likewise.
53217         [C99-based-standards] (SCNoFAST16): Likewise.
53218         [C99-based-standards] (SCNuFAST16): Likewise.
53219         [C99-based-standards] (SCNxFAST16): Likewise.
53220         [C99-based-standards] (PRId32): Likewise.
53221         [C99-based-standards] (PRIi32): Likewise.
53222         [C99-based-standards] (PRIo32): Likewise.
53223         [C99-based-standards] (PRIu32): Likewise.
53224         [C99-based-standards] (PRIx32): Likewise.
53225         [C99-based-standards] (PRIX32): Likewise.
53226         [C99-based-standards] (SCNd32): Likewise.
53227         [C99-based-standards] (SCNi32): Likewise.
53228         [C99-based-standards] (SCNo32): Likewise.
53229         [C99-based-standards] (SCNu32): Likewise.
53230         [C99-based-standards] (SCNx32): Likewise.
53231         [C99-based-standards] (PRIdLEAST32): Likewise.
53232         [C99-based-standards] (PRIiLEAST32): Likewise.
53233         [C99-based-standards] (PRIoLEAST32): Likewise.
53234         [C99-based-standards] (PRIuLEAST32): Likewise.
53235         [C99-based-standards] (PRIxLEAST32): Likewise.
53236         [C99-based-standards] (PRIXLEAST32): Likewise.
53237         [C99-based-standards] (SCNdLEAST32): Likewise.
53238         [C99-based-standards] (SCNiLEAST32): Likewise.
53239         [C99-based-standards] (SCNoLEAST32): Likewise.
53240         [C99-based-standards] (SCNuLEAST32): Likewise.
53241         [C99-based-standards] (SCNxLEAST32): Likewise.
53242         [C99-based-standards] (PRIdFAST32): Likewise.
53243         [C99-based-standards] (PRIiFAST32): Likewise.
53244         [C99-based-standards] (PRIoFAST32): Likewise.
53245         [C99-based-standards] (PRIuFAST32): Likewise.
53246         [C99-based-standards] (PRIxFAST32): Likewise.
53247         [C99-based-standards] (PRIXFAST32): Likewise.
53248         [C99-based-standards] (SCNdFAST32): Likewise.
53249         [C99-based-standards] (SCNiFAST32): Likewise.
53250         [C99-based-standards] (SCNoFAST32): Likewise.
53251         [C99-based-standards] (SCNuFAST32): Likewise.
53252         [C99-based-standards] (SCNxFAST32): Likewise.
53253         [C99-based-standards] (PRId64): Likewise.
53254         [C99-based-standards] (PRIi64): Likewise.
53255         [C99-based-standards] (PRIo64): Likewise.
53256         [C99-based-standards] (PRIu64): Likewise.
53257         [C99-based-standards] (PRIx64): Likewise.
53258         [C99-based-standards] (PRIX64): Likewise.
53259         [C99-based-standards] (SCNd64): Likewise.
53260         [C99-based-standards] (SCNi64): Likewise.
53261         [C99-based-standards] (SCNo64): Likewise.
53262         [C99-based-standards] (SCNu64): Likewise.
53263         [C99-based-standards] (SCNx64): Likewise.
53264         [C99-based-standards] (PRIdLEAST64): Likewise.
53265         [C99-based-standards] (PRIiLEAST64): Likewise.
53266         [C99-based-standards] (PRIoLEAST64): Likewise.
53267         [C99-based-standards] (PRIuLEAST64): Likewise.
53268         [C99-based-standards] (PRIxLEAST64): Likewise.
53269         [C99-based-standards] (PRIXLEAST64): Likewise.
53270         [C99-based-standards] (SCNdLEAST64): Likewise.
53271         [C99-based-standards] (SCNiLEAST64): Likewise.
53272         [C99-based-standards] (SCNoLEAST64): Likewise.
53273         [C99-based-standards] (SCNuLEAST64): Likewise.
53274         [C99-based-standards] (SCNxLEAST64): Likewise.
53275         [C99-based-standards] (PRIdFAST64): Likewise.
53276         [C99-based-standards] (PRIiFAST64): Likewise.
53277         [C99-based-standards] (PRIoFAST64): Likewise.
53278         [C99-based-standards] (PRIuFAST64): Likewise.
53279         [C99-based-standards] (PRIxFAST64): Likewise.
53280         [C99-based-standards] (PRIXFAST64): Likewise.
53281         [C99-based-standards] (SCNdFAST64): Likewise.
53282         [C99-based-standards] (SCNiFAST64): Likewise.
53283         [C99-based-standards] (SCNoFAST64): Likewise.
53284         [C99-based-standards] (SCNuFAST64): Likewise.
53285         [C99-based-standards] (SCNxFAST64): Likewise.
53286         [C99-based-standards] (PRIdMAX): Likewise.
53287         [C99-based-standards] (PRIiMAX): Likewise.
53288         [C99-based-standards] (PRIoMAX): Likewise.
53289         [C99-based-standards] (PRIuMAX): Likewise.
53290         [C99-based-standards] (PRIxMAX): Likewise.
53291         [C99-based-standards] (PRIXMAX): Likewise.
53292         [C99-based-standards] (SCNdMAX): Likewise.
53293         [C99-based-standards] (SCNiMAX): Likewise.
53294         [C99-based-standards] (SCNoMAX): Likewise.
53295         [C99-based-standards] (SCNuMAX): Likewise.
53296         [C99-based-standards] (SCNxMAX): Likewise.
53297         [C99-based-standards] (PRIdPTR): Likewise.
53298         [C99-based-standards] (PRIiPTR): Likewise.
53299         [C99-based-standards] (PRIoPTR): Likewise.
53300         [C99-based-standards] (PRIuPTR): Likewise.
53301         [C99-based-standards] (PRIxPTR): Likewise.
53302         [C99-based-standards] (PRIXPTR): Likewise.
53303         [C99-based-standards] (SCNdPTR): Likewise.
53304         [C99-based-standards] (SCNiPTR): Likewise.
53305         [C99-based-standards] (SCNoPTR): Likewise.
53306         [C99-based-standards] (SCNuPTR): Likewise.
53307         [C99-based-standards] (SCNxPTR): Likewise.
53308         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53309         allow.
53310         * conform/data/stdint.h-data: Update comments to clarify
53311         requirements.
53312         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53313         type.
53314         [C99-based standards] (INT8_MAX): Likewise.
53315         [C99-based standards] (INT16_MIN): Likewise.
53316         [C99-based standards] (INT16_MAX): Likewise.
53317         [C99-based standards] (INT32_MIN): Likewise.
53318         [C99-based standards] (INT32_MAX): Likewise.
53319         [C99-based standards] (INT64_MIN): Likewise.
53320         [C99-based standards] (INT64_MAX): Likewise.
53321         [C99-based standards] (UINT8_MAX): Likewise.
53322         [C99-based standards] (UINT16_MAX): Likewise.
53323         [C99-based standards] (UINT32_MAX): Likewise.
53324         [C99-based standards] (UINT64_MAX): Likewise.
53325         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53326         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53327         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53328         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53329         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53330         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53331         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53332         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53333         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53334         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53335         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53336         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53337         [C99-based standards] (INT_FAST8_MIN): Likewise.
53338         [C99-based standards] (INT_FAST8_MAX): Likewise.
53339         [C99-based standards] (INT_FAST16_MIN): Likewise.
53340         [C99-based standards] (INT_FAST16_MAX): Likewise.
53341         [C99-based standards] (INT_FAST32_MIN): Likewise.
53342         [C99-based standards] (INT_FAST32_MAX): Likewise.
53343         [C99-based standards] (INT_FAST64_MIN): Likewise.
53344         [C99-based standards] (INT_FAST64_MAX): Likewise.
53345         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53346         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53347         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53348         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53349         [C99-based standards] (INTPTR_MIN): Likewise.
53350         [C99-based standards] (INTPTR_MAX): Likewise.
53351         [C99-based standards] (UINTPTR_MAX): Likewise.
53352         [C99-based standards] (INTMAX_MIN): Likewise.
53353         [C99-based standards] (INTMAX_MAX): Likewise.
53354         [C99-based standards] (UINTMAX_MAX): Likewise.
53355         [C99-based standards] (PTRDIFF_MIN): Likewise.
53356         [C99-based standards] (PTRDIFF_MAX): Likewise.
53357         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53358         [C99-based standards] (SIZE_MAX): Likewise.
53359         [C99-based standards] (WCHAR_MAX): Likewise.
53360         [C99-based standards] (WINT_MAX): Likewise.
53361         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53362         constraint on value.
53363         [C99-based standards] (WCHAR_MIN): Likewise.
53364         [C99-based standards] (WINT_MIN): Likewise.
53365         [C99-based standards] (*_t): Allow.
53366         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53367         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53368         Include math.h-data and complex.h-data.  Remove all expectations
53369         of math.h and complex.h contents.
53370         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53371         at end of line.
53372         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53373         (struct tm): Expect tag.
53374         [C99-based-standards] (wcstof): Expect function.
53375         [C99-based-standards] (wcstold): Likewise.
53376         [C99-based-standards] (wcstoll): Likewise.
53377         [C99-based-standards] (wcstoull): Likewise.
53378         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53379         macro-int-constant.  Specify type.
53380         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53381         constraint on value.
53382         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53383         Specify type.
53384         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53385         Specify value.
53386         [ISO C standards]: Do not allow headers.
53387         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53388         wcs[abcdefghijklmnopqrstuvwxyz]*.
53389         [ISO C standards] (*_t): Do not allow.
53390         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53391         Expect function.
53392         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53393         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53394         Specify type.
53395         [ISO C standards]: Do not allow headers.
53396         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53397         is[abcdefghijklmnopqrstuvwxyz]*.
53398         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53399         to[abcdefghijklmnopqrstuvwxyz]*.
53400         [ISO C standards] (*_t): Do not allow.
53401         * conform/data/stdalign.h-data: New file.
53402         * conform/data/stdbool.h-data: Likewise.
53403         * conform/data/stdnoreturn.h-data: Likewise.
53405 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53407         [BZ #14815]
53408         * manual/filesys.texi (Directory Entries): Typo fix.
53409         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53411 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53413         * elf/elf.h (EM_AARCH64): New macro.
53414         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53415         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53416         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53417         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53418         (R_AARCH64_TLSDESC): Likewise.
53419         (NT_ARM_TLS): Likewise.
53420         (NT_ARM_HW_BREAK): Likewise.
53421         (NT_ARM_HW_WATCH): Likewise.
53423 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53425         [BZ #14811]
53426         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53427         (__ieee754_powl): Saturate nonzero exponents with absolute value
53428         below 0x1p-79 to +/- 0x1p-79.
53429         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53430         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53431         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53432         nonzero exponents with absolute value below 0x1p-32 to +/-
53433         0x1p-32.
53434         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53435         (__ieee754_powl): Saturate nonzero exponents with absolute value
53436         below 0x1p-79 to +/- 0x1p-79.
53437         * math/libm-test.inc (pow_test): Add more tests.
53439 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53441         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53442         _dl_s390_cap_flags with kernel. Increase string length.
53443         (_dl_s390_platforms): Add z196 and zEC12.
53445 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53447         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53448         Change XOPEN21K to XOPEN2K.
53450 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53452         * string/memmove.c: Use memcpy when possible.
53454 2012-11-06  Andreas Jaeger  <aj@suse.de>
53456         * po/eo.po: Update from translation team.
53458 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53460         [BZ #14793]
53461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53462         exponent and small x and y exponents, scale x or y up.  Increase
53463         by 2 the exponent used in scaling up.
53464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53466         * math/libm-test.inc (fma_test): Add more tests.
53467         (fma_test_towardzero): Likewise.
53468         (fma_test_downward): Likewise.
53469         (fma_test_upward): Likewise.
53471 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53473         [BZ #14805]
53474         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53475         fenv_t *.
53477         [BZ #14801]
53478         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53479         namespace for names of struct fields.
53480         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53481         fenv_t fields.
53482         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53483         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53485 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53487         [BZ #3665]
53488         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53490 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53492         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53493         PTR_DEMANGLE.
53495         [BZ #5246]
53496         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53497         PTR_DEMANGLE.
53499 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53501         [BZ #14797]
53502         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53503         definitely overflow as x * y not x * y + z.
53504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53505         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53506         * math/libm-test.inc (fma_test): Add more tests.
53507         (fma_test_towardzero): Likewise.
53508         (fma_test_downward): Likewise.
53509         (fma_test_upward): Likewise.
53511 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53513         [BZ #157]
53515         * include/stub-tag.h: Remove file.
53516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53517         '#include' of it.
53518         * manual/maint.texi (Porting): Don't reference it.
53519         * Makerules ($(objpfx)stubs): Likewise.
53520         * dirent/closedir.c: Don't include <stub-tag.h>.
53521         * dirent/dirfd.c: Likewise.
53522         * dirent/fdopendir.c: Likewise.
53523         * dirent/getdents.c: Likewise.
53524         * dirent/getdents64.c: Likewise.
53525         * dirent/opendir.c: Likewise.
53526         * dirent/readdir.c: Likewise.
53527         * dirent/readdir64.c: Likewise.
53528         * dirent/readdir64_r.c: Likewise.
53529         * dirent/readdir_r.c: Likewise.
53530         * dirent/rewinddir.c: Likewise.
53531         * dirent/seekdir.c: Likewise.
53532         * dirent/telldir.c: Likewise.
53533         * gmon/profil.c: Likewise.
53534         * grp/setgroups.c: Likewise.
53535         * inet/if_index.c: Likewise.
53536         * io/access.c: Likewise.
53537         * io/chdir.c: Likewise.
53538         * io/chmod.c: Likewise.
53539         * io/chown.c: Likewise.
53540         * io/close.c: Likewise.
53541         * io/dup.c: Likewise.
53542         * io/dup2.c: Likewise.
53543         * io/dup3.c: Likewise.
53544         * io/euidaccess.c: Likewise.
53545         * io/faccessat.c: Likewise.
53546         * io/fchdir.c: Likewise.
53547         * io/fchmod.c: Likewise.
53548         * io/fchmodat.c: Likewise.
53549         * io/fchown.c: Likewise.
53550         * io/fchownat.c: Likewise.
53551         * io/fcntl.c: Likewise.
53552         * io/flock.c: Likewise.
53553         * io/fstatfs.c: Likewise.
53554         * io/fstatfs64.c: Likewise.
53555         * io/fstatvfs.c: Likewise.
53556         * io/fstatvfs64.c: Likewise.
53557         * io/futimens.c: Likewise.
53558         * io/fxstat.c: Likewise.
53559         * io/fxstat64.c: Likewise.
53560         * io/fxstatat.c: Likewise.
53561         * io/fxstatat64.c: Likewise.
53562         * io/getcwd.c: Likewise.
53563         * io/isatty.c: Likewise.
53564         * io/lchmod.c: Likewise.
53565         * io/lchown.c: Likewise.
53566         * io/link.c: Likewise.
53567         * io/linkat.c: Likewise.
53568         * io/lseek.c: Likewise.
53569         * io/lseek64.c: Likewise.
53570         * io/lxstat64.c: Likewise.
53571         * io/mkdir.c: Likewise.
53572         * io/mkdirat.c: Likewise.
53573         * io/mkfifo.c: Likewise.
53574         * io/mkfifoat.c: Likewise.
53575         * io/open.c: Likewise.
53576         * io/open64.c: Likewise.
53577         * io/openat.c: Likewise.
53578         * io/openat64.c: Likewise.
53579         * io/pipe.c: Likewise.
53580         * io/pipe2.c: Likewise.
53581         * io/poll.c: Likewise.
53582         * io/posix_fadvise.c: Likewise.
53583         * io/posix_fadvise64.c: Likewise.
53584         * io/posix_fallocate.c: Likewise.
53585         * io/posix_fallocate64.c: Likewise.
53586         * io/read.c: Likewise.
53587         * io/readlink.c: Likewise.
53588         * io/readlinkat.c: Likewise.
53589         * io/rmdir.c: Likewise.
53590         * io/sendfile.c: Likewise.
53591         * io/sendfile64.c: Likewise.
53592         * io/statfs.c: Likewise.
53593         * io/statfs64.c: Likewise.
53594         * io/statvfs.c: Likewise.
53595         * io/statvfs64.c: Likewise.
53596         * io/symlink.c: Likewise.
53597         * io/symlinkat.c: Likewise.
53598         * io/ttyname.c: Likewise.
53599         * io/ttyname_r.c: Likewise.
53600         * io/umask.c: Likewise.
53601         * io/unlink.c: Likewise.
53602         * io/unlinkat.c: Likewise.
53603         * io/utime.c: Likewise.
53604         * io/utimensat.c: Likewise.
53605         * io/write.c: Likewise.
53606         * io/xmknod.c: Likewise.
53607         * io/xmknodat.c: Likewise.
53608         * io/xstat.c: Likewise.
53609         * io/xstat64.c: Likewise.
53610         * login/getpt.c: Likewise.
53611         * login/grantpt.c: Likewise.
53612         * login/unlockpt.c: Likewise.
53613         * math/e_acoshl.c: Likewise.
53614         * math/e_acosl.c: Likewise.
53615         * math/e_asinl.c: Likewise.
53616         * math/e_atan2l.c: Likewise.
53617         * math/e_atanhl.c: Likewise.
53618         * math/e_coshl.c: Likewise.
53619         * math/e_expl.c: Likewise.
53620         * math/e_fmodl.c: Likewise.
53621         * math/e_gammal_r.c: Likewise.
53622         * math/e_hypotl.c: Likewise.
53623         * math/e_j0l.c: Likewise.
53624         * math/e_j1l.c: Likewise.
53625         * math/e_jnl.c: Likewise.
53626         * math/e_lgammal_r.c: Likewise.
53627         * math/e_log10l.c: Likewise.
53628         * math/e_log2l.c: Likewise.
53629         * math/e_logl.c: Likewise.
53630         * math/e_powl.c: Likewise.
53631         * math/e_rem_pio2l.c: Likewise.
53632         * math/e_sinhl.c: Likewise.
53633         * math/e_sqrtl.c: Likewise.
53634         * math/fclrexcpt.c: Likewise.
53635         * math/fedisblxcpt.c: Likewise.
53636         * math/feenablxcpt.c: Likewise.
53637         * math/fegetenv.c: Likewise.
53638         * math/fegetexcept.c: Likewise.
53639         * math/fegetround.c: Likewise.
53640         * math/feholdexcpt.c: Likewise.
53641         * math/fesetenv.c: Likewise.
53642         * math/fesetround.c: Likewise.
53643         * math/feupdateenv.c: Likewise.
53644         * math/fgetexcptflg.c: Likewise.
53645         * math/fraiseexcpt.c: Likewise.
53646         * math/fsetexcptflg.c: Likewise.
53647         * math/ftestexcept.c: Likewise.
53648         * math/k_cosl.c: Likewise.
53649         * math/k_rem_pio2l.c: Likewise.
53650         * math/k_sinl.c: Likewise.
53651         * math/k_tanl.c: Likewise.
53652         * math/s_asinhl.c: Likewise.
53653         * math/s_atanl.c: Likewise.
53654         * math/s_cbrtl.c: Likewise.
53655         * math/s_erfl.c: Likewise.
53656         * math/s_expm1l.c: Likewise.
53657         * math/s_log1pl.c: Likewise.
53658         * math/s_tanhl.c: Likewise.
53659         * misc/acct.c: Likewise.
53660         * misc/brk.c: Likewise.
53661         * misc/chflags.c: Likewise.
53662         * misc/chroot.c: Likewise.
53663         * misc/fchflags.c: Likewise.
53664         * misc/fgetxattr.c: Likewise.
53665         * misc/flistxattr.c: Likewise.
53666         * misc/fremovexattr.c: Likewise.
53667         * misc/fsetxattr.c: Likewise.
53668         * misc/fsync.c: Likewise.
53669         * misc/ftruncate.c: Likewise.
53670         * misc/futimes.c: Likewise.
53671         * misc/futimesat.c: Likewise.
53672         * misc/getdomain.c: Likewise.
53673         * misc/getdtsz.c: Likewise.
53674         * misc/gethostid.c: Likewise.
53675         * misc/gethostname.c: Likewise.
53676         * misc/getloadavg.c: Likewise.
53677         * misc/getpagesize.c: Likewise.
53678         * misc/getsysstats.c: Likewise.
53679         * misc/getxattr.c: Likewise.
53680         * misc/gtty.c: Likewise.
53681         * misc/ioctl.c: Likewise.
53682         * misc/lgetxattr.c: Likewise.
53683         * misc/listxattr.c: Likewise.
53684         * misc/llistxattr.c: Likewise.
53685         * misc/lremovexattr.c: Likewise.
53686         * misc/lsetxattr.c: Likewise.
53687         * misc/lutimes.c: Likewise.
53688         * misc/madvise.c: Likewise.
53689         * misc/mincore.c: Likewise.
53690         * misc/mlock.c: Likewise.
53691         * misc/mlockall.c: Likewise.
53692         * misc/mmap.c: Likewise.
53693         * misc/mprotect.c: Likewise.
53694         * misc/msync.c: Likewise.
53695         * misc/munlock.c: Likewise.
53696         * misc/munlockall.c: Likewise.
53697         * misc/munmap.c: Likewise.
53698         * misc/preadv.c: Likewise.
53699         * misc/preadv64.c: Likewise.
53700         * misc/ptrace.c: Likewise.
53701         * misc/pwritev.c: Likewise.
53702         * misc/pwritev64.c: Likewise.
53703         * misc/readv.c: Likewise.
53704         * misc/reboot.c: Likewise.
53705         * misc/remap_file_pages.c: Likewise.
53706         * misc/removexattr.c: Likewise.
53707         * misc/revoke.c: Likewise.
53708         * misc/select.c: Likewise.
53709         * misc/setdomain.c: Likewise.
53710         * misc/setegid.c: Likewise.
53711         * misc/seteuid.c: Likewise.
53712         * misc/sethostid.c: Likewise.
53713         * misc/sethostname.c: Likewise.
53714         * misc/setregid.c: Likewise.
53715         * misc/setreuid.c: Likewise.
53716         * misc/setxattr.c: Likewise.
53717         * misc/sstk.c: Likewise.
53718         * misc/stty.c: Likewise.
53719         * misc/swapoff.c: Likewise.
53720         * misc/swapon.c: Likewise.
53721         * misc/sync.c: Likewise.
53722         * misc/syncfs.c: Likewise.
53723         * misc/syscall.c: Likewise.
53724         * misc/truncate.c: Likewise.
53725         * misc/ualarm.c: Likewise.
53726         * misc/usleep.c: Likewise.
53727         * misc/ustat.c: Likewise.
53728         * misc/utimes.c: Likewise.
53729         * misc/vhangup.c: Likewise.
53730         * misc/writev.c: Likewise.
53731         * posix/_exit.c: Likewise.
53732         * posix/alarm.c: Likewise.
53733         * posix/execve.c: Likewise.
53734         * posix/fexecve.c: Likewise.
53735         * posix/fork.c: Likewise.
53736         * posix/fpathconf.c: Likewise.
53737         * posix/getaddrinfo.c: Likewise.
53738         * posix/getegid.c: Likewise.
53739         * posix/geteuid.c: Likewise.
53740         * posix/getgid.c: Likewise.
53741         * posix/getgroups.c: Likewise.
53742         * posix/getlogin.c: Likewise.
53743         * posix/getlogin_r.c: Likewise.
53744         * posix/getpgid.c: Likewise.
53745         * posix/getpid.c: Likewise.
53746         * posix/getppid.c: Likewise.
53747         * posix/getresgid.c: Likewise.
53748         * posix/getresuid.c: Likewise.
53749         * posix/getsid.c: Likewise.
53750         * posix/getuid.c: Likewise.
53751         * posix/glob64.c: Likewise.
53752         * posix/nanosleep.c: Likewise.
53753         * posix/pathconf.c: Likewise.
53754         * posix/pause.c: Likewise.
53755         * posix/posix_madvise.c: Likewise.
53756         * posix/pread.c: Likewise.
53757         * posix/pread64.c: Likewise.
53758         * posix/pwrite.c: Likewise.
53759         * posix/pwrite64.c: Likewise.
53760         * posix/sched_getaffinity.c: Likewise.
53761         * posix/sched_getp.c: Likewise.
53762         * posix/sched_gets.c: Likewise.
53763         * posix/sched_primax.c: Likewise.
53764         * posix/sched_primin.c: Likewise.
53765         * posix/sched_rr_gi.c: Likewise.
53766         * posix/sched_setaffinity.c: Likewise.
53767         * posix/sched_setp.c: Likewise.
53768         * posix/sched_sets.c: Likewise.
53769         * posix/sched_yield.c: Likewise.
53770         * posix/setgid.c: Likewise.
53771         * posix/setlogin.c: Likewise.
53772         * posix/setpgid.c: Likewise.
53773         * posix/setresgid.c: Likewise.
53774         * posix/setresuid.c: Likewise.
53775         * posix/setsid.c: Likewise.
53776         * posix/setuid.c: Likewise.
53777         * posix/sleep.c: Likewise.
53778         * posix/spawni.c: Likewise.
53779         * posix/sysconf.c: Likewise.
53780         * posix/times.c: Likewise.
53781         * posix/wait.c: Likewise.
53782         * posix/wait3.c: Likewise.
53783         * posix/wait4.c: Likewise.
53784         * posix/waitpid.c: Likewise.
53785         * resolv/gai_sigqueue.c: Likewise.
53786         * resource/getpriority.c: Likewise.
53787         * resource/getrlimit.c: Likewise.
53788         * resource/getrusage.c: Likewise.
53789         * resource/nice.c: Likewise.
53790         * resource/setpriority.c: Likewise.
53791         * resource/setrlimit.c: Likewise.
53792         * resource/ulimit.c: Likewise.
53793         * rt/aio_cancel.c: Likewise.
53794         * rt/aio_fsync.c: Likewise.
53795         * rt/aio_read.c: Likewise.
53796         * rt/aio_sigqueue.c: Likewise.
53797         * rt/aio_suspend.c: Likewise.
53798         * rt/aio_write.c: Likewise.
53799         * rt/clock_getres.c: Likewise.
53800         * rt/clock_gettime.c: Likewise.
53801         * rt/clock_nanosleep.c: Likewise.
53802         * rt/clock_settime.c: Likewise.
53803         * rt/lio_listio.c: Likewise.
53804         * rt/mq_close.c: Likewise.
53805         * rt/mq_getattr.c: Likewise.
53806         * rt/mq_notify.c: Likewise.
53807         * rt/mq_open.c: Likewise.
53808         * rt/mq_receive.c: Likewise.
53809         * rt/mq_send.c: Likewise.
53810         * rt/mq_setattr.c: Likewise.
53811         * rt/mq_timedreceive.c: Likewise.
53812         * rt/mq_timedsend.c: Likewise.
53813         * rt/mq_unlink.c: Likewise.
53814         * rt/shm_open.c: Likewise.
53815         * rt/shm_unlink.c: Likewise.
53816         * rt/timer_create.c: Likewise.
53817         * rt/timer_delete.c: Likewise.
53818         * rt/timer_getoverr.c: Likewise.
53819         * rt/timer_gettime.c: Likewise.
53820         * rt/timer_settime.c: Likewise.
53821         * setjmp/__longjmp.c: Likewise.
53822         * setjmp/setjmp.c: Likewise.
53823         * signal/kill.c: Likewise.
53824         * signal/killpg.c: Likewise.
53825         * signal/raise.c: Likewise.
53826         * signal/sigaction.c: Likewise.
53827         * signal/sigaltstack.c: Likewise.
53828         * signal/sigblock.c: Likewise.
53829         * signal/sigignore.c: Likewise.
53830         * signal/sigintr.c: Likewise.
53831         * signal/signal.c: Likewise.
53832         * signal/sigpause.c: Likewise.
53833         * signal/sigpending.c: Likewise.
53834         * signal/sigqueue.c: Likewise.
53835         * signal/sigreturn.c: Likewise.
53836         * signal/sigset.c: Likewise.
53837         * signal/sigsetmask.c: Likewise.
53838         * signal/sigstack.c: Likewise.
53839         * signal/sigsuspend.c: Likewise.
53840         * signal/sigtimedwait.c: Likewise.
53841         * signal/sigvec.c: Likewise.
53842         * signal/sigwait.c: Likewise.
53843         * signal/sigwaitinfo.c: Likewise.
53844         * signal/sysv_signal.c: Likewise.
53845         * socket/accept.c: Likewise.
53846         * socket/accept4.c: Likewise.
53847         * socket/bind.c: Likewise.
53848         * socket/connect.c: Likewise.
53849         * socket/getpeername.c: Likewise.
53850         * socket/getsockname.c: Likewise.
53851         * socket/getsockopt.c: Likewise.
53852         * socket/isfdtype.c: Likewise.
53853         * socket/listen.c: Likewise.
53854         * socket/recv.c: Likewise.
53855         * socket/recvfrom.c: Likewise.
53856         * socket/recvmsg.c: Likewise.
53857         * socket/send.c: Likewise.
53858         * socket/sendmsg.c: Likewise.
53859         * socket/sendto.c: Likewise.
53860         * socket/setsockopt.c: Likewise.
53861         * socket/shutdown.c: Likewise.
53862         * socket/sockatmark.c: Likewise.
53863         * socket/socket.c: Likewise.
53864         * socket/socketpair.c: Likewise.
53865         * stdio-common/ctermid.c: Likewise.
53866         * stdio-common/cuserid.c: Likewise.
53867         * stdio-common/remove.c: Likewise.
53868         * stdio-common/rename.c: Likewise.
53869         * stdio-common/renameat.c: Likewise.
53870         * stdio-common/tempname.c: Likewise.
53871         * stdlib/getcontext.c: Likewise.
53872         * stdlib/makecontext.c: Likewise.
53873         * stdlib/setcontext.c: Likewise.
53874         * stdlib/swapcontext.c: Likewise.
53875         * stdlib/system.c: Likewise.
53876         * streams/fattach.c: Likewise.
53877         * streams/fdetach.c: Likewise.
53878         * streams/getmsg.c: Likewise.
53879         * streams/getpmsg.c: Likewise.
53880         * streams/putmsg.c: Likewise.
53881         * streams/putpmsg.c: Likewise.
53882         * sysdeps/unix/bsd/getpt.c: Likewise.
53883         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53884         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53885         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53887         Likewise.
53888         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53889         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53890         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53891         * sysvipc/msgctl.c: Likewise.
53892         * sysvipc/msgget.c: Likewise.
53893         * sysvipc/msgrcv.c: Likewise.
53894         * sysvipc/msgsnd.c: Likewise.
53895         * sysvipc/semctl.c: Likewise.
53896         * sysvipc/semget.c: Likewise.
53897         * sysvipc/semop.c: Likewise.
53898         * sysvipc/semtimedop.c: Likewise.
53899         * sysvipc/shmat.c: Likewise.
53900         * sysvipc/shmctl.c: Likewise.
53901         * sysvipc/shmdt.c: Likewise.
53902         * sysvipc/shmget.c: Likewise.
53903         * termios/tcdrain.c: Likewise.
53904         * termios/tcflow.c: Likewise.
53905         * termios/tcflush.c: Likewise.
53906         * termios/tcgetattr.c: Likewise.
53907         * termios/tcgetpgrp.c: Likewise.
53908         * termios/tcsendbrk.c: Likewise.
53909         * termios/tcsetattr.c: Likewise.
53910         * termios/tcsetpgrp.c: Likewise.
53911         * time/adjtime.c: Likewise.
53912         * time/clock.c: Likewise.
53913         * time/getitimer.c: Likewise.
53914         * time/gettimeofday.c: Likewise.
53915         * time/setitimer.c: Likewise.
53916         * time/settimeofday.c: Likewise.
53917         * time/stime.c: Likewise.
53918         * time/time.c: Likewise.
53920 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53922         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53923         /usr/old/bin.
53925         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53926         instead of spaces.
53927         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53929 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53931         [BZ #14796]
53932         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53933         FE_TONEAREST before applying Dekker multiplication and Knuth
53934         addition.  Clear inexact exceptions and check for exact zero
53935         results afterwards.
53936         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53937         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53938         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53939         * math/libm-test.inc (fma_test): Add more tests.
53940         (fma_test_towardzero): Likewise.
53941         (fma_test_downward): Likewise.
53942         (fma_test_upward): Likewise.
53943         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53944         function.
53945         (libc_fesetround): New macro.
53946         (libc_fesetroundf): Likewise.
53947         (libc_fesetroundl): Likewise.
53948         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53949         function.
53950         (libc_fesetround_387): Likewise.
53951         (libc_fesetroundf): New macro.
53952         (libc_fesetround): Likewise.
53953         (libc_fesetroundl): Likewise.
53954         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53955         function.
53956         (libc_fesetroundf): New macro.
53957         (libc_fesetround): Likewise.
53958         (libc_fesetroundl): Likewise.
53959         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53960         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53961         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53962         libm_hidden_ver.
53963         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53964         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53965         libm_hidden_def.
53966         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53967         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53968         libm_hidden_ver.
53969         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53970         libm_hidden_def.
53972         [BZ #3439]
53973         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53974         integer constant usable in #if and use that to give value to enum
53975         constant.
53976         (FE_DIVBYZERO): Likewise.
53977         (FE_UNDERFLOW): Likewise.
53978         (FE_OVERFLOW): Likewise.
53979         (FE_INVALID): Likewise.
53980         (FE_INVALID_SNAN): Likewise.
53981         (FE_INVALID_ISI): Likewise.
53982         (FE_INVALID_IDI): Likewise.
53983         (FE_INVALID_ZDZ): Likewise.
53984         (FE_INVALID_IMZ): Likewise.
53985         (FE_INVALID_COMPARE): Likewise.
53986         (FE_INVALID_SOFTWARE): Likewise.
53987         (FE_INVALID_SQRT): Likewise.
53988         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53989         (FE_TONEAREST): Likewise.
53990         (FE_TOWARDZERO): Likewise.
53991         (FE_UPWARD): Likewise.
53992         (FE_DOWNWARD): Likewise.
53993         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53994         (FE_DIVBYZERO): Likewise.
53995         (FE_OVERFLOW): Likewise.
53996         (FE_UNDERFLOW): Likewise.
53997         (FE_INEXACT): Likewise.
53998         (FE_TONEAREST): Likewise.
53999         (FE_DOWNWARD): Likewise.
54000         (FE_UPWARD): Likewise.
54001         (FE_TOWARDZERO): Likewise.
54002         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54003         (FE_UNDERFLOW): Likewise.
54004         (FE_OVERFLOW): Likewise.
54005         (FE_DIVBYZERO): Likewise.
54006         (FE_INVALID): Likewise.
54007         (FE_TONEAREST): Likewise.
54008         (FE_TOWARDZERO): Likewise.
54009         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54010         (FE_OVERFLOW): Likewise.
54011         (FE_UNDERFLOW): Likewise.
54012         (FE_DIVBYZERO): Likewise.
54013         (FE_INEXACT): Likewise.
54014         (FE_TONEAREST): Likewise.
54015         (FE_TOWARDZERO): Likewise.
54016         (FE_UPWARD): Likewise.
54017         (FE_DOWNWARD): Likewise.
54018         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54019         (FE_DIVBYZERO): Likewise.
54020         (FE_OVERFLOW): Likewise.
54021         (FE_UNDERFLOW): Likewise.
54022         (FE_INEXACT): Likewise.
54023         (FE_TONEAREST): Likewise.
54024         (FE_DOWNWARD): Likewise.
54025         (FE_UPWARD): Likewise.
54026         (FE_TOWARDZERO): Likewise.
54028 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54030         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54032 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54034         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54035         commands.  Quote $PWD.
54036         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54037         -x" by "export".
54038         (remove_newlines): Remove.
54040 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54042         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54043         * stdlib/stdlib.h (atof): Moved to ...
54044         * include/bits/stdlib-float.h: Here.  New file.
54045         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54046         * stdlib/bits/stdlib-float.h: New file.
54047         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54048         -mno-sse -mno-mmx.
54049         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54050         <xmmintrin.h>.
54052 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54054         * conform/conformtest.pl (@headers): Add fenv.h.
54055         * conform/data/fenv.h-data: New file.
54056         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54057         include of <math/fenv.h>.
54059         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54060         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54061         && !UNIX98].  Enables tests for XOPEN2K8.
54062         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54063         POSIX2008]: Likewise.
54065         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54066         (struct rusage): Do not expect type or its members.
54068         [BZ #3439]
54069         * math/math.h (FP_NAN): Define macro to integer constant usable in
54070         #if and use that to give value to enum constant.
54071         (FP_INFINITE): Likewise.
54072         (FP_ZERO): Likewise.
54073         (FP_SUBNORMAL): Likewise.
54074         (FP_NORMAL): Likewise.
54076 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54078         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54079         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54080         arguments.
54082 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54084         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54085         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54086         autoconf-time if not.
54087         * configure.in: Remove AC_PREREQ.
54089 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54091         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54092         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54093         of the internal implementation.
54095 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54097         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54098         except include of <misc/sys/syslog.h>.
54100 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54103         function returns with a NULL context exit with zero.
54105 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54107         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54109 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54111         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54112         (run_program_cmd): This.
54113         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54114         (tst_langinfo): New variable.  Use it.
54116 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54118         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54119         floating point opcodes.
54121 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54123         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54124         variable.
54126         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54128         * sysdeps/mach/hurd/powerpc: Remove directory.
54129         * sysdeps/mach/powerpc: Likewise.
54131 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54133         * scripts/check-local-headers.sh: Ignore c++ headers.
54135 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54137         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54138         __libc_cleanup_region_start argument.
54140 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54142         [BZ #14784]
54143         [BZ #14785]
54144         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54145         x * y using scaling, not as x * y + z.
54146         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54147         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54148         * math/libm-test.inc (fma_test): Add more tests.
54149         (fma_test_towardzero): Likewise.
54150         (fma_test_downward): Likewise.
54151         (fma_test_upward): Likewise.
54153 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54155         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54157 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54159         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54160         New variable.
54162 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54164         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54166 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54169         Fix sort order.
54170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54171         Likewise.
54173 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54176         Fix the order of the list for glibc 2.17.
54177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54178         Likewise.
54180 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54184 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54186         [BZ #14610]
54187         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54188         for low part of x being zero before using __atanl (y).
54189         * math/libm-test.inc (atan2_test): Add another test.
54191         * manual/install.texi (Configuring and compiling): Document
54192         general use of test-wrapper and test-wrapper-env.
54193         * INSTALL: Regenerated.
54195         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54196         (__fma): Do not extract and scale down low bits on after-rounding
54197         systems when result rounded to normal precision would have normal
54198         exponent.
54199         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54200         (__fmal): Do not extract and scale down low bits on after-rounding
54201         systems when result rounded to normal precision would have normal
54202         exponent.
54203         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54204         (__fmal): Do not extract and scale down low bits on after-rounding
54205         systems when result rounded to normal precision would have normal
54206         exponent.
54207         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54208         macro.
54209         (fma_test): Add more tests.
54210         (fma_test_towardzero): Likewise.
54211         (fma_test_downward): Likewise.
54212         (fma_test_upward): Likewise.
54214 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54216         * sysdeps/i386/tininess.h: Renamed to ...
54217         * sysdeps/x86/tininess.h: This.
54218         * sysdeps/x86_64/tininess.h: Removed.
54220 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54222         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54223         input.  Use $(build-program-cmd).
54224         ($(objpfx)tst-array1-static.out): Likewise.
54225         ($(objpfx)tst-array2.out): Likewise.
54226         ($(objpfx)tst-array3.out): Likewise.
54227         ($(objpfx)tst-array4.out): Likewise.
54228         ($(objpfx)tst-array5.out): Likewise.
54229         ($(objpfx)tst-array5-static.out): Likewise.
54231 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54233         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54234         if defined.
54236         * nss/nsswitch.h (nss_interface_function): Provide new
54237         macro for use with NSS functions.
54238         * grp/initgroups.c: Use new macro.
54239         * nss/getXXbyYY.c: Likewise.
54240         * nss/getXXbyYY_r.c: Likewise.
54241         * nss/getXXent.c: Likewise.
54242         * nss/getXXent_r.c: Likewise.
54243         * sysdeps/posix/getaddrinfo.c: Likewise.
54245 2012-10-30  Andreas Jaeger  <aj@suse.de>
54247         * po/ru.po: Update Russion translation from translation project.
54249 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54251         [BZ #14152]
54252         [BZ #14783]
54253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54254         result and shift together with sticky bit instead of replicating
54255         round-to-nearest rounding.
54256         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54257         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54258         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54259         missing underflow exceptions.
54260         (fma_test_towardzero): Add more tests.
54261         (fma_test_downward): Likewise.
54262         (fma_test_upward): Likewise.
54264         [BZ #14047]
54265         * sysdeps/generic/tininess.h: New file.
54266         * sysdeps/i386/tininess.h: Likewise.
54267         * sysdeps/sh/tininess.h: Likewise.
54268         * sysdeps/x86_64/tininess.h: Likewise.
54269         * stdlib/tst-strtod-underflow.c: Likewise.
54270         * stdlib/tst-tininess.c: Likewise.
54271         * stdlib/strtod_l.c: Include <tininess.h>.
54272         (round_and_return): Do not set errno for exact underflow cases.
54273         Force an underflow exception when setting errno for underflow.
54274         Determine underflow based on rounding to normal precision if
54275         TININESS_AFTER_ROUNDING.
54276         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54277         ERANGE for exact underflow cases.
54278         * stdlib/Makefile (tests): Add tst-tininess and
54279         tst-strtod-underflow.
54280         ($(objpfx)tst-tininess): Use $(link-libm).
54281         ($(objpfx)tst-strtod-underflow): Likewise.
54283 2012-10-30  Andreas Jaeger  <aj@suse.de>
54285         [BZ#14767]
54286         * elf/Makefile (tests): Remove conditional for have-initfini-array
54287         since this is now always required and the variable does not exist
54288         anymore.
54289         (tests-static): Likewise.
54290         (modules-names): Likewise.
54292         * po/eo.po: Add Esperanto translation from translation project.
54294         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54295         merged with constructor/destructor.
54296         (init_array): Likewise.
54297         * elf/tst-array2dep.c (fini_array): Likewise.
54298         (init_array): Likewise.
54300 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54302         * manual/message.texi: Delete @cartouche tags.
54304 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54306         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54307         EOPNOTSUPP.
54308         * sysdeps/mach/hurd/fsync.c: Likewise.
54310         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54311         [_POSIX_REALTIME_SIGNALS]: Change condition to
54312         [_POSIX_REALTIME_SIGNALS > 0].
54314 2012-10-27  Andreas Jaeger  <aj@suse.de>
54316         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54317         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54319         [__WORDSIZE != 64]: Likewise.
54321 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54323         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54324         *  iconvdata/tst-tables.sh: Likewise.
54326 2012-10-25  David S. Miller  <davem@davemloft.net>
54328         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54329         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54330         of strtoull.
54332         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54333         ifunc-impl-list.c
54334         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54335         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54336         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54337         file.
54339 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54341         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54342         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54343         __getdirentries.
54345 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54346             Jim Blandy  <jimb@codesourcery.com>
54348         * scripts/cross-test-ssh.sh: New file.
54349         * manual/install.texi (Configuring and compiling): Document use of
54350         cross-test-ssh.sh.
54351         * INSTALL: Regenerated.
54353 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54355         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54356         EOPNOTSUPP.
54358 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54360         * Makeconfig (run-program-prefix): Fix comment.
54362 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54363             Jim Blandy  <jimb@codesourcery.com>
54365         * Makeconfig (test-wrapper): New variable,
54366         (test-wrapper-env): Likewise.
54367         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54368         (run-built-tests): Define to yes.
54369         (run-program-prefix): Use $(test-wrapper).
54370         (built-program-cmd): Likewise.
54371         * Rules (make-test-out): Use $(test-wrapper-env) and
54372         $(host-built-program-cmd).
54373         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54374         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54375         tst-pathopt.sh.
54376         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54377         $(test-wrapper-env) to tst-rtld-load-self.sh.
54378         ($(objpfx)order2.out): Use $(test-wrapper).
54379         ($(objpfx)tst-initorder.out): Likewise.
54380         ($(objpfx)tst-initorder2.out): Likewise.
54381         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54382         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54383         (test_wrapper_env): New variable.  Use it to run ld.so.
54384         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54385         Use it to run ld.so.
54386         (test_wrapper_env): Likewise.
54387         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54388         $(test-wrapper) to run-iconv-test.sh.
54389         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54390         (ICONV): Use $test_wrapper.
54391         * posix/Makefile ($(objpfx)globtest.out): Pass
54392         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54393         globtest.sh, not $(run-program-prefix).
54394         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54395         (test_wrapper): Likewise.
54396         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54397         set together with run_via_rtld_prefix.
54398         (run_program_prefix): Define in terms of test_wrapper and
54399         run_via_rtld_prefix.
54401 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54403         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54404         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54405         Targets removed.
54407         [BZ #14743]
54408         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54409         Declare __clock_getres, __clock_gettime, __clock_settime,
54410         __clock_nanosleep, and __clock_getcpuclockid.
54411         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54412         Remove librt_hidden_def (clock_gettime).
54413         * sysdeps/unix/clock_gettime.c: Likewise.
54414         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54415         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54416         * rt/clock_getres.c: Define __clock_getres as an alias.
54417         * sysdeps/posix/clock_getres.c: Likewise.
54418         * rt/clock_settime.c: Define __clock_settime as an alias.
54419         * sysdeps/unix/clock_settime.c: Likewise.
54420         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54421         * sysdeps/unix/clock_nanosleep.c: Likewise.
54422         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54423         * rt/clock-compat.c: New file.
54424         * rt/Makefile (librt-routines): Add clock-compat and move
54425         $(clock-routines) to ...
54426         (routines): ... here, new variable.
54427         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54428         Don't add get_clockfreq here.
54429         * rt/Versions (libc: GLIBC_2.17): New version set.
54430         Add clock_* symbols here.
54431         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54432         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54433         (GLIBC_2.17): Add clock_* symbols.
54434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54435         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54436         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54438         Likewise.
54439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54440         Likewise.
54441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54445         * NEWS: Mention the move.
54447         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54448         Use __open, __read, __close rather than their public counterparts.
54449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54450         (__get_clockfreq_via_cpuinfo): Likewise.
54451         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54452         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54454         * config.h.in (HAVE_IFUNC): New #undef.
54455         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54456         was successful.
54457         * configure: Regenerated.
54459 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54461         * configure.in: Move READELF check to start of file.
54462         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54463         libc_cv_asm_gnu_indirect_function in the process.
54464         * configure: Regenerated.
54466 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54468         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54469         send the output to /dev/null.
54470         (libc_cv_cc_with_libunwind): Likewise.
54471         (libc_cv_as_noexecstack): Likewise.
54472         * configure: Regenerate.
54474 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54476         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54478         * posix/globtest.sh (TMPDIR): Do not set.
54479         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54480         (testout): Likewise.
54482 2012-10-24  Andreas Jaeger  <aj@suse.de>
54484         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54485         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54486         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54487         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54488         posix_fadvise64, posix_fallocate64.
54490         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54491         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54492         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54493         Likewise.
54494         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54495         Likewise.
54496         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54499         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54500         <bits/fcntl-linux.h>.
54501         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54504         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54505         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54506         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54507         [__WORDSIZE != 64]: Likewise.
54509 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54511         * Makeconfig (run-built-tests): New variable.
54512         * Rules [$(cross-compiling) = yes]: Change condition to
54513         [$(run-built-tests) = no].
54514         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54515         to [$(run-built-tests) = yes].
54516         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54517         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54518         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54519         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54520         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54521         * io/Makefile [$(cross-compiling) = no]: Likewise.
54522         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54523         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54524         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54525         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54526         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54527         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54528         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54529         * string/Makefile [$(cross-compiling) = no]: Likewise.
54531         * posix/Makefile ($(objpfx)globtest.out): Pass
54532         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54533         $(rtld-installed-name).
54534         * posix/globtest.sh (elf_objpfx): Remove variable.
54535         (rtld_installed_name): Likewise.
54536         (library_path): Likewise.
54537         (run_program_prefix): New variable.  Use for running globtest
54538         binary.
54540 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54541             Joseph Myers  <joseph@codesourcery.com>
54543         * Makeconfig (host-built-program-cmd): New variable.
54544         * elf/Makefile (tst-stackguard1-ARGS): Use
54545         $(host-built-program-cmd).
54546         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54547         (tst-spawn-ARGS): Likewise.
54548         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54550 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54551             Jim Blandy  <jimb@codesourcery.com>
54553         * Makeconfig (run-via-rtld-prefix): New variable.
54554         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54555         (built-program-cmd): Likewise.
54557 2012-10-22  Andreas Jaeger  <aj@suse.de>
54559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54560         __O_RSYNC if it exists, otherwise to O_SYNC.
54562 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54563             Joseph Myers  <joseph@codesourcery.com>
54565         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54566         /dev/null.
54567         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54568         from /dev/null
54569         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54570         /dev/null.
54572 2012-10-22  Andreas Jaeger  <aj@suse.de>
54574         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54575         Define always.
54576         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54579         bits/fcntl-linux.h.
54581         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54582         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54585         to __O_LARGEFILE.
54586         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54587         to __O_LARGEFILE.
54589 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54590             Joseph Myers  <joseph@codesourcery.com>
54592         * config.make.in (NM): New variable.
54594 2012-10-21  Andreas Jaeger  <aj@suse.de>
54596         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54597         definitions and declarations that are provided by
54598         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54600 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54602         [BZ #14683]
54603         * elf/Makefile (tests-static): Add tst-leaks1-static.
54604         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54605         ($(objpfx)tst-leaks1-static): New rule.
54606         ($(objpfx)tst-leaks1-static-mem): Likewise.
54607         (tst-leaks1-static-ENV): New macro.
54608         * elf/dl-open.c (dl_open_worker): Check the main application
54609         only if SHARED is defined.
54610         * elf/tst-leaks1-static.c: New file.
54612 2012-10-20  Andreas Jaeger  <aj@suse.de>
54614         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54615         generic values for Linux.
54616         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54617         and declarations that are provided by <bits/fcntl-linux.h> and
54618         include <bits/fcntl-linux.h>.
54619         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54620         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54622 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54624         * io/fcntl.h: Move include of <bits/types.h> to the top and
54625         include it unconditionally.
54627 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54629         * wcsmbs/Makefile (tests-ifunc): New variable.
54630         (tests): Add $(tests-ifunc).
54631         * wcsmbs/test-wcschr-ifunc.c: New file.
54632         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54633         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54634         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54635         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54636         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54638         * string/Makefile (tests-ifunc): New variable.
54639         (tests): Add $(tests-ifunc).
54640         * string/test-memccpy.c (TEST_NAME): New macro.
54641         * string/test-memchr.c (TEST_NAME): Likewise.
54642         * string/test-memcmp.c (TEST_NAME): Likewise.
54643         * string/test-memcpy.c (TEST_NAME): Likewise.
54644         * string/test-memmem.c (TEST_NAME): Likewise.
54645         * string/test-memmove.c (TEST_NAME): Likewise.
54646         * string/test-memset.c (TEST_NAME): Likewise.
54647         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54648         * string/test-stpcpy.c (TEST_NAME): Likewise.
54649         * string/test-stpncpy.c (TEST_NAME): Likewise.
54650         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54651         * string/test-strcasestr.c (TEST_NAME): Likewise.
54652         * string/test-strcat.c (TEST_NAME): Likewise.
54653         * string/test-strchr.c (TEST_NAME): Likewise.
54654         * string/test-strcmp.c(TEST_NAME): Likewise.
54655         * string/test-strcpy.c (TEST_NAME): Likewise.
54656         * string/test-strcspn.c (TEST_NAME): Likewise.
54657         * string/test-strlen.c (TEST_NAME): Likewise.
54658         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54659         * string/test-strncmp.c (TEST_NAME): Likewise.
54660         * string/test-strncpy.c (TEST_NAME): Likewise.
54661         * string/test-strnlen.c (TEST_NAME): Likewise.
54662         * string/test-strpbrk.c (TEST_NAME): Likewise.
54663         * string/test-strrchr.c (TEST_NAME): Likewise.
54664         * string/test-strspn.c (TEST_NAME): Likewise.
54665         * string/test-strstr.c (TEST_NAME): Likewise.
54666         * string/test-bcopy-ifunc.c: New file.
54667         * string/test-bzero-ifunc.c: Likewise.
54668         * string/test-memccpy-ifunc.c: Likewise.
54669         * string/test-memchr-ifunc.c: Likewise.
54670         * string/test-memcmp-ifunc.c: Likewise.
54671         * string/test-memcpy-ifunc.c: Likewise.
54672         * string/test-memmem-ifunc.c: Likewise.
54673         * string/test-memmove-ifunc.c: Likewise.
54674         * string/test-mempcpy-ifunc.c: Likewise.
54675         * string/test-memset-ifunc.c: Likewise.
54676         * string/test-rawmemchr-ifunc.c: Likewise.
54677         * string/test-stpcpy-ifunc.c: Likewise.
54678         * string/test-stpncpy-ifunc.c: Likewise.
54679         * string/test-strcasecmp-ifunc.c: Likewise.
54680         * string/test-strcasestr-ifunc.c: Likewise.
54681         * string/test-strcat-ifunc.c: Likewise.
54682         * string/test-strchr-ifunc.c: Likewise.
54683         * string/test-strchrnul-ifunc.c: Likewise.
54684         * string/test-strcmp-ifunc.c: Likewise.
54685         * string/test-strcpy-ifunc.c: Likewise.
54686         * string/test-strcspn-ifunc.c: Likewise.
54687         * string/test-strlen-ifunc.c: Likewise.
54688         * string/test-strncasecmp-ifunc.c: Likewise.
54689         * string/test-strncat-ifunc.c: Likewise.
54690         * string/test-strncmp-ifunc.c: Likewise.
54691         * string/test-strncpy-ifunc.c: Likewise.
54692         * string/test-strnlen-ifunc.c: Likewise.
54693         * string/test-strpbrk-ifunc.c: Likewise.
54694         * string/test-strrchr-ifunc.c: Likewise.
54695         * string/test-strspn-ifunc.c: Likewise.
54696         * string/test-strstr-ifunc.c: Likewise.
54698         * debug/Makefile (tests-ifunc): New variable.
54699         (tests): Add $(tests-ifunc).
54700         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54701         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54702         * debug/test-stpcpy_chk-ifunc.c: New file.
54703         * debug/test-strcpy_chk-ifunc.c: Likewise.
54705 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54707         [BZ #13601]
54708         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54709         header is not read in.
54711 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54713         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54714         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54715         directly.  Pass built executable to script as
54716         $(built-program-cmd).
54717         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54718         $testprogram without using LD_LIBRARY_PATH and $ldso.
54720         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54721         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54722         $(rtld-installed-name).
54723         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54724         (rtld_installed_name): Likewise.
54725         (library_path): Likewise.
54726         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54727         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54728         $(run-program-prefix) to tst-tables.sh.
54729         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54730         it to run tst-table-from and tst-table-to.
54731         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54732         Pass it to tst-table.sh.
54733         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54734         $(run-program-prefix) to tst-gettext.sh.
54735         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54736         tst-translit.sh.
54737         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54738         tst-gettext2.sh.
54739         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54740         to run tst-gettext.
54741         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54742         to run tst-gettext2.
54743         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54744         to run tst-translit.
54745         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54746         $(run-program-prefix) to tst-mtrace.sh.
54747         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54748         to run tst-mtrace.
54749         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54750         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54751         $(rtld-installed-name).
54752         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54753         (rtld_installed_name): Likewise.
54754         (run_program_prefix): New variable.  Use it to run wordexp-test.
54756         * Makeconfig (ARCH): Remove all definitions.
54757         (machine): Likewise.
54758         [ARCH]: Remove conditional code.
54759         [!objdir]: Give error.
54760         [!objdir] (objpfx): Remove.
54761         [!objdir] (common-objpfx): Likewise.
54762         [!objdir] (common-objdir): Likewise.
54763         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54764         AC_CONFIG_FILES call.
54765         * configure: Regenerated.
54767         [BZ #13888]
54768         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54769         or TMPDIR.
54770         (testout): Likewise.
54772         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54773         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54774         $(rtld-installed-name).
54775         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54776         (rtld_installed_name): Likwise.
54777         (runit): Remove function.
54778         (run_getconf): New variable,  Use it for running getconf binary.
54780 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54782         [BZ #14716]
54783         * string/test-memmem.c (check_result): New function.
54784         (do_one_test): Use it.
54785         (check1): New function.
54786         (test_main): Use it.
54788 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54790         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54792 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54794         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54795         (_G_LSEEK64): Likewise.
54796         (_G_MMAP64): Likewise.
54797         (_G_FSTAT64): Likewise.
54798         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54799         (_G_LSEEK64): Likewise.
54800         (_G_MMAP64): Likewise.
54801         (_G_FSTAT64): Likewise.
54802         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54803         unconditional.  Call __mmap64 directly.
54804         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54805         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54806         __lseek64 directly.
54807         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54808         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54809         __mmap64 directly.
54810         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54811         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54812         __lseek64 directly.
54813         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54814         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54815         __lseek64 directly.
54816         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54817         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54818         __lseek64 directly.
54819         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54820         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54821         __fxstat64 directly.
54822         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54823         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54824         unconditional.
54825         (freopen64) [!_G_OPEN64]: Remove conditional code.
54826         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54827         unconditional.
54828         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54829         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54830         unconditional.
54831         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54832         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54833         unconditional.
54834         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54835         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54836         unconditional.
54837         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54838         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54839         unconditional.
54840         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54841         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54842         unconditional.
54843         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54844         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54845         unconditional.
54846         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54848 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54850         [BZ #12140]
54851         * manual/memory.texi (Malloc Tunable Parameters): Add note
54852         about free list pointers overwriting some perturb bytes.
54853         Wording suggested by Roland McGrath.
54855 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54857         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54858         (lgamma_test): Likewise.
54859         (tgamma_test): Likewise.
54861 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54863         [BZ #14700]
54864         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54865         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54867 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54869         * NEWS: Mention BZ #14716.
54870         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54871         when removing AVAILABLE1_USES_J macro.
54873 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54875         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54876         (__bswap_64): __uint64_t for unsigned 64-bit int.
54878 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54880         * include/string.h (memmem): Declare libc hidden alias.
54881         * string/memmem.c (memmem): Define libc hidden alias.
54882         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54883         __read, __close instead of open, read, close.
54885 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54888         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54889         global and hidden.
54890         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54891         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54892         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54893         Likewise.
54894         (__rawmemchr_sse2): Likewise.
54895         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54896         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54897         (__strchr_sse2): Likewise.
54898         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54899         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54900         (__strcasecmp_sse2): Likewise.
54901         (__strncasecmp_sse2): Likewise.
54902         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54903         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54904         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54905         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54906         (__strrchr_sse2): Likewise.
54907         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54908         ifunc-impl-list.c.
54909         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54910         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54911         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54912         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54913         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54914         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54915         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54916         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54917         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54918         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54919         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54920         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54921         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54922         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54923         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54924         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54925         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54926         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54927         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54928         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54929         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54930         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54931         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54932         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54933         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54934         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54935         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54936         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54937         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54938         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54940         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54941         global and hidden.
54942         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54943         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54944         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54945         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54946         Likewise.
54947         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54948         Likewise.
54949         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54950         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54951         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54952         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54953         ifunc-impl-list.c.
54954         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54955         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54957         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54958         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54959         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54960         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54961         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54962         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54963         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54964         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54965         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54966         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54967         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54968         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54969         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54970         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54971         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54972         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54973         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54974         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54975         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54976         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54977         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54978         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54979         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54980         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54981         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54982         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54984         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54985         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54986         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54987         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54988         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54989         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54990         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54991         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54992         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54993         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54994         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54996         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54997         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54998         * include/ifunc-impl-list.h: New file.
54999         * misc/ifunc-impl-list.c: Likewise.
55000         * misc/Makefile (routines): Add ifunc-impl-list.
55001         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55002         * string/test-string.h: Include <ifunc-impl-list.h>.
55003         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55004         TEST_NAME]: New variables.
55005         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55006         are defined.
55007         (test_init): Call __libc_ifunc_impl_list to initialize
55008         func_list if TEST_IFUNC and TEST_NAME are defined.
55010         * string/Makefile (strop-tests): Add bcopy and bzero.
55011         * string/test-bcopy.c: New file.
55012         * string/test-bzero.c: Likewise.
55013         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55014         defined.
55015         * string/test-memset.c: Support bzero test if TEST_BZERO is
55016         defined.
55017         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55018         __libc_memmove.
55019         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55020         __libc_memset.
55021         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55022         of memset.
55024 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55026         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55027         * configure: Regenerated.
55029         * Makeconfig (+link-static-before-libc): Don't include
55030         $(link-static-libc).
55032         * libio/libio.h (_IO_pos_t): Remove.
55034 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55036         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55037         McGrath.
55039 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55041         * crypt/crypt-entry.c: Include fips-private.h.
55042         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55043         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55044         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55045         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55047 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55049         * crypt/crypt-private.h: Include stdbool.h.
55050         (_ufc_setup_salt_r): Return bool.
55051         * crypt/crypt-entry.c: Include errno.h.
55052         (__crypt_r): Return NULL with EINVAL for bad salt.
55053         * crypt/crypt_util.c (bad_for_salt): New.
55054         (_ufc_setup_salt_r): Check that salt is long enough and within
55055         the specified alphabet.
55056         * crypt/badsalttest.c: New file.
55057         * crypt/Makefile (tests): Add it.
55058         ($(objpfx)badsalttest): New.
55060 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55062         * NEWS: Add entry for BZ #14602.
55064 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55066         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55067         type-generic.
55068         * math/libm-test.inc: Update comment listing what functions and
55069         macros are tested.
55070         (isgreater_test): New function.
55071         (isgreaterequal_test): Likewise.
55072         (isless_test): Likewise.
55073         (islessequal_test): Likewise.
55074         (islessgreater_test): Likewise.
55075         (isunordered_test): Likewise.
55076         (main): Call the new functions.
55078 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55080         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55081         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55082         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55083         * sysdeps/i386/configure: Regenerated.
55084         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55085         * sysdeps/mach/configure: Regenerated.
55086         * sysdeps/mach/hurd/configure: Regenerated.
55087         * sysdeps/powerpc/configure: Regenerated.
55088         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55089         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55090         * sysdeps/s390/s390-32/configure: Regenerated.
55091         * sysdeps/s390/s390-64/configure: Regenerated.
55092         * sysdeps/sh/configure: Regenerated.
55093         * sysdeps/sparc/configure: Regenerated.
55094         * sysdeps/unix/sysv/linux/configure: Regenerated.
55095         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55096         * sysdeps/x86_64/configure: Regenerated.
55098         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55099         defined.  Don't check if MAP is NULL.
55101 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55103         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55104         (_G_stat64): Likewise.
55105         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55106         (_G_stat64): Likewise.
55107         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55108         instead of struct _G_stat64.
55109         * libio/fileops.c (mmap_remap_check): Likewise.
55110         (decide_maybe_mmap): Likewise.
55111         (_IO_new_file_seekoff): Likewise.
55112         (_IO_file_stat): Likewise.
55113         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55114         _G_off64_t.
55115         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55116         instead of struct _G_stat64.
55117         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55119 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55121         [BZ #14602]
55122         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55123         Replace with ...
55124         (CHECK_EOL): New macro.
55125         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55126         CHECK_EOL.
55127         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55128         Replace with CHECK_EOL.
55129         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55130         Replace with CHECK_EOL.
55132 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55134         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55135         type-generic.
55136         * math/libm-test.inc: Update comment listing what functions and
55137         macros are tested.
55138         (finite_test): New function.
55139         (isinf_test): Likewise.
55140         (isnan_test): Likewise.
55141         (fpclassify_test): Test subnormal input.
55142         (isfinite_test): Likewise.
55143         (isnormal_test): Likewise.
55144         (main): Call the new functions.
55146 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55148         [BZ #14660]
55149         * Makerules (%.dynsym): Force C locale when running
55150         $(OBJDUMP) --dynamic-syms.
55152 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55154         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55155         <stdint.h>.
55157 2012-10-06  David S. Miller  <davem@davemloft.net>
55159         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55160         upper 32-bits of the length value in %o2 since we use branch-on-register
55161         tests which consider the entire 64-bit register.
55163 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55165         * string/test-strstr.c (check2): Add a test for page boundary.
55167 2012-10-05  David S. Miller  <davem@davemloft.net>
55169         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55170         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55171         file.
55172         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55173         sysdep_routines.
55174         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55175         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55176         and bzero when HWCAP_SPARC_CRYPTO is present.
55178 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55180         [BZ #14602]
55181         * string/test-strstr.c (check2): New function.
55182         (test_main): Call check2.
55184         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55185         and bug-strchr1.
55186         * string/bug-strcasestr1.c (do_test): Moved to ...
55187         * string/test-strcasestr.c (check1): Here.  New function.
55188         (do_one_test): Break out result checking code into ...
55189         (check_result): This.  New function.
55190         (do_one_test): Call check_result.
55191         (test_main): Call check1.
55192         * string/bug-strchr1.c (do_test): Moved to ...
55193         * string/test-strchr.c (check1): Here.  New function.
55194         (do_one_test): Break out result checking code into ...
55195         (check_result): This.  New function.
55196         (do_one_test): Call check_result.
55197         (test_main): Call check1.
55198         * string/bug-strstr1.c (main): Moved to ...
55199         * string/test-strstr.c (check1): Here.  New function.
55200         (do_one_test): Break out result checking code into ...
55201         (check_result): This.  New function.
55202         (do_one_test): Call check_result.
55203         (test_main): Call check1.
55204         * string/bug-strcasestr1.c: Removed.
55205         * string/bug-strchr1.c: Likewise.
55206         * string/bug-strstr1.c: Likewise.
55208         * elf/Makefile (dl-routines): Add hwcaps.
55209         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55210         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55211         (_dl_important_hwcaps): Moved to ...
55212         * elf/dl-hwcaps.c: Here.  New file.
55213         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55215         [BZ #14557]
55216         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55217         if IS_IN_rtld isn't defined.
55219         * elf/dl-support.c (_dl_sysinfo_map): New.
55220         Include "get-dynamic-info.h" and "setup-vdso.h".
55221         (_dl_non_dynamic_init): Call setup_vdso.
55222         * elf/dynamic-link.h: Don't include <assert.h>.
55223         (elf_get_dynamic_info): Moved to ...
55224         * elf/get-dynamic-info.h: Here.  New file.
55225         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55226         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55227         * elf/setup-vdso.h: Here.  New file.
55228         * elf/rtld.c: Include "setup-vdso.h".
55229         (dl_main): Call setup_vdso.
55231 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55233         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55234         creal in comment listing functions tested.  List finite, isinf,
55235         isnan, isless, islessequal, isgreater, isgreaterequal,
55236         islessgreater, isunordered, lgamma_r and pow10 as functions and
55237         macros not tested.  Mention which functions not tested are aliases
55238         for other functions.  Fix typo.  Note that signs of NaNs are not
55239         tested.
55241         * scripts/config.guess: Update from config.git.
55242         * scripts/config.sub: Likewise.
55244 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55246         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55247         * misc/madvise.c (madvise): Renamed to __madvise.
55248         Make madvise a weak alias.
55249         * include/sys/mman.h: Declare __madvise.
55250         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55251         * sysdeps/unix/syscalls.list
55252         (madvise): Make __madvise the strong name, and madvise a weak alias.
55253         * sysdeps/unix/sysv/linux/syscalls.list
55254         (madvise, mmap): Remove redundant entries.
55255         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55256         * malloc/malloc.c (mtrim): Likewise.
55257         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55259 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55261         * sysdeps/mach/hurd/dl-cache.c: File removed.
55262         * config.h.in (USE_LDCONFIG): New #undef.
55263         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55264         * configure: Regenerated.
55265         * elf/Makefile (dl-routines): Add dl-cache only under
55266         [$(use-ldconfig) = yes].
55267         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55268         cache on [USE_LDCONFIG].
55269         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55270         [USE_LDCONFIG].
55271         * elf/rtld.c (dl_main): Likewise.
55273 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55275         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55276         _SC_LEVEL4_CACHE_LINESIZE.
55278 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55280         * sysdeps/unix/bsd/confstr.h: File removed.
55282 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55284         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55285         sys/sdt-config.h.
55287 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55289         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55290         Make 'mapoff' field ElfW(Off) rather than off_t.
55292 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55294         * nscd/Makefile: Remove nscd-cflags and all its users.
55295         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55296         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55298         [BZ #10631]
55299         * malloc.c (malloc_printerr): Clarify error message.
55301 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55303         [BZ #14648]
55304         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55305         Set bit_FMA_Usable if FMA is supported.
55306         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55307         macro.
55308         (bit_FMA4_Usable): Updated.
55309         (index_FMA_Usable): New macro.
55310         (CPUID_FMA): Likewise.
55311         (HAS_FMA): Defined with bit_FMA_Usable.
55313 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55315         * bits/types.h (__swblk_t): Type removed.
55316         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55317         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55318         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55319         (__SWBLK_T_TYPE): Likewise.
55320         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55321         (__SWBLK_T_TYPE): Likewise.
55322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55323         (__SWBLK_T_TYPE): Likewise.
55324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55325         (__SWBLK_T_TYPE): Likewise.
55327 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55328             Honza Horak <hhorak@redhat.com>
55330         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55331         (xdr_mapname): Use YPMAXMAP as maxsize.
55332         (xdr_peername): Use YPMAXPEER as maxsize.
55333         (xdr_keydat): Use YPAXRECORD as maxsize.
55334         (xdr_valdat): Use YPMAXRECORD as maxsize.
55336 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55338         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55340         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55341         * csu/init-first.c: ... here.
55342         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55343         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55344         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55345         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55346         * sysdeps/i386/init-first.c: File removed.
55347         * sysdeps/sh/init-first.c: File removed.
55349 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55351         [BZ #14645]
55352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55353         if x * y might underflow to zero and z is zero.
55354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55356         * math/libm-test.inc (min_subnorm_value): New variable.
55357         (fma_test): Add more tests.
55358         (fma_test_towardzero): Likewise.
55359         (fma_test_downward): Likewise.
55360         (fma_test_upward): Likewise.
55361         (initialize): Set min_subnorm_value.
55363 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55365         [BZ #14638]
55366         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55367         0 + 0.
55368         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55369         mode for addition resulting in exact zero.
55370         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55371         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55372         exact 0 + 0.
55373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55375         * math/libm-test.inc (fma_test): Add more tests.
55376         (fma_test_towardzero): New function.
55377         (fma_test_downward): Likewise.
55378         (fma_test_upward): Likewise.
55379         (main): Call the new functions.
55381 2012-09-28  David S. Miller  <davem@davemloft.net>
55383         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55385 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55387         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55388         instead of SIGALRM.
55390         * sysdeps/gnu/_G_config.h: Moved to ...
55391         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55392         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55393         * sysdeps/generic/_G_config.h: ... here.
55395         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55397         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55399         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55400         Conditionalize target on [libnss_test1.so-version].
55402         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55404         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55405         (elfobjdir): Move out of conditionals.
55407         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55408         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55409         (__nss_lookup_function): Conditionalize label remove_from_tree on
55410         [!DO_STATIC_NSS || SHARED], matching its only use.
55412 2012-09-28  David S. Miller  <davem@davemloft.net>
55414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55415         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55416         file.
55417         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55418         sysdep_routines.
55419         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55420         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55421         when HWCAP_SPARC_CRYPTO is present.
55423 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55425         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55427 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55429         [BZ #6530]
55430         * stdio-common/vfprintf.c (process_string_arg): Revert
55431         2000-07-22 change.
55433 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55435         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55436         for testcase.
55437         * stdio-common/tst-sprintf.c: Include <locale.h>
55438         (main): Test sprintf's handling of incomplete multibyte
55439         characters.
55441 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55443         * elf/dl-runtime.c (VERSYMIDX): Removed.
55444         * elf/dl-version.c (VERSYMIDX): Likewise.
55445         * elf/do-rel.h (VERSYMIDX): Likewise.
55446         (VALIDX): Likewise.
55447         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55448         * elf/rtld.c (VALIDX): Likewise.
55449         (ADDRIDX): Likewise.
55450         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55451         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55452         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55453         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55454         (VALIDX): Likewise.
55455         (ADDRIDX): Likewise.
55457 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55459         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55461 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55463         [BZ #11438]
55464         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55465         to global scope.
55466         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55467         addresses are in the same scope as 192.0.2/24.
55468         * posix/gai.conf: Document new scope table defaults.
55470 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55472         [BZ #5298]
55473         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55474         for ftell.  Compute offsets from write pointers instead.
55475         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55477 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55479         [BZ #14543]
55480         * libio/Makefile (tests): New test case tst-fseek.
55481         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55482         combination works in wide mode.
55483         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55484         state when the external buffer state changes.
55486 2012-09-27  David S. Miller  <davem@davemloft.net>
55488         [BZ #14376]
55489         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55490         pass reloc->r_addend in as the 'high' argument to
55491         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55495 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55497         * rt/tst-aio2.c: Include <pthread.h>.
55498         * rt/tst-aio3.c: Likewise.
55500 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55502         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55504 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55506         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55507         contents on [SHARED].
55509 2012-09-26  Marek Polacek  <polacek@redhat.com>
55511         [BZ #14530]
55512         [BZ #13741]
55513         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55514         for C++ and GCC <4.3 as well as for non GCC compilers.
55516 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55520 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55522         * Makefile.in (all, install): Declare with .PHONY.
55523         Reported by Michael Hope <michael.hope@linaro.org>.
55525 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55527         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55528         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55529         system header.
55530         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55531         Likewise.
55532         (sydep_routines): Add the new and the internal functions.
55533         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55534         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55536         (GLIBC_2.17): Add the new function.
55537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55538         (GLIBC_2.17): Likewise.
55539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55540         (GLIBC_2.17): Likewise.
55541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55542         (GLIBC_2.17): Likewise.
55543         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55545 2012-09-25  Alan Modra  <amodra@gmail.com>
55547         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55548         Add release barrier before setting once_control to say
55549         initialisation is done.  Add hints on lwarx.  Use macro in
55550         place of isync.
55551         (clear_once_control): Add release barrier.
55553 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55555         [BZ #13629]
55556         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55557         specially.
55558         * math/s_clog10.c (__clog10): Likewise.
55559         * math/s_clog10f.c (__clog10f): Likewise.
55560         * math/s_clog10l.c (__clog10l): Likewise.
55561         * math/s_clogf.c (__clogf): Likewise.
55562         * math/s_clogl.c (__clogl): Likewise.
55563         * math/Makefile (libm-calls): Add x2y2m1.
55564         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55565         (__x2y2m1): Likewise.
55566         (__x2y2m1l): Likewise.
55567         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55568         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55569         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55570         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55571         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55572         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55573         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55574         * sysdeps/i386/fpu/libm-test-ulps: Update.
55575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55577         [BZ #14621]
55578         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55579         int as type of variable DEPTH.
55580         (glob): Use size_t instead of int as type of variables NEWCOUNT
55581         and OLD_PATHC.
55583 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55585         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55586         Add s_sincosf-sse2.
55587         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55588         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55589         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55590         macros for using routine as __sincosf_ia32.
55591         Use macro for function declaration and weak_alias.
55592         * sysdeps/i386/fpu/libm-test-ulps: Update.
55594         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55595         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55597         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55598         subnormal argument.
55599         * math/s_cexpf.c (__cexpf): Likewise.
55600         * math/s_csinf.c (__csinf): Likewise.
55601         * math/s_csinhf.c (__csinhf): Likewise.
55602         * math/s_ctanf.c (__ctanf): Likewise.
55603         * math/s_ctanhf.c (__ctanhf): Likewise.
55604         * math/s_ccosh.c (__ccoshf): Likewise.
55605         * math/s_cexp.c (__cexpl): Likewise.
55606         * math/s_csin.c (__csin): Likewise.
55607         * math/s_csinh.c (__csinh): Likewise.
55608         * math/s_ctan.c (__ctan): Likewise.
55609         * math/s_ctanh.c (ctanh): Likewise.
55610         * math/s_ccoshl.c (__ccoshl): Likewise.
55611         * math/s_cexpl.c (__cexpl): Likewise.
55612         * math/s_csinl.c (__csinl): Likewise.
55613         * math/s_csinhl.c (__csinhl): Likewise.
55614         * math/s_ctanl.c (__ctanl): Likewise.
55615         * math/s_ctanhl.c (__ctanhl): Likewise.
55617 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55619         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55620         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55621         (_IO_off_t): Define to __off_t, not _G_off_t.
55622         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55623         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55624         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55625         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55626         type of __dummy and __dummy2 fields.
55627         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55628         (_G_ssize_t): Likewise.
55629         (_G_off_t): Likewise.
55630         (_G_pid_t): Likewise.
55631         (_G_uid_t): Likewise.
55632         (_G_wchar_t): Likewise.
55633         (_G_wint_t): Likewise.
55634         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55635         (_G_ssize_t): Likewise.
55636         (_G_off_t): Likewise.
55637         (_G_pid_t): Likewise.
55638         (_G_uid_t): Likewise.
55639         (_G_wchar_t): Likewise.
55640         (_G_wint_t): Likewise.
55641         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55642         (_G_ssize_t): Likewise.
55643         (_G_off_t): Likewise.
55644         (_G_pid_t): Likewise.
55645         (_G_uid_t): Likewise.
55646         (_G_wchar_t): Likewise.
55647         (_G_wint_t): Likewise.
55649 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55651         * malloc/arena.c: Include malloc-sysdep.h.
55652         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55653         is sufficient to shrink the heap or an unmap is needed.
55654         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55655         new function check_may_shrink_heap.
55656         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55657         new function check_may_shrink_heap.
55659 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55661         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55662         comments.
55664 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55666         * catgets/test-gencat.sh: Add "set -e".
55667         * elf/tst-pathopt.sh: Likewise.
55668         * grp/tst_fgetgrent.sh: Likewise.
55669         * iconvdata/run-iconv-test.sh: Likewise.
55670         * intl/tst-gettext.sh: Likewise.
55671         * intl/tst-gettext2.sh: Likewise.
55672         * intl/tst-gettext4.sh: Likewise.
55673         * intl/tst-gettext6.sh: Likewise.
55674         * intl/tst-translit.sh: Likewise.
55675         * io/ftwtest-sh: Likewise.
55676         * libio/test-freopen.sh: Likewise.
55677         * malloc/tst-mtrace.sh: Likewise.
55678         * posix/globtest.sh: Likewise.
55679         * posix/tst-getconf.sh: Likewise.
55680         * posix/wordexp-tst.sh: Likewise.
55681         * stdio-common/tst-printf.sh: Likewise.
55682         * stdio-common/tst-unbputc.sh: Likewise.
55683         * stdlib/tst-fmtmsg.sh: Likewise.
55684         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55685         * catgets/Makefile: Do not specify -e option when running
55686         testsuite shell scripts.
55687         * elf/Makefile: Likewise.
55688         * grp/Makefile: Likewise.
55689         * iconvdata/Makefile: Likewise.
55690         * intl/Makefile: Likewise.
55691         * io/Makefile: Likewise.
55692         * libio/Makefile: Likewise.
55693         * malloc/Makefile: Likewise.
55694         * posix/Makefile: Likewise.
55695         * stdio-common/Makefile: Likewise.
55696         * stdlib/Makefile: Likewise.
55697         * sysdeps/x86_64/Makefile: Likewise.
55699         * io/ftwtest-sh: Add copyright header.
55700         * posix/globtest.sh: Likewise.
55701         * posix/tst-getconf.sh: Likewise.
55702         * posix/wordexp-tst.sh: Likewise.
55703         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55705 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55707         [BZ #13679]
55708         * Makeconfig (+link): Defined as $(+link-static) if
55709         $(build-shared) isn't yes.
55710         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55711         isn't yes.
55712         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55714         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55716         [BZ #14562]
55717         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55718         new chunk size with MALLOC_ALIGN_MASK.
55720 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55722         [BZ #5044]
55723         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55724         <rounding-mode.h>.
55725         (__printf_fphex): Determine rounding using get_rounding_mode and
55726         round_away.
55727         * stdio-common/tst-printf-round.c (struct hex_test): New
55728         structure.
55729         (hex_tests): New variable.
55730         (test_hex_in_one_mode): New function.
55731         (do_test): Also run tests for hex float output.
55733 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55735         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55736         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55737         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55738         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55739         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55740         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55741         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55742         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55744 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55746         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55747         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55748         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55749         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55751 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55753         [BZ #14579]
55754         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55755         mode only.
55756         * elf/tst-rtld-load-self.sh: New test.
55757         * elf/Makefile: Run it.
55759 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55761         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55762         (tst-writev-ENV): Remove.
55763         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55765 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55767         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55769 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55771         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55772         unconditional.
55773         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55774         Likewise.
55775         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55776         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55777         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55778         Likewise.
55780 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55782         [BZ #14587]
55783         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55784         * config.make.in (have-cpp-asm-debuginfo): Removed.
55785         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55786         * configure: Regenerated.
55788 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55790         [BZ #5044]
55791         * stdio-common/printf_fp.c: Include <stdbool.h> and
55792         <rounding-mode.h>.
55793         (___printf_fp): Determine rounding using get_rounding_mode and
55794         round_away.
55795         * stdio-common/tst-printf-round.c: New file.
55796         * stdio-common/Makefile (tests): Add tst-printf-round.
55797         (link-libm): New variable.
55798         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55800 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55802         [BZ #14576]
55803         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55804         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55805         Likewise.
55806         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55807         Likewise.
55809 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55811         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55812         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55813         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55814         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55816 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55818         [BZ #14518]
55819         * include/rounding-mode.h: New file.
55820         * sysdeps/generic/get-rounding-mode.h: Likewise.
55821         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55822         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55823         (MAX_VALUE): New macro.
55824         (MIN_VALUE): Likewise.
55825         (overflow_value): New function.
55826         (underflow_value): Likewise.
55827         (round_and_return): Use overflow_value and underflow_value to
55828         determine return values in overflow and underflow cases.  Use
55829         round_away to determine rounding depending on rounding mode.
55830         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55831         determine return values in overflow and underflow cases.
55832         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55833         (struct test_results): New structure.
55834         (struct test): Use struct test_results to store expected results
55835         for all rounding modes.
55836         (TEST): Include expected results for all rounding modes.
55837         (test_in_one_mode): New function.
55838         (do_test): Use test_in_one_mode to compute and check results.
55839         Check results for all rounding modes.
55840         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55841         $(link-libm).
55843 2012-12-09  Allan McRae  <allan@archlinux.org>
55845         * sysdeps/i386/fpu/libm-test-ulps: Update
55847 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55849         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55850         (_G_int32_t): Likewise.
55851         (_G_uint16_t): Likewise.
55852         (_G_uint32_t): Likewise.
55853         (_G_HAVE_BOOL): Likewise.
55854         (_G_HAVE_ATEXIT): Likewise.
55855         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55856         (_G_HAVE_IO_FILE_OPEN): Likewise.
55857         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55858         (_G_int32_t): Likewise.
55859         (_G_uint16_t): Likewise.
55860         (_G_uint32_t): Likewise.
55861         (_G_HAVE_BOOL): Likewise.
55862         (_G_HAVE_ATEXIT): Likewise.
55863         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55864         (_G_HAVE_IO_FILE_OPEN): Likewise.
55865         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55866         (_G_int32_t): Likewise.
55867         (_G_uint16_t): Likewise.
55868         (_G_uint32_t): Likewise.
55869         (_G_HAVE_BOOL): Likewise.
55870         (_G_HAVE_ATEXIT): Likewise.
55871         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55872         (_G_HAVE_IO_FILE_OPEN): Likewise.
55874 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55876         * csu/libc-tls.c: Update copyright years.
55878 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55880         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55881         [!_G_USING_THUNKS]: Remove conditional code.
55882         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55883         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55885         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55886         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55887         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55888         (_G_VTABLE_LABEL_PREFIX): Likewise.
55889         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55890         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55891         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55892         (_G_VTABLE_LABEL_PREFIX): Likewise.
55893         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55894         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55895         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55896         (_G_VTABLE_LABEL_PREFIX): Likewise.
55897         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55899 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55901         * libio/Makefile: Include ../Makeconfig before tests.
55902         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55903         only if $(build-shared) is yes.
55905         * iconv/gconv_db.c: Update copyright years.
55907 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55909         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55910         unwind info if defined PIC. Fix special cases description.
55911         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55913         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55914         DP_HI_MASK entry.
55915         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55917 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55919         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55921         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55922         is NULL.
55924         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55925         (LDLIBS-tst-chk4): This.
55926         (LDFLAGS-tst-chk5): Renamed to ...
55927         (LDLIBS-tst-chk5): This.
55928         (LDFLAGS-tst-chk6): Renamed to ...
55929         (LDLIBS-tst-chk6): This.
55930         (LDFLAGS-tst-lfschk4): Renamed to ...
55931         (LDLIBS-tst-lfschk4): This.
55932         (LDFLAGS-tst-lfschk5): Renamed to ...
55933         (LDLIBS-tst-lfschk5): This.
55934         (LDFLAGS-tst-lfschk6): Renamed to ...
55935         (LDLIBS-tst-lfschk6): This.
55937         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55938         on $(common-objpfx)soversions.mk.
55940 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55942         [BZ #10014]
55943         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55944         example host name.
55946 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55948         * malloc/arena.c (arena_get_retry): New function that gets
55949         another arena for the caller to try its request on.
55950         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55951         current arena cannot fulfill the request.
55952         (__libc_memalign): Likewise.
55953         (__libc_memalign): Likewise.
55954         (__libc_pvalloc): Likewise.
55955         (__libc_calloc): Likewise.
55957 2012-09-05  John Tobey  <john.tobey@gmail.com>
55959         [BZ #13542]
55960         * manual/arith.texi (Operations on Complex): Fix description
55961         of carg branch cut.
55963 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55965         [BZ #10014]
55966         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55967         host name.
55969         [BZ #10038]
55970         * manual/memory.texi (Memory): Make order of menu items match
55971         order of sections.
55973 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55975         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55976         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55977         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55979 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55981         * csu/libc-tls.c (static_dtv): Renamed to ...
55982         (_dl_static_dtv): This.  Make it global.
55983         (_dl_initial_dtv): Removed.
55984         (__libc_setup_tls): Updated.
55985         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55986         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55987         DL_INITIAL_DTV.
55989 2012-09-06  Petr Machata  <pmachata@redhat.com>
55991         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55992         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55993         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55994         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55996 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55998         [BZ #14545]
55999         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56000         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56001         freeing dtv[-1].
56003 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56005         [BZ #14544]
56006         * Makeconfig (link-static-before-libc): Replace $(+prector)
56007         with $(+prectorT).
56008         (link-static-after-libc): Replace $(+postctor) with
56009         $(+postctorT).
56010         (link-bounded): Replace $(+prector)/$(+postctor) with
56011         $(+prectorT)/$(+postctorT).
56012         (+prectorT): New macro.
56013         (+postctorT): Likewise.
56015 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56017         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56018         (round_str): Handle values above the maximum for IBM long double
56019         as inexact.
56020         * stdlib/tst-strtod-round.c (tests): Regenerated.
56022 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56024         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56025         assembler flag.
56026         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56027         zarch_nohighgprs around the zarch optimized routines.
56028         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56029         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56030         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56031         for zarch.
56033 2012-09-05  David S. Miller  <davem@davemloft.net>
56035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56037         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56038         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56039         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56040         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56041         entries.
56043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56045         * malloc/arena.c: Fold copyright years.
56046         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56048 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56050         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56052 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56054         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56058         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56059         change internal state upon failure.
56061 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56063         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56064         * malloc/memusage.c (mmap): Likewise.
56065         (mmap64, mremap): Likewise.  Adjust name in comment.
56067 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56069         * libio/fileops.c: Fix typos in comments.
56070         * libio/oldfileops.c: Likewise.
56071         * libio/wfileops.c: Likewise.
56073 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56075         [BZ #1349]
56076         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56077         (tst-malloc-usable-ENV): Set environment for test case.
56078         * malloc/hooks.c (malloc_check_get_size): New function to get
56079         requested size.
56080         * malloc/malloc.c (musable): Use malloc_check_get_size.
56081         * malloc/tst-malloc-usable.c: New test case.
56083 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56085         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56087 2012-09-05  Allan McRae  <allan@archlinux.org>
56089         [BZ #13966]
56090         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56091         determine header location.
56092         * configure: Regenerated.
56094 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56096         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56097         float format.
56098         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56099         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56100         format.
56101         (test): Regenerate.
56103 2012-09-04  David S. Miller  <davem@davemloft.net>
56105         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56106         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56107         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56109 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56111         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56112         failures.
56114         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56116 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56118         [BZ #9914]
56119         * libio/iogetdelim.c: Include <limits.h>.
56120         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56121         + len + 1 would overflow.
56123 2012-09-03  Andreas Jaeger  <aj@suse.de>
56125         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56126         * sysdeps/i386/fpu/libm-test-ulps: Update.
56128 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56130         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56131         Add s_sinf-sse2, s_conf-sse2.
56133         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56134         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56135         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56136         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56138         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56139         for using routine as __sinf_ia32.
56140         Use macro for function declaration and weak_alias.
56141         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56142         for using routine as __cosf_ia32.
56143         Use macro for function declaration and weak_alias.
56145         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56146         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56148         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56149         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56152         * math/libm-test.inc (cos_test): Add more test cases.
56153         (sin_test): Likewise.
56154         (sincos_test): Likewise.
56156 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56158         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56159         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56160         hidden.
56161         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56163 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56165         [BZ #14538]
56166         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56167         first element of the GOT.
56168         (elf_machine_load_address): Return the difference between
56169         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56171 2012-09-01  Allan McRae  <allan@archlinux.org>
56173         [BZ #13412]
56174         * configure.in (AWK): Require gawk version 3.0 or later.
56175         * configure: Regenerated.
56177 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56179         * sysdeps/unix/sysv/linux/kernel-features.h
56180         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56181         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56182         [__NR_clock_getres]: Make code unconditional.
56183         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56184         (clock_getcpuclockid): Remove code left unreachable by removal of
56185         conditionals.
56186         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56187         code unconditional.
56188         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56189         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56190         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56191         Make code unconditional.
56192         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56193         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56194         * sysdeps/unix/sysv/linux/clock_settime.c
56195         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56196         conditional code.
56197         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56198         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56200 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56202         [BZ #14476]
56203         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56204         scripts/test-installation.pl.
56206         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56207         and $ld_so_version if it is set.
56209 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56211         [BZ #14516]
56212         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56213         failure if reading from procfs failed.
56214         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56216 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56218         * sysdeps/unix/sysv/linux/kernel-features.h
56219         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56220         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56221         Remove conditional code.
56222         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56223         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56224         Remove conditional code.
56225         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56226         * sysdeps/unix/sysv/linux/i386/fxstat.c
56227         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56228         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56229         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56230         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56231         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56232         * sysdeps/unix/sysv/linux/i386/lxstat.c
56233         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56234         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56235         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56236         Remove conditional code.
56237         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56238         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56239         Remove conditional code.
56240         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56241         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56242         <kernel-features.h>.
56243         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56244         Remove.
56245         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56246         Remove conditional code.
56247         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56248         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56249         Remove conditional.
56251 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56253         [BZ #5400]
56254         * NEWS: Add fixed bug number.
56256 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56258         [BZ #14519]
56259         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56260         underflowing exponent in case of negative sign.
56261         * stdlib/tst-strtod-round-data: Add more tests.
56262         * stdlib/tst-strtod-round.c (tests): Regenerated.
56264         [BZ #3479]
56265         * stdlib/strtod_l.c (NDIG): Remove.
56266         (HEXNDIG): Likewise.
56267         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56268         smallest representable value.
56269         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56270         lie within an exact representation of 1/2 ulp of the result.
56271         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56272         unconditionally.
56273         (TENS_P9_IDX): Define unconditionally.
56274         (TENS_P9_SIZE): Likewise.
56275         (TENS_P10_IDX): Likewise.
56276         (TENS_P10_SIZE): Likewise.
56277         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56278         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56279         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56280         entries for 10^2^13 and 10^2^14.
56281         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56282         (TENS_P13_IDX): Define.
56283         (TENS_P13_SIZE): Likewise.
56284         (TENS_P14_IDX): Likewise.
56285         (TENS_P14_SIZE): Likewise.
56286         (_fpioconst_pow10): Change array size to
56287         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56288         unconditional.
56289         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56290         1024]: Add entries for 10^2^13 and 10^2^14.
56291         [LAST_POW10 > _LAST_POW10]: Remove #error.
56292         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56293         (_fpioconst_pow10): Change array size to
56294         FPIOCONST_POW10_ARRAY_SIZE.
56295         * stdlib/gen-fpioconst.c: New file.
56296         * stdlib/gen-tst-strtod-round.c: Likewise.
56297         * stdlib/tst-strtod-round-data: Likewise.
56298         * stdlib/tst-strtod-round.c: Likewise.
56299         * stdlib/Makefile (tests): Add tst-strtod-round.
56301         [BZ #14459]
56302         * stdlib/strtod_l.c: Include <stdint.h>.
56303         (NDEBUG): Do not define.
56304         (round_and_return): Change EXPONENT parameter to type intmax_t.
56305         Rearrange calculations to avoid internal overflow possibilities.
56306         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56307         Rearrange calculations to avoid internal overflow possibilities.
56308         Assert that number fits inside MPNSIZE limbs.
56309         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56310         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56311         calculations and add assertions to avoid internal overflow
56312         possibilities.  Add casts to avoid signed/unsigned operations.
56313         * stdlib/tst-strtod-overflow.c: New file.
56314         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56316 2012-08-25  Marek Polacek  <polacek@redhat.com>
56318         * time/time.h: Fix some typos in comments.
56320 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56322         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56323         * posix/tst-rfc3484-2.c: Likewise.
56324         * posix/tst-rfc3484-3.c: Likewise.
56326 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56328         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56329         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56331 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56333         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56334         #include of fxstatat64.c.
56336 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56338         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56339         * shadow/getspent_r.c: Likewise.
56340         * shadow/getspnam.c: Likewise.
56341         * shadow/getspnam_r.c: Likewise.
56342         * gshadow/getsgent.c: Likewise.
56343         * gshadow/getsgent_r.c: Likewise.
56344         * gshadow/getsgnam.c: Likewise.
56345         * gshadow/getsgnam_r.c: Likewise.
56346         * inet/getnetbyad.c: Likewise.
56347         * inet/getnetbyad_r.c: Likewise.
56348         * inet/getnetbynm.c: Likewise.
56349         * inet/getnetbynm_r.c: Likewise.
56350         * inet/getnetent.c: Likewise.
56351         * inet/getnetent_r.c: Likewise.
56352         * inet/getproto.c: Likewise.
56353         * inet/getproto_r.c: Likewise.
56354         * inet/getprtent.c: Likewise.
56355         * inet/getprtent_r.c: Likewise.
56356         * inet/getprtname.c: Likewise.
56357         * inet/getprtname_r.c: Likewise.
56358         * inet/getrpcbyname.c: Likewise.
56359         * inet/getrpcbyname_r.c: Likewise.
56360         * inet/getrpcbynumber.c: Likewise.
56361         * inet/getrpcbynumber_r.c: Likewise.
56362         * inet/getrpcent.c: Likewise.
56363         * inet/getrpcent_r.c: Likewise.
56364         * inet/getaliasent.c: Likewise.
56365         * inet/getaliasent_r.c: Likewise.
56366         * inet/getaliasname.c: Likewise.
56367         * inet/getaliasname_r.c: Likewise.
56368         * nscd/getgrgid_r.c: Likewise.
56369         * nscd/getgrnam_r.c: Likewise.
56370         * nscd/gethstbyad_r.c: Likewise.
56371         * nscd/gethstbynm3_r.c: Likewise.
56372         * nscd/getpwnam_r.c: Likewise.
56373         * nscd/getpwuid_r.c: Likewise.
56374         * nscd/getsrvbynm_r.c: Likewise.
56375         * nscd/getsrvbypt_r.c: Likewise.
56376         * nscd/gai.c: Likewise.
56378         * configure.in (build_nscd): New substituted variable, set
56379         by --disable-build-nscd and defaults to $use_nscd.
56380         * configure: Regenerated.
56381         * config.make.in (build-nscd): New substituted variable.
56382         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56383         Change conditional to require [$(build-nscd) = yes] as well.
56384         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56386         [BZ# 13696]
56387         * configure.in (use_nscd): New substituted variable, set by
56388         --disable-nscd.  If enabled, define USE_NSCD.
56389         * configure: Regenerated.
56390         * config.h.in: Add USE_NSCD.
56391         * config.make.in (use-nscd): New substituted variable.
56392         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56393         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56394         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56395         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56396         (CFLAGS-getgrnam_r.c): Likewise.
56397         (CFLAGS-initgroups.c): Likewise.
56398         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56399         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56400         Variables removed.
56401         * inet/getnetgrent_r.c
56402         (nscd_setnetgrent): New function, broken out of ...
56403         (setnetgrent): ... here.  Call it.
56404         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56405         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56406         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56407         * nscd/Makefile (routines, aux): Move definitions after include of
56408         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56409         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56410         Conditionalize on [USE_NSCD].
56411         (is_nscd, nscd_init_cb): Likewise.
56412         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56413         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56414         * nss/nss_db/db-init.c: Likewise.
56415         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56416         [USE_NSCD].
56417         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56418         (make_request): Use it.
56419         (cache_valid_p): New function.
56420         (__check_pf): Use it.
56421         * NEWS: Add item for --disable-nscd.
56423 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56425         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56426         to support sed >= 4.2.1-20-ga9bf076.
56427         * configure: Regenerated.
56429 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56431         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56432         Conditionalize whole body on [IREL].
56434 2012-08-22  Jeff Law <law@redhat.com>
56436         [BZ #14505]
56437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56438         if the family is PF_UNSPEC.
56440 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56442         * Makerules (lib-version): Rename from V.
56443         (install-lib-nosubdir): Change V to lib-version.
56445 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56447         [BZ #14252]
56448         * powerpc32/power6/wcschr.c: New file.
56449         * powerpc32/power6/wcscpy.c: New file.
56450         * powerpc32/power6/wcsrchr.c: New file.
56451         * powerpc64/power6/wcschr.c: New file.
56452         * powerpc64/power6/wcscpy.c: New file.
56453         * powerpc64/power6/wcsrchr.c: New file.
56455 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56457         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56458         (two_way_short_needle): Use it.
56459         * string/strstr.c (AVAILABLE1_USES_J): Define.
56460         * string/strcasestr.c: Likewise.
56462         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56463         array references.
56464         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56466         [BZ #11607]
56467         * NEWS: Add an entry.
56468         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56469         define their defaults.
56470         (two_way_short_needle): Detect end-of-string on-the-fly.
56471         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56472         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56473         * string/bug-strcasestr1.c: New test.
56474         * string/Makefile: Run it.
56476 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56478         [BZ #11607]
56479         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56480         the first character.
56482 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56484         * csu/elf-init.c (__libc_csu_irel): Function removed.
56485         * csu/libc-start.c (apply_irel): New function.
56486         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56488 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56490         * sysdeps/unix/sysv/linux/kernel-features.h
56491         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56492         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56493         <kernel-features.h>.
56494         [__NR_fadvise64_64]: Make code unconditional.
56495         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56496         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56497         !__NR_fadvise64_64)]: Likewise.
56498         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56499         !__NR_fadvise64_64))]: Likewise.
56500         [__NR_fadvise64]: Make code unconditional.
56501         [!__NR_fadvise64]: Remove conditional code.
56502         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56503         <kernel-features.h>.
56504         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56505         unconditional.
56506         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56507         conditional code.
56508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56509         not include <kernel-features.h>.
56510         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56511         unconditional.
56512         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56513         conditional code.
56514         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56515         include <kernel-features.h>.
56516         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56517         unconditional.
56518         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56519         conditional code.
56521 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56523         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56524         slight instruction rearrangements per scrollpipe analysis.
56525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56527 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56529         * manual/syslog.texi (syslog; vsyslog, closelog):
56530         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56531         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56533         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56534         DSOCAPS to match condition on defining it.
56536 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56538         * sysdeps/unix/sysv/linux/kernel-features.h
56539         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56541         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56542         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56544         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56545         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56547         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56548         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56550         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56551         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56553         * sysdeps/unix/sysv/linux/kernel-features.h
56554         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56555         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56556         unconditional.
56557         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56558         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56559         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56560         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56561         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56562         Make code unconditional.
56563         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56564         (__mmap64) [!__NR_mmap2]: Likewise.
56565         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56566         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56567         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56568         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56569         [__NR_mmap2]: Make code unconditional.
56570         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56571         (__mmap64) [!__NR_mmap2]: Likewise.
56573 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56575         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56577 2012-08-18  Andreas Jaeger  <aj@suse.de>
56579         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56581 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56583         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56584         * include/unistd.h (__have_sock_cloexec): Likewise.
56585         (__have_pipe2): Likewise.
56586         (__have_dup3): Likewise.
56588 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56590         [BZ #9685]
56591         * include/unistd.h (__have_pipe2): Change define into an extern int.
56592         (__have_dup3): Likewise.
56593         * socket/have_sock_cloexec.c: Include fcntl.h.
56594         (__have_pipe2): New variable.
56595         (__have_dup3): Likewise.
56597 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56599         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56601 2012-08-17  Marek Polacek  <polacek@redhat.com>
56603         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56604         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56606 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56608         * configure.in: Add AC_SUBST for sysheaders.
56609         * configure: Regenerated.
56610         * config.make.in (sysheaders): New substituted variable.
56612         * sysdeps/unix/mkfifo.c: Moved ...
56613         * sysdeps/posix/mkfifo.c: ... here.
56614         * sysdeps/unix/mkfifoat.c: Moved ...
56615         * sysdeps/posix/mkfifoat.c: ... here.
56617         * sysdeps/unix/utime.c: Moved ...
56618         * sysdeps/posix/utime.c: ... here.
56620         * sysdeps/unix/time.c: Moved ...
56621         * sysdeps/posix/time.c: ... here.
56622         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56623         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56625         * sysdeps/unix/nice.c: Moved ...
56626         * sysdeps/posix/nice.c: ... here.
56628         * sysdeps/unix/alarm.c: Moved ...
56629         * sysdeps/posix/alarm.c: ... here.
56631         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56633 2012-08-17  Jeff Law <law@redhat.com>
56635         * intl/Makefile (codeset_mo): New variable.
56636         ($(codeset_mo)): New target.
56637         (tst-codeset.out): Depend on that.  Remove explicit rule.
56638         (tst-gettext3.out, tst-gettext5.out): Likewise.
56639         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56640         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56641         * intl/tst-codeset.sh: Remove.
56642         * intl/tst-gettext3.sh: Likewise.
56643         * intl/tst-gettext5.sh: Likewise.
56645 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56647         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56648         * sysdeps/unix/syscalls.list: ... here.
56650         * sysdeps/posix/getaddrinfo.c
56651         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56652         (gaiconf_init, gaiconf_reload): Use them.
56653         [!_STATBUF_ST_NSEC]
56654         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56655         Define using time_t rather than struct timespec.
56657         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56658         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56659         Macros removed.
56660         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56661         [!NO_THREADS].
56662         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56663         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56664         Likewise.
56666         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56667         __libc_cleanup_push argument.
56669         * bits/param.h: New file.
56670         * misc/sys/param.h: New file.
56671         * include/sys/param.h: New file.
56672         * misc/Makefile (headers): Add bits/param.h.
56673         * sysdeps/generic/sys/param.h: File removed.
56674         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56675         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56676         * sysdeps/mach/hurd/bits/param.h: New file.
56677         * sysdeps/mach/hurd/sys/param.h: File removed.
56679         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56680         last change.
56682         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56683         [_IO_MTSAFE_IO].
56684         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56685         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56686         New macros.
56688         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56689         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56690         rather than -D_IO_MTSAFE_IO conditionally.
56691         * stdio-common/Makefile (CPPFLAGS): Likewise.
56692         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56693         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56694         Use $(libio-mtsafe).
56695         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56696         of -D_IO_MTSAFE_IO.
56697         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56698         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56699         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56700         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56701         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56702         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56703         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56704         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56705         (CFLAGS-fread_u_chk.c): Likewise.
56706         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56707         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56708         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56709         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56710         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56711         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56712         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56713         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56714         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56716         * libio/Makefile: Test [$(libc-reentrant) = yes]
56717         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56719         * Makeconfig
56720         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56721         * sysdeps/pthread/configure: File removed.
56722         * sysdeps/pthread/Makeconfig: New file.
56723         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56724         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56726 2012-08-16  Gary Benson  <gbenson@redhat.com>
56728         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56729         unmapping the first object in a namespace.
56731 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56733         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56734         (__internal_setnetgrent): ... this.  Add internal_function to
56735         definition.  Add libc_hidden_def.
56736         (setnetgrent): Update caller.
56737         (internal_endnetgrent): Renamed to ...
56738         (__internal_endnetgrent): ... this.  Add internal_function to
56739         definition.  Add libc_hidden_def.
56740         (endnetgrent): Update caller.
56741         (internal_getnetgrent_r): Renamed to ...
56742         (__internal_getnetgrent_r): ... this.  Add internal_function to
56743         definition.  Add libc_hidden_def.
56744         (__getnetgrent_r): Update caller.
56745         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56747 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56749         * stdlib/longlong.h: Update from GCC.
56751 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56753         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56754         on _QL, which is set by umul_ppmm but never used.
56755         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56756         variables, which are set by GMP macros but never used.
56757         * stdio-common/_itowa.c (_itowa): Likewise.
56758         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56759         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56761 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56763         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56764         struct La_sh_regs is not constant.
56765         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56766         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56767         and struct La_sparc64_regs are not constant.
56769 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56771         * sysdeps/unix/sysv/linux/kernel-features.h
56772         (__ASSUME_POSIX_TIMERS): Remove.
56773         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56774         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56775         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56776         Make code unconditional.
56777         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56778         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56779         Make code unconditional.
56780         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56781         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56782         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56783         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56784         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56785         Make code unconditional.
56786         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56787         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56788         (__libc_missing_posix_timers): Remove.
56790 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56792         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56793         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56795         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56797         * elf/dl-sym.c: Include <stdlib.h>.
56799         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56800         constants, which avoids warnings in 32-bit builds.
56802         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56803         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56805         * misc/lseek.c: File moved to ...
56806         * io/lseek.c: ... here.
56808         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56810         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56811         shifting LEN more than 31 bits at once.
56813 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56815         [BZ #14195]
56816         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56817         segmentation fault for a case of two empty input strings.
56818         * string/test-strncasecmp.c (check1): Renamed to...
56819         (bz12205): ...this.
56820         (bz14195): Add new testcase for two empty input strings and N > 0.
56821         (test_main): Call new testcase, adapt for renamed function.
56823 2012-08-15  Andreas Jaeger  <aj@suse.de>
56825         [BZ #14090]
56826         * crypt/md5test2.c: New test, based on test supplied by Serge
56827         Belyshev <belyshev@depni.sinp.msu.ru>.
56828         * crypt/Makefile (xtests): Add md5test-giant..
56829         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56831 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56833         [BZ #14090]
56834         * crypt/md5.c (md5_process_block): Don't assume the buffer
56835         length is less than 2**32.
56836         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56837         length is less than 2**64.
56839 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56841         * string/str-two-way.h: Include <sys/param.h>.
56842         (MAX): Macro removed.
56844         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56845         Move #define and #undef of memmove to just before and after
56846         including <string.h>.
56848         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56849         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56850         and after including <string.h>.  Move declarations of
56851         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56852         to before #include "string/memmove.c".
56854         * include/dirent.h: Declare __getdirentries.
56856         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56857         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56859 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56861         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56862         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56863         * sysdeps/i386/configure: Regenerated.
56864         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56865         STABS_CURRENT_FILE, and STABS_FUN.
56866         (END): Remove call to STABS_FUN_END.
56867         (STABS_CURRENT_FILE1): Delete.
56868         (STABS_CURRENT_FILE): Likewise.
56869         (STABS_FUN): Likewise.
56870         (STABS_FUN_END): Likewise.
56871         (STABS_FUN2): Likewise.
56872         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56873         * sysdeps/x86_64/configure: Regenerated.
56875 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56877         * elf/dl-open.c: Include <atomic.h>.
56878         * elf/dl-lookup.c: Likewise.
56880 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56882         * sysdeps/unix/sysv/linux/kernel-features.h
56883         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56884         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56885         unconditionally.
56886         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56887         unconditionally.
56888         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56889         condition on __ASSUME_CLONE_THREAD_FLAGS.
56891 2012-08-14  Andreas Jaeger  <aj@suse.de>
56893         * sysdeps/i386/fpu/libm-test-ulps: Update.
56895 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56897         * include/atomic.h (atomic_exchange_and_add): Split into ...
56898         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56899         New atomic macros.
56901 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56905 2012-08-13  Jeff Law <law@redhat.com>
56907         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56908         null byte in the output string.
56910 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56912         * sysdeps/unix/sysv/linux/kernel-features.h
56913         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56914         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56915         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56916         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56917         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56918         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56919         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56921 2012-08-09  Jeff Law <law@redhat.com>
56923         [BZ #13939]
56924         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56925         When avoid_arena is set, don't retry in the that arena.  Pick the
56926         next one, whatever it might be.
56927         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56928         (arena_lock): Pass in new parameter to arena_get2.
56929         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56930         arena_get2.
56931         (__libc_malloc): Unify retrying after main arena failure with
56932         __libc_memalign version.
56933         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56935 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56937         [BZ #14166]
56938         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56939         to __redirect_strstr.
56940         (__strstr_sse42): Use typeof __redirect_strstr.
56941         (__strstr_ia32): Likewise.
56942         (__libc_strstr): New prototype.
56943         (strstr): Renamed to ...
56944         (__libc_strstr): This.
56945         (strstr): New strong alias of __libc_strstr.
56946         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56947         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56948         __redirect_time.
56949         Include <time.h>.
56950         (__libc_time): New prototype.
56951         (time_ifunc): Replace time with __libc_time.
56952         (time): New strong alias and hidden definition of __libc_time.
56953         (__GI_time): Remove strong alias.
56954         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56955         Include <stddef.h>.
56956         (memmove): Redefined to __redirect_memmove.
56957         (__memmove_sse2): Use typeof __redirect_memmove.
56958         (__memmove_ssse3): Likewise.
56959         (__memmove_ssse3_back): Likewise.
56960         (__libc_memmove): New prototype.
56961         (memmove): Renamed to ...
56962         (__libc_memmove): This.
56963         (memmove): New strong alias of __libc_memmove.
56965 2012-08-08  Mark Salter  <msalter@redhat.com>
56967         * elf/elf.h
56968         (R_MN10300_TLS_GD): Define.
56969         (R_MN10300_TLS_LD): Likewise.
56970         (R_MN10300_TLS_LDO): Likewise.
56971         (R_MN10300_TLS_GOTIE): Likewise.
56972         (R_MN10300_TLS_IE): Likewise.
56973         (R_MN10300_TLS_LE): Likewise.
56974         (R_MN10300_TLS_DTPMOD): Likewise.
56975         (R_MN10300_TLS_DTPOFF): Likewise.
56976         (R_MN10300_TLS_TPOFF): Likewise.
56977         (R_MN10300_SYM_DIFF): Likewise.
56978         (R_MN10300_ALIGN): Likewise.
56979         (R_MN10300_NUM): Update.
56981 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56983         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56984         Remove.
56986 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56988         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56990         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56991         sysdeps/unix -> sysdeps/posix move.
56992         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56994 2012-08-07      Allan McRae     <allan@archlinux.org>
56996         [BZ #14303]
56997         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56998         (SUNOS_CPP): Likewise.
56999         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57000         not found.
57001         (open_input): Call CPP using execvp.
57003 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57005         * sysdeps/unix/sysv/linux/kernel-features.h
57006         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57007         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57008         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57009         (__ASSUME_WAITID_SYSCALL): Likewise.
57010         * sysdeps/unix/sysv/linux/dl-execstack.c
57011         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57012         code unconditional.
57013         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57014         conditional code.
57015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57016         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57017         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57018         code.
57019         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57020         unconditional.
57021         [__ASSUME_WAITID_SYSCALL]: Likewise.
57022         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57024 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57026         * sysdeps/unix/closedir.c: Renamed to ...
57027         * sysdeps/posix/closedir.c: ... here.
57028         * sysdeps/unix/dirfd.c: Renamed to ...
57029         * sysdeps/posix/dirfd.c: ... here.
57030         * sysdeps/unix/dirstream.h: Renamed to ...
57031         * sysdeps/posix/dirstream.h: ... here.
57032         * sysdeps/unix/fdopendir.c: Renamed to ...
57033         * sysdeps/posix/fdopendir.c: ... here.
57034         * sysdeps/unix/opendir.c: Renamed to ...
57035         * sysdeps/posix/opendir.c: ... here.
57036         * sysdeps/unix/readdir.c: Renamed to ...
57037         * sysdeps/posix/readdir.c: ... here.
57038         * sysdeps/unix/readdir_r.c: Renamed to ...
57039         * sysdeps/posix/readdir_r.c: ... here.
57040         * sysdeps/unix/rewinddir.c: Renamed to ...
57041         * sysdeps/posix/rewinddir.c: ... here.
57042         * sysdeps/unix/seekdir.c: Renamed to ...
57043         * sysdeps/posix/seekdir.c: ... here.
57044         * sysdeps/unix/telldir.c: Renamed to ...
57045         * sysdeps/posix/telldir.c: ... here.
57046         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57047         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57048         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57049         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57051         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57052         * bits/fcntl.h: ... here.
57054         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57055         not 0.
57056         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57057         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57058         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57059         (struct flock): Move l_start, l_len to the beginning.
57060         Use __pid_t for l_pid.
57061         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57062         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57063         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57064         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57065         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57066         [__USE_LARGEFILE64] (struct flock64): New type.
57067         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57069         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57070         * bits/dirent.h: ... here.
57072         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57073         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57075 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57077         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57078         Change from 2.6.0 to 2.6.16.
57079         * sysdeps/unix/sysv/linux/configure: Regenerated.
57080         * sysdeps/unix/sysv/linux/kernel-features.h
57081         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57082         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57083         version.
57084         (__ASSUME_UTIMES): Likewise.
57085         (__ASSUME_CLONE_STOPPED): Remove.
57086         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57087         architectures, not kernel version.
57088         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57089         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57090         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57091         (__ASSUME_WAITID_SYSCALL): Likewise.
57092         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57093         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57094         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57095         refer to older versions.
57097 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57099         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57100         Define alphasort64 as an alias.
57101         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57102         Define versionsort64 as an alias.
57103         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57104         Define scandir64 as an alias.
57105         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57106         Define scandirat64 as an alias.
57107         * dirent/alphasort64.c (alphasort64):
57108         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57109         * dirent/versionsort64.c: Likewise.
57110         * dirent/scandir64.c: Likewise.
57111         * dirent/scandirat64.c: Likewise.
57112         * sysdeps/wordsize-64/alphasort.c: File removed.
57113         * sysdeps/wordsize-64/alphasort64.c: File removed.
57114         * sysdeps/wordsize-64/scandir.c: File removed.
57115         * sysdeps/wordsize-64/scandir64.c: File removed.
57116         * sysdeps/wordsize-64/scandirat.c: File removed.
57117         * sysdeps/wordsize-64/scandirat64.c: File removed.
57118         * sysdeps/wordsize-64/versionsort.c: File removed.
57119         * sysdeps/wordsize-64/versionsort64.c: File removed.
57120         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57121         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57122         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57123         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57124         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57125         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57126         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57127         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57129         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57130         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57131         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57132         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57133         [defined __arch64__ || defined __sparcv9]
57134         (__INO_T_MATCHES_INO64_T): New macro.
57135         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57136         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57137         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57138         * sysdeps/unix/sysv/linux/bits/dirent.h
57139         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57140         (_DIRENT_MATCHES_DIRENT64): New macro.
57142         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57143         Define lockf64 as an alias.
57144         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57145         Define fseeko64 as an alias.
57146         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57147         Define ftello64 as an alias.
57148         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57149         Define _IO_fgetpos64 and fgetpos64 as aliases.
57150         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57151         Define _IO_fsetpos64 and fsetpos64 as aliases.
57152         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57153         Conditionalize body on this.
57154         * libio/fseeko64.c: Likewise.
57155         * libio/ftello64.c: Likewise.
57156         * libio/iofgetpos64.c: Likewise.
57157         * libio/iofsetpos64.c: Likewise.
57158         * sysdeps/wordsize-64/lockf.c: File removed.
57159         * sysdeps/wordsize-64/lockf64.c: File removed.
57160         * sysdeps/wordsize-64/fseeko.c: File removed.
57161         * sysdeps/wordsize-64/fseeko64.c: File removed.
57162         * sysdeps/wordsize-64/ftello.c: File removed.
57163         * sysdeps/wordsize-64/ftello64.c: File removed.
57164         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57165         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57166         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57167         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57168         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57169         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57170         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57171         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57172         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57173         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57174         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57175         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57176         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57177         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57179         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57181         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57183         [defined __arch64__ || defined __sparcv9]
57184         (__OFF_T_MATCHES_OFF64_T): New macro.
57185         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57186         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57188         (__OFF_T_MATCHES_OFF64_T): New macro.
57190 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57192         * stdlib/secure-getenv.c (__secure_getenv): Replace
57193         GLIBC_2_16 with GLIBC_2_17.
57195 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57197         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57198         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57200 2012-08-03  David S. Miller  <davem@davemloft.net>
57202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57204 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57206         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57207         Remove.
57208         (__ASSUME_CORRECT_SI_PID): Likewise.
57209         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57210         (__ASSUME_TMPFS_NAME): Likewise.
57211         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57212         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57213         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57214         (HAVE_AUX_SECURE): Make definition unconditional.
57215         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57216         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57218 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57220         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57221         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57222         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57223         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57224         __eloop_threshold instead of SYMLOOP_MAX.
57226         * sysdeps/generic/eloop-threshold.h: New file.
57227         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57228         of MAXSYMLINKS.
57229         * elf/chroot_canon.c (chroot_canon): Likewise.
57231 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57233         [BZ #13717]
57234         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57235         Change to 2.6.0 everywhere.
57236         * sysdeps/unix/sysv/linux/configure: Regenerated.
57237         * sysdeps/unix/sysv/linux/kernel-features.h
57238         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57239         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57240         kernel versions.
57241         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57242         (__ASSUME_FUTEX_REQUEUE): Remove.
57243         (__ASSUME_STATFS64): Define unconditionally.
57244         (__ASSUME_AT_SECURE): Likewise.
57245         (__ASSUME_CORRECT_SI_PID): Likewise.
57246         (__ASSUME_TGKILL): Define without depending on kernel version for
57247         i386.
57248         (__ASSUME_UTIMES): Likewise.
57249         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57250         kernel version.
57251         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57252         (__ASSUME_TMPFS_NAME): Likewise.
57253         * README: Update reference to Linux kernel versions.
57255 2012-08-02  Marek Polacek  <polacek@redhat.com>
57257         [BZ# 14150]
57258         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57259         libc_cv_asm_type_prefix with %.
57260         * configure: Regenerated.
57261         * include/libc-symbols.h: Remove comment about
57262         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57263         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57264         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57265         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57266         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57267         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57268         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57269         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57270         * elf/tst-unique2mod1.c: Likewise.
57271         * elf/tst-unique1mod2.c: Likewise.
57272         * elf/tst-unique1mod1.c: Likewise.
57273         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57274         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57275         Replace ASM_TYPE_DIRECTIVE with .type.
57276         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57277         * sysdeps/i386/sysdep.h: Likewise.
57278         * sysdeps/x86_64/sysdep.h: Likewise.
57279         * sysdeps/sh/sysdep.h: Likewise.
57280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57281         Do not define ASM_TYPE_DIRECTIVE.
57282         * sysdeps/powerpc/sysdep.h: Likewise.
57283         * sysdeps/powerpc/powerpc32/sysdep.h:
57284         Replace ASM_TYPE_DIRECTIVE with .type.
57285         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57286         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57287         * sysdeps/i386/fpu/e_powf.S: Likewise.
57288         * sysdeps/i386/fpu/e_expl.S: Likewise.
57289         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57290         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57291         * sysdeps/i386/fpu/e_pow.S: Likewise.
57292         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57293         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57294         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57295         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57296         * sysdeps/i386/fpu/e_log2.S: Likewise.
57297         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57298         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57299         * sysdeps/i386/fpu/e_powl.S: Likewise.
57300         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57301         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57302         * sysdeps/i386/fpu/e_logl.S: Likewise.
57303         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57304         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57305         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57306         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57307         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57308         * sysdeps/i386/fpu/e_log.S: Likewise.
57309         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57310         * sysdeps/i386/fpu/e_logf.S: Likewise.
57311         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57312         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57313         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57314         * sysdeps/i386/fpu/e_log10.S: Likewise.
57315         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57316         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57317         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57318         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57319         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57320         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57321         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57322         * sysdeps/i386/i686/strtok.S: Likewise.
57323         * sysdeps/i386/i386-mcount.S: Likewise.
57324         * sysdeps/i386/strtok.S: Likewise.
57325         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57327         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57328         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57329         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57330         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57331         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57332         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57333         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57334         * sysdeps/x86_64/_mcount.S: Likewise.
57335         * sysdeps/x86_64/strtok.S: Likewise.
57336         * sysdeps/sh/_mcount.S: Likewise.
57338 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57340         * libio/iofopen.c: Include <fcntl.h>.
57341         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57342         (_IO_fopen64, fopen64): Define as aliases.
57343         * libio/iofopen64.c: Include <fcntl.h>.
57344         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57345         Conditionalize body on this.
57346         * sysdeps/wordsize-64/iofopen.c: File removed.
57347         * sysdeps/wordsize-64/iofopen64.c: File removed.
57349 2012-08-01  Marek Polacek  <polacek@redhat.com>
57351         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57352         Use dlfcn directly instead of a variable.
57353         (binfmt-subdir): Do not define.
57354         (dlfcn): Likewise.
57356 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57358         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57359         Remove all definitions.
57360         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57361         <kernel-features.h>.
57362         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57363         (miss_F_GETOWN_EX): Remove all definitions.
57364         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57365         macro definition.
57366         [!__ASSUME_FCNTL64]: Remove conditional code.
57367         [__ASSUME_FCNTL64]: Make code unconditional.
57368         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57369         <kernel-features.h>.
57370         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57371         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57372         (lockf64) [__NR_fcntl64]: Make code unconditional.
57373         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57375         * sysdeps/unix/sysv/linux/kernel-features.h
57376         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57377         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57378         Make code unconditional.
57379         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57380         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57382         [__NR_vfork]: Make code unconditional.
57383         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57384         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57386         [__NR_vfork]: Make code unconditional.
57387         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57388         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57390 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57392         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57393         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57395         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57396         Define mkstemp64 as an alias.
57397         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57398         Define mkstemps64 as an alias.
57399         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57400         Define mkostemp64 as an alias.
57401         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57402         Define mkostemps64 as an alias.
57403         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57404         Conditionalize body on this.
57405         * misc/mkostemp64.c: Likewise.
57406         * misc/mkostemps64.c: Likewise.
57407         * misc/mkstemps64.c: Likewise.
57408         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57409         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57410         * sysdeps/wordsize-64/mkostemp.c: File removed.
57411         * sysdeps/wordsize-64/mkstemp.c: File removed.
57412         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57413         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57414         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57415         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57417         [BZ #14138]
57418         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57419         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57420         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57421         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57423         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57424         compat_symbol macros from <shlib-compat.h> rather than the underlying
57425         default_symbol_version and symbol_version macros, so that DEFAULT
57426         lines in shlib-versions are respected.
57427         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57429 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57431         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57432         Declare with warn_unused_result.
57433         (setgid, setregid, setegid, setresgid): Likewise.
57434         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57435         Likewise.
57436         * WUR-REPORT: Remove set*id functions.
57438 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57440         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57442 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57444         [BZ #10191]
57445         * include/sys/socket.h (__libc_accept, __libc_accept4):
57446         Add attribute_hidden.
57447         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57449         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57450         use of PTR_MANGLE.
57451         * inet/getnetgrent_r.c (setup): Likewise.
57453         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57455 2012-07-31  David S. Miller  <davem@davemloft.net>
57457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57459 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57461         [BZ #13629]
57462         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57463         value between 1.0 and 2.0 and smaller part has absolute value less
57464         than 1.0.
57465         * math/s_clog10.c (__clog10): Likewise.
57466         * math/s_clog10f.c (__clog10f): Likewise.
57467         * math/s_clog10l.c (__clog10l): Likewise.
57468         * math/s_clogf.c (__clogf): Likewise.
57469         * math/s_clogl.c (__clogl): Likewise.
57470         * math/libm-test.inc (clog_test): Add more tests.
57471         (clog10_test): Likewise.
57472         * sysdeps/i386/fpu/libm-test-ulps: Update.
57473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57475 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57477         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57478         Exit with zero in case no suitable GID is found, and write a
57479         message to standard error.
57481 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57483         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57484         rather than to 1.
57485         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57486         (MAXPATHLEN): Removed.
57487         (NOGROUP, NODEV): New macros.
57488         (setbit, clrbit, isset, isclr): New macros.
57489         (howmany, roundup, powerof2): New macros.
57490         (DEV_BSIZE): New macro.
57492         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57493         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57495         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57496         definition on [!__NO_LONG_DOUBLE_MATH].
57498         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57499         PTR_MANGLE and PTR_DEMANGLE.
57501         * socket/accept4.c (accept4): Rename to __libc_accept4.
57502         Define accept4 as a weak alias.
57504         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57505         on [_DIRENT_HAVE_D_TYPE].
57506         * io/ftw.c (ftw_dir): Likewise.
57508         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57510         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57512         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57513         Use the BSD numbers rather than the arbitrary ones we had.
57514         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57515         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57516         (SIGXCPU, SIGXFSZ): New macros.
57517         (_NSIG): Now 32.
57519         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57520         initializer on [_LIBC_REENTRANT].
57522         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57523         definitions inside [_POSIX_MAPPED_FILES].
57525         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57527         * dirent/opendir.c: Include <fcntl.h>.
57529         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57530         (__libc_getspecific): Likewise.
57531         (__libc_key_create): Likewise.
57533         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57534         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57535         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57536         (tmpfile64): Define as alias.
57537         * sysdeps/wordsize-64/tmpfile.c: File removed.
57538         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57539         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57540         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57542         * stdio-common/vfscanf.c: Include <stdbool.h>.
57543         * nss/makedb.c: Likewise.
57544         * stdio-common/_i18n_number.h: Likewise.
57545         * argp/argp-help.c: Likewise.
57546         * posix/wordexp.c: Likewise.
57547         * sysdeps/posix/spawni.c: Likewise.
57548         * nss/nss_files/files-initgroups.c: Likewise.
57549         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57550         * nss/nss_files/files-initgroups.c: Likewise.
57551         * nss/nss_db/db-netgrp.c: Likewise.
57552         * nss/nss_db/db-initgroups.c: Likewise.
57553         * io/fchmodat.c: Include <sys/stat.h>.
57555         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57556         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57558         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57559         [HAVE_MMAP].
57561         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57562         Add multiple inclusion protection.
57564 2012-07-27  David S. Miller  <davem@davemloft.net>
57566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57568 2012-07-27  Gary Benson  <gbenson@redhat.com>
57570         [BZ #14298]
57571         * elf/rtld.c: Include <stap-probe.h>.
57572         (dl_main): Added static probes "init_start" and "init_complete".
57573         * elf/dl-load.c: Include <stap-probe.h>.
57574         (lose): Take new parameter "nsid".
57575         Added static probe "map_failed".
57576         (_dl_map_object_from_fd): Pass namespace id to lose.
57577         Added static probe "map_start".
57578         (open_verify): Pass namespace id to lose.
57579         * elf/dl-open.c: Include <stap-probe.h>.
57580         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57581         and "reloc_complete".
57582         * elf/dl-close.c: Include <stap-probe.h>.
57583         (_dl_close_worker): Added static probes "unmap_start" and
57584         "unmap_complete".
57585         * elf/rtld-debugger-interface.txt: New file documenting the above.
57587 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57589         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57590         rather than a string variable.
57591         * sunrpc/rpc_main.c (h_output): Likewise.
57592         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57594 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57596         * inet/check_native.c: New file.
57598 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57600         [BZ #13629]
57601         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57602         if larger part has absolute value 1.0.
57603         * math/s_clog10.c (__clog10): Likewise.
57604         * math/s_clog10f.c (__clog10f): Likewise.
57605         * math/s_clog10l.c (__clog10l): Likewise.
57606         * math/s_clogf.c (__clogf): Likewise.
57607         * math/s_clogl.c (__clogl): Likewise.
57608         * math/libm-test.inc (clog_test): Add more tests.
57609         (clog10_test): Likewise.
57610         * sysdeps/i386/fpu/libm-test-ulps: Update.
57611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57613         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57614         (pltexit): Likewise.
57615         (La_regs): Likewise.
57616         (La_retval): Likewise.
57617         (int_retval): Likewise.
57618         Update #error for removed macros to refer only to definitions in
57619         tst-audit.h.
57620         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57621         macro.
57622         (pltexit): Likewise.
57623         (La_regs): Likewise.
57624         (La_retval): Likewise.
57625         (int_retval): Likewise.
57626         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57627         macro.
57628         (pltexit): Likewise.
57629         (La_regs): Likewise.
57630         (La_retval): Likewise.
57631         (int_retval): Likewise.
57632         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57633         macro.
57634         (pltexit): Likewise.
57635         (La_regs): Likewise.
57636         (La_retval): Likewise.
57637         (int_retval): Likewise.
57638         * elf/tst-auditmod6b.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-auditmod6c.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-auditmod7b.c (pltenter): Remove all definitions of
57651         macro.
57652         (pltexit): Likewise.
57653         (La_regs): Likewise.
57654         (La_retval): Likewise.
57655         (int_retval): Likewise.
57656         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57657         macro definitions in tst-audit.h.
57658         * sysdeps/i386/tst-audit.h: New file.
57659         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57660         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57661         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57662         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57663         * sysdeps/sh/tst-audit.h: Likewise.
57664         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57665         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57666         * sysdeps/x86_64/tst-audit.h: Likewise.
57668 2012-07-26  Andreas Jaeger  <aj@suse.de>
57670         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57671         ptrace.
57673         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57674         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57675         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57676         PTRACE_O_MASK.
57677         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57678         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57679         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57681         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57682         value.
57684         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57685         _sigsys.
57686         (si_call_addr, si_syscall, si_arch): Define new macro.
57687         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57688         _sigsys.
57689         (si_call_addr, si_syscall, si_arch): Define new marcro.
57690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57691         _sigsys.
57692         (si_call_addr, si_syscall, si_arch): Define new macro.
57693         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57694         _sigsys.
57695         (si_call_addr, si_syscall, si_arch): Define new macro.
57697 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57699         [BZ #13717]
57700         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57701         Change to 2.4.21 where previously 2.4.1.
57702         * sysdeps/unix/sysv/linux/configure: Regenerated.
57703         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57704         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57705         Linux kernel version.
57706         (__ASSUME_STD_AUXV): Remove.
57707         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57708         kernel version.
57709         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57710         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57711         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57712         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57713         (__ASSUME_NETLINK_SUPPORT): Likewise.
57714         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57715         (__no_netlink_support): Remove conditional definition.
57716         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57717         Remove.
57718         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57719         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57720         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57721         (if_nameindex_ioctl): Remove.
57722         (if_nameindex_netlink): Do not handle __no_netlink_support.
57723         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57724         code.
57725         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57726         Remove conditional code.
57727         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57728         code.
57729         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57730         unconditional.
57731         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57732         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57733         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57734         Remove.
57735         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57736         [!__ASSUME_STD_AUXV]: Remove conditional code.
57737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57738         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57739         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57741         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57742         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57743         code.
57744         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57746         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57747         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57748         conditional code.
57749         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57751         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57752         code.
57753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57754         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57755         conditional code.
57756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57757         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57758         code unconditional.
57759         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57760         conditional code.
57761         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57762         unconditional.
57763         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57764         conditional code.
57765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57766         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57767         unconditional.
57768         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57769         conditional code.
57770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57771         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57772         code unconditional.
57773         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57774         conditional code.
57775         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57776         unconditional.
57777         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57778         conditional code.
57779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57780         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57781         code unconditional.
57782         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57783         conditional code.
57784         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57785         unconditional.
57786         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57787         conditional code.
57789 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57791         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57792         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57793         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57794         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57795         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57796         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57797         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57798         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57799         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57800         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57801         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57802         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57803         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57804         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57805         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57806         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57807         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57808         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57809         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57811         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57812         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57813         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57815 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57817         * Versions.def: Add GLIBC_2.17.
57818         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57819         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57820         Introduce __libc_secure_getenv.
57821         * stdlib/Versions (2.17): Add secure_getenv
57822         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57823         * stdlib/secure-getenv.c: Rename __secure_getenv to
57824         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57825         symbol __secure_getenv for GLIBC_2.0.
57826         * stdlib/tst-secure-getenv.c: New.
57827         * stdlib/Makefile (tests): Add testcase.
57828         * manual/startup.texi (Environment Access): Document
57829         secure_getenv.
57830         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57831         __libc_secure_getenv.
57832         * inet/ruserpass.c (ruserpass): Likewise.
57833         * malloc/mtrace.c (mtrace): Likewise.
57834         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57835         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57836         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57837         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57838         HAVE_SECURE_GETENV.
57839         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57840         __secure_getenv to __libc_secure_getenv.
57841         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57843         Likewise.
57844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57845         Likewise.
57846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57848         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57854 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57856         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57857         (struct La_i86_retval): Likewise.
57858         (struct La_x86_64_regs): Likewise.
57859         (struct La_x86_64_retval): Likewise.
57860         (struct La_x32_regs): Likewise.
57861         (struct La_x32_retval): Likewise.
57862         (struct La_ppc32_regs): Likewise.
57863         (struct La_ppc32_retval): Likewise.
57864         (struct La_ppc64_regs): Likewise.
57865         (struct La_ppc64_retval): Likewise.
57866         (struct La_sh_regs): Likewise.
57867         (struct La_sh_retval): Likewise.
57868         (struct La_s390_32_regs): Likewise.
57869         (struct La_s390_32_retval): Likewise.
57870         (struct La_s390_64_regs): Likewise.
57871         (struct La_s390_64_retval): Likewise.
57872         (struct La_sparc32_regs): Likewise.
57873         (struct La_sparc32_retval): Likewise.
57874         (struct La_sparc64_regs): Likewise.
57875         (struct La_sparc64_retval): Likewise.
57876         (struct audit_ifaces): Remove architecture-specific pltenter and
57877         pltexit members.
57878         * sysdeps/i386/ldsodefs.h: New file.
57879         * sysdeps/powerpc/ldsodefs.h: Likewise.
57880         * sysdeps/s390/ldsodefs.h: Likewise.
57881         * sysdeps/sh/ldsodefs.h: Likewise.
57882         * sysdeps/sparc/ldsodefs.h: Likewise.
57883         * sysdeps/x86_64/ldsodefs.h: Likewise.
57885 2012-07-25  Marek Polacek  <polacek@redhat.com>
57887         [BZ #6808]
57888         * math/libm-test.inc (yn_test): Add another test.
57889         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57890         to ERANGE when the result is +-Inf.
57891         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57892         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57893         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57894         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57896 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57898         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57899         equal to 0.
57900         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57901         clock_t.
57902         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57904 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57906         * configure.in <sysdeps resolving>: Correct printing
57907         Implies_before.
57908         * configure: Regenerate.
57910 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57912         * math/w_ilogb.c: Include <limits.h>.
57913         * math/w_ilogbl.c: Likewise.
57915 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57917         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57918         va_copy.  Document allowing for unavailable va_copy only as
57919         pre-C99 compatibility.
57920         * manual/string.texi (Copying and Concatenation): Use va_copy
57921         instead of __va_copy in concat example.
57923 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57925         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57926         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57927         it if not null.
57929         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57930         with O_NOLINK passed to __file_name_lookup.
57932         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57933         with O_NOLINK passed to __file_name_lookup.
57935         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57936         negative N or less than NGIDS.
57938         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57939         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57940         enough.  Use memcpy instead of strncpy.
57942 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57944         * elf/Makefile (check-data): Remove.
57945         (localplt.data): New vpath directive.
57946         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57947         instead of $(check-data).
57948         * scripts/data/localplt-generic.data: Move to ...
57949         * sysdeps/generic/localplt.data: ... here.
57950         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57951         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57952         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57954         ... here.
57955         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57957         ... here.
57958         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57960         ... here.
57961         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57962         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57963         ... here.
57964         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57966         ... here.
57967         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57969         ... here.
57971 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57973         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57974         PPC32 and PPC64 files.
57975         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57976         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57978 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57980         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57981         __makecontext_ret to ...
57982         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57983         ... here and call exit if uc_link is NULL.  New file.
57984         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57985         __makecontext_ret.S.
57986         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57987         __makecontext_ret to ...
57988         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57989         ... here and call exit if uc_link is NULL.  New file.
57990         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57991         __makecontext_ret.S.
57993 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57995         * elf/elf.h (R_390_IRELATIVE): New definition.
57996         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57997         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57998         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57999         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58000         (elf_machine_lazy_rel): Likewise.
58001         * sysdeps/s390/dl-irel.h: New file.
58002         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58003         * sysdeps/s390/s390-64/memset.S: New asm code.
58004         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58005         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58006         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58007         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58008         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58009         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58010         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58011         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58012         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58013         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58014         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58015         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58016         * sysdeps/s390/s390-32/memset.S: New asm code.
58017         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58019 2012-07-17  Marek Polacek  <polacek@redhat.com>
58021         [BZ #14349]
58022         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58023         * sysdeps/s390/s390-64/configure.in: Likewise.
58024         * sysdeps/sparc/configure.in: Likewise.
58025         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58026         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58027         * sysdeps/i386/configure.in: Likewise.
58028         * sysdeps/x86_64/configure.in: Likewise.
58029         * sysdeps/sh/configure.in: Likewise.
58030         * sysdeps/s390/s390-32/configure: Regenerated.
58031         * sysdeps/s390/s390-64/configure: Likewise.
58032         * sysdeps/x86_64/configure: Likewise.
58033         * sysdeps/sh/configure: Likewise.
58034         * sysdeps/powerpc/powerpc64/configure: Likewise.
58035         * sysdeps/powerpc/powerpc32/configure: Likewise.
58036         * sysdeps/sparc/configure: Likwise.
58037         * sysdeps/i386/configure: Likewise.
58039         * elf/dl-open.c: Comment fixes.
58041 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58043         * Makefile [CXX] (check-data): Remove.
58044         [CXX] (c++-types.data): New vpath directive.
58045         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58046         vpath.  Do not allow for C++ type data being missing.
58047         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58048         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58049         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58050         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58051         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58052         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58053         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58055         ... here.
58056         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58058         ... here.
58059         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58061         ... here.
58062         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58064         ... here.
58065         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58067         ... here.
58068         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58070         ... here.
58071         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58073         ... here.
58074         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58077         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58078         definitions to architecture-specific files.
58079         (TLS_IE): Likewise.
58080         (TLS_LD): Likewise.
58081         (TLS_GD): Likewise.
58082         * sysdeps/i386/tls-macros.h: New file.
58083         * sysdeps/powerpc/tls-macros.h: Likewise.
58084         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58085         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58086         * sysdeps/sh/tls-macros.h: Likewise.
58087         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58088         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58089         * sysdeps/x86_64/tls-macros.h: Likewise.
58091 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58093         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58094         zero value for regular exit case.
58096         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58097         (__start_context): Preserve zero value for regular exit case.
58099 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58100             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58102         * manual/setjmp.texi (setcontext): Clarify normal process
58103         termination when uc_link is the null pointer.
58104         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58105         exit call.
58107 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58109         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58110         preprocessor.  Test for each exception mask separately.
58112 2012-07-16  Andreas Jaeger  <aj@suse.de>
58114         * po/ru.po: Update from translation team.
58116 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58118         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58119         equal to 0.
58120         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58121         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58122         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58123         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58124         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58126 2012-07-13  Andreas Jaeger  <aj@suse.de>
58128         * po/fr.po: Update from translation team.
58130 2012-07-12  Marek Polacek  <polacek@redhat.com>
58132         [BZ #14173]
58133         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58134         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58135         loop condition.
58137 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58139         [BZ #13717]
58140         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58141         Change to 2.4.1 where previously 2.4.0.
58142         * sysdeps/unix/sysv/linux/configure: Regenerated.
58143         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58144         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58145         version.
58146         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58147         (__ASSUME_AT_CLKTCK): Remove.
58148         (__ASSUME_AT_PAGESIZE): Likewise.
58149         (__ASSUME_AT_XID): Likewise.
58150         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58151         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58152         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58153         unconditionally.
58154         (HAVE_AUX_PAGESIZE): Likewise.
58155         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58156         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58157         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58159 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58161         [BZ #14307]
58162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58163         the temporary buffer used to invoke __gethostbyname2_r,
58164         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58165         host_data / struct gaih_addrtuple.
58166         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58167         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58168         header file nss/nsswitch.h.
58169         * nss/nsswitch.h (global scope): Add definition of implementation
58170         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58171         resolv/nss_dns/dns-host.c).
58173 2012-07-11  Andreas Jaeger  <aj@suse.de>
58175         * po/fr.po: Update from translation team.
58177         * po/sv.po: Update from translation team
58178         * po/fr.po: Another update from translation team.
58180 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58182         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58183         for subnormals or multiply small sinh result by itself.
58184         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58187 2012-07-11  David S. Miller  <davem@davemloft.net>
58189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58191 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58193         [BZ #14347]
58194         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58195         (INTERNAL_MARK): Shift it here.
58197 2012-07-10  Marek Polacek  <polacek@redhat.com>
58199         [BZ #14151]
58200         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58201         libc_cv_asm_global_directive with .globl.
58202         * configure: Regenerated.
58203         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58204         with .globl.
58205         * sysdeps/i386/configure: Regenerated.
58206         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58207         with .globl.
58208         * sysdeps/x86_64/configure: Regenerated.
58209         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58210         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58211         * elf/tst-unique2mod2.c: Likewise.
58212         * elf/tst-unique2mod1.c: Likewise.
58213         * elf/tst-unique1mod2.c: Likewise.
58214         * elf/tst-unique1mod1.c: Likewise.
58215         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58216         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58217         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58218         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58219         * sysdeps/mach/sysdep.h: Likewise.
58220         * sysdeps/i386/sysdep.h: Likewise.
58221         * sysdeps/i386/i386-mcount.S: Likewise.
58222         * sysdeps/x86_64/_mcount.S: Likewise.
58223         * sysdeps/x86_64/sysdep.h: Likewise.
58224         * sysdeps/sh/_mcount.S: Likewise.
58225         * sysdeps/sh/sysdep.h: Likewise.
58226         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58227         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58228         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58229         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58230         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58231         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58232         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58233         * locale/localeinfo.h: Likewise.
58234         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58235         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58237 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58239         [BZ #14336]
58240         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58241         system".
58242         * manual/message.texi (The Uniforum approach): Likewise.
58243         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58244         (glibc iconv Implementation): Likewise.
58246 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58248         [BZ #14337]
58249         * math/s_clog.c (__clog): Avoid scaling a value down where that
58250         could result in underflow.
58251         * math/s_clog10.c (__clog10): Likewise.
58252         * math/s_clog10f.c (__clog10f): Likewise.
58253         * math/s_clog10l.c (__clog10l): Likewise.
58254         * math/s_clogf.c (__clogf): Likewise.
58255         * math/s_clogl.c (__clogl): Likewise.
58256         * math/libm-test.inc (clog_test): Add more tests.
58257         (clog10_test): Likewise.
58258         * sysdeps/i386/fpu/libm-test-ulps: Update.
58259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58261 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58263         [BZ #14283]
58264         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58265         by 7 not 8 to examine high bit of fractional part.
58267         [BZ #14042]
58268         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58269         for call to __mcount_internal.
58270         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58271         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58272         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58274 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58276         [BZ #14154]
58277         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58278         approximation for values within 0x1p-13f of an odd multiple of
58279         pi/4.
58280         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58281         exception.  Add more tests.
58282         * sysdeps/i386/fpu/libm-test-ulps: Update.
58284         [BZ #6778]
58285         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58286         inputs and return -1 for them.  Do not check for +Inf in case not
58287         reachable for +Inf.
58288         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58289         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58291         and return -1 for them.  Do not check for +Inf in case not
58292         reachable for +Inf.
58293         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58294         define.
58295         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58296         and return -1 for them.  Do not check for +Inf in case not
58297         reachable for +Inf.
58298         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58299         spurious underflow.
58300         * sysdeps/i386/fpu/libm-test-ulps: Update.
58301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58303 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58305         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58307 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58309         [BZ #14157]
58310         [BZ #14331]
58311         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58312         could result in spurious underflow.  Scale down values above
58313         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58314         * math/s_csqrtf.c (__csqrtf): Likewise.
58315         * math/s_csqrtl.c (__csqrtl): Likewise.
58316         * math/libm-test.inc (csqrt_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-04  Andreas Schwab  <schwab@linux-m68k.org>
58323         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58324         xopen-msg.sed.
58325         * catgets/xopen-msg.awk: New file.
58326         * catgets/xopen-msg.sed: Removed.
58328         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58329         po2text.sed.
58330         * intl/po2test.awk: New file.
58331         * intl/po2test.sed: Removed.
58333 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58335         [BZ #14328]
58336         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58337         or multiply small sinh result by itself.
58338         * math/s_ctanf.c (__ctanf): Likewise.
58339         * math/s_ctanh.c (__ctanh): Likewise.
58340         * math/s_ctanhf.c (__ctanhf): Likewise.
58341         * math/s_ctanhl.c (__ctanhl): Likewise.
58342         * math/s_ctanl.c (__ctanl): Likewise.
58343         * math/libm-test.inc (ctan_test_tonearest): New function.
58344         (ctan_test_towardzero): Likewise.
58345         (ctan_test_downward): Likewise.
58346         (ctan_test_upward): Likewise.
58347         (ctanh_test_tonearest): Likewise.
58348         (ctanh_test_towardzero): Likewise.
58349         (ctanh_test_downward): Likewise.
58350         (ctanh_test_upward): Likewise.
58351         (main): Call these new functions.
58352         * sysdeps/i386/fpu/libm-test-ulps: Update.
58353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58355 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58357         * .gitignore: Delete /ports entry.
58359 2012-07-03  Andreas Jaeger  <aj@suse.de>
58361         * po/bg.po: Update from translation team.
58362         * po/cs.po: Likewise.
58363         * po/de.po: Likewise.
58364         * po/hr.po: Likewise.
58365         * po/nl.pl: Likewise.
58366         * po/pl.po: Likewise.
58367         * po/vi.po: Likewise.
58369 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58371         * Makeconfig [!+link] (+link-before-libc): New variable.
58372         [!+link] (+link-after-libc): Likewise.
58373         [!+link] (+link-tests): Likewise.
58374         [!+link] (+link): Define in terms of $(+link-before-libc) and
58375         $(+link-after-libc).
58376         [!+link-static] (+link-static-before-libc): New variable.
58377         [!+link-static] (+link-static-after-libc): Likewise.
58378         [!+link-static] (+link-static-tests): Likewise.
58379         [!+link-static] (+link-static): Define in terms of
58380         $(+link-static-before-libc) and $(+link-static-after-libc).
58381         [build-shared] (link-libc-before-gnulib): New variable.
58382         [build-shared] (link-libc-tests): Likewise.
58383         [build-shared] (link-libc): Define in terms of
58384         $(link-libc-before-gnulib).
58385         [!build-shared] (link-libc-tests): New variable.
58386         (link-libc-static-tests): New variable.
58387         [!gnulib] (gnulib-arch): New variable.
58388         [!gnulib] (gnulib-tests): Likewise.
58389         [!gnulib] (static-gnulib-arch): Likewise.
58390         [!gnulib] (static-gnulib-tests): Likewise.
58391         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58392         Define with "=" instead of ":=".
58393         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58394         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58395         * Rules (binaries-all-notests): New variable.
58396         (binaries-all-tests): Likewise.
58397         (binaries-static-notests): Likewise.
58398         (binaries-static-tests): Likewise.
58399         (binaries-all): Define using $(binaries-all-notests) and
58400         $(binaries-all-tests).
58401         (binaries-static): Define using $(binaries-static-notests) and
58402         $(binaries-static-tests).
58403         (binaries-shared-tests): New variable.
58404         (binaries-shared-notests): Likewise.
58405         (binaries-shared): Remove variable.
58406         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58407         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58408         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58409         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58410         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58411         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58412         * elf/Makefile (sln-modules): New variable.
58413         (extra-objs): Add $(sln-modules:=.o).
58414         (ldconfig-modules): Add static-stubs.
58415         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58416         * elf/static-stubs.c: New file.
58418         [BZ #14283]
58419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58420         by 7 not 8 to examine high bit of fractional part.  Use volatile
58421         variables when splitting into final array of floats if
58422         __FLT_EVAL_METHOD__ != 0.
58423         * math/libm-test.inc (cos_test): Add another test.
58424         (sin_test): Likewise.
58425         * sysdeps/i386/fpu/libm-test-ulps: Update.
58427         [BZ #14273]
58428         * math/libm-test.inc (cosh_test): Add more tests.
58430         * version.h (RELEASE): Set to "development".
58431         (VERSION): Set to "2.16.90".
58433 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58435         * NEWS: Update copyright. Remove last-updated date.
58436         Mention math library bug fixes and timezone data changes.
58437         * README: Mention GNU/Hurd, x32, and HPPA support status.
58439 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58441         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58443 2012-06-27  Andreas Jaeger  <aj@suse.de>
58445         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58447 2012-06-25  Andreas Jaeger  <aj@suse.de>
58449         * sysdeps/s390/fpu/libm-test-ulps: Update.
58451 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58452             Thomas Schwinge  <thomas@codesourcery.com>
58454         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58455         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58457         fanotify_mark.
58459 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58461         * sysdeps/mach/start.c: Remove file.
58462         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58463         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58464         * sysdeps/sh/init-first.c: Likewise.
58466         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58467         registers for frame unwinding purposes, add CFI directives.
58468         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58469         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58470         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58471         Likewise.
58473         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58474         __fortify_fail returning.
58475         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58477         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58478         sysdeps/sh/____longjmp_chk.S.
58479         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58480         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58481         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58482         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58484         * sysdeps/sh/abort-instr.h: New file.
58485         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58486         process in case exit returns.
58488         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58489         initialize the GOT register before use.
58491         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58492         calculation of ARGC > 4.
58494         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58495         meaningful names to some local labels.
58497 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58498             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58500         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58501         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58502         (__arch_compare_and_exchange_val_16_acq): Likewise.
58503         (__arch_compare_and_exchange_val_32_acq): Likewise.
58504         (atomic_exchange_and_add): Fix gUSA sequence.
58505         (atomic_add): Likewise.
58506         (atomic_add_negative): Likewise.
58507         (atomic_add_zero): Likewise.
58508         (atomic_bit_test_set): Likewise.
58510 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58512         [BZ #13579]
58513         * include/link.h (struct link_map): Add l_free_initfini.
58514         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58515         l_initfini.
58516         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58517         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58518         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58519         set.
58521 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58523         * configure.in: Use AC_LANG_SOURCE.
58524         * configure: Regenerate.
58526 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58528         * configure.in (libc_cv_localstatedir): New substituted variable.
58529         * configure: Regenerated.
58530         * config.make.in (localstatedir): New variable, substituted from
58531         libc_cv_localstatedir.
58532         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58533         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58534         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58535         * sysdeps/gnu/configure: Regenerated.
58537 2012-06-21  Jeff Law  <law@redhat.com>
58539         [BZ #14277]
58540         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58541         free.  Simplify list management for _LIBC case.
58543 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58545         [BZ #14273]
58546         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58547         Clear sign bit of 64-bit integer value before comparing against
58548         overflow value.
58550         * sysdeps/mach/configure: Regenerated.
58552 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58554         [BZ #14278]
58555         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58557 2012-06-21  Jeff Law  <law@redhat.com>
58559         [BZ #13882]
58560         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58561         uint16_t for elements in the "seen" array to avoid char overflows.
58562         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58563         * elf/dl-open.c (dl_open_worker): Likewise.
58565 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58567         * scripts/list-sources.sh: Scan PORTS for translations.
58568         * po/libc.pot: Regenerated.
58570 2012-06-21  Andreas Jaeger  <aj@suse.de>
58572         [BZ #12194]
58573         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58574         warning.
58575         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58576         * bits/byteswap-16.h (__bswap_16): Likewise.
58577         * bits/byteswap.h (__bswap_constant_16): Likewise.
58579 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58581         [BZ #14117]
58582         * sysdeps/i386/fpu_control.h: Removed.
58583         * sysdeps/x86_64/fpu_control.h: Moved to ...
58584         * sysdeps/x86/fpu_control.h: Here.
58586         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58587         (_FPU_SETCW): Likewise.
58589 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58591         [BZ #14117]
58592         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58593         * sysdeps/x86/fpu/bits/mathinline.h: This.
58594         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58596         [BZ #14050]
58597         [BZ #14117]
58598         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58599         functions if __x86_64__ is defined.
58601 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58603         * string/endian.h: Add !__ASSEMBLER__ condition for including
58604         conversion interfaces.
58606 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58608         [BZ #14241]
58609         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58610         of ABS(x) in calculating zero to negative powers other than odd
58611         integers.
58612         * math/libm-test.inc (pow_test): Add more tests.
58614 2012-06-15  Andreas Jaeger  <aj@suse.de>
58616         * manual/contrib.texi (Contributors): Update entry of Liubov
58617         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58618         Machado Filho.
58620 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58622         * string/string.h: Add __wur to GNU version of strerror_r.
58624 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58626         [BZ #14229]
58627         * string/Makefile (tests): Add tst-strtok_r.
58628         * string/tst-strtok_r.c: New file.
58629         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58630         RAX_LP/RDX_LP on SAVE_PTR.
58632 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58634         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58636 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58638         * libm_test.inc (csqrt_test): Allow more spurious underflow
58639         exceptions.
58640         (j0_test): Likewise.
58641         (j1_test): Likewise.
58642         (y0_test): Likewise.
58643         (y1_test): Likewise.
58645 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58647         * po/Makefile (libc.pot): Use UTF-8 charset.
58649 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58651         [BZ #14210]
58652         Suppress sign-conversion warning from FD_SET.
58653         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58654         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58655         not unsigned long int.
58656         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58658 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58660         [BZ #14050]
58661         [BZ #14117]
58662         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58663         __extern_always_inline instead of __extern_inline.
58664         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58665         (__signbit): Likewise.
58666         (__signbitl): Support C++ namespace.
58667         (lrintf): New inline function.
58668         (lrint): Likewise.
58669         (llrintf): Likewise.
58670         (llrint): Likewise.
58671         (fmaxf): Likewise.
58672         (fmax): Likewise.
58673         (fminf): Likewise.
58674         (fmin): Likewise.
58675         (rint): Likewise.
58676         (rintf): Likewise.
58677         (ceil): Likewise.
58678         (ceilf): Likewise.
58679         (floor): Likewise.
58680         (floorf): Likewise.
58681         (nearbyint): Likewise.
58682         (nearbyintf): Likewise.
58684 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58686         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58687         non-default versions.
58689 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58691         [BZ #14218]
58692         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58694 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58696         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58697         (FE_UPWARD, FE_DOWNWARD): Don't define.
58698         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58699         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58701         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58702         reading it.
58703         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58704         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58706 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58708         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58710         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58711         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58713 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58715         [BZ #14117]
58716         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58717         * sysdeps/i386/fpu/Implies: New file.
58718         * sysdeps/x86_64/fpu/Implies: Likewise.
58719         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58720         * sysdeps/x86/fpu/bits/fenv.h: This.
58722         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58723         __SSE_MATH__.
58725 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58727         [BZ #14134]
58728         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58729         character 0xffff that matches the last element of the
58730         conversion table.
58732 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58734         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58735         fmodl commit.
58737 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58739         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58740         values higher than 25.6283.
58742 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58744         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58745         subnormal exponent extraction and add some __builtin_expect.
58746         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58747         Fix for subnormal mantissa calculation.
58749 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58751         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58752         cpu2 is -1 and errno is not ENOSYS.
58754 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58756         [BZ #14117]
58757         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58758         * sysdeps/x86/bits/string.h: This.
58759         * sysdeps/x86_64/bits/string.h: Removed.
58761         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58762         if not compiling for x86-64, but compiling for >= i486.
58764         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58765         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58767         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58768         New macro from Linux kernel 3.4.0.
58769         (FP_XSTATE_MAGIC2): Likewise.
58770         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58771         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58772         (struct _fpx_sw_bytes): New struct.
58773         (struct _xsave_hdr): Likewise.
58774         (struct _ymmh_state): Likewise.
58775         (struct _xstate): Likewise.
58777         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58778         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58780         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58781         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58782         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58784         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58785         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58786         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58787         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58788         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58789         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58791 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58793         [BZ #13743]
58794         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58795         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58796         (sysdep_headers): Include sys/platform/ppc.h.
58797         * sysdeps/powerpc/test-gettimebase.c: Test for
58798         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58799         * manual/Makefile (appendices): Include platform.texi.
58800         * manual/contrib.texi (Contributors): Update @node pointers.
58801         * manual/maint.texi (Maintenance): Likewise.
58802         (Platform): New node.
58803         * manual/platform.texi: New file.  Document the new features.
58805 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58806             Jakub Jelinek  <jakub@redhat.com>
58808         [BZ #14188]
58809         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58810         where __builtin_expect is unavailable.
58812 2012-06-03  David S. Miller  <davem@davemloft.net>
58814         * stdlib/longlong.h: Updated from GCC.
58816 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58818         [BZ #14042]
58819         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58820         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58821         __mcount_internal.
58822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58823         (GLIBC_2.16): Likewise.
58825 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58827         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58829 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58832         (default-abi): New variable.
58833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58834         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58835         variable.
58836         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58837         Likewise.
58838         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58839         Likewise.
58840         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58841         Likewise.
58843         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58844         definition.  Document in comment.
58846 2012-06-01  David S. Miller  <davem@davemloft.net>
58848         * stdlib/longlong.h: Updated from GCC.
58850 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58852         [BZ #14117]
58853         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58854         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58855         sys/debugreg.h sys/io.h here.
58856         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58857         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58858         sys/io.h.
58859         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58860         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58861         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58862         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58863         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58864         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58866         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58867         Define only if __x86_64__ is defined.
58869 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58871         [BZ #14048]
58872         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58873         Use int64_t for variable i.
58874         * math/libm-test.inc (fmod_test): Add more tests.
58876         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58877         z computation is not scheduled after fetestexcept.
58878         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58879         Use math_force_eval instead of asm to ensure calculation scheduled
58880         before exception test.
58881         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58882         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58884 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58886         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58887         computation is not scheduled after fetestexcept.
58889 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58891         [BZ #14117]
58892         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58893         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58895 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58897         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58898         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58900 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58902         [BZ #14117]
58903         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58904         <bits/wordsize.h>.
58905         (__WCHAR_MIN): Support __WORDSIZE == 64.
58906         (__WCHAR_MAX): Likewise.
58908         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58909         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58911         [BZ #14183]
58912         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58913         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58915         [BZ #14117]
58916         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58917         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58919         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58920         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58922         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58923         Defined to 1 if __x86_64__ isn't defined.
58924         (_STAT_VER_LINUX_OLD): New.
58925         (st_atime): Remove duplicate.
58926         (st_mtime): Likewise.
58927         (st_ctime): Likewise.
58929 2012-05-31  David S. Miller  <davem@davemloft.net>
58931         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58932         entries.
58934 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58936         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58937         gen-libm-test.pl.
58939         [BZ #14132]
58940         * elf/dl-reloc.c: Include <_itoa.h>.
58941         (_dl_reloc_bad_type): Remove use of INTUSE.
58942         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58943         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58944         * stdio-common/psiginfo.c (psiginfo): Likewise.
58945         * stdio-common/psignal.c (psignal): Likewise.
58946         * string/strsignal.c (strsignal): Likewise.
58947         * include/signal.h (_sys_siglist): Declare hidden proto.
58948         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58949         INTVARDEF with libc_hidden_data_def.
58950         * stdio-common/itoa-udigits.c: Likewise.
58951         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58952         (_itoa_lower_digits_internal): Remove declaration.
58953         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58954         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58955         (_sys_sigabbrev_internal): Remove aliases.
58956         (_sys_siglist): Define hidden alias.
58958 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58961         bits/sysctl.h.
58963 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58965         [BZ #14117]
58966         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58967         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58969         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58970         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58971         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58972         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58973         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58974         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58976         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58977         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58978         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58980         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58981         with __addr.
58982         (insw): Likewise.
58983         (insl): Likewise.
58984         (outsb): Likewise.
58985         (outsw): Likewise.
58986         (outsl): Likewise.
58988         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58989         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58990         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58992         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58993         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58994         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58995         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58996         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58997         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58999         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59000         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59002         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59003         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59005         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59006         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59007         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59009         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59010         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59011         to ...
59012         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59014         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59015         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59016         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59018         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59019         for x86-64.
59020         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59022 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59024         * math/math.h (M_El): Use two more decimal places.
59025         (M_LOG2El): Likewise.
59026         (M_LOG10El): Likewise.
59027         (M_LN2l): Likewise.
59028         (M_LN10l): Likewise.
59029         (M_PIl): Likewise.
59030         (M_PI_2l): Likewise.
59031         (M_PI_4l): Likewise.
59032         (M_1_PIl): Likewise.
59033         (M_2_PIl): Likewise.
59034         (M_2_SQRTPIl): Likewise.
59035         (M_SQRT2l): Likewise.
59036         (M_SQRT1_2l): Likewise.
59038 2012-05-31  David S. Miller  <davem@davemloft.net>
59040         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59041         values between float registers.
59042         * sysdeps/sparc/sparc64/memset.S: Likewise.
59043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59045 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59047         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59048         -D_FORTIFY_SOURCE=1.
59049         (CPPFLAGS-tst-longjmp_chk.c): Define.
59050         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59051         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59052         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59053         CFLAGS-tst-wchar-h.c.
59055 2012-05-31  Marek Polacek  <polacek@redhat.com>
59057         [BZ #14132]
59058         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59059         __endmntent_internal): Remove declaration.
59060         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59061         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59062         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59064 2012-05-30  David S. Miller  <davem@davemloft.net>
59066         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59067         (___Q_simulate_exceptions): Use real FP ops rather than writing
59068         into the %fsr.
59069         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59070         Likewise.
59072 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59074         [BZ #14117]
59075         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59076         * sysdeps/x86/bits/xtitypes.h: This.
59078         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59079         * sysdeps/x86/bits/wordsize.h: This.
59081         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59082         * sysdeps/x86/bits/huge_vall.h: This.
59084         * sysdeps/i386/bits/select.h: Removed.
59085         * sysdeps/x86_64/bits/select.h: Renamed to ...
59086         * sysdeps/x86/bits/select.h: This.
59088         * sysdeps/i386/bits/setjmp.h: Removed.
59089         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59090         * sysdeps/x86/bits/setjmp.h: This.
59092         * sysdeps/i386/bits/mathdef.h: Removed.
59093         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59094         * sysdeps/x86/bits/mathdef.h: This.
59096 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59098         [BZ #14132]
59099         * include/sys/socket.h (__connect_internal)
59100         (__libc_sa_len_internal): Remove declaration.
59101         (__connect, __libc_sa_len): Declare hidden_proto.
59102         (SA_LEN): Remove use of INTUSE.
59103         * socket/connect.c: Add libc_hidden_def.
59104         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59105         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59106         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59107         alias.
59108         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59109         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59110         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59111         of adding _internal alias.
59113 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59115         [BZ #14117]
59116         * sysdeps/i386/bits/link.h: Removed.
59117         * sysdeps/i386/bits/linkmap.h: Likewise.
59118         * sysdeps/x86_64/bits/link.h: Renamed to ...
59119         * sysdeps/x86/bits/link.h: This.
59120         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59121         * sysdeps/x86/bits/linkmap.h: This.
59123         * sysdeps/i386/bits/endian.h: Removed.
59124         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59125         * sysdeps/x86/bits/endian.h: This.
59127         * sysdeps/i386/bits/byteswap.h: Removed.
59128         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59129         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59130         * sysdeps/x86/bits/byteswap.h: This.
59131         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59132         * sysdeps/x86/bits/byteswap-16.h: This.
59133         * sysdeps/i386/Implies: Add x86.
59134         * sysdeps/x86_64/Implies: Likewise.
59136 2012-05-30  David S. Miller  <davem@davemloft.net>
59138         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59139         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59140         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59141         (FP_TRAPPING_EXCEPTIONS): Define.
59142         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59143         (FP_TRAPPING_EXCEPTIONS): Define.
59144         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59145         subnormals only when inexact has been signalled or underflow
59146         exceptions are enabled.
59147         (_FP_PACK_CANONICAL): Likewise.
59149 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59151         [BZ #14183]
59152         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59153         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59155 2012-05-30  Richard Henderson  <rth@twiddle.net>
59157         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59158         with #ifndef NOT_IN_libc.
59160         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59161         marked to avoid plt entry.
59163 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59165         [BZ #14112]
59166         * Makeconfig (default-abi): New macro.
59167         (abi-includes): Likewise.
59168         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59169         $(abi-$(default-abi)-lib-soname) for soname if defined.
59170         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59171         abi-variants.
59172         * Makefile (installed-stubs): Likewise.
59173         * include/stubs-biarch.h: Removed.
59174         * scripts/lib-names.awk: Only handle one library at a time.
59175         * scripts/soversions.awk: Remove WORDSIZE support.
59176         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59177         entries.
59178         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59179         Removed.
59180         (syscall-list-default-condition): Likewise.
59181         (syscall-list-default-condition): Likewise.
59182         (syscall-list-includes): Likewise.
59183         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59184         syscall-list-* with abi-*.  Handle undefined abi-variants.
59185         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59186         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59187         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59188         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59189         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59190         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59191         Removed.
59192         (syscall-list-32-options): Likewise.
59193         (syscall-list-32-condition): Likewise.
59194         (syscall-list-64-options): Likewise.
59195         (syscall-list-64-condition): Likewise.
59196         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59197         macro.
59198         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59199         Renamed to ...
59200         (abi-*): This.
59201         (abi-64-ld-soname): New macro.
59202         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59203         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59204         Renamed to ...
59205         (abi-*): This.
59206         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59207         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59209 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59211         * sysdeps/unix/sysv/linux/kernel-features.h
59212         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59213         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59214         include <kernel-features.h>.
59215         [!__NR_ftruncate64]: Remove conditional code.
59216         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59217         [__NR_ftruncate64]: Make code unconditional.
59218         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59219         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59220         include <kernel-features.h>.
59221         [!__NR_ftruncate64]: Remove conditional code.
59222         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59223         [__NR_ftruncate64]: Make code unconditional.
59224         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59226         include <kernel-features.h>.
59227         [!__NR_ftruncate64]: Remove conditional code.
59228         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59229         [__NR_ftruncate64]: Make code unconditional.
59230         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.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.
59238         * configure.in (libc_cv_fpie): Weaken to a compile test using
59239         LIBC_TRY_CC_OPTION.
59240         * configure: Regenerated.
59242 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59248         Refreshed.
59249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59255         Refreshed.
59257 2012-05-27  David S. Miller  <davem@davemloft.net>
59259         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59260         (___Q_zero): New.
59261         (__Q_simulate_exceptions): Return void.  Change to simulate
59262         exceptions by writing into the %fsr.
59263         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59264         (__Qp_handle_exceptions): Likewise.
59265         (numbers): Delete.
59266         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59267         __Qp_handle_exceptions.
59268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59269         __Qp_handle_exceptions.
59270         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59271         as unused and give dummy FP_RND_NEAREST initializer.
59272         (FP_INHIBIT_RESULTS): Define.
59273         (___Q_simulate_exceptions): Update declaration.
59274         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59275         formatting.
59276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59277         as unused and give dummy FP_RND_NEAREST initializer.
59278         (__Qp_handle_exceptions): Update declaration.
59279         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59280         formatting.
59282 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59284         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59285         the temporary FPU control word.
59286         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59287         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59288         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59289         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59290         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59291         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59292         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59293         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59294         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59295         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59296         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59298 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59300         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59301         fields.
59303 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59305         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59306         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59307         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59308         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59309         Likewise.
59310         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59311         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59312         Likewise.
59314 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59316         * po/h.po: Update from translation team.
59318 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59320         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59322         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59323         handling of denormals.
59324         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59325         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59326         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59327         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59329         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59331         Likewise.
59333 2012-05-26  Marek Polacek  <polacek@redhat.com>
59335         [BZ #14152]
59336         * math/libm-test.inc (fma_test): Don't always expect underflow
59337         exception.
59339 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59341         [BZ #12416]
59342         * elf/tst-execstack.c: Include stackinfo.h.
59343         (do_test): Adjust test case to ensure that pthread_getattr_np
59344         behaviour remains the same after marking stack executable.
59346 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59348         * sysdeps/unix/sysv/linux/kernel-features.h
59349         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59350         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59351         kernel-features.h.
59352         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59353         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59354         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59355         kernel-features.h.
59356         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59357         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59359 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59361         * configure.in: Define the default includes to being none.
59362         * configure: Regenerated.
59364 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59366         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59367         * sysdeps/x86_64/setjmp.S: Likewise.
59368         * sysdeps/i386/bsd-setjmp.S: Likewise.
59369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59370         * sysdeps/i386/setjmp.S: Likewise.
59371         * sysdeps/i386/__longjmp.S: Likewise.
59372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59373         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59375         * include/stap-probe.h: New file.
59376         * configure.in: Handle --enable-systemtap.
59377         * configure: Regenerated.
59378         * config.h.in (USE_STAP_PROBE): New #undef.
59379         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59380         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59381         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59383 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59385         [BZ #13717]
59386         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59387         to 2.4.0 where earlier.
59388         * sysdeps/unix/sysv/linux/configure: Regenerated.
59389         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59390         <kernel-features.h>.
59391         [__ASSUME_32BITUIDS]: Make code unconditional.
59392         [!__ASSUME_32BITUIDS]: Remove conditional code.
59393         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59394         <kernel-features.h>.
59395         [__ASSUME_32BITUIDS]: Make code unconditional.
59396         [!__ASSUME_32BITUIDS]: Remove conditional code.
59397         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59398         [__ASSUME_32BITUIDS]: Make code unconditional.
59399         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59400         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59401         <kernel-features.h>.
59402         [__ASSUME_32BITUIDS]: Make code unconditional.
59403         [!__ASSUME_32BITUIDS]: Remove conditional code.
59404         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59405         <kernel-features.h>.
59406         [__ASSUME_32BITUIDS]: Make code unconditional.
59407         [!__ASSUME_32BITUIDS]: Remove conditional code.
59408         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59409         <kernel-features.h>.
59410         [__ASSUME_32BITUIDS]: Make code unconditional.
59411         [!__ASSUME_32BITUIDS]: Remove conditional code.
59412         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59413         <kernel-features.h>.
59414         [__ASSUME_32BITUIDS]: Make code unconditional.
59415         [!__ASSUME_32BITUIDS]: Remove conditional code.
59416         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59417         <kernel-features.h>.
59418         [__ASSUME_32BITUIDS]: Make code unconditional.
59419         [!__ASSUME_32BITUIDS]: Remove conditional code.
59420         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59421         <kernel-features.h>.
59422         [__ASSUME_32BITUIDS]: Make code unconditional.
59423         [!__ASSUME_32BITUIDS]: Remove conditional code.
59424         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59425         <kernel-features.h>.
59426         [__ASSUME_32BITUIDS]: Make code unconditional.
59427         [!__ASSUME_32BITUIDS]: Remove conditional code.
59428         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59429         <kernel-features.h>.
59430         [__ASSUME_32BITUIDS]: Make code unconditional.
59431         [!__ASSUME_32BITUIDS]: Remove conditional code.
59432         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59433         <kernel-features.h>.
59434         [__ASSUME_32BITUIDS]: Make code unconditional.
59435         [!__ASSUME_32BITUIDS]: Remove conditional code.
59436         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59437         <kernel-features.h>.
59438         [__ASSUME_32BITUIDS]: Make code unconditional.
59439         [!__ASSUME_32BITUIDS]: Remove conditional code.
59440         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59441         <kernel-features.h>.
59442         [__NR_setresgid] (__setresgid): Do not declare.
59443         [__ASSUME_32BITUIDS]: Make code unconditional.
59444         [!__ASSUME_32BITUIDS]: Remove conditional code.
59445         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59446         <kernel-features.h>.
59447         [__NR_setresuid] (__setresuid): Do not declare.
59448         [__ASSUME_32BITUIDS]: Make code unconditional.
59449         [!__ASSUME_32BITUIDS]: Remove conditional code.
59450         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.c: Do not include
59459         <kernel-features.h>.
59460         [__ASSUME_32BITUIDS]: Make code unconditional.
59461         [!__ASSUME_32BITUIDS]: Remove conditional code.
59462         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59463         <kernel-features.h>.
59464         [__ASSUME_32BITUIDS]: Make code unconditional.
59465         [!__ASSUME_32BITUIDS]: Remove conditional code.
59466         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59467         <kernel-features.h>.
59468         [__ASSUME_32BITUIDS]: Make code unconditional.
59469         [!__ASSUME_32BITUIDS]: Remove conditional code.
59470         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59471         <kernel-features.h>.
59472         [__ASSUME_32BITUIDS]: Make code unconditional.
59473         [!__ASSUME_32BITUIDS]: Remove conditional code.
59474         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59475         <kernel-features.h>.
59476         [__ASSUME_32BITUIDS]: Make code unconditional.
59477         [!__ASSUME_32BITUIDS]: Remove conditional code.
59478         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59479         <kernel-features.h>.
59480         [__ASSUME_32BITUIDS]: Make code unconditional.
59481         [!__ASSUME_32BITUIDS]: Remove conditional code.
59482         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59483         <kernel-features.h>.
59484         [__ASSUME_32BITUIDS]: Make code unconditional.
59485         [!__ASSUME_32BITUIDS]: Remove conditional code.
59486         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59487         <kernel-features.h>.
59488         [__ASSUME_32BITUIDS]: Make code unconditional.
59489         [!__ASSUME_32BITUIDS]: Remove conditional code.
59490         * sysdeps/unix/sysv/linux/kernel-features.h
59491         (__ASSUME_SETRESUID_SYSCALL): Remove.
59492         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59493         (__ASSUME_32BITUIDS): Likewise.
59494         (__ASSUME_LDT_WORKS): Likewise.
59495         (__ASSUME_O_DIRECTORY): Likewise.
59496         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59497         architecture but not kernel version.
59498         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59499         (__ASSUME_MMAP2_SYSCALL): Likewise.
59500         (__ASSUME_STAT64_SYSCALL): Likewise.
59501         (__ASSUME_IPC64): Likewise.
59502         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59503         <kernel-features.h>.
59504         [__ASSUME_32BITUIDS]: Make code unconditional.
59505         [!__ASSUME_32BITUIDS]: Remove conditional code.
59506         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59507         <kernel-features.h>.
59508         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59509         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59510         132096]: Remove conditional code.
59511         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59512         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59513         <kernel-features.h>.
59514         [__ASSUME_32BITUIDS]: Make code unconditional.
59515         [!__ASSUME_32BITUIDS]: Remove conditional code.
59516         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59517         <kernel-features.h>.
59518         [__ASSUME_32BITUIDS]: Make code unconditional.
59519         [!__ASSUME_32BITUIDS]: Remove conditional code.
59520         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59521         <kernel-features.h>.
59522         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59523         unconditional.
59524         (__setresgid): Do not declare.
59525         [__ASSUME_32BITUIDS]: Make code unconditional.
59526         [!__ASSUME_32BITUIDS]: Remove conditional code.
59527         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59528         <kernel-features.h>.
59529         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59530         unconditional.
59531         (__setresuid): Do not declare.
59532         [__ASSUME_32BITUIDS]: Make code unconditional.
59533         [!__ASSUME_32BITUIDS]: Remove conditional code.
59534         * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
59539         <kernel-features.h>.
59540         [__ASSUME_32BITUIDS]: Make code unconditional.
59541         [!__ASSUME_32BITUIDS]: Remove conditional code.
59543 2012-05-25  Richard Henderson  <rth@twiddle.net>
59545         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59546         dl_hwcap to ifunc resolver.
59547         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59548         elf_ifunc_invoke.
59549         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59550         dl_hwcap to ifunc resolver.
59551         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59553 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59555         [BZ #14153]
59556         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59557         for |x| <= 2**-26, not 2**-57.
59558         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59559         exception.
59561 2012-05-24  Jeff Law  <law@redhat.com>
59563         * stdio-common/Makefile (tests): Add bug25.
59564         * stdio-common/bug25.c: New test.
59566 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59568         [BZ #13576]
59569         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59570         multiple of MALLOC_ALIGNMENT in size.
59571         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59573 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59575         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59576         Require >= 256.
59577         (FILENAME_MAX): Use macro-int-constant.
59578         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59579         (_IOFBF): Use macro-int-constant.
59580         (_IOLBF): Likewise.
59581         (_IONBF): Likewise.
59582         (SEEK_CUR): Likewise.
59583         (SEEK_END): Likewise.
59584         (SEEK_SET): Likewise.
59585         (TMP_MAX): Likewise.
59586         (EOF): Use macro-int-constant.  Require < 0.
59587         (NULL): Use macro-constant.  Require == 0.
59588         (stdin): Require type to be FILE *.
59589         (stdout): Likewise.
59590         (stderr): Likewise.
59591         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59592         macro-int-constant.
59593         (EXIT_SUCCESS): Likewise.
59594         (NULL): Use macro-constant.  Require == 0.
59595         (RAND_MAX): Use macro-int-constant.
59596         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59597         [C99-based standards] (strtof): Require function.
59598         [C99-based standards] (strtold): Likewise.
59599         [C99-based standards] (strtoll): Likewise.
59600         [C99-based standards] (strtoull): Likewise.
59601         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59602         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59603         [ISO || ISO99 || ISO11] (math.h): Likewise.
59604         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59605         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59608 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59610         [BZ #14132]
59611         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59612         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59613         * intl/dgettext.c (DCGETTEXT): Likewise.
59614         * intl/gettext.c (DCGETTEXT): Likewise.
59615         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59616         * posix/regex_internal.h (gettext): Likewise.
59617         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59618         Remove declaration.
59619         * include/argz.h (__argz_count_internal)
59620         (__argz_stringify_internal): Remove declaration.
59621         (__argz_count, __argz_stringify): Declare hidden proto.
59622         * intl/dcgettext.c: Remove use of INTDEF.
59623         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59624         * string/argz-stringify.c: Likewise.
59625         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59626         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59627         Declare hidden proto.
59628         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59629         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59630         Declare hidden proto.
59631         * include/stdio.h (__asprintf_internal): Don't declare.
59632         (__asprintf): Don't define as macro.  Declare hidden proto.
59633         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59634         (__fsetlocking): Declare hidden proto.
59635         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59636         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59637         hidden proto.
59638         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59639         (_IO_setlinebuf): Remove use of INTUSE.
59640         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59641         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59642         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59643         Remove declaration.
59644         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59645         (_IO_do_flush): Remove use of INTUSE.
59646         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59647         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59648         (_IO_adjust_column, _IO_least_wmarker)
59649         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59650         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59651         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59652         (_IO_default_doallocate, _IO_wdefault_doallocate)
59653         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59654         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59655         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59656         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59657         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59658         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59659         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59660         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59661         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59662         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59663         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59664         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59665         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59666         proto.
59667         (_IO_flush_all_internal, _IO_adjust_column_internal)
59668         (_IO_default_uflow_internal, _IO_default_finish_internal)
59669         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59670         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59671         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59672         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59673         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59674         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59675         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59676         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59677         (_IO_file_close_internal, _IO_file_close_it_internal)
59678         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59679         (_IO_file_init_internal, _IO_file_attach_internal)
59680         (_IO_file_fopen_internal, _IO_file_read_internal)
59681         (_IO_file_sync_internal, _IO_file_seek_internal)
59682         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59683         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59684         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59685         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59686         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59687         (_IO_list_all_internal, _IO_link_in_internal)
59688         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59689         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59690         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59691         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59692         (_IO_do_write_internal, _IO_padn_internal)
59693         (_IO_getline_info_internal, _IO_getline_internal)
59694         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59695         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59696         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59697         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59698         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59699         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59700         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59701         with libc_hidden_ver, remove use of INTUSE.
59702         * libio/genops.c: Likewise.
59703         * libio/freopen.c: Likewise.
59704         * libio/freopen64.c: Likewise.
59705         * libio/iofclose.c: Likewise.
59706         * libio/iofdopen.c: Likewise.
59707         * libio/iofflush.c: Likewise.
59708         * libio/iofflush_u.c: Likewise.
59709         * libio/iofgets.c: Likewise.
59710         * libio/iofgets_u.c: Likewise.
59711         * libio/iofopen.c: Likewise.
59712         * libio/iofopncook.c: Likewise.
59713         * libio/iofread.c: Likewise.
59714         * libio/iofread_u.c: Likewise.
59715         * libio/ioftell.c: Likewise.
59716         * libio/iofwrite.c: Likewise.
59717         * libio/iogetline.c: Likewise.
59718         * libio/iogets.c: Likewise.
59719         * libio/iogetwline.c: Likewise.
59720         * libio/iopadn.c: Likewise.
59721         * libio/iopopen.c: Likewise.
59722         * libio/ioseekoff.c: Likewise.
59723         * libio/ioseekpos.c: Likewise.
59724         * libio/iosetbuffer.c: Likewise.
59725         * libio/iosetvbuf.c: Likewise.
59726         * libio/ioungetc.c: Likewise.
59727         * libio/ioungetwc.c: Likewise.
59728         * libio/iovdprintf.c: Likewise.
59729         * libio/iovsprintf.c: Likewise.
59730         * libio/iovsscanf.c: Likewise.
59731         * libio/memstream.c: Likewise.
59732         * libio/obprintf.c: Likewise.
59733         * libio/oldfileops.c: Likewise.
59734         * libio/oldiofclose.c: Likewise.
59735         * libio/oldiofdopen.c: Likewise.
59736         * libio/oldiofopen.c: Likewise.
59737         * libio/oldiopopen.c: Likewise.
59738         * libio/oldstdfiles.c: Likewise.
59739         * libio/putc.c: Likewise.
59740         * libio/setbuf.c: Likewise.
59741         * libio/setlinebuf.c: Likewise.
59742         * libio/stdfiles.c: Likewise.
59743         * libio/strops.c: Likewise.
59744         * libio/vasprintf.c: Likewise.
59745         * libio/vscanf.c: Likewise.
59746         * libio/vsnprintf.c: Likewise.
59747         * libio/vswprintf.c: Likewise.
59748         * libio/wfiledoalloc.c: Likewise.
59749         * libio/wfileops.c: Likewise.
59750         * libio/wgenops.c: Likewise.
59751         * libio/wmemstream.c: Likewise.
59752         * libio/wstrops.c: Likewise.
59753         * libio/__fpurge.c: Likewise.
59754         * libio/__fsetlocking.c: Likewise.
59755         * assert/assert.c: Likewise.
59756         * debug/fgets_chk.c: Likewise.
59757         * debug/fgets_u_chk.c: Likewise.
59758         * debug/fread_chk.c: Likewise.
59759         * debug/fread_u_chk.c: Likewise.
59760         * debug/gets_chk.c: Likewise.
59761         * debug/obprintf_chk.c: Likewise.
59762         * debug/vasprintf_chk.c: Likewise.
59763         * debug/vdprintf_chk.c: Likewise.
59764         * debug/vsnprintf_chk.c: Likewise.
59765         * debug/vsprintf_chk.c: Likewise.
59766         * malloc/mtrace.c: Likewise.
59767         * misc/error.c: Likewise.
59768         * misc/syslog.c: Likewise.
59769         * stdio-common/asprintf.c: Likewise.
59770         * stdio-common/fxprintf.c: Likewise.
59771         * stdio-common/getw.c: Likewise.
59772         * stdio-common/isoc99_fscanf.c: Likewise.
59773         * stdio-common/isoc99_scanf.c: Likewise.
59774         * stdio-common/isoc99_vfscanf.c: Likewise.
59775         * stdio-common/isoc99_vscanf.c: Likewise.
59776         * stdio-common/isoc99_vsscanf.c: Likewise.
59777         * stdio-common/printf-prs.c: Likewise.
59778         * stdio-common/printf_fp.c: Likewise.
59779         * stdio-common/printf_fphex.c: Likewise.
59780         * stdio-common/printf_size.c: Likewise.
59781         * stdio-common/putw.c: Likewise.
59782         * stdio-common/scanf.c: Likewise.
59783         * stdio-common/sprintf.c: Likewise.
59784         * stdio-common/tmpfile.c: Likewise.
59785         * stdio-common/vfprintf.c: Likewise.
59786         * stdio-common/vfscanf.c: Likewise.
59787         * stdlib/strfmon_l.c: Likewise.
59788         * sunrpc/openchild.c: Likewise.
59789         * sunrpc/xdr_stdio.c: Likewise.
59790         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59791         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59793 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59795         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59797         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59798         in the third column, to generate for the shared library an IFUNC
59799         that uses _dl_vdso_vsym.
59800         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59801         * Makeconfig (object-suffixes-noshared): New variable.
59803         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59804         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59805         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59806         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59808         [BZ #14132]
59809         * include/sys/time.h (__gettimeofday): Remove macro.
59810         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59811         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59812         Remove INTDEF.
59813         (__gettimeofday): Add libc_hidden_def.
59814         (gettimeofday): Add libc_hidden_weak.
59815         * sysdeps/mach/gettimeofday.c: Likewise.
59816         * sysdeps/posix/gettimeofday.c: Likewise.
59817         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59818         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59819         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59820         (__gettimeofday_internal): Remove strong_alias.
59821         (__gettimeofday): Add libc_hidden_def.
59822         (gettimeofday): Add libc_hidden_weak.
59823         * sysdeps/unix/syscalls.list (gettimeofday):
59824         Remove __gettimeofday_internal alias.
59826 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59827             H.J. Lu  <hongjiu.lu@intel.com>
59829         [BZ #12495]
59830         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59831         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59832         (largebin_index_32_big): New.
59833         (largebin_index): Use it for 16-byte alignment.
59834         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59835         correction with front_misalign.
59837 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59841         Likewise.
59842         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59843         Likewise.
59844         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59845         Likewise.
59846         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59847         Likewise.
59848         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59849         Likewise.
59850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59851         Likewise.
59852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59853         Likewise.
59854         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59855         Likewise.
59856         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59857         Likewise.
59858         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59859         Likewise.
59860         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59861         Likewise.
59862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59863         Likewise.
59865         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59866         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59868 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59870         [BZ #10846]
59871         [BZ #14036]
59872         * math/libm-test.inc (exp_test): Add test from bug 14036.
59873         (pow_test): Add test from bug 10846.
59875         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59876         and other flags.
59877         (special_function): Do not include flags in test name.
59878         (parse_args): Likewise.
59879         * sysdeps/i386/fpu/libm-test-ulps: Update.
59880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59882         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59885         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59886         exceptions.
59887         * math/libm-test.inc ("Philosophy"): Update comment about
59888         exception testing.
59889         (UNDERFLOW_EXCEPTION): New macro.
59890         (UNDERFLOW_EXCEPTION_OK): Likewise.
59891         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59892         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59893         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59894         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59895         (INVALID_EXCEPTION_OK): Update value.
59896         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59897         (OVERFLOW_EXCEPTION_OK): Likewise.
59898         (IGNORE_ZERO_INF_SIGN): Likewise.
59899         (test_exceptions): Handle underflow exceptions.
59900         (acos_test): Update for underflow exception expectations.
59901         (cexp_test): Likewise.
59902         (clog_test): Likewise.
59903         (clog10_test): Likewise.
59904         (csqrt_test): Likewise.
59905         (ctan_test): Likewise.
59906         (ctanh_test): Likewise.
59907         (exp_test): Likewise.
59908         (exp10_test): Likewise.
59909         (exp2_test): Likewise.
59910         (expm1_test): Likewise.
59911         (fma_test): Likewise.
59912         (j0_test): Likewise.
59913         (jn_test): Likewise.
59914         (nexttoward_test): Likewise.
59915         (pow_test): Likewise.
59916         (scalbn_test): Likewise.
59917         (scalbln_test): Likewise.
59918         (tan_test): Likewise.
59919         (y1_test): Likewise.
59920         * sysdeps/i386/fpu/libm-test-ulps: Update.
59921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59923 2012-05-23  David S. Miller  <davem@davemloft.net>
59925         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59926         (__libc_sigaction): Remove unused local variables.
59928 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59930         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59932 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59934         mktime: avoid signed integer overflow
59935         * time/mktime.c (__mktime_internal): Do not mishandle the case
59936         where diff == INT_MIN.
59938         mktime: simplify computation of average
59939         * time/mktime.c (ranged_convert): Use new time_t_avg function
59940         instead of rolling our own (probably-slower) code.
59942         mktime: do not assume signed right shift propagates sign bit
59943         * time/mktime.c (isdst_differ): New static function.
59944         (__mktime_internal): No need to normalize tm_isdst now.
59945         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59946         tm_isdst values.
59948         mktime: merge another wrapv change from gnulib
59949         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59950         from some compilers.
59952         mktime: remove incorrect attempt at unusual arithmetics
59953         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59954         The code didn't really work on such machines anyway.
59955         (TYPE_MINIMUM): Assume two's complement.
59956         (twos_complement_arithmetic): Verify that long_int and time_t
59957         are two's complement (or unsigned, in the latter case).
59959         mktime: check signed shifts on long_int and time_t, too
59960         * time/mktime.c (SHR): Check that shifts work as desired
59961         on the types long_int and time_t too, as SHR is used on
59962         such types.
59964         mktime: do not assume 'long' is wide enough
59965         * time/mktime.c (verify): Move decl up.
59966         (long_int): New type.
59967         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59968         to remove assumption in the code that 'long' is wide enough to
59969         store year values.  This assumption is not true on x32 and on
59970         some non-glibc platforms.
59972         mktime: merge wrapv change from gnulib
59973         * time/mktime.c (WRAPV): New macro.
59974         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59975         (guess_time_tm, __mktime_internal): Do not assume that signed
59976         integer overflow wraps around; modern compilers generate code
59977         where this assumption is no longer valid.
59979 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59981         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59982         Replace "jmp L(pseudo_end)" with "ret".
59983         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59984         Likewise.
59986 2012-05-23  Andreas Jaeger  <aj@suse.de>
59988         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59989         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59991 2012-05-23  Andreas Jaeger  <aj@suse.de>
59992             Maximilian Attems  <max@stro.at>
59994         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59995         New macros.
59997 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59999         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60000         code so that pseudo_end is just ret and the stack pointer is
60001         correct also for static library in error case.
60003 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60005         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60006         move to syscalls.list.
60007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60012         * manual/install.texi (Running make install): Do not mention Linux
60013         kernel version for which pt_chown is not needed.
60014         (Linux): Do not mention problems with nscd with 2.0 kernels.
60015         * INSTALL: Regenerated.
60017 2012-05-23  Andreas Jaeger  <aj@suse.de>
60019         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60020         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60021         macro.
60022         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60023         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60024         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60025         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60026         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60027         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60029         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60030         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60031         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60032         * sysdeps/unix/sysv/linux/bits/in.h
60033         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60035 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60037         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60038         (PREPARE_VERSION): Just use assert instead, it will be elided
60039         under [NDEBUG] anyway.
60041 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60043         * sysdeps/unix/sysv/linux/Makefile: Include
60044         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60045         (sysdep_routines): Remove sysctl.
60046         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60047         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60048         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60049         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60050         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60052 2012-05-22  Andreas Jaeger  <aj@suse.de>
60054         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60055         that pseudo_end is just ret and the stack pointer is correct also
60056         for static library in error case.
60058 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60060         [BZ #14122]
60061         * nss/nsswitch.c (defconfig_entries): New variable.
60062         (__nss_database_lookup): Don't leak defconfig entries.
60063         (nss_parse_service_list): Don't leak on error paths.
60064         (free_database_entries): New function.
60065         (free_defconfig): New function.
60066         (free_mem): Move common code to free_database_entries.
60068 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60070         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60071         Add arch_prctl.
60072         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60074         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60075         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60077         New macro.
60078         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60079         (INTERNAL_SYSCALL_TYPES): Likewise.
60080         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60081         (LOAD_REGS_TYPES_[1-6]): Likewise.
60082         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60083         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60085 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60087         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60088         copysignl for GLIBC_2_0.
60089         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60090         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60092         logbl for GLIBC_2_0.
60093         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60094         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60096 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60098         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60099         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60101         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60102         Use "neg %eax".
60104         * time/mktime.c: Update copyright years.
60106 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60108         mktime: merge comment-quoting-style change from gnulib
60109         * time/mktime.c: Quote 'like this' in comments.
60110         The GNU coding standards suggest that we no longer quote `like this',
60111         as "`" and "'" are typically rendered asymmetrically nowadays.
60112         The typical gnulib style is to quote 'like this' when quoting
60113         code, and "like this" when quoting English.
60115         * time/mktime.c (compile-command): Add "-I.".
60117         mktime: merge mktime-internal.h change from gnulib
60118         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60120         mktime: merge time_r change from gnulib
60121         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60123         mktime: merge DEBUG change from gnulib
60124         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60125         case system <time.h> has a #define.
60127         mktime: merge <sys/types.h> change from gnulib
60128         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60129         since <time.t> is now guaranteed to define time_t.
60131         mktime: merge HAVE_CONFIG_H change from gnulib
60132         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60134 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60136         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60137         Use "neg %eax".
60139         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60140         __rlim_t cast.
60141         (struct rusage): Use anonymous union to pad each field to
60142         __syscall_slong_t.
60144 2012-05-21  David S. Miller  <davem@davemloft.net>
60146         * Makefules (o-iterator): Remove .s cases.
60147         (compile-command.s): Delete.
60148         (COMPILE.s): Delete.
60149         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60151 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60153         * configure.in (libc_cv_predef_stack_protector): Only consider
60154         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60155         * configure: Regenerated.
60157 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60160         New macro.  Use R*LP on int and pointer.
60161         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60162         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60163         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60164         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60166         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60167         [__WORDSIZE_TIME64_COMPAT32] instead of
60168         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60169         (struct utmp): Likewise.
60170         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60171         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60172         Renamed to ...
60173         (__WORDSIZE_TIME64_COMPAT32): This.
60174         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60175         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60176         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60177         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60178         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60179         (__WORDSIZE_TIME64_COMPAT32): New macro.
60181 2012-05-21  Andreas Jaeger  <aj@suse.de>
60183         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60184         only if [SHARED]. Add prototype for __wcschr_ia32.
60186 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60188         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60189         of %rbp unmolested in the jmp_buf while mangling the low bits.
60190         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60191         unmolested high bits of %rbp while demangling the low bits.
60192         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60194 2012-05-21  Andreas Jaeger  <aj@suse.de>
60196         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60197         * sunrpc/svc_simple.c: Use it for registerrpc.
60198         * sunrpc/xcrypt.c: Use it for passwd2des.
60200         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60202 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60204         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60205         Don't define if [__SYSCALL_WORDSIZE != 32].
60206         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60207         New macro.
60209 2012-05-21  Bruno Haible  <bruno@clisp.org>
60210             Andreas Jaeger  <aj@suse.de>
60212         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60213         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60214         inptr and inend for must_buffer_ch.
60215         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60216         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60217         * stdio-common/Makefile (tests): Remove bug15.
60218         (bug15-ENV): Remove macro.
60219         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60220         anymore.
60222 2012-05-19  Andreas Jaeger  <aj@suse.de>
60223             Roland McGrath  <roland@hack.frob.com>
60225         * manual/contrib.texi: Completely rewritten. It contains now an
60226         alphabetical list of contributors and their contributions.
60228 2012-05-21  Richard Henderson  <rth@twiddle.net>
60230         * misc/getauxval.c (__getauxval): Use unsigned long int.
60231         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60232         (getauxval): Use unsigned long int.
60234 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60236         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60238 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60240         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60241         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60242         __alignof__ (long double).
60244 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60248 2012-05-20  Richard Henderson  <rth@twiddle.net>
60250         * misc/getauxval.c: New file.
60251         * misc/sys/auxv.h: New file.
60252         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60253         (routines): Add getauxval.
60254         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60255         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60256         * elf/dl-sysdep.c (_dl_auxv): Remove.
60257         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60258         * elf/dl-support.c (_dl_auxv): New variable.
60259         (_dl_aux_init): Initialize it.
60260         * manual/startup.texi (Auxiliary Vector): New node.
60261         * sysdeps/generic/bits/hwcap.h: New file.
60262         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60263         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60264         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60265         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60266         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60269         Update.
60270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60272         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60273         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60277         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60279 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60283 2012-05-19  David S. Miller  <davem@davemloft.net>
60285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60287 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60289         [BZ #14123]
60290         * math/s_ccosh.c: Include <float.h>
60291         (__ccosh): Avoid internal overflow calculating sinh and cosh
60292         values before multiplying by sin and cos values.
60293         * math/s_ccoshf.c: Likewise.
60294         * math/s_ccoshl.c: Likewise.
60295         * math/s_csin.c: Likewise.
60296         * math/s_csinf.c: Likewise.
60297         * math/s_csinl.c: Likewise.
60298         * math/s_csinh.c: Likewise.
60299         * math/s_csinhf.c: Likewise.
60300         * math/s_csinhl.c: Likewise.
60301         * math/libm-test.inc (ccos_test): Add more tests.
60302         (ccosh_test): Likewise.
60303         (csin_test): Likewise.
60304         (csinh_test): Likewise.
60305         * sysdeps/i386/fpu/libm-test-ulps: Update.
60306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60308 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60310         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60311         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60313         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60315 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60317         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60318         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60319         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60320         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60321         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60322         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60323         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60324         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60325         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60326         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60327         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60328         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60329         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60330         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60331         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60332         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60333         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60334         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60335         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60336         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60337         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60338         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60339         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60340         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60341         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60342         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60343         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60344         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60345         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60346         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60347         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60349 2012-05-18  Andreas Jaeger  <aj@suse.de>
60351         * csu/.gitignore: Delete.
60353 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60355         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60356         (timex): Use __syscall_slong_t.
60358 2012-05-18  Andreas Jaeger  <aj@suse.de>
60359             Carlos O'Donell  <carlos_odonell@mentor.com>
60361         * manual/install.texi (Configuring and compiling): Update
60362         description about files modified in the source directory.
60363         * INSTALL: Regenerated.
60365 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60367         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60368         value.  Use "or" to set return value to -1.
60369         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60370         negate return value.
60372 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60374         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60375         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60376         failure if the compiler has Graphite support disabled.
60377         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60378         Likewise.
60379         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60380         (CFLAGS-memmove.c): Likewise.
60381         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60382         Likewise.
60384 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60386         * sysdeps/x86_64/x32/_itoa.h: New file.
60388         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60389         getdents system call only if kernel and user dirents have the
60390         same d_ino and d_off.
60392         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60393         LLONG_MAX != LONG_MAX.
60394         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60395         (_fitoa_word): Likewise.
60397         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60398         years.
60399         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60400         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60401         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60403         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60404         include <bits/wordsize.h>.  Check __x86_64__ instead of
60405         __WORDSIZE.
60406         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60407         if __x86_64__ is defined.  Use anonymous union on fpstate.
60409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60410         anonymous union.
60412 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60414         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60415         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60417         Refer to _rtld_local_ro instead of _rtld_global_ro.
60418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60419         Likewise.
60420         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60421         Likewise.
60422         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60423         Likewise.
60424         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60425         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60426         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60428         [BZ #10882]
60429         * sysdeps/powerpc/powerpc32/dl-machine.c
60430         (__elf_machine_runtime_setup) [PROF]: Don't reference
60431         _dl_prof_resolve.
60433 2012-05-18  Andreas Jaeger  <aj@suse.de>
60435         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60436         function only available for GCCs before 3.4 since GCC 3.4
60437         introduced a builtin.
60438         (lrint): Likewise.
60439         (llrintf): Likewise.
60440         (llrint): Likewise.
60441         (fmaxf): Likewise.
60442         (fmax): Likewise.
60443         (fminf): Likewise.
60444         (fmin): Likewise.
60445         (rint): Likewise.
60446         (rintf): Likewise.
60447         (nearbyint): Likewise.
60448         (nearbyintf): Likewise.
60449         (ceil): Likewise.
60450         (ceilf): Likewise.
60451         (floor): Likewise.
60452         (floorf): Likewise.
60454 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60456         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60457         on both fields and cast pointer to __syscall_ulong_t.
60459         * bits/types.h (__fsword_t): New type.
60460         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60461         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60462         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60463         (__FSWORD_T_TYPE): Likewise.
60464         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60465         (__FSWORD_T_TYPE): Likewise.
60466         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60467         (__FSWORD_T_TYPE): Likewise.
60468         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60469         (__FSWORD_T_TYPE): Likewise.
60470         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60471         __SWORD_TYPE with __fsword_t.
60472         (statfs64): Likewise.
60474 2012-05-17  David S. Miller  <davem@davemloft.net>
60476         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60478 2012-05-17  Andreas Jaeger  <aj@suse.de>
60480         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60481         warning.
60483 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60485         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60487 2012-05-17  Andreas Jaeger  <aj@suse.de>
60489         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60490         when it is used.
60492 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60494         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60496 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60498         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60499         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60501 2012-05-17  Andreas Jaeger  <aj@suse.de>
60502             Carlos O'Donell  <carlos_odonell@mentor.com>
60504         [BZ #14059]
60505         * sysdeps/x86_64/multiarch/init-arch.h
60506         (bit_YMM_Usable): Rename to...
60507         (bit_AVX_Usable): ... this.
60508         (bit_FMA4_Usable): New macro.
60509         (bit_XMM_state): New macro.
60510         (bit_YMM_state): New macro.
60511         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60512         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60513         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60514         (CPUID_OSXSAVE): New macro.
60515         (CPUID_AVX): New macro.
60516         (CPUID_FMA4): New macro.
60517         (index_YMM_Usable): Rename to...
60518         (index_AVX_Usable): ... this.
60519         (HAS_AVX): Use HAS_ARCH_FEATURE.
60520         (HAS_FMA4): Likewise.
60521         (HAS_YMM_USABLE): Remove.
60522         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60523         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60524         are present.
60525         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60526         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60527         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60528         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60529         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60531 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60533         * math/libm-test.c: Support platforms without multiple rounding modes.
60534         * math/bug-nextafter.c: Support platforms without FP exceptions.
60535         * math/bug-nexttoward.c: Likewise.
60536         * math/test-fenv.c: Likewise.
60537         * math/test-misc.c: Likewise.
60538         * stdlib/bug-getcontext.c: Likewise.
60540 2012-05-17  Andreas Jaeger  <aj@suse.de>
60542         * manual/examples/search.c (critter_cmp): Change signature to
60543         avoid warnings.
60544         * manual/string.texi (Collation Functions): Likewise.
60546 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60548         * bits/types.h: Fold copyright years.
60549         * bits/typesizes.h: Likewise.
60550         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60551         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60552         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60553         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60554         * time/time.h: Likewise.
60556 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60558         [BZ #208]
60559         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60560         in instead of returning them.  Return void.
60561         (__libc_mallinfo): Accumulate over all arenas.
60562         (__malloc_stats): Adjust for change in int_mallinfo interface.
60564 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60566         [BZ #10375]
60567         * configure.in (NM): Add AC_CHECK_TOOL for it.
60568         (libc_extra_cflags): New substituted variable.
60569         Check for -fstack-protector being used implicitly.
60570         * configure: Regenerated.
60571         * config.make.in (config-extra-cflags): New variable,
60572         gets @libc_extra_cflags@.
60573         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60575         [BZ #10375]
60576         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60577         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60578         * configure: Regenerated.
60579         * config.make.in (CPPUNDEFS): New substituted variable.
60580         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60581         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60582         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60586         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60587         (mq_attr): Use __syscall_slong_t.
60589 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60591         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60592         Check __x86_64__ instead of __WORDSIZE.
60593         (_STAT_VER_LINUX): Likewise.
60594         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60595         __syscall_ulong_t and __syscall_slong_t.
60596         (stat64): Likewise.
60598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60600         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60602 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60604         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60606 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60608         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60609         __syscall_ulong_t.
60611         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60612         include <bits/wordsize.h>.  Check __x86_64__ instead of
60613         __WORDSIZE.
60614         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60615         defined.
60616         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60618         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60619         include <bits/wordsize.h>.  Check __x86_64__ instead of
60620         __WORDSIZE.
60621         (user_regs_struct): Use "__extension__ unsigned long long"
60622         instead of "unsigned long" if __x86_64__ is defined.
60623         (user): Likewise.  Pad after pointer field if __ILP32__ is
60624         defined.
60626 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60628         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60629         versions 5 to 9.
60630         * configure: Regenerated.
60631         * manual/install.texi (texinfo): Increase version requirement to
60632         4.5 or later.
60633         * INSTALL: Regenerated.
60635         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60637 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60639         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60641         * sysdeps/x86_64/x32/ffs.c: New file.
60643         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60644         __syscall_ulong_t.
60645         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60646         defined.  Use __syscall_ulong_t.
60647         (shminfo): Use __syscall_ulong_t.
60648         (shm_info): Likewise.
60650         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60651         __syscall_ulong_t.
60653         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60654         <bits/wordsize.h>.
60655         (msgqnum_t): Use __syscall_ulong_t.
60656         (msglen_t): Likewise.
60657         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60658         __syscall_ulong_t.
60660         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60661         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60663         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60665         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60666         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60668         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60669         __syscall_slong_t.
60671         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60672         include <bits/wordsize.h>.  Check __x86_64__ instead of
60673         __WORDSIZE.
60675         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60676         "unsigned long long int" if __x86_64__ is defined.
60677         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60679         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60680         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60681         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60683         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60684         <stdint.h>.
60685         (GET_PC): Cast to uintptr_t first.
60686         (GET_FRAME): Likewise.
60687         (GET_STACK): Likewise.
60689         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60690         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60691         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60692         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60693         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60694         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60695         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60696         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60697         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60698         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60699         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60700         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60701         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60702         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60703         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60704         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60705         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60706         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60707         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60708         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60709         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60710         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60711         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60712         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60713         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60714         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60715         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60716         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60717         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60719 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60721         * Makerules (+depfiles): Also collect depfiles from .oS in
60722         $(extra-objs).
60723         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60724         .oS, $(libnldbl-routines)).
60726         * Makerules (native-compile-mkdep-flags): Define.
60727         * sunrpc/Makefile (extra-objs): Add $(addprefix
60728         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60729         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60730         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60731         calling $(make-target-directory).
60733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60735         * bits/types.h (__snseconds_t): Removed.
60736         * time/time.h (struct timespec): Replace __snseconds_t with
60737         __syscall_slong_t.
60738         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60739         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60740         Likewise.
60741         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60742         (__SNSECONDS_T_TYPE): Likewise.
60743         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60744         (__SNSECONDS_T_TYPE): Likewise.
60745         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60746         (__SNSECONDS_T_TYPE): Likewise.
60748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60750         * sysdeps/mach/hurd/bits/typesizes.h
60751         (__SYSCALL_SLONG_TYPE): New macro.
60752         (__SYSCALL_ULONG_TYPE): Likewise.
60754 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60756         * bits/types.h (__syscall_slong_t): New type.
60757         (__syscall_ulong_t): Likewise.
60759         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60760         (__SYSCALL_ULONG_TYPE): Likewise.
60761         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60762         (__SYSCALL_SLONG_TYPE): Likewise.
60763         (__SYSCALL_ULONG_TYPE): Likewise.
60764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60765         (__SYSCALL_SLONG_TYPE): Likewise.
60766         (__SYSCALL_ULONG_TYPE): Likewise.
60767         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60768         (__SYSCALL_SLONG_TYPE): Likewise.
60769         (__SYSCALL_ULONG_TYPE): Likewise.
60771 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60773         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60774         Add sigaltstack-offsets.sym.
60775         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60776         <sigaltstack-offsets.h>.
60777         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60778         longjmp_msg pointer.
60779         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60780         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60781         signal stack.
60782         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60784 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60786         * elf/stackguard-macros.h: Remove file.
60787         * sysdeps/generic/stackguard-macros.h: New file.
60788         * sysdeps/i386/stackguard-macros.h: Likewise.
60789         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60790         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60791         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60792         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60793         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60794         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60795         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60796         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60797         <elf/stackguard-macros.h>.
60799         [BZ #14109]
60800         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60801         __aligned__ in attribute.
60802         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60803         (gregset_t): Likewise.
60805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60807         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60808         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60809         * sysdeps/x86_64/x32/Implies-after: New file.
60811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60813         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60814         and access return value for _dl_profile_fixup.  Use R10_LP to
60815         load frame size.
60817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60819         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60823         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60824         * sysdeps/x86_64/x32/sysdep.h: New file.
60826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60828         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60829         * sysdeps/x86_64/setjmp.S: Likewise.
60831 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60833         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60834         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60835         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60836         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60837         remove unused global constant.
60839 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60841         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60842         include of <not-cancel.h>.
60844 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60846         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60848 2012-05-15  Jeff Law  <law@redhat.com>
60849             Andreas Jaeger  <aj@suse.de>
60851         [BZ #13594]
60852         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60853         out from...
60854         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60855         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60856         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60857         code changing __hst_map_handle.map.
60859 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60861         * configure.in (sysnames): Look for Implies-before and Implies-after
60862         files.
60863         * configure: Regenerated.
60865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60867         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60868         8-byte data alignment with LP_SIZE alignment.
60870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60872         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60873         into R10_LP.
60875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60877         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60881         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60882         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60883         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60884         Likewise.
60885         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60889         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60890         (stackinfo_sub_sp): Likewise.
60892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60894         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60895         RAX_LP.
60897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60899         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60900         into R*_LP.
60902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60904         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60905         sizes into R*_LP.
60907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60909         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60913         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60914         into R11_LP and load __x86_64_shared_cache_size_half into
60915         R8_LP.
60917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60919         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60920         R8_LP.
60922 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60924         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60925         logb for POWER7.
60926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60927         logbf for POWER7.
60928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60929         logbl for POWER7.
60930         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60931         powerpc32/power7/fpu/s_logb.c via #include.
60932         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60933         powerpc32/power7/fpu/s_logbf.c via #include.
60934         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60935         powerpc32/power7/fpu/s_logbl.c via #include.
60937 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60939         * README.libm: Remove file.
60941 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60943         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60944         count for x32.  Use R*_LP and omit operand-size suffix.
60946 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60948         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60949         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60950         * sysdeps/x86_64/x32/shlib-versions: New file.
60952 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60954         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60955         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60956         Use _dl_fatal_printf instead.
60958 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60960         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60961         set if not set by the user.  Do not allow for being unset.
60962         * sysdeps/unix/sysv/linux/configure: Regenerated.
60964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60966         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60967         the `q' suffix from lea and replace .quad with ASM_ADDR.
60969 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60972         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60973         instead of $17.
60974         (PTR_DEMANGLE): Likewise.
60976 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60978         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60979         (LP_OP): Likewise.
60980         (ASM_ADDR): Likewise.
60981         (RAX_LP): Likewise.
60982         (RBP_LP): Likewise.
60983         (RBX_LP): Likewise.
60984         (RCX_LP): Likewise.
60985         (RDI_LP): Likewise.
60986         (RSI_LP): Likewise.
60987         (RSP_LP): Likewise.
60988         (R8_LP): Likewise.
60989         (R9_LP): Likewise.
60990         (R10_LP): Likewise.
60991         (R10_LP): Likewise.
60992         (R11_LP): Likewise.
60993         (R12_LP): Likewise.
60994         (R13_LP): Likewise.
60995         (R14_LP): Likewise.
60996         (R15_LP): Likewise.
60998 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61000         * sysdeps/x86_64/x32/dl-machine.h: New file.
61002 2012-05-14  Andreas Jaeger  <aj@suse.de>
61004         * manual/Makefile (subdir): Remove export of subdir.
61005         (all): Remove target.
61006         (.PHONY): Remove all from list.
61007         (mkinstalldirs): Remove.
61008         (.PHONY): Remove installdirs from list.
61009         ($(inst_infodir)/libc.info): Use make-target-directory.
61010         (installdirs): Remove.
61011         (subdir_%): Remove.
61012         (glibc-targets): Remove.
61013         (lib): Remove.
61014         (stubs): Remove.
61015         ($(objpfx)stubs ../po/manual.pot): Remove.
61016         ($(objpfx)stamp%): Remove.
61017         (make-target-directory): Remove.
61018         (subdir_install): Remove.
61019         (routines): Remove.
61020         (aux): Remove.
61021         (sources): Remove.
61022         (objects): Remove.
61023         (headers): Remove.
61025         [BZ #13750]
61026         * manual/.gitignore: Remove, it's not needed anymore.
61027         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61028         all files in it.
61029         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61030         directory.
61031         (texis): Renamed to $(objpfx)texis.
61032         (texis-path): New, contains path to generated files.
61033         (chapters.%): Use texis-path for complete path, add extra argument
61034         libc-texinfo.sh.
61035         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61036         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61037         (summary,texi, stamp-summary): Use complete path of
61038         files. Generate files in build dir.
61039         (dir-add.texi): Build in build dir.
61040         (libm-err.texi,stamp-libm-err): Likewise.
61041         (version.texi, stamp-version): Likewise.
61042         (.%c.texi): Likewise.
61043         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61044         (mostlyclean): Remove target.
61045         (realclean): Remove target.
61046         (generated): Add new variable with contents from mostlyclean and
61047         realclean, remove entries duplicated in common-mostlyclean, add
61048         stamp-libm-err and stamp-version.
61049         (generated-dirs): Add libc directory.
61050         ($(inst_infodir)/libc.info): Install files from build dir.
61052         * manual/install.texi (Configuring and compiling): Adjust since
61053         the info files are not part of the tar ball anymore.
61055 2012-05-14  Andreas Jaeger  <aj@suse.de>
61057         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61058         variable.
61060 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61062         [BZ #13717]
61063         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61064         to 2.2.0 where earlier.
61065         * sysdeps/unix/sysv/linux/configure: Regenerated.
61066         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61067         Remove conditional code.
61068         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61069         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61070         Remove conditional code.
61071         [!__NR_lchown]: Likewise.
61072         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61073         [__NR_lchown]: Likewise.
61074         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61075         comment referencing __ASSUME_LCHOWN_SYSCALL.
61076         * sysdeps/unix/sysv/linux/i386/sigaction.c
61077         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61078         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61079         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61080         Remove conditional code.
61081         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61082         (__protocol_available): Remove #if 0 code.
61083         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61084         conditional code.
61085         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61086         * sysdeps/unix/sysv/linux/kernel-features.h
61087         (__ASSUME_GETCWD_SYSCALL): Don't define.
61088         (__ASSUME_REALTIME_SIGNALS): Likewise.
61089         (__ASSUME_PREAD_SYSCALL): Likewise.
61090         (__ASSUME_PWRITE_SYSCALL): Likewise.
61091         (__ASSUME_POLL_SYSCALL): Likewise.
61092         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61093         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61094         non-SPARC.
61095         (__ASSUME_SIOCGIFNAME): Don't define.
61096         (__ASSUME_MSG_NOSIGNAL): Likewise.
61097         (__ASSUME_SENDFILE): Define unconditionally.
61098         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61099         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61100         conditional code.
61101         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61102         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61103         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61104         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61105         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61106         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61107         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61109         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61110         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61112         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61113         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61115         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61116         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61118         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61119         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61121         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61122         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61124         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61125         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61127         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61128         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61130         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61131         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61132         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61133         Remove conditional code.
61134         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61135         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61136         Remove conditional code.
61137         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61138         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61139         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61140         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61141         Remove conditional code.
61142         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61143         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61144         Remove conditional code.
61145         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61146         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61147         Remove conditional code.
61148         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61149         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61150         Remove conditional code.
61151         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61152         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61153         Remove conditional code.
61154         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61155         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61156         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61157         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61158         * sysdeps/unix/sysv/linux/sigaction.c
61159         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61160         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61161         * sysdeps/unix/sysv/linux/sigpending.c
61162         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61163         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61164         * sysdeps/unix/sysv/linux/sigprocmask.c
61165         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61166         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61167         * sysdeps/unix/sysv/linux/sigsuspend.c
61168         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61169         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61170         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61171         (__libc_missing_rt_sigs): Remove.
61172         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61173         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61174         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61175         Remove conditional code.
61176         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61177         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61178         return 1.
61179         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61180         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61181         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61182         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61184 2012-05-14  Andreas Jaeger  <aj@suse.de>
61186         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61187         it's not used in glibc.
61188         (__coshm1): Likewise.
61189         (__acosh1p): Likewise.
61190         (__sgn): Likewise.
61192         * manual/string.texi (Copying and Concatenation): Add missing
61193         variable in concat example.
61194         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61196 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61198         [BZ #14103]
61199         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61200         __builtin_clzl with __builtin_clzll.
61202 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61204         [BZ #14104]
61205         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61206         libc_freeres_ptr.
61208 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61210         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61211         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61212         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61213         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61215 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61217         * NEWS: Update ia64 info.
61219 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61221         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61222         used as bcopy.
61224 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61226         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61227         * sysdeps/unix/syscalls.list (dup3): Likewise.
61228         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61229         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61231 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61233         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61234         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61236 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61238         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61239         thread pointer.
61240         (TLS_IE): Use mov/add instead of movq/addq to load thread
61241         pointer.
61242         (TLS_GD_PREFIX): New.
61243         (TLS_GD): Use it.
61245 2012-05-11  David S. Miller  <davem@davemloft.net>
61247         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61248         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61249         (_FPU_SETCW): Likewise.
61251 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61253         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61254         is 32-byte aligned.
61256 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61258         [BZ #11837]
61259         * iconvdata/gb18030.c: Update tables.
61260         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61261         characters specially.
61262         (BODY for TO_LOOP): Add encoding of missing ranges.
61264 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61266         [BZ #13673]
61267         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61268         * sysdeps/mach/hurd/dup3.c: Likewise.
61269         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61270         * sysdeps/powerpc/memmove.c:: Likewise.
61272 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61274         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61275         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61277 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61279         * elf/elf.h (R_X86_64_RELATIVE64): New.
61280         (R_X86_64_NUM): Updated.
61281         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61282         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61283         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61284         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61285         tst-quad1pie tst-quad2pie
61286         (modules-names): Add tst-quadmod1 tst-quadmod2.
61287         ($(objpfx)tst-quad1): New dependency.
61288         ($(objpfx)tst-quad2): Likewise.
61289         ($(objpfx)tst-quad1pie): Likewise.
61290         ($(objpfx)tst-quad2pie): Likewise.
61291         * sysdeps/x86_64/tst-quad1.c: New file.
61292         * sysdeps/x86_64/tst-quad1pie.c: New file.
61293         * sysdeps/x86_64/tst-quad2.c: Likewise.
61294         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61295         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61296         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61297         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61298         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61302         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61303         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61304         * streams/stropts.h (t_scalar_t): Define type.
61306         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61307         (_PATH_PRESERVE): Set to "/var/lib".
61308         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61310         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61311         instead of int.
61313         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61314         if __dir_mkfile succeeded.
61316         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61317         checking for _hurd_dtablesize.  Unlock it right after having
61318         finished _hurd_dtable allocation.
61320 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61322         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61323         * sysdeps/mach/hurd/configure: Regenerated.
61324         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61325         special-casing to...
61326         * sysdeps/gnu/configure.in: ... this new file.
61327         * sysdeps/unix/sysv/linux/configure: Regenerated.
61328         * sysdeps/gnu/configure: New generated file.
61330         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61331         for Linux: use nsec instead of usec, as well as:
61332         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61333         members of type struct timespec.
61334         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61335         New macros.
61336         (struct stat64): Likewise.
61337         (_STATBUF_ST_NSEC): New macro.
61338         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61340         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61341         __strtoul_internal rather than strtoul.
61343 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61345         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61346         and reject them.
61348 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61350         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61351         which preserves existing values.
61352         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61354 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61356         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61357         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61358         greater than FD_SETSIZE.
61360 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61362         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61363         allocated, call __vm_protect to finish enabling the existing space, and
61364         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61365         allocate the remainder.
61367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61369         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61370         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61372 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61374         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61375         sysdeps/mach/hurd/readlink.c.
61377         * posix/tst-sysconf.c (posix_options): Only use
61378         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61379         _POSIX_SYNCHRONIZED_IO when they are defined
61380         * sysdeps/mach/hurd/bits/posix_opt.h:
61381         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61382         (_XOPEN_REALTIME): Undefine macro.
61383         (_XOPEN_REALTIME_THREADS): Undefine macro.
61384         (_XOPEN_SHM): Undefine macro.
61385         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61386         macro to -1.
61387         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61388         macro to -1.
61389         (_POSIX_ASYNC_IO): Undefine macro.
61390         (_POSIX_PRIORITIZED_IO): Undefine macro.
61391         (_POSIX_SPIN_LOCKS): Define macro to -1.
61393         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61394         SA_NODEFER, SA_RESETHAND.
61395         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61396         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61397         F_DUPFD_CLOEXEC.
61399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61401         * elf/Makefile (pldd-modules): Define unconditionally.
61403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61405         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61409         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61410         Return ENOENT when name is empty.
61411         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61415         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61417         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61419 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61421         Fix mlock in all cases except non-readable pages.
61422         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61423         instead of VM_PROT_ALL as parameter to __vm_wire function.
61425         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61426         (__mkdir): When path is `/', just fail with EEXIST.
61427         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61429 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61431         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61432         <sys/uio.h> (for writev).
61433         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61434         and <sys/param.h> (for MIN).
61436 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61438         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61439         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61440         if interrupted.
61442 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61444         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61445         Depend on against $(link-rpcuserlibs).
61447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61449         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61450         (__libc_stack_end): Do not use attribute_relro.
61451         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61452         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61453         to libthread-provided value.
61454         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61455         attribute_relro.
61457 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61459         [BZ #3748]
61460         * bits/libc-lock.h (__libc_once_get): New macro.
61461         * sysdeps/mach/bits/libc-lock.h: Likewise.
61462         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61463         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61464         instead of using implementation details.
61466         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61467         * libio/freopen.c: Likewise.
61468         * libio/freopen64.c: Likewise.
61469         * misc/syslog.c: Likewise.
61470         * nscd/connections.c: Likewise.
61471         * nscd/netgroupcache.c: Likewise.
61472         * sysdeps/posix/getcwd.c: Likewise.
61474 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61476         * math/w_ilogbf.c: Add #include <limits.h>.
61478 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61480         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61481         path instead of returning without unlocking.
61483         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61484         immediate-write ioctls.
61485         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61487 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61489         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61490         __builtin_frame_address instead of making assumptions about the
61491         location of the return address relative to DATA.  Force early load of
61492         the return address.
61493         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61494         __builtin_frame_address.
61496         dup3 for GNU Hurd.
61497         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61498         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61499         implement dup3 and do some further code clean-ups.
61500         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61501         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61503 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61505         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61507         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61508         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61509         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61510         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61511         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61512         d->port.lock.
61514         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61515         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61516         when handler == SIG_ERR, not when handler != SIG_ERR.
61518 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61520         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61521         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61522         definitions.
61524         accept4 for GNU Hurd.
61525         * include/sys/socket.h (__libc_accept4): New prototype.
61526         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61527         to implement __libc_accept4.
61528         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61529         __libc_accept4.
61530         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61532         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61533         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61534         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61535         signal-defines.sym.
61537 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61539         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61543         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61544         assertion on O_CLOEXEC flag.
61545         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61546         * hurd/intern-fd.c: Likewise.
61547         * hurd/port2fd.c: Likewise.
61549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61551         [BZ #3906]
61552         * bits/in.h (IPV6_PKTINFO): Define new macro.
61553         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61555 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61557         [BZ #13954]
61558         [BZ #13955]
61559         [BZ #13956]
61560         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61561         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61562         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61563         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61564         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61565         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61566         * math/libm-test.inc (logb_test) : Additional logb tests.
61568 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61569             Andreas Jaeger  <aj@suse.de>
61571         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61572         * configure: Regenerated.
61573         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61574         * config.make.in (link-obsolete-rpc): New substituted variable.
61575         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61576         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61577         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61578         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61579         so that libc.a contains the symbols.
61580         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61581         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61582         * sunrpc/auth_none.c: Likewise.
61583         * sunrpc/auth_unix.c: Likewise.
61584         * sunrpc/authdes_prot.c: Likewise.
61585         * sunrpc/authuxprot.c: Likewise.
61586         * sunrpc/clnt_gen.c: Likewise.
61587         * sunrpc/clnt_perr.c: Likewise.
61588         * sunrpc/clnt_raw.c: Likewise.
61589         * sunrpc/clnt_simp.c: Likewise.
61590         * sunrpc/clnt_tcp.c: Likewise.
61591         * sunrpc/clnt_udp.c: Likewise.
61592         * sunrpc/clnt_unix.c: Likewise.
61593         * sunrpc/des_crypt.c: Likewise.
61594         * sunrpc/des_soft.c: Likewise.
61595         * sunrpc/get_myaddr.c: Likewise.
61596         * sunrpc/key_call.c: Likewise.
61597         * sunrpc/key_prot.c: Likewise.
61598         * sunrpc/netname.c: Likewise.
61599         * sunrpc/pm_getmaps.c: Likewise.
61600         * sunrpc/pm_getport.c: Likewise.
61601         * sunrpc/pmap_clnt.c: Likewise.
61602         * sunrpc/pmap_prot.c: Likewise.
61603         * sunrpc/pmap_prot2.c: Likewise.
61604         * sunrpc/pmap_rmt.c: Likewise.
61605         * sunrpc/publickey.c: Likewise.
61606         * sunrpc/rpc_cmsg.c: Likewise.
61607         * sunrpc/rpc_common.c: Likewise.
61608         * sunrpc/rpc_dtable.c: Likewise.
61609         * sunrpc/rpc_prot.c: Likewise.
61610         * sunrpc/rpc_thread.c: Likewise.
61611         * sunrpc/rtime.c: Likewise.
61612         * sunrpc/svc.c: Likewise.
61613         * sunrpc/svc_auth.c: Likewise.
61614         * sunrpc/svc_raw.c: Likewise.
61615         * sunrpc/svc_run.c: Likewise.
61616         * sunrpc/svc_tcp.c: Likewise.
61617         * sunrpc/svc_udp.c: Likewise.
61618         * sunrpc/svc_unix.c: Likewise.
61619         * sunrpc/svcauth_des.c: Likewise.
61620         * sunrpc/xcrypt.c: Likewise.
61621         * sunrpc/xdr.c: Likewise.
61622         * sunrpc/xdr_array.c: Likewise.
61623         * sunrpc/xdr_float.c: Likewise.
61624         * sunrpc/xdr_intXX_t.c: Likewise.
61625         * sunrpc/xdr_mem.c: Likewise.
61626         * sunrpc/xdr_rec.c: Likewise.
61627         * sunrpc/xdr_ref.c: Likewise.
61628         * sunrpc/xdr_sizeof.c: Likewise.
61629         * sunrpc/xdr_stdio.c: Likewise.
61631 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61633         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61634         change.  Update copyright years.
61636 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61638         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61640 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61641             Joseph Myers  <joseph@codesourcery.com>
61642             Paul Pluzhnikov  <ppluzhnikov@google.com>
61644         [BZ #14012]
61645         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61646         requiring rpcgen.
61647         [cross-compiling] (extra-libs): Likewise.
61648         [cross-compiling] (extra-libs-others): Likewise.
61649         [cross-compiling] (librpcsvc-routines): Likewise.
61650         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61651         [cross-compiling] (omit-deps): Likewise.
61652         (sunrpc-CPPFLAGS): New variable.
61653         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61654         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61655         (cross-rpcgen-objs): New variable.
61656         (extra-objs): Append $(cross-rpcgen-objs).
61657         ($(cross-rpcgen-objs)): New rule.
61658         ($(objpfx)cross-rpcgen): Likewise.
61659         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61660         comment.
61661         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61662         ($(objpfx)x%.stmp): Likewise.
61663         * sunrpc/proto.h [IS_IN_build] (_): Define.
61664         [IS_IN_build] (_libc_intl_domainname): Likewise.
61666 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61668         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61669         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61670         and R_X86_64_TPOFF64.
61672 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61674         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61675         sysdeps/unix/sysv/syscalls.list.
61676         (stime): Likewise.
61677         (utime): Likewise.
61678         * sysdeps/unix/sysv/syscalls.list: Remove file.
61680 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61682         [BZ #3440]
61683         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61684         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61685         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61686         (__LC_IDENTIFICATION): Make these macros useful in #if
61687         expressions, as required by C99.
61689 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61691         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61692         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61693         after this.
61695 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61697         * stdlib/longlong.h: Updated from GCC.
61699 2012-05-09  Andreas Jaeger  <aj@suse.de>
61701         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61702         default is first entry.
61703         (run_mode): Set type.
61704         (main): Remove informal message about syslog.
61705         (options): Fix typo.
61707         [BZ #14053]
61708         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61709         to asm.
61710         (lrint): Likewise.
61711         (llrintf): Likewise.
61712         (llrint): Likewise.
61713         (rint): Likewise.
61714         (rintf): Likewise.
61715         (nearbyint): Likewise.
61716         (nearbyintf): Likewise.
61718 2012-05-09  Andreas Jaeger  <aj@suse.de>
61719             Pedro Alves  <palves@redhat.com>
61721         * nscd/nscd.c (run_mode): Use enum.
61722         (main): Cleanup coding style issue.
61724 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61725             Andreas Jaeger  <aj@suse.de>
61727         * nscd/nscd.c (go_background): Replaced with...
61728         (run_mode): ... this.
61729         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61730         (options): Add -F --foreground.
61731         (main): Implement it.
61732         (parse_opt): Parse it.
61734 2012-05-09  Andreas Jaeger  <aj@suse.de>
61736         [BZ #14083]
61737         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61738         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61739         -Wconversion warning.
61740         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61741         Likewise.
61743 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61745         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61746         == 0.
61747         (LC_ALL): Use macro-int-constant.
61748         (LC_COLLATE): Likewise.
61749         (LC_CTYPE): Likewise.
61750         (LC_MESSAGES): Likewise.
61751         (LC_MONETARY): Likewise.
61752         (LC_NUMERIC): Likewise.
61753         (LC_TIME): Likewise.
61754         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61755         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61756         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61757         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61758         Specify type.
61759         [C99-based standards] (float_t): Expect type.
61760         [C99-based standards] (double_t): Expect type.
61761         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61762         type.
61763         [C99-based standards] (HUGE_VALL): Likewise.
61764         [C99-based standards] (INFINITY): Likewise.
61765         [C99-based standards] (NAN): Likewise.
61766         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61767         [C99-based standards] (FP_NAN): Likewise.
61768         [C99-based standards] (FP_NORMAL): Likewise.
61769         [C99-based standards] (FP_SUBNORMAL): Likewise.
61770         [C99-based standards] (FP_ZERO): Likewise.
61771         [C99-based standards] (FP_FAST_FMA): Use
61772         optional-macro-int-constant.  Specify type.  Require == 1.
61773         [C99-based standards] (FP_FAST_FMAF): Likewise.
61774         [C99-based standards] (FP_FAST_FMAL): Likewise.
61775         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61776         [C99-based standards] (FP_ILOGBNAN): Likewise.
61777         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61778         Specify type.
61779         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61780         [C99-based standards] (math_errhandling): Specify type.
61781         [ISO99 || ISO11] (signgam): Do not allow.
61782         [non-C99-based standards] (copysignf): Do not allow.
61783         [non-C99-based standards] (exp2f): Likewise.
61784         [non-C99-based standards] (log2f): Likewise.
61785         [non-C99-based standards] (modff): Allow.
61786         [non-C99-based standards] (erff): Do not allow.
61787         [non-C99-based standards] (erfcf): Likewise.
61788         [non-C99-based standards] (gammaf): Likewise.
61789         [non-C99-based standards] (hypotf): Likewise.
61790         [non-C99-based standards] (j0f): Likewise.
61791         [non-C99-based standards] (j1f): Likewise.
61792         [non-C99-based standards] (jnf): Likewise.
61793         [non-C99-based standards] (lgammaf): Likewise.
61794         [non-C99-based standards] (tgammaf): Likewise.
61795         [non-C99-based standards] (y0f): Likewise.
61796         [non-C99-based standards] (y1f): Likewise.
61797         [non-C99-based standards] (ynf): Likewise.
61798         [non-C99-based standards] (isnanf): Likewise.
61799         [non-C99-based standards] (acoshf): Likewise.
61800         [non-C99-based standards] (asinhf): Likewise.
61801         [non-C99-based standards] (atanhf): Likewise.
61802         [non-C99-based standards] (cbrtf): Likewise.
61803         [non-C99-based standards] (expm1f): Likewise.
61804         [non-C99-based standards] (ilogbf): Likewise.
61805         [non-C99-based standards] (log1pf): Likewise.
61806         [non-C99-based standards] (logbf): Likewise.
61807         [non-C99-based standards] (nextafterf): Likewise.
61808         [non-C99-based standards] (remainderf): Likewise.
61809         [non-C99-based standards] (rintf): Likewise.
61810         [non-C99-based standards] (scalbf): Likewise.
61811         [non-C99-based standards] (copysignl): Likewise.
61812         [non-C99-based standards] (exp2l): Likewise.
61813         [non-C99-based standards] (log2l): Likewise.
61814         [non-C99-based standards] (modfl): Allow.
61815         [non-C99-based standards] (erfl): Do not allow.
61816         [non-C99-based standards] (erfcl): Likewise.
61817         [non-C99-based standards] (gammal): Likewise.
61818         [non-C99-based standards] (hypotl): Likewise.
61819         [non-C99-based standards] (j0l): Likewise.
61820         [non-C99-based standards] (j1l): Likewise.
61821         [non-C99-based standards] (jnl): Likewise.
61822         [non-C99-based standards] (lgammal): Likewise.
61823         [non-C99-based standards] (tgammal): Likewise.
61824         [non-C99-based standards] (y0l): Likewise.
61825         [non-C99-based standards] (y1l): Likewise.
61826         [non-C99-based standards] (ynl): Likewise.
61827         [non-C99-based standards] (isnanl): Likewise.
61828         [non-C99-based standards] (acoshl): Likewise.
61829         [non-C99-based standards] (asinhl): Likewise.
61830         [non-C99-based standards] (atanhl): Likewise.
61831         [non-C99-based standards] (cbrtl): Likewise.
61832         [non-C99-based standards] (expm1l): Likewise.
61833         [non-C99-based standards] (ilogbl): Likewise.
61834         [non-C99-based standards] (log1pl): Likewise.
61835         [non-C99-based standards] (logbl): Likewise.
61836         [non-C99-based standards] (nextafterl): Likewise.
61837         [non-C99-based standards] (remainderl): Likewise.
61838         [non-C99-based standards] (rintl): Likewise.
61839         [non-C99-based standards] (scalbl): Likewise.
61840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61841         [non-C99-based standards] (FP_*): Do not allow.
61842         [C99-based standards] (FP_*): Change to
61843         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61844         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61845         allow.
61846         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61847         (SIG_ERR): Likewise.
61848         [X/Open-based standards] (SIG_HOLD): Likewise.
61849         (SIG_IGN): Likewise.
61850         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61851         positive value.
61852         (SIGFPE): Likewise.
61853         (SIGILL): Likewise.
61854         (SIGINT): Likewise.
61855         (SIGSEGV): Likewise.
61856         (SIGTER): Likewise.
61857         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61858         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61859         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61860         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61861         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61862         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61863         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61864         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61865         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61866         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61867         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61868         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61869         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61870         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61871         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61872         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61873         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61874         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61875         [X/Open-based standards] (SIGTRAP): Likewise.
61876         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61877         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61878         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61879         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61880         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61881         allow.
61883 2012-05-08  Ian Wienand  <ianw@vmware.com>
61885         [BZ #14080]
61886         * time/tzset.c (__tzset_parse_tz): Update default rules for
61887         daylight time changes in the Energy Policy Act of 2005.
61889 2012-05-09  Andreas Jaeger  <aj@suse.de>
61891         [BZ #13983]
61892         * elf/ldconfig.c (parse_conf): Change string to make clear that
61893         ldconfig only issued a warning if ld.so.conf does not exist.
61895 2012-05-08  David S. Miller  <davem@davemloft.net>
61897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61898         movxtod instead of popping the value on the stack.
61900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61902 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61904         * config.h.in: Add HAVE_ARM_PCS_VFP.
61906 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61908         [BZ #13979]
61909         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61910         checking but the checks are disabled for any reason.
61912 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61914         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61915         and ELF64_R_TYPE with ELFW(R_TYPE).
61917 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61919         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61920         (ulimit): Likewise.
61922         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61923         (settimeofday): Likewise.
61925 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61927         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61928         a struct th_u2 inside the union, and move tu_block/tu_code into
61929         a new th_u3 union of tu_block/tu_code inside of that.  Move
61930         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61931         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61932         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61933         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61934         (th_stuff): Change to th_u1.tu_stuff.
61935         (th_data): Define.
61936         (th_msg): Change to th_u1.th_u2.tu_data.
61938 2012-05-07  David S. Miller  <davem@davemloft.net>
61940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61942         [BZ #14074]
61943         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61944         (SETUP_PIC_REG): Use it.
61945         (SETUP_PIC_REG_LEAF): Use it.
61947 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61949         [BZ #13885]
61950         [BZ #13923]
61951         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61952         USE_AS_EXPM1L.
61953         (EXPL_FINITE): Likewise.
61954         (FLDLOG): Likewise.
61955         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61956         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61957         e_expl.S.
61958         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61959         USE_AS_EXPM1L.
61960         (EXPL_FINITE): Likewise.
61961         (FLDLOG): Likewise.
61962         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61963         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61964         e_expl.S.
61965         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61966         test of -max_value argument for long double.
61967         * sysdeps/i386/fpu/libm-test-ulps: Update.
61968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61970 2012-05-06  David S. Miller  <davem@davemloft.net>
61972         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61973         quad soft-float symbols whose references which are compiler
61974         generated.
61975         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61977 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61979         [BZ #13884]
61980         [BZ #13914]
61981         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61982         USE_AS_EXP10L.
61983         (EXPL_FINITE): Likewise.
61984         (FLDLOG): Likewise.
61985         (c0): Likewise.
61986         (c1): Likewise.
61987         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61988         Adjust comments for base varying.
61989         (__expl_finite): Change alias to EXPL_FINITE.
61990         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61991         e_expl.S.
61992         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61993         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61994         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61995         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61996         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61997         USE_AS_EXP10L.
61998         (EXPL_FINITE): Likewise.
61999         (FLDLOG): Likewise.
62000         (c0): Likewise.
62001         (c1): Likewise.
62002         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62003         Adjust comments for base varying.
62004         (__expl_finite): Change alias to EXPL_FINITE.
62005         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62006         tests for bugs.
62007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62009         [BZ #14064]
62010         * math/libm-test.inc (check_float_internal): Correct ulp
62011         calculation for subnormal expected results.
62013 2012-05-06  Andreas Jaeger  <aj@suse.de>
62015         * Makeconfig (+math-flags): New, set to -frounding-math.
62016         (+cflags): Add +math-flags so that all of glibc gets compiled with
62017         it.
62019         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62021 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62023         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62024         Disable one test.
62026         [BZ #13787]
62027         [BZ #13922]
62028         [BZ #14036]
62029         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62030         (__ieee754_expl): Allow for and saturate large arguments.
62031         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62032         (u_threshold): Likewise.
62033         (__exp): Call __ieee754_exp before checking for overflow and
62034         underflow.
62035         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62036         (u_threshold): Likewise.
62037         (__expf): Call __ieee754_expf before checking for overflow and
62038         underflow.
62039         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62040         (u_threshold): Likewise.
62041         (__expl): Call __ieee754_expl before checking for overflow and
62042         underflow.
62043         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62044         (__ieee754_expl): Allow for and saturate large arguments.
62045         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62046         missing overflow exception on overflow.
62047         (expm1_test): Do not allow missing overflow exception on overflow.
62049         * sysdeps/i386/fpu/e_expl.c: Move to ...
62050         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62051         rather than using inline asm.
62052         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62053         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62054         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62056         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62057         (nice): Likewise.
62058         (poll): Likewise.
62059         (signal): Likewise.
62060         (time): Likewise.
62061         (times): Likewise.
62063 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62065         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62066         sysdeps/unix/common/syscalls.list.
62067         (fchmod): Likewise.
62068         (fchown): Likewise.
62069         (ftruncate): Likewise.
62070         (getrusage): Likewise.
62071         (gettimeofday): Likewise.
62072         (setpgid): Likewise.
62073         (setregid): Likewise.
62074         (setreuid): Likewise.
62075         (sigaction): Likewise.
62076         (truncate): Likewise.
62077         (vhangup): Likewise.
62078         * sysdeps/unix/common/syscalls.list: Remove file.
62079         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62080         * sysdeps/unix/sysv/linux/Implies: Likewise.
62082 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62084         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62086         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62087         Moved to ...
62088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62089         Here.
62090         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62091         to ...
62092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62093         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62094         to ...
62095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62096         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62097         to ...
62098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62099         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62100         to ...
62101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62102         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62103         to ...
62104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62105         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62106         to ...
62107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62108         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62109         to ...
62110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62111         Here.
62112         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62113         to ...
62114         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62115         Here.
62116         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62117         to ...
62118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62119         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62120         Moved to ...
62121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62122         Here.
62123         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62124         to ...
62125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62127 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62129         * sysdeps/unix/common/bits/dirent.h: Remove file.
62130         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62132         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62133         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62134         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62135         * sysdeps/unix/bsd/isatty.c: Likewise.
62136         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62137         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62138         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62140 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62142         [BZ #13563]
62143         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62144         long double comparison inaccuracies.
62145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62148 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62150         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62151         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62153 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62155         [BZ #14049]
62156         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62157         nonzero digits before rounding a hex value.
62158         * stdlib/tst-strtod.c (tests): Add another test.
62160 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62162         * sysdeps/s390/fpu/libm-test-ulps: Update.
62164 2012-05-03  Andreas Jaeger  <aj@suse.de>
62166         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62167         does not get optimized out.
62168         (malloc_opt_barrier): New.
62170 2012-05-03  Andreas Jaeger  <aj@suse.de>
62171             Roland McGrath  <roland@hack.frob.com>
62173         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62174         intermediate file deletion.
62175         (generated): Add .symlist files.
62177 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62179         [BZ #13775]
62180         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62181         Redirect under this condition.
62182         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62183         [__USE_GNU] (__dprintf_chk): Not under this condition.
62184         [__USE_GNU] (__vdprintf_chk): Likewise.
62185         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62186         under this condition.
62187         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62188         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62189         [__USE_XOPEN2K8] (vdprintf): Likewise.
62190         [__USE_GNU] (__dprintf_chk): Not under this condition.
62191         [__USE_GNU] (__vdprintf_chk): Likewise.
62192         [__USE_GNU] (dprintf): Likewise.
62193         [__USE_GNU] (vdprintf): Likewise.
62195 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62197         * elf/Makefile (common-generated): Set this instead of generated for
62198         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62199         $(all-built-dso)-derived lists.
62201 2012-05-03  Andreas Jaeger  <aj@suse.de>
62203         * sysdeps/i386/fpu/libm-test-ulps: Update.
62205         * FAQ: Removed.
62206         * FAQ.in: Likewise.
62207         * scripts/gen-FAQ.pl: Likewise.
62208         * manual/install.texi (Installation): Point to online location of
62209         FAQ.
62210         * Makefile (files-for-dist): Remove FAQ.
62211         (FAQ): Remove.
62213 2012-05-02  Allan McRae  <allan@archlinux.org>
62215         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62216         (LDFLAGS-reldepmod5.so): Likewise.
62217         (LDFLAGS-reldep6mod1.so): Likewise.
62218         (LDFLAGS-reldep6mod4.so): Likewise.
62219         (LDFLAGS-reldep8mod3.so): Likewise.
62220         (LDFLAGS-unload4mod1.so): Likewise.
62221         (LDFLAGS-unload4mod2.so): Likewise.
62222         (LDFLAGS-tst-initorder): Likewise.
62223         (LDFLAGS-tst-initordera2.so): Likewise.
62224         (LDFLAGS-tst-initordera3.so): Likewise.
62225         (LDFLAGS-tst-initordera4.so): Likewise.
62226         (LDFLAGS-tst-initorderb2.so): Likewise.
62227         (LDFLAGS-noload): Likewise.
62228         (LDFLAGS-next): Likewise.
62229         (LDFLAGS-order2mod1.so): Likewise.
62230         (LDFLAGS-order2mod2.so): Likewise.
62231         (LDFLAGS-tst-initorder2): Likewise.
62232         (LDFLAGS-tst-initorder2a.so): Likewise.
62233         (LDFLAGS-tst-initorder2b.so): Likewise.
62234         (LDFLAGS-tst-initorder2c.so): Likewise.
62235         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62237 2012-05-02  David S. Miller  <davem@davemloft.net>
62239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62241 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62243         [BZ #14055]
62244         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62246 2012-05-02  Andreas Jaeger  <aj@suse.de>
62248         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62249         since we manipulate rounding mode.
62250         (CPPFLAGS-test-idouble.c): Likewise.
62251         (CPPFLAGS-test-ifloat.c): Likewise.
62252         (CFLAGS-test-ldouble.c): Likewise.
62253         (CFLAGS-test-double.c): Likewise.
62254         (CFLAGS-test-float.c): Likewise.
62255         (CFLAGS-test-misc.c): Likewise.
62256         (CFLAGS-test-test-fenv.c): Likewise.
62258 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62260         [BZ #2550]
62261         [BZ #2570]
62262         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62263         comparisons to determine direction to adjust input.
62265 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62267         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62268         output to the target.
62270         * scripts/localplt.awk: New file.
62271         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62272         (check-localplt-CFLAGS): Variable removed.
62273         ($(all-built-dso:=.jmprel)): New static pattern rule.
62274         (generated): Add those targets.
62275         (localplt-built-dso): New variable.
62276         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62278         * elf/check-localplt.c: File removed.
62280         * scripts/check-execstack.awk: New file.
62281         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62282         (check-execstack-CFLAGS): Variable removed.
62283         ($(objpfx)check-execstack.h): Target removed.
62284         ($(objpfx)execstack-default): New target.
62285         (generated): Add that instead of check-execstack.h.
62286         ($(all-built-dso:=.phdr)): New static pattern rule.
62287         (generated): Add those targets.
62288         * elf/check-execstack.c: File removed.
62290         * scripts/check-textrel.awk: New file.
62291         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62292         (check-textrel-CFLAGS): Variable removed.
62293         (all-built-dso): Use := to define.o
62294         ($(all-built-dso:=.dyn)): New static pattern rule.
62295         (generated): Add those targets.
62296         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62297         * config.make.in (READELF): New substituted variable.
62298         * elf/check-textrel.c: File removed.
62300 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62302         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62303         allow.
62304         * conform/data/ctype.h-data [C99-based standards] (isblank):
62305         Expect function.
62306         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62307         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62308         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62309         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62310         Specify type.  Require positive value.
62311         (EILSEQ): Likewise.
62312         (ERANGE): Likewise.
62313         [ISO || POSIX] (EILSEQ): Do not expect.
62314         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62315         Specify type.  Require positive value.
62316         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62317         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62318         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62319         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62320         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62321         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62322         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62323         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62324         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62325         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62326         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62327         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62328         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62329         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62330         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62331         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62332         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62333         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62334         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62335         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62336         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62337         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62338         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62339         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62340         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62341         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62342         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62343         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62344         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62345         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62346         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62347         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62348         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62349         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62350         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62351         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62352         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62353         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62354         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62355         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62356         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62357         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62358         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62359         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62360         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62361         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62362         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62363         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62364         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62365         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62366         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62367         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62368         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62369         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62370         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62371         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62372         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62373         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62374         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62375         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62376         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62377         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62378         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62379         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62380         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62381         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62382         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62383         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62384         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62385         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62386         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62387         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62388         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62389         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62390         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62391         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62392         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62393         Require >= 2.
62394         (FLT_ROUNDS): Expect as macro, not constant.
62395         (FLT_MANT_DIG): Use macro-int-constant.
62396         (DBL_MANT_DIG): Likewise.
62397         (LDBL_MANT_DIG): Likewise.
62398         (FLT_DIG): Likewise.
62399         (DBL_DIG): Likewise.
62400         (LDBL_DIG): Likewise.
62401         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62402         (DBL_MIN_EXP): Likewise.
62403         (LDBL_MIN_EXP): Likewise.
62404         (FLT_MAX_EXP): Use macro-int-constant.
62405         (DBL_MAX_EXP): Likewise.
62406         (LDBL_MAX_EXP): Likewise.
62407         (FLT_MAX_10_EXP): Likewise.
62408         (DBL_MAX_10_EXP): Likewise.
62409         (LDBL_MAX_10_EXP): Likewise.
62410         (FLT_MAX): Use macro-constant.
62411         (DBL_MAX): Likewise.
62412         (LDBL_MAX): Likewise.
62413         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62414         (DBL_EPSILON): Likewise.
62415         (LDBL_EPSILON): Likewise.
62416         (FLT_MIN): Likewise.
62417         (DBL_MIN): Likewise.
62418         (LDBL_MIN): Likewise.
62419         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62420         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62421         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62422         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62423         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62424         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62425         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62426         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62427         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62428         [ISO11] (FLT_TRUE_MIN): Likewise.
62429         [ISO11] (LDBL_TRUE_MIN): Likewise.
62430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62431         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62432         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62433         (SCHAR_MAX): Likewise.
62434         (UCHAR_MAX): Likewise.
62435         (CHAR_MIN): Likewise.
62436         (CHAR_MAX): Likewise.
62437         (MB_LEN_MAX): Use macro-int-constant.
62438         (SHRT_MIN): Use macro-int-constant.  Specify type.
62439         (SHRT_MAX): Likewise.
62440         (USHRT_MAX): Likewise.
62441         (INT_MAX): Likewise.
62442         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62443         bound negative.
62444         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62445         bound with "U".
62446         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62447         bound with "L".
62448         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62449         bound negative.  Suffix upper bound with "L".
62450         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62451         bound with "UL".
62452         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62453         Specify type.
62454         [C99-based standards] (LLONG_MAX): Likewise.
62455         [C99-based standards] (ULLONG_MAX): Likewise.
62456         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62457         == 0.
62458         [ISO11] (max_align_t): Require type.
62459         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62461         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62462         from $CFLAGS, without defining away __attribute__ calls.
62463         (checknamespace): Use $CFLAGS_namespace.
62465         * conform/conformtest.pl (@keywords): Only include C99 keywords
62466         for standards based on C99 or C11.
62468         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62469         Disable tests.
62470         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62471         UNIX98]: Likewise.
62473         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62474         usability of symbols in #if.
62476         * conform/conformtest.pl: If macro or constant types start
62477         "promoted:", expect the symbol to be of the following type
62478         promoted by the integer promotions.
62480         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62481         in one place.  Also handle "macro-constant".
62483         * conform/conformtest.pl: Only accept expected macro values with
62484         "==".  Parse all "macro" lines in one place.
62485         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62487         * conform/conformtest.pl: Handle braced types on "constant" lines
62488         instead of handling "typed-constant".
62489         * conform/data/signal.h-data: Use "constant" instead of
62490         "typed-constant".
62492         * conform/conformtest.pl: Handle "optional-" at start of lines in
62493         one place rather than duplicating several cases.  Handle each
62494         format of "macro" line with initial "optional-".
62496         * conform/conformtest.pl: Only accept expected constant or
62497         optional-constant values with "==".  Parse all "constant" lines in
62498         one place.  Parse all "optional-constant" lines in one place.
62499         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62500         * conform/data/fmtmsg.h-data: Likewise.
62501         * conform/data/netinet/in.h-data: Likewise.
62502         * conform/data/tar.h-data: Likewise.
62503         * conform/data/limits.h-data: Use "==" form on "constant" and
62504         "optional-constant" lines.
62506         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62507         Use -std=c99 for XOPEN2K.
62508         (@knownproblems): Remove.
62509         (newtoken): Don't check %isknown.
62511         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62512         Do not expect macro.
62513         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62514         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62515         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62516         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62517         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62518         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62519         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62520         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62521         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62522         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62523         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62524         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62525         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62526         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62527         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62528         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62529         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62530         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62531         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62532         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62533         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62534         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62535         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62536         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62537         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62538         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62539         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62540         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62541         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62542         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62543         [XPG3] (acosh): Likewise.
62544         [XPG3] (asinh): Likewise.
62545         [XPG3] (atanh): Likewise.
62546         [XPG3] (cbrt): Likewise.
62547         [XPG3] (expm1): Likewise.
62548         [XPG3] (ilogb): Likewise.
62549         [XPG3] (log1p): Likewise.
62550         [XPG3] (logb): Likewise.
62551         [XPG3] (nextafter): Likewise.
62552         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62553         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62554         [XPG3] (remainder): Likewise.
62555         [XPG3] (rint): Likewise.
62556         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62557         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62558         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62559         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62560         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62561         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62562         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62563         [UNIX98 || XOPEN2K] (scalb): Expect.
62564         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62565         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62566         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62567         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62568         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62569         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62570         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62571         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62572         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62573         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62574         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62575         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62576         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62577         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62578         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62579         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62580         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62581         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62582         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62583         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62584         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62585         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62586         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62587         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62588         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62589         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62590         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62591         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62592         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62593         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62594         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62595         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62596         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62597         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62598         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62599         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62600         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62601         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62602         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62603         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62604         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62605         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62606         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62607         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62608         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62609         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62610         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62611         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62612         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62613         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62614         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62615         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62616         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62617         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62618         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62619         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62620         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62621         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62622         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62623         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62624         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62625         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62626         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62627         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62628         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62629         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62630         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62631         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62632         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62633         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62634         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62635         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62636         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62637         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62638         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62639         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62640         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62641         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62642         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62643         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62644         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62645         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62646         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62647         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62648         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62649         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62650         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62651         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62652         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62653         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62654         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62655         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62656         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62657         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62658         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62659         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62660         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62661         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62662         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62663         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62664         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62665         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62666         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62667         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62668         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62669         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62670         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62671         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62672         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62673         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62674         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62675         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62676         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62677         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62678         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62679         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62680         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62681         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62682         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62683         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62684         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62685         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62686         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62687         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62688         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62689         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62690         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62691         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62692         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62693         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62694         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62695         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62696         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62697         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62698         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62699         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62700         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62702         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62703         _XOPEN_SOURCE_EXTENDED for XPG4.
62705         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62707         * Makeconfig (localtime): Remove variable.
62708         (inst_localtime-file): Likewise.
62710 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62713         Update.
62714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62715         Update.
62716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62717         Update.
62718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62719         Update.
62720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62721         Update.
62722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62723         Update.
62724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62725         Update.
62726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62727         Update.
62728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62729         Update.
62731 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62733         [BZ #2550]
62734         [BZ #2570]
62735         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62736         comparisons to determine direction to adjust input.
62737         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62738         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62739         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62740         Likewise.
62741         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62742         Likewise.
62743         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62744         Likewise.
62745         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62746         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62747         Likewise.
62748         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62749         Likewise.
62750         * math/libm-test.inc (nexttoward_test): Add more tests.
62752 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62754         [BZ #14040]
62755         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62756         in version GLIBC_2.1, not GLIBC_2.0.
62757         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62758         Likewise.
62760 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62762         [BZ #13942]
62763         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62764         (1 - x) * (1 + x).
62765         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62766         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62767         * math/libm-test.inc (acos_test): Add more tests.
62768         (asin_test): Likewise.
62769         * sysdeps/i386/fpu/libm-test-ulps: Update.
62770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62772         [BZ #14034]
62773         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62774         of square root.
62775         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62776         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62777         * math/libm-test.inc (acos_test_tonearest): New function.
62778         (acos_test_towardzero): Likewise.
62779         (acos_test_downward): Likewise.
62780         (acos_test_upward): Likewise.
62781         (asin_test_tonearest): Likewise.
62782         (asin_test_towardzero): Likewise.
62783         (asin_test_downward): Likewise.
62784         (asin_test_upward): Likewise.
62785         (main): Call the new functions.
62786         * sysdeps/i386/fpu/libm-test-ulps: Update.
62787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62789         [BZ #13884]
62790         [BZ #13924]
62791         * math/e_exp10.c: Include <float.h>.
62792         (__ieee754_exp10): Handle underflow here rather than multiplying
62793         large negative argument by M_LN10.
62794         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62795         of __ieee754_expf.
62796         * math/e_exp10l.c: Include <float.h>.
62797         (__ieee754_exp10l): Handle underflow here rather than multiplying
62798         large negative argument by M_LN10l.
62799         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62800         spurious overflow exception on underflow.
62802 2012-04-29  Marek Polacek  <polacek@redhat.com>
62804         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62805         (__fortify_function): New macro.
62806         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62807         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62808         __extern_always_inline.
62809         * libio/bits/stdio2.h: Likewise.
62810         * libio/bits/stdio.h: Likewise.
62811         * string/string.h: Likewise.
62812         * string/bits/string3.h: Likewise.
62813         * include/stdio.h: Likewise.
62814         * stdlib/bits/stdlib.h: Likewise.
62815         * stdlib/stdlib.h: Likewise.
62816         * rt/bits/mqueue2.h: Likewise.
62817         * rt/mqueue.h: Likewise.
62818         * posix/bits/unistd.h: Likewise.
62819         * posix/unistd.h: Likewise.
62820         * io/bits/poll2.h: Likewise.
62821         * io/bits/fcntl2.h: Likewise.
62822         * io/fcntl.h: Likewise.
62823         * io/sys/poll.h: Likewise.
62824         * misc/bits/syslog.h: Likewise.
62825         * misc/bits/syslog-ldbl.h: Likewise.
62826         * misc/sys/syslog.h: Likewise.
62827         * socket/bits/socket2.h: Likewise.
62828         * socket/sys/socket.h: Likewise.
62829         * debug/tst-chk1.c: Likewise.
62830         * wcsmbs/bits/wchar2.h: Likewise.
62831         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62832         * wcsmbs/wchar.h: Likewise.
62834 2012-04-29  Andreas Jaeger  <aj@suse.de>
62836         * Makerules (tests): Remove enable-check-abi protection.
62837         (check-abi-warn): Remove.
62838         (check-abi-%): Remove check-abi-warn usage.
62840         * configure.in: Remove check-abi configure option.
62841         * configure: Regenerated.
62842         * config.make.in (enable-check-abi): Remove.
62844 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62846         [BZ #14033]
62847         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62848         double functions to double *_finite functions.
62850         [BZ #13941]
62851         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62852         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62853         LDBL_MIN_EXP.
62854         * stdio-common/Makefile (tests): Add tst-sprintf3.
62855         * stdio-common/tst-sprintf3.c: New file.
62857         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62858         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62860 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62862         * conform/conformtest.pl: Remove duplicate typed-constant
62863         handling.
62865 2012-04-28  David S. Miller  <davem@davemloft.net>
62867         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62868         (check-abi-%): Remove AWK script prerequisite and explicit
62869         abilist directory.
62870         (check-abi): Rewrite to just diff the symlist with the abilist.
62871         (config-tls, config-abi-config): Delete, no longer used.
62872         (update-abi-%): Remove AWK script and explicit abilist directory.
62873         (update-abi): Rewrite to simply compare and conditionally copy the
62874         symlist and the sysdep abilist file.  Remove update-abi-config
62875         checks.
62876         * abilist/ld.abilist: Remove.
62877         * abilist/libBrokenLocale.abilist: Remove.
62878         * abilist/libanl.abilist: Remove.
62879         * abilist/libcrypt.abilist: Remove.
62880         * abilist/libdl.abilist: Remove.
62881         * abilist/librt.abilist: Remove.
62882         * abilist/libthread_db.abilist: Remove.
62883         * abilist/libutil.abilist: Remove.
62884         * scripts/extract-abilist.awk: Remove.
62885         * scripts/merge-abilist.awk: Remove.
62886         * sysdeps/generic/libcidn.abilist: New file.
62887         * sysdeps/generic/libnss_compat.abilist: New file.
62888         * sysdeps/generic/libnss_db.abilist: New file.
62889         * sysdeps/generic/libnss_dns.abilist: New file.
62890         * sysdeps/generic/libnss_files.abilist: New file.
62891         * sysdeps/generic/libnss_hesiod.abilist: New file.
62892         * sysdeps/generic/libnss_nis.abilist: New file.
62893         * sysdeps/generic/libnss_nisplus.abilist: New file.
62894         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62895         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62896         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62897         file.
62898         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62899         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62900         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62901         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62902         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62903         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62904         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62905         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62906         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62907         file.
62908         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62909         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62910         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62911         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62912         file.
62913         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62914         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62915         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62916         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62917         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62918         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62919         file.
62920         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62921         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62922         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62923         file.
62924         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62926         New file.
62927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62928         New file.
62929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62930         New file.
62931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62932         New file.
62933         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62934         New file.
62935         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62936         New file.
62937         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62938         New file.
62939         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62940         New file.
62941         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62942         New file.
62943         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62944         New file.
62945         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62946         New file.
62947         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62948         New file.
62949         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62950         New file.
62951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62952         file.
62953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62954         New file.
62955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62956         New file.
62957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62958         file.
62959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62960         New file.
62961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62962         New file.
62963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62964         file.
62965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62966         New file.
62967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62968         New file.
62969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62970         New file.
62971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62972         New file.
62973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62974         New file.
62975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62976         New file.
62977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62979         file.
62980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62981         New file.
62982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62983         file.
62984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62985         file.
62986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62987         file.
62988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62989         file.
62990         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62991         file.
62992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62993         New file.
62994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62995         file.
62996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62997         file.
62998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62999         New file.
63000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63001         file.
63002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63004         file.
63005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63006         New file.
63007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63008         file.
63009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63010         file.
63011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63012         file.
63013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63014         file.
63015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63016         file.
63017         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63018         New file.
63019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63020         file.
63021         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63022         file.
63023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63024         New file.
63025         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63026         file.
63027         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63028         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63029         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63030         file.
63031         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63032         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63033         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63034         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63035         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63036         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63037         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63038         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63039         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63040         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63043         file.
63044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63045         New file.
63046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63047         file.
63048         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63049         file.
63050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63051         file.
63052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63053         file.
63054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63055         file.
63056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63057         New file.
63058         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63059         New file.
63060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63061         file.
63062         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63063         New file.
63064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63065         file.
63066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63068         file.
63069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63070         New file.
63071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63072         file.
63073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63074         file.
63075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63076         file.
63077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63078         file.
63079         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63080         file.
63081         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63082         New file.
63083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63084         New file.
63085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63086         file.
63087         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63088         New file.
63089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63090         file.
63092 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63094         * conform/conformtest.pl: Fix typo in handling typed-constant from
63095         allow-header.
63097 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63099         * README: Cut down references to pre-2.6 Linux kernels and
63100         Linuxthreads.  Update lists of configurations in libc and ports
63101         and sort alphabetically.  Say "or newer" with Linux kernel version
63102         requirements.
63104         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63106 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63108         [BZ #887]
63109         * math/libm-test.inc (logb_test_downward): New test to expose
63110         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63111         rounding mode.
63113 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63115         [BZ #14027]
63116         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63117         to be done.
63118         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63119         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63121 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63123         * sysdeps/unix/i386/brk.S: Remove file.
63124         * sysdeps/unix/i386/dl-brk.S: Likewise.
63125         * sysdeps/unix/i386/pipe.S: Likewise.
63126         * sysdeps/unix/i386/sigreturn.S: Likewise.
63127         * sysdeps/unix/i386/syscall.S: Likewise.
63128         * sysdeps/unix/i386/vfork.S: Likewise.
63129         * sysdeps/unix/i386/wait.S: Likewise.
63131         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63132         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63134         * configure.in (arm*-none*): Do not allow without
63135         --enable-hacker-mode.
63136         (netbsd*): Remove case setting base_os.
63137         (386bsd*): Likewise.
63138         (freebsd*): Likewise.
63139         (bsdi*): Likewise.
63140         (osf*): Likewise.
63141         (sunos*): Likewise.
63142         (ultrix*): Likewise.
63143         (newsos*): Likewise.
63144         (dynix*): Likewise.
63145         (*bsd*): Likewise.
63146         (sysv*): Likewise.
63147         (isc*): Likewise.
63148         (esix*): Likewise.
63149         (sco*): Likewise.
63150         (minix*): Likewise.
63151         (irix4*): Likewise.
63152         (irix6*): Likewise.
63153         (solaris[2-9]*): Likewise.
63154         (none): Likewise.
63155         * configure: Regenerated.
63157 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63159         [BZ #11521]
63160         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63161         overflow or cancellation in calculating denominator.
63162         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63163         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63164         down expression to avoid unexpected rounding in newer GCCs.
63165         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63167 2012-04-26  David S. Miller  <davem@davemloft.net>
63169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63170         long-double compat symbols.
63171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63179         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63185 2012-04-25  David S. Miller  <davem@davemloft.net>
63187         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63188         HWCAP_* values only after the memory barriers have been defined.
63189         (atomic_full_barrier): Define.
63190         (atomic_read_barrier): Define.
63191         (atomic_write_barrier): Define.
63193 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63195         * shlib-versions: Add libgcc_s version information.
63196         * sysdeps/generic/libgcc_s.h: Remove.
63197         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63198         libgcc_s.h.
63199         * sysdeps/gnu/unwind-resume.c: Likewise.
63200         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63202 2012-04-25  David S. Miller  <davem@davemloft.net>
63204         * sysdeps/unix/sparc/brk.S: Delete.
63205         * sysdeps/unix/sparc/dl-brk.S: Delete.
63206         * sysdeps/unix/sparc/pipe.S: Delete.
63207         * sysdeps/unix/sparc/sysdep.S: Delete.
63208         * sysdeps/unix/sparc/sysdep.h: Delete.
63209         * sysdeps/unix/sparc/vfork.S: Delete.
63210         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63211         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63212         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63213         (ret_ERRVAL, r0, r1, MOVE): Define.
63214         (JUMPTARGET): Remove.
63215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63216         sysdeps/unix/sparc/sysdep.h
63217         (ENTRY, END): Remove.
63218         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63220 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63222         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63223         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63224         -DIS_IN_build.
63226         * timezone/README: Update upstream location and email address for
63227         tzcode and tzdata.
63228         * timezone/zdump.c: Update from tzcode 2012b.
63229         * timezone/zic.c: Likewise.
63231         * configure.in (libc_cv_as_needed): Remove test.
63232         * configure: Regenerated.
63233         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63234         conditional definition.
63235         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63236         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63237         * config.make.in (have-as-needed): Remove variable.
63239 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63240             Paul Pluzhnikov  <ppluzhnikov@google.com>
63242         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63243         strings correctly.
63245 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63247         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63248         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63249         * sysdeps/sh/strlen.S: Likewise.
63251 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63253         * sysdeps/unix/fork.S: Remove file.
63254         * sysdeps/unix/i386/fork.S: Likewise.
63255         * sysdeps/unix/sparc/fork.S: Likewise.
63257         * sysdeps/unix/system.c: Remove file.
63258         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63260         * sysdeps/unix/getegid.S: Remove file.
63261         * sysdeps/unix/geteuid.S: Likewise.
63263 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63265         * scripts/check-localplt.awk: New file.
63266         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63267         of diff.
63268         * scripts/data/localplt-generic.data: Add a comment.
63270         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63271         NODE when __dir_mkfile failed.
63272         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63273         Reported by Ludovic Courtès <ludo@gnu.org>.
63275 2012-04-24  Andreas Jaeger  <aj@suse.de>
63277         * Makerules (common-clean): Also remove gen-as-const-headers
63278         files.
63280 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63282         * Makerules (native-compile): Do not change working directory for
63283         build.  Use $(OUTPUT_OPTION) in command.
63284         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63286 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63288         [BZ #13886]
63289         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63290         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63291         * math/libm-test.inc (floor_test): Add more tests.
63292         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63294 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63296         * sysdeps/unix/getdents.c: Remove file.
63297         * sysdeps/unix/sysv/getdents.c: Likewise.
63298         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63300         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63301         sysdeps/unix/mman/syscalls.list.
63302         (mmap): Likewise.
63303         (mprotect): Likewise.
63304         (msync): Likewise.
63305         (munmap): Likewise.
63306         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63307         * sysdeps/unix/mman/syscalls.list: Remove.
63308         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63310         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63311         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63312         * configure: Regenerated.
63313         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63314         $(libgcc_s_suffix).
63315         * config.make.in (libgcc_s_suffix): Remove variable.
63317 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63319         * sysdeps/unix/sysv/gethostname.c: Move to ...
63320         * sysdeps/posix/gethostname.c: ... here.
63322         * sysdeps/unix/execve.S: Remove file.
63324         * sysdeps/unix/_exit.S: Remove file.
63326 2012-04-23  Andreas Jaeger  <aj@suse.de>
63328         [BZ #13739]
63329         * manual/Makefile: Remove make dist support, there's no
63330         need for a stand-alone documentation tar ball.
63331         (TEXI2DVI): Define always, it's not in Makeconfig.
63332         (dist): Removed.
63333         (tar-it): Removed.
63334         (edition): Removed.
63335         (glibc-doc-$(edition).tar): Removed
63336         (%.Z): Removed.
63337         (%.gz): Removed.
63338         (%.uu): Removed.
63339         (ETAGS): Remove, it's in Makeconfig.
63340         (move-if-change): Remove, it's in Makeconfig.
63342 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63344         [BZ #13970]
63345         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63346         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63347         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63348         (strtod_l, strtof_l, strtold_l): Remove __wur.
63349         It is not necessarily an error to ignore strtol's return value.
63350         One can reliably look at the stored endptr to decide whether
63351         the number had valid syntax.
63353 2012-04-21  Andreas Jaeger  <aj@suse.de>
63355         [BZ #13739]
63356         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63358 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63360         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63361         * sysdeps/unix/sysv/Versions: Remove file.
63363 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63365         [BZ #13927]
63366         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63368 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63370         [BZ #7064]
63371         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63372         version from __vm86.
63374 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63376         * sysdeps/unix/common/lxstat.c: Remove file.
63377         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63379         * sysdeps/unix/sysv/Makefile: Remove file.
63381         * sysdeps/unix/sysv/direct.h: Remove file.
63383         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63384         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63385         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63386         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63387         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63388         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63389         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63391         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63393         * sysdeps/unix/xmknod.c: Remove file.
63394         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63396         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63398         * sysdeps/unix/sysv/i386/time.S: Remove file.
63400         * sysdeps/unix/fxstat.c: Remove file.
63401         * sysdeps/unix/xstat.c: Likewise.
63402         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63404         * sysdeps/unix/sysv/sigaction.c: Remove file.
63406         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63407         (sysdep_headers): Remove variable.
63408         [termio.h not in sysdep_headers] (generated): Likewise.
63409         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63410         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63411         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63412         * sysdeps/unix/sysv/tcflow.c: Likewise.
63413         * sysdeps/unix/sysv/tcflush.c: Likewise.
63414         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63415         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63416         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63417         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63418         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63420         * sysdeps/unix/siglist.c: Remove file.
63422         * sysdeps/unix/getppid.S: Remove file.
63424         * sysdeps/unix/mkdir.c: Remove file.
63425         * sysdeps/unix/rmdir.c: Likewise.
63427 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63429         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63430         ERR_MAX value.
63431         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63432         errlist-compat value.
63434 2012-04-18  David S. Miller  <davem@davemloft.net>
63436         * sysdeps/generic/memcopy.h (reg_char): Delete.
63437         * debug/strcat_chk.c: Use char, not reg_char.
63438         * debug/strcpy_chk.c: Likewise.
63439         * debug/strncat_chk.c: Likewise.
63440         * debug/strncpy_chk.c: Likewise.
63441         * string/memchr.c: Likewise.
63442         * string/memrchr.c: Likewise.
63443         * string/rawmemchr.c: Likewise.
63444         * string/strcat.c: Likewise.
63445         * string/strchr.c: Likewise.
63446         * string/strchrnul.c: Likewise.
63447         * string/strcmp.c: Likewise.
63448         * string/strcpy.c: Likewise.
63449         * string/strncat.c: Likewise.
63450         * string/strncmp.c: Likewise.
63451         * string/strncpy.c: Likewise.
63453 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63455         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63456         __builtin_memcopy is called when src and dest ranges are known to not
63457         overlap.
63459 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63461         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63462         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63463         fwd_align_merge macro call.
63464         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63465         bwd_align_merge macro call.
63466         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63468 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63470         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63471         bwd_align_merge macros.
63472         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63473         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63474         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63476 2012-04-18  David S. Miller  <davem@davemloft.net>
63478         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63480 2012-04-18  Andreas Jaeger  <aj@suse.de>
63482         [BZ# 6794]
63483         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63484         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63485         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63487         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63488         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63489         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63491         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63492         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63493         Adjust for changed ldbl-128 files.
63495         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63496         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63497         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63499 2012-04-17  David S. Miller  <davem@davemloft.net>
63501         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63503 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63505         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63506         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63507         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63508         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63509         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63510         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63512 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63514         [BZ #6794]
63515         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63516         * math/libm-test.inc: Add ilogb errno and exception tests.
63517         * math/w_ilogb.c: New file: ilogb wrapper.
63518         * math/w_ilogbf.c: New file: ilogbf wrapper.
63519         * math/w_ilogbl.c: New file: ilogbl wrapper.
63520         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63521         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63522         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63523         exception being thrown with 0.0 as argument.
63524         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63525         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63526         exception being thrown with 0.0 as argument.
63527         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63528         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63529         exception being thrown with 0.0 as argument.
63530         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63531         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63532         exception being thrown with 0.0 as argument.
63533         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63534         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63535         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63536         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63537         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63538         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63539         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63540         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63541         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63543 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63545         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63546         with altivec.
63548 2012-04-16  Marek Polacek  <polacek@redhat.com>
63550         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63552 2012-04-16  Marek Polacek  <polacek@redhat.com>
63554         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63555         operands of fdivp instruction.
63557 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63559         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63560         * elf/tst-auditmod3b.c: Likewise.
63561         * elf/tst-auditmod4b.c: Likewise.
63562         * elf/tst-auditmod5b.c: Likewise.
63563         * elf/tst-auditmod6b.c: Likewise.
63564         * elf/tst-auditmod6c.c: Likewise.
63565         * elf/tst-auditmod7b.c: Likewise.
63566         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63567         * sysdeps/x86_64/preconfigure.in: Likewise.
63568         * sysdeps/x86_64/preconfigure: Regenerated.
63570 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63572         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63573         __ILP32__.
63575 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63577         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63578         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63580 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63582         [BZ #13973]
63583         * locale/iso-639.def: Fix gl language name. Spotted by
63584         Yaron Shahrabani.
63586 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63588         [BZ #2074]
63589         * libio/libio.h (__io_write_fn): Update comment.
63591 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63593         [BZ #2074]
63594         * stdio.texi (Hook Functions): The user provided writer function
63595         is not allowed to return -1.
63597 2012-04-11  David S. Miller  <davem@davemloft.net>
63599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63601 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63603         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63604         Add a leading slash to rtkaio.
63606 2012-04-11  Jim Meyering  <meyering@redhat.com>
63608         [BZ #11959]
63609         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63610         It is not necessarily an error to ignore fwrite's return
63611         value.  One can reliably use ferror to test for errors after
63612         the fact.
63614 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63616         * bits/types.h (__snseconds_t): New type.
63617         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63619         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63620         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63621         (__SNSECONDS_T_TYPE): Likewise.
63622         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63623         (__SNSECONDS_T_TYPE): Likewise.
63624         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63625         (__SNSECONDS_T_TYPE): Likewise.
63627 2012-04-10  Andreas Jaeger  <aj@suse.de>
63629         [BZ #2636]
63630         * manual/time.texi (Processor Time): Return type of times is
63631         elapsed real time since an arbitrary point in the past.
63632         (CPU Time): Move CLK_TCK from here...
63633         (Processor Time): ...to here.  Correct description.
63634         * manual/conf.texi (Constants for Sysconf): Correct description of
63635         _SC_CLK_TCK.
63637 2012-04-10  David S. Miller  <davem@davemloft.net>
63639         [BZ #13967]
63640         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63641         where the is a gap between DT_REL(A) and DT_JMPREL.
63643 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63645         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63646         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63647         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63649 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63651         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63652         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63653         (dl_main): Handle --inhibit-cache.
63654         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63655         _dl_inhibit_cache.
63656         * elf/dl-load.c (_dl_map_object): Use it.
63657         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63659 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63661         [BZ #13872]
63662         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63663         (__ieee754_powl): Saturate large exponents rather than testing for
63664         overflow of y*log2(x).
63665         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63666         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63667         exceptions.
63669         [BZ #11521]
63670         * math/s_ctan.c: Include <float.h>.
63671         (__ctan): Avoid internal overflow or cancellation in calculating
63672         denominator.
63673         * math/s_ctanf.c: Likewise.
63674         * math/s_ctanl.c: Likewise.
63675         * math/s_ctanh.c: Likewise.
63676         * math/s_ctanhf.c: Likewise.
63677         * math/s_ctanhl.c: Likewise.
63678         * math/libm-test.inc (ctan_test): Add more tests.
63679         (ctanh_test): Likewise.
63680         * sysdeps/i386/fpu/libm-test-ulps: Update.
63681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63683 2012-04-09  Andreas Jaeger  <aj@suse.de>
63685         [BZ #6894]
63686         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63687         is an optional BSD extension.
63689         [BZ #10254]
63690         * manual/stdio.texi (Opening Streams): Document additional fopen
63691         parameters.
63693 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63695         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63696         %eax without telling the compiler.
63698 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63700         [BZ # 13963]
63701         * manual/install.texi: Use sourceware.org.
63703 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63705         [BZ #13873]
63706         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63707         (__ieee754_pow): Generate overflow and underflow using huge*huge
63708         and tiny*tiny rather than just returning constant infinity or zero
63709         for large exponents.
63710         * math/libm-test.inc (pow_test): Require overflow exceptions for
63711         applicable cases of large exponents.
63713         [BZ #706]
63714         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63715         (__ieee754_pow): Use iterative multiplication algorithm only for
63716         integer exponents with absolute value below 1024.  Check for odd
63717         integer exponents when using algorithm for real exponents.
63718         * math/libm-test.inc (pow_test): Add more tests.
63719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63721 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63723         [BZ #13705]
63724         * math/libm-test.inc (exp_test): Do not allow overflow exception
63725         on underflow test.
63727 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63729         [BZ #13705]
63730         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63731         instead of __kernel_standard_f.
63733 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63735         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63736         * sysdeps/x86_64/memset_chk.S: Likewise.
63738 2012-04-08  Andreas Jaeger  <aj@suse.de>
63740         [BZ #10153]
63741         * manual/startup.texi (Environment Access): Describe return value
63742         for putenv and setenv.
63744         [BZ #6895]
63745         * manual/filesys.texi (Directory Entries): Add description for
63746         DT_LNK.
63748         [BZ #6890]
63749         * manual/filesys.texi (Directory Entries): Clarify that it's file
63750         system not operating system in the description of DT_UNKNOWN.
63752         [BZ #6578]
63753         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63755 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63757         [BZ #6649]
63758         * manual/llio.texi (Opening and Closing Files): Add cross
63759         reference to explain mode argument.
63761 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63763         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63764         * sysdeps/x86_64/memset_chk.S: Likewise.
63766 2012-04-07  David S. Miller  <davem@davemloft.net>
63768         * elf/elf.h (R_SPARC_WDISP10): Define.
63769         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63770         R_SPARC_SIZE32.
63771         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63772         R_SPARC_SIZE64 and R_SPARC_H34.
63774 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63776         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63777         conditions and remove no longer applicable assertion.
63779 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63781         * bits/byteswap.h: Include <features.h>.
63782         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63783         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63785 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63787         * bits/byteswap.h (__bswap_16): Removed.
63788         Include <bits/byteswap-16.h> to get __bswap_16.
63789         * sysdeps/i386/bits/byteswap.h: Likewise.
63790         * sysdeps/s390/bits/byteswap.h: Likewise.
63791         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63792         * bits/byteswap-16.h: New file.
63793         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63794         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63795         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63796         * string/Makefile (headers): Add bits/byteswap-16.h.
63798 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63800         [BZ #13895]
63801         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63802         extra indirection.
63803         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63804         * nss/tst-nss-static.c: New.
63806 2012-04-06  Robert Millan  <rmh@gnu.org>
63808         [BZ #6486]
63809         * manual/llio.texi (File Position Primitive): lseek
63810         refers to WHENCE when it really means OFFSET.
63812 2012-04-06  Andreas Jaeger  <aj@suse.de>
63814         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63815         strncmp declarations.
63817         * abilist/libc.abilist: Add __poll and __ppoll.
63819 2012-04-05  David S. Miller  <davem@davemloft.net>
63821         * scripts/check-local-headers.sh: Accept a host triplet in the
63822         path matched by the exclude regexp.
63824         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63825         definition.
63826         * sysdeps/powerpc/powerpc32/dl-machine.h
63827         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63828         * sysdeps/s390/s390-32/dl-machine.h
63829         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63830         * sysdeps/sparc/sparc32/dl-machine.h
63831         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63832         * sysdeps/sparc/sparc64/dl-machine.h
63833         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63835         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63836         lazy binding.
63837         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63838         undefined symbol errors.
63840         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63841         DT_NEEDED entries.
63843 2012-04-05  Michael Matz  <matz@suse.de>
63845         [BZ #13592]
63846         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63848 2012-04-05  Andreas Jaeger  <aj@suse.de>
63850         [BZ #13908]
63851         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63852         comment.
63854 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63856         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63857         which ROUND is no valid rounding mode.
63859 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63861         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63862         read again.
63863         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63865 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63867         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63868         an exception using FPU order intentionally.
63870 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63872         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63873         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63874         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63875         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63877 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63879         [BZ #12340]
63880         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63881         EINVAL when BUFLEN is too smal.
63883 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63885         [BZ #13553]
63886         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63887         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63889 2012-04-03  Andreas Jaeger  <aj@suse.de>
63891         [BZ #13938]
63892         * manual/setjmp.texi (System V contexts): Fix sentence.
63894         [BZ #13926]
63895         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63896         New macro for this case.
63897         [!__GNUC__] (__bswap_64): New inline function for this case.
63898         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63899         * bits/byteswap.h: Likewise.
63900         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63901         ull, guard with __GLIBC_HAVE_LONG_LONG.
63903         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63904         __GLIBC_HAVE_LONG_LONG.
63906         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63907         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63909 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63911         [BZ #13691]
63912         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63913         inptr and inend, rather than using last_ch.
63915 2012-04-02  David S. Miller  <davem@davemloft.net>
63917         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63918         * stdio-common/printf-parse.h (read_int): Change return type to
63919         'int', return -1 on INT_MAX overflow.
63920         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63921         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63922         overflows INT_MAX.  Check for overflow of in-format-string precision
63923         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63924         SIZE_MAX not INT_MAX for integer overflow test.
63925         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63926         skip the construct in the format string but do not record anything.
63927         * stdio-common/bug22.c: Adjust to test both width/prevision
63928         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63929         explicitly for proper errno values.
63931 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63933         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63934         CHAR_MAX.
63935         * string/test-strcmp.c [! WIDE]: Likewise.
63936         * time/tst-mktime2.c: Likewise for INT_MAX.
63937         * string/test-string.h: #include <sys/param.h> for MIN.
63939         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63940         * sysdeps/i386/init-first.c (init): Likewise.
63941         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63942         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63943         * sysdeps/sh/init-first.c (init): Likewise.
63945 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63947         * po/ru.po: Update from translation team.
63948         * po/vi.po: Likewise.
63950 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63952         * resolv/nss_dns/dns-host.c: Merge copyright years.
63954 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63956         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63957         Optimize memcpy with prefetch if
63958         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63959         src, dst pointers have unequal 16 byte alignments.
63961 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63963         [BZ #13928]
63964         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63965         from a CNAME entry and return the minimum ttl for the query.
63966         (gaih_getanswer_slice): Likewise.
63968 2012-03-30  Jeff Law  <law@redhat.com>
63970         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63971         due to long keys.
63972         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63973         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63975         * resolv/nss_dns/dns-host.c: Update copyright year.
63977 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63979         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63980         requests to save a system call.  Fix check that all bytes are sent.
63982         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63983         comments for sendmmsg.
63985 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63987         [BZ #13691]
63988         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63989         with only 1 character between 0x0041 and 0x01b0.
63990         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63991         * wcsmbs/tst-mbsnrtowcs.c: New file.
63993 2012-03-29  David S. Miller  <davem@davemloft.net>
63995         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63996         small copies by hand.
63998 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64000         [BZ #13761]
64001         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64002         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64003         group memberships.
64005 2012-03-28  David S. Miller  <davem@davemloft.net>
64007         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64008         that branches into memcpy.
64009         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64012         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64013         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64014         bits.
64015         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64016         implementation too.
64017         * sysdeps/sparc/mempcpy.S: New file.
64019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64020         the IFUNC routine in the libc case.
64021         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64023         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64024         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64025         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64026         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64027         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64028         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64029         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64030         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64032         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64033         loop to 256 bytes instead of 64 bytes and fix test signedness.
64035         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64036         * sysdeps/sparc/sparc32/Makefile: rather than here...
64037         * sysdeps/sparc/sparc64/Makefile: and here.
64039 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64041         * malloc/mallocbug.c: Avoid warnings about unused variables.
64043 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64045         [BZ #13760]
64046         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64047         in the right place. Discard and retry query if response is
64048         larger than input buffer size.
64050 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64052         [BZ #369]
64053         [BZ #2678]
64054         [BZ #3866]
64055         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64056         x for large integer exponent.
64057         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64058         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64059         sign of result as needed afterwards.
64060         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64061         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64062         result for underflowing pow the same as for overflow.
64063         (__kernel_standard_l): Handle powl overflow and underflow here
64064         rather than calling __kernel_standard.
64065         * math/libm-test.inc (pow_test): Add more tests.
64067         [BZ #3868]
64068         [BZ #13879]
64069         [BZ #13910]
64070         [BZ #13911]
64071         [BZ #13912]
64072         [BZ #13913]
64073         [BZ #13915]
64074         [BZ #13916]
64075         [BZ #13917]
64076         [BZ #13918]
64077         [BZ #13919]
64078         [BZ #13920]
64079         [BZ #13921]
64080         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64081         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64082         (__kernel_standard_l): New function.
64083         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64084         __kernel_standard.
64085         * math/w_acosl.c (__acosl): Likewise.
64086         * math/w_asinl.c (__asinl): Likewise.
64087         * math/w_atan2l.c (__atan2l): Likewise.
64088         * math/w_atanhl.c (__atanhl): Likewise.
64089         * math/w_coshl.c (__coshl): Likewise.
64090         * math/w_exp10l.c (__exp10l): Likewise.
64091         * math/w_exp2l.c (__exp2l): Likewise.
64092         * math/w_fmodl.c (__fmodl): Likewise.
64093         * math/w_hypotl.c (__hypotl): Likewise.
64094         * math/w_j0l.c (__j0l, __y0l): Likewise.
64095         * math/w_j1l.c (__j1l, __y1l): Likewise.
64096         * math/w_jnl.c (__jnl, __ynl): Likewise.
64097         * math/w_lgammal.c (__lgammal): Likewise.
64098         * math/w_log10l.c (__log10l): Likewise.
64099         * math/w_log2l.c (__log2l): Likewise.
64100         * math/w_logl.c (__logl): Likewise.
64101         * math/w_powl.c (__powl): Likewise.
64102         * math/w_remainderl.c (__remainderl): Likewise.
64103         * math/w_scalbl.c (sysv_scalbl): Likewise.
64104         * math/w_sinhl.c (__sinhl): Likewise.
64105         * math/w_sqrtl.c (__sqrtl): Likewise.
64106         * math/w_tgammal.c (__tgammal): Likewise.
64107         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64108         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64109         * math/libm-test.inc (acos_test): Add more tests.
64110         (acosh_test): Likewise.
64111         (asin_test): Likewise.
64112         (atanh_test): Likewise.
64113         (exp_test): Likewise.
64114         (exp10_test): Likewise.
64115         (exp2_test): Likewise.
64116         (expm1_test): Likewise.
64117         (lgamma_test): Likewise.
64118         (log_test): Likewise.
64119         (log10_test): Likewise.
64120         (log1p_test): Likewise.
64121         (log2_test): Likewise.
64122         (pow_test): Do not allow some spurious overflow exceptions.
64123         (sqrt_test): Add more tests.
64124         (tgamma_test): Likewise.
64125         (y0_test): Likewise.
64126         (y1_test): Likewise.
64127         (yn_test): Likewise.
64129 2012-03-27  Anton Blanchard  <anton@samba.org>
64131         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64132         MAP_HUGETLB.
64133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64134         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64135         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64137 2012-03-27  David S. Miller  <davem@davemloft.net>
64139         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64141         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64142         have-as-vis3 check.
64144 2012-03-27  Andreas Jaeger  <aj@suse.de>
64146         * sysdeps/x86_64/elf/configure.in: Moved to ...
64147         * sysdeps/x86_64/configure.in: ... here.
64148         * sysdeps/x86_64/elf/start.S: Moved to ...
64149         * sysdeps/x86_64/start.S: ... here.
64150         * sysdeps/x86_64/elf/configure: Delete.
64152         * sysdeps/x86_64/configure.in: Merge contents from
64153         sysdeps/i386/configure.in (without i686 check).
64155         * sysdeps/i386/elf/Versions: Merge into ...
64156         * sysdeps/i386/Versions: ... this.
64157         * sysdeps/i386/elf/Versions: Delete file.
64158         * sysdeps/i386/elf/start.S: Moved to ...
64159         * sysdeps/i386/start.S: ...here.
64160         * sysdeps/i386/elf/configure.in: Merge into...
64161         * sysdeps/i386/configure.in: ...here.
64162         * sysdeps/i386/elf/configure.in: Delete file.
64163         * sysdeps/i386/elf/configure: Delete file.
64165         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64166         * debug/backtracesyms.c: ... here.
64167         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64168         * debug/backtracesymsfd.c: ... here.
64169         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64170         * sysdeps/generic/ifunc-sel.h: ... here.
64172         * sysdeps/unix/i386/start.c: Delete file.
64173         * sysdeps/unix/sparc/start.c: Delete file.
64174         * sysdeps/unix/start.c: Delete file.
64176         * sysdeps/sh/elf/configure.in: Moved to ...
64177         * sysdeps/sh/configure.in: ... here.
64178         * sysdeps/sh/elf/start.S: Moved to ...
64179         * sysdeps/sh/start.S: ... here.
64180         * sysdeps/sh/elf/configure: Delete file.
64182         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64183         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64184         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64185         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64186         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64187         * sysdeps/powerpc/powerpc64/start.S: here.
64188         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64189         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64190         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64191         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64192         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64194         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64195         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64196         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64197         * sysdeps/powerpc/powerpc32/start.S: ... here.
64198         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64199         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64200         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64202         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64203         * sysdeps/powerpc/ifunc-sel.h: ... here.
64204         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64205         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64207         * sysdeps/sparc/elf/configure.in: Moved to ...
64208         * sysdeps/sparc/configure.in: ... here.
64209         * sysdeps/sparc/elf/configure: Delete file.
64210         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64211         * sysdeps/sparc/sparc32/start.S: ... here.
64212         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64213         * sysdeps/sparc/sparc64/start.S: ... here.
64214         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64215         * sysdeps/sparc/sparc32/Makefile: ... this.
64216         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64217         * sysdeps/sparc/sparc64/Makefile: ... this.
64219         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64220         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64221         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64222         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64223         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64224         * sysdeps/s390/s390-32/setjmp.S: ... here.
64225         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64226         * sysdeps/s390/s390-32/configure.in: ... here.
64227         * sysdeps/s390/s390-32/elf/configure: Delete file.
64228         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64229         * sysdeps/s390/s390-32/start.S: ... here.
64231         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64232         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64233         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64234         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64235         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64236         * sysdeps/s390/s390-64/setjmp.S: ... here.
64237         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64238         * sysdeps/s390/s390-64/configure.in: ... here
64239         * sysdeps/s390/s390-64/elf/configure: Delete file.
64240         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64241         * sysdeps/s390/s390-64/start.S: ... here.
64242         * sysdeps/s390/s390-64/elf/configure: Delete.
64244         * configure.in: Remove support for elf directories in sysdeps.
64246         * configure: Regenerated.
64247         * sysdeps/i386/configure: Regenerated.
64248         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64249         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64250         * sysdeps/s390/s390-32/configure: Regenerated.
64251         * sysdeps/s390/s390-64/configure: Regenerated.
64252         * sysdeps/sh/configure: Regenerated.
64253         * sysdeps/sparc/configure: Regenerated.
64254         * sysdeps/x86_64/configure: Regenerated.
64256 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64261         denormal result into account.
64263 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64265         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64266         Reported by Allan McRae <allan@archlinux.org>.
64268 2012-03-23  Jeff Law  <law@redhat.com>
64270         * nss/getnssent.c (__nss_getent): Fix typo.
64272 2012-03-23  David S. Miller  <davem@davemloft.net>
64274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64276 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64278         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64279         to pad to uint64_t for each field.
64280         (dl_tls_index): Replace unsigned long with uint64_t.
64282 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64283         Paul Pluzhnikov  <ppluzhnikov@google.com>
64285         [BZ #6528]
64286         * grp/Makefile (otherlibs): Don't set it.
64287         * inet/Makefile (otherlibs): Likewise.
64288         * login/Makefile (otherlibs): Likewise.
64289         * nscd/Makefile (otherlibs): Likewise.
64290         * posix/Makefile (otherlibs): Likewise.
64291         * pwd/Makefile (otherlibs): Likewise.
64292         * rt/Makefile (otherlibs): Likewise.
64293         * sunrpc/Makefile (otherlibs): Likewise.
64294         * nss/Makefile (otherlibs): Likewise.
64295         Add libnss_files to routines and static-only-routines.
64296         ($(objpfx)getent): Remove rule.
64297         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64298         static-only-routines.
64300 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64302         [BZ #13892]
64303         * math/s_cexp.c: Include <float.h>.
64304         (__cexp): Handle exp result overflowing not necessarily
64305         overflowing both real and imaginary parts of result.
64306         * math/s_cexpf.c: Likewise.
64307         * math/s_cexpl.c: Likewise.
64308         * math/libm-test.inc (cexp_test): Add more tests.
64309         * sysdeps/i386/fpu/libm-test-ulps: Update.
64310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64312 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64314         * include/link.h (ELFW): New macro.
64315         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64316         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64318 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64320         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64321         with uint64_t.
64323 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64325         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64326         declaration.
64327         (struct La_x32_retval): Likewise.
64329 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64331         * sysdeps/x86_64/preconfigure.in: New file.
64332         * sysdeps/x86_64/preconfigure: New generated file.
64334 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64336         [BZ #13824]
64337         * math/e_exp2l.c: Include <float.h>.
64338         (__ieee754_exp2l): Handle overflow and underflow cases
64339         separately.  Only pass fractional part of argument to
64340         __ieee754_expl.
64341         * math/libm-test.inc (exp2_test): Add more tests.
64343         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64344         negating x to take absolute value.
64345         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64346         Likewise.
64347         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64348         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64349         Likewise.
64350         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64351         computing low part if x was negated.
64352         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64354 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64356         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64357         la_x32_gnu_pltexit.
64358         (pltexit): Cast int_retval to ptrdiff_t.
64359         * elf/tst-auditmod3b.c: Likewise.
64360         * elf/tst-auditmod4b.c: Likewise.
64361         * elf/tst-auditmod5b.c: Likewise.
64362         * elf/tst-auditmod6b.c: Likewise.
64363         * elf/tst-auditmod6c.c: Likewise.
64364         * elf/tst-auditmod7b.c: Likewise.
64366         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64367         and x32_gnu_pltexit.
64369         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64370         __ELF_NATIVE_CLASS.
64371         (La_x32_regs): New macro.
64372         (La_x32_retval): Likewise.
64373         (la_x32_gnu_pltenter): New function prototype.
64374         (la_x32_gnu_pltexit): Likewise.
64376 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64378         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64379         exponent.
64381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64383         * configure.in (libc_cv_cc_nofma): Check for option to disable
64384         generation of FMA instructions.
64385         * configure: Regenerate.
64386         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64387         * sysdeps/ieee754/dbl-64/Makefile: New file.
64388         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64389         Remove brandred-fma4.
64390         (CFLAGS-brandred-fma4.c): Remove.
64391         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64392         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64393         define.
64394         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64395         define.
64397 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64399         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64400         LLONG_MAX != LONG_MAX.
64401         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64402         (_fitoa_word): Likewise.
64403         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64404         LLONG_MAX != LONG_MAX.
64405         * stdio-common/_itowa.h: Include <_itoa.h>.
64406         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64407         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64408         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64409         only if not defined.
64410         (_ITOA_WORD_TYPE): Likewise.
64411         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64412         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64414 2012-03-21  David S. Miller  <davem@davemloft.net>
64416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64418 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64420         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64421         of x86_64 when setting libc_cv_slibdir, libdir and
64422         libc_cv_localedir.
64423         * sysdeps/unix/sysv/linux/configure: Regenerated.
64425 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64427         * manual/lang.texi (Old Varargs): Remove section.
64428         (How Variadic): Update menu.
64429         (va_start): Do not mention varargs.h.
64431 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64432             Joseph Myers  <joseph@codesourcery.com>
64434         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64435         link test.
64436         * configure: Regenerated.
64438 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64440         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64441         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64442         conformtest.pl
64444 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64446         * NOTES: Remove.
64447         * Makefile (files-for-dist): Remove NOTES.
64448         (NOTES): Remove rule.
64449         * README: Don't refer to NOTES.
64450         * manual/creature.texi: Don't include macros.texi.
64451         * manual/intro.texi (creature.texi): Remove comment referring to
64452         NOTES.
64454         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64455         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64456         * configure: Regenerated.
64457         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64458         LIBC_TRY_CC_OPTION.
64459         (libc_cv_as_i686): Likewise.
64460         (libc_cv_cc_avx): Likewise.
64461         (libc_cv_cc_sse2avx): Likewise.
64462         (libc_cv_cc_fma4): Likewise.
64463         (libc_cv_cc_novzeroupper): Likewise.
64464         * sysdeps/i386/configure: Regenerated.
64466         [BZ #13883]
64467         * sysdeps/i386/fpu/s_cexp.S: Remove.
64468         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64469         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64470         * math/libm-test.inc (cexp_test): Add more tests.
64471         * sysdeps/i386/fpu/libm-test-ulps: Update.
64472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64474 2012-03-21  Allan McRae  <allan@archlinux.org>
64476         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64478 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64480         [BZ #13871]
64481         * math/w_exp2.c: Do not include <float.h>.
64482         (o_threshold, u_threshold): Remove.
64483         (__exp2): Calculate result before checking finiteness and calling
64484         __kernel_standard.
64485         * math/w_exp2f.c: Likewise.
64486         * math/w_exp2l.c: Likewise.
64487         * math/libm-test.inc (exp2_test): Require overflow exception for
64488         1e6 input.
64490         [BZ #3866]
64491         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64492         range of signed 64-bit integers before using fistpll.  Remove
64493         checks for whether integers fit in mantissa bits.
64494         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64495         the range of signed 32-bit integers before using fistpl.  Remove
64496         checks for whether integers fit in mantissa bits.
64497         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64498         (__ieee754_powl): Test for y outside the range of signed 64-bit
64499         integers before using fistpll.  Reduce 64-bit values to 63-bit
64500         ones as needed.
64501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64502         divide-by-zero is raised for zero to large negative powers.
64503         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64504         (__ieee754_powl): Test for y outside the range of signed 64-bit
64505         integers before using fistpll.  Reduce 64-bit values to 63-bit
64506         ones as needed.
64507         * math/libm-test.inc (pow_test): Add more tests.
64509 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64511         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64512         <stdio-common/_itoa.h>.
64513         * debug/segfault.c: Likewise.
64514         * elf/dl-cache.c: Likewise.
64515         * elf/dl-minimal.c: Likewise.
64516         * elf/dl-misc.c: Likewise.
64517         * elf/dl-sysdep.c: Likewise.
64518         * elf/dl-version.c: Likewise.
64519         * elf/rtld.c: Likewise.
64520         * hurd/hurdsock.c: Likewise.
64521         * hurd/lookup-retry.c: Likewise.
64522         * malloc/malloc.c: Likewise.
64523         * malloc/mtrace.c: Likewise.
64524         * nscd/nscd_getgr_r.c: Likewise.
64525         * nscd/nscd_getpw_r.c: Likewise.
64526         * nscd/nscd_getserv_r.c: Likewise.
64527         * posix/getopt_init.c: Likewise.
64528         * posix/wordexp.c: Likewise.
64529         * stdio-common/_itoa.c: Likewise.
64530         * stdio-common/printf_fphex.c: Likewise.
64531         * stdio-common/vfprintf.c: Likewise.
64532         * string/_strerror.c: Likewise.
64533         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64534         * sysdeps/i386/i686/hp-timing.h: Likewise.
64535         * sysdeps/mach/_strerror.c: Likewise.
64536         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64537         * sysdeps/mach/hurd/sethostid.c: Likewise.
64538         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64539         * sysdeps/mach/xpg-strerror.c: Likewise.
64540         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64541         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64542         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64543         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64544         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64545         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64546         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64547         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64548         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64549         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64550         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64551         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64552         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64553         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64554         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64555         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64556         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64557         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64558         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64559         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64560         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64562         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64564         * stdio-common/_itoa.h: Moved to ...
64565         * sysdeps/generic/_itoa.h: Here.
64567         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64569         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64570         instead of "_itoa.h" and "_itowa.h".
64571         * stdio-common/vfprintf.: Likewise.
64573 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64575         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64576         <bits/wordsize.h>.
64577         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64578         (__signbit): Likwise.
64579         (llrintf): Likwise.
64580         (llrint): Likwise.
64582 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64584         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64585         __WORDSIZE != 64.
64587 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64589         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64590         OVERFLOW_EXCEPTION_OK.
64591         * math/libm-test.inc ("Philosophy"): Update comment about
64592         exception testing.
64593         (OVERFLOW_EXCEPTION): Define.
64594         (OVERFLOW_EXCEPTION_OK): Likewise.
64595         (INVALID_EXCEPTION_OK): Renumber.
64596         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64597         (IGNORE_ZERO_INF_SIGN): Likewise.
64598         (test_exceptions): Handle FE_OVERFLOW.
64599         (exp10_test): Expect overflow exceptions.
64600         (exp2_test): Likewise.
64601         (expm1_test): Likewise.
64602         (nextafter_test): Likewise.
64603         (pow_test): Likewise.
64604         (scalbn_test): Likewise.
64605         (scalbln_test): Likewise.
64607 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64609         * sysdeps/x86_64/bits/atomic.h
64610         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64611         64bit integer.
64612         (atomic_exchange_acq): Likewise.
64613         (__arch_exchange_and_add_body): Likewise.
64614         (__arch_add_body): Likewise.
64615         (atomic_add_negative): Likewise.
64616         (atomic_add_zero): Likewise.
64618 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64620         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64621         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64623 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64625         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64626         Check __x86_64__ instead of __WORDSIZE.
64628 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64630         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64632 2012-03-19  David S. Miller  <davem@davemloft.net>
64634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64636         * sysdeps/sparc/fpu/fenv_private.h: New file.
64637         * sysdeps/sparc/fpu/math_private.h: Use it.
64638         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64639         Remove.
64640         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64641         (libc_feholdexcept_setroundl): Remove.
64642         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64643         Remove.
64644         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64645         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64647 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64649         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64650         int64_t instead of long int.
64651         (INSERT_WORDS64): Likwise.
64653 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64655         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64656         _Unwind_GetCFA return to _Unwind_Ptr first.
64658 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64660         [BZ #13629]
64661         * math/s_clog.c: Include <float.h>.
64662         (__clog): Scale large or subnormal inputs.
64663         * math/s_clogf.c: Likewise.
64664         * math/s_clogl.c: Likewise.
64665         * math/s_clog10.c: Include <float.h>.
64666         (M_LOG10_2): Define.
64667         (__clog10): Scale large or subnormal inputs.
64668         * math/s_clog10f.c: Likewise.
64669         * math/s_clog10l.c: Likewise.
64670         * math/libm-test.inc (clog_test): Add more tests.
64671         (clog10_test): Likewise.
64672         * sysdeps/i386/fpu/libm-test-ulps: Update.
64673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64675         [BZ #11451]
64676         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64677         x and y.
64678         * math/libm-test.inc (atan2_test): Add another test.
64680         * Makerules (common-objdir-compile): Remove.
64681         * sysdeps/unix/Makefile (config-generated): Do not add
64682         $(unix-generated) to variable.
64683         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64684         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64685         Remove rule.
64686         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64687         Likewise.
64688         [generic bits/local_lim.h] (before-compile): Do not append to
64689         variable.
64690         [generic bits/local_lim.h] (common-generated): Likewise.
64691         [generic sys/param.h] (before-compile): Do not append to variable.
64692         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64693         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64694         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64695         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64696         include.
64697         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64698         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64699         [generic sys/param.h] ($(addprefix
64700         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64701         [generic sys/param.h] (common-generated): Do not append to
64702         variable.
64703         [generic sys/param.h] (sysdep_headers): Likewise.
64704         [generic bits/errno.h] (before-compile): Do not append to
64705         variable.
64706         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64707         rule.
64708         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64709         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64710         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64711         [generic bits/errno.h] (common-generated): Do not append to
64712         variable.
64713         [generic bits/ioctls.h] (before-compile): Do not append to
64714         variable.
64715         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64716         rule.
64717         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64718         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64719         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64720         rule.
64721         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64722         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64723         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64724         [generic bits/ioctls.h] (common-generated): Do not append to
64725         variable.
64726         [generic sys/syscall.h] (syscall.h): Remove variable.
64727         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64728         rule.
64729         [generic sys/syscall.h] (before-compile): Do not append to
64730         variable.
64731         [generic sys/syscall.h] (common-generated): Likewise.
64732         * sysdeps/unix/errnos-tmpl.c: Remove file.
64733         * sysdeps/unix/errnos.awk: Likewise.
64734         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64735         * sysdeps/unix/ioctls.awk: Likewise.
64736         * sysdeps/unix/mk-local_lim.c: Likewise.
64737         * sysdeps/unix/snarf-ioctls: Likewise.
64739 2012-03-19  Richard Henderson  <rth@twiddle.net>
64741         * sysdeps/i386/fpu/fenv_private.h: New file.
64742         * sysdeps/i386/fpu/math_private.h: Use it.
64743         (math_opt_barrier, math_force_eval): Remove.
64744         (libc_feholdexcept_setround_53bit): Remove.
64745         (libc_feupdateenv_53bit): Remove.
64746         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64747         (math_opt_barrier, math_force_eval): Remove.
64748         (libc_feholdexcept): Remove.
64749         (libc_feholdexcept_setround): Remove.
64750         (libc_fetestexcept, libc_fesetenv): Remove.
64751         (libc_feupdateenv_test): Remove.
64752         (libc_feupdateenv, libc_feholdsetround): Remove.
64753         (libc_feresetround): Remove.
64755         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64756         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64758         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64759         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64760         (libc_feupdateenv_testl): New.
64761         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64762         (libc_feupdateenv_testf): New.
64763         (libc_feupdateenv): Use libc_feupdateenv_test.
64764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64765         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64767         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64768         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64769         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64770         (libc_feresetround_noex): New.
64771         (libc_feresetround_noexf): New.
64772         (libc_feresetround_noexl): New.
64773         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64774         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64775         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64776         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64777         SET_RESTORE_ROUND.
64778         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64779         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64780         (__cos): Likewise.
64781         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64782         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64783         SET_RESTORE_ROUND_NOEX.
64784         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64785         SET_RESTORE_ROUND_NOEXF.
64786         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64787         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64788         (libc_feholdsetroundf): New.
64789         (libc_feresetround, libc_feresetroundf): New.
64791         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64792         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64793         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64795         * sysdeps/generic/math_private.h: Include <fenv.h>.
64796         (default_libc_feholdexcept): New.
64797         (default_libc_feholdexcept_setround): New.
64798         (default_libc_fesetenv, default_libc_feupdateenv): New.
64799         (libc_feholdexcept): Only define if undefined.
64800         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64801         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64802         (libc_feholdexcept_setroundl): Likewise.
64803         (libc_feholdexcept_setround_53bit): Likewise.
64804         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64805         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64806         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64807         (libc_feupdateenv_53bit): Likewise.
64808         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64809         (libc_feholdexcept): Convert from macro to inline function.
64810         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64811         (libc_fesetenv, libc_feupdateenv): Likewise.
64813         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64814         not previously defined.
64815         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64816         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64817         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64818         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64819         * sysdeps/ieee754/flt-32/math_private.h: New file.
64820         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64821         math_private.h below SET_FLOAT_WORD.
64822         (__isnan, __isinf_ns, __finite): Remove.
64823         (__isnanf, __isinf_nsf, __finitef): Remove.
64825 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64829 2012-03-17  David S. Miller  <davem@davemloft.net>
64831         [BZ #6471]
64832         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64833         for 2.16.
64835 2012-03-16  David S. Miller  <davem@davemloft.net>
64837         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64838         warnings.
64840         [BZ #6471]
64841         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64842         properly.
64843         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64844         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64845         sysdep_routines when subdir is sysvipc.
64846         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64847         __getshmlba helper.
64849         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64851 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64853         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64854         [__LP64__].
64856 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64858         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64859         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64860         (__lround): Renamed to ...
64861         (__llround): This.  Replace long int with long long int.
64862         Define lround functions as aliases of llround functions.
64863         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64865 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64867         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64868         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64869         adresses to uintptr_t.  Replace "long int" and "unsigned long
64870         int" with "greg_t" on va_arg.
64872 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64874         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64875         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64877         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64878         Move e_machine check before EI_CLASS check.  Handle x32
64879         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64880         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64881         SKIP_EM_IA_64 and include
64882         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64884         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64885         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64886         (add_system_dir): New macro.
64888         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64889         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64891 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64893         [BZ #2551]
64894         [BZ #2552]
64895         [BZ #2553]
64896         [BZ #2554]
64897         [BZ #2562]
64898         [BZ #2563]
64899         [BZ #2565]
64900         [BZ #2566]
64901         [BZ #2576]
64902         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64903         (y0): Likewise.
64904         * math/w_j0f.c (j0f): Likewise.
64905         (y0f): Likewise.
64906         * math/w_j0l.c (__j0l): Likewise.
64907         (__y0l): Likewise.
64908         * math/w_j1.c (j1): Likewise.
64909         (y1): Likewise.
64910         * math/w_j1f.c (j1f): Likewise.
64911         (y1f): Likewise.
64912         * math/w_j1l.c (__j1l): Likewise.
64913         (__y1l): Likewise.
64914         * math/w_jn.c (jn): Likewise.
64915         (yn): Likewise.
64916         * math/w_jnf.c (jnf): Likewise.
64917         (ynf): Likewise.
64918         * math/w_jnl.c (__jnl): Likewise.
64919         (__ynl): Likewise.
64920         * math/libm-test.inc (j0_test): Add more tests.
64921         (j1_test): Likewise.
64922         (jn_test): Likewise.  Add trailing semicolon to existing test.
64923         (y0_test): Likewise.
64924         (y1_test): Likewise.
64925         * sysdeps/i386/fpu/libm-test-ulps: Update.
64926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64928         [BZ #13851]
64929         [BZ #13854]
64930         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64931         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64932         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64933         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64934         (__tanl): Set errno for infinite argument.
64935         * sysdeps/i386/fpu/mptan.c: Remove.
64936         * sysdeps/i386/fpu/s_tan.S: Likewise.
64937         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64938         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64939         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64940         * math/libm-test.inc (tan_test): Add more tests and enable more
64941         tests for double and long double.
64942         * sysdeps/i386/fpu/libm-test-ulps: Update.
64943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64945 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64947         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64948         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64950 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64952         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64953         * configure.in: Use it for both main tree and add-ons.
64954         * configure: Regenerated.
64956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64958         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64960 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64962         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64963         in comment.
64965         [BZ #13851]
64966         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64967         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64968         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64969         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64970         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64971         infinite argument.
64972         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64973         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64974         != 0 for prec == 2.
64975         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64976         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64977         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64978         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64979         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64980         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64981         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64982         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64983         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64984         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64985         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64986         * math/libm-test.inc (cos_test): Add more tests and enable more
64987         tests for long double.
64988         (sin_test): Likewise.
64989         (sincos_test): Likewise.
64990         * sysdeps/i386/fpu/libm-test-ulps: Update.
64991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64993 2012-03-16  David S. Miller  <davem@davemloft.net>
64995         * sysdeps/sparc/fpu/math_private.h: New file.
64997 2012-03-15  David S. Miller  <davem@davemloft.net>
64999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65000         file.
65001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65003         file.
65004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65009         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65010         sysdep routines.
65011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65013         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65014         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65016         * sysdeps/sparc/sparc-ifunc.h: New file.
65017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65018         sparc-ifunc.h
65019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65021         Likewise.
65022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65023         Likewise.
65024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65028         Likewise.
65029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65034         Likewise.
65035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65036         Likewise.
65037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65042         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65043         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65044         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65046         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65051         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65052         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65053         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65054         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65055         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65056         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65058         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65059         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65060         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65062 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65064         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65065         scaling.
65066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65068 2012-03-15  Andreas Jaeger  <aj@suse.de>
65070         [BZ #13852]
65071         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65072         ieee754/flt-32 implementation for sin, cos and sincos.
65073         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65074         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65075         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65076         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65077         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65078         ieee754/flt-32 implementation for tan.
65080         * math/libm-test.inc (cos_test): Enable some large input tests for
65081         float as well
65082         (sin_test): Likewise.
65083         (sincos_test): Likewise.
65084         (tan_test): Add tests for large input.
65086         * sysdeps/i386/fpu/libm-test-ulps: Update.
65088 2012-03-15  Andreas Jaeger  <aj@suse.de>
65090         [BZ #13658]
65091         * math/libm-test.inc (cos_test): Add more test cases.
65092         (sin_test): Likewise.
65093         (sincos_test): Likewise.
65095 2012-03-15  Andreas Jaeger  <aj@suse.de>
65097         [BZ #13837]
65098         * math/libm-test.inc (cos_test): Add a test case for large input
65099         value.
65100         (sin_test): Likewise.
65101         (sincos_test): Likewise.
65103 2012-03-15  Andreas Jaeger  <aj@suse.de>
65104             Joseph Myers  <joseph@codesourcery.com>
65106         [BZ #13658]
65107         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65108         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65109         * sysdeps/i386/fpu/branred.c: Likewise.
65110         * sysdeps/i386/fpu/dosincos.c: Likewise.
65111         * sysdeps/i386/fpu/mpa.c: Likewise.
65112         * sysdeps/i386/fpu/s_cos.S: Likewise.
65113         * sysdeps/i386/fpu/s_sin.S: Likewise.
65114         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65115         * sysdeps/i386/fpu/sincos32.c: Likewise.
65117         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65118         Define.
65119         (libc_feupdateenv_53bit): Define.
65120         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65121         Define.
65122         (libc_feupdateenv_53bit): Define.
65124         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65125         53 bit (without extend i386 double precision).
65127         * math/libm-test.inc (sincos_test): Add tests for large input.
65128         (sin): Likewise.
65129         (cos): Likewise.
65131         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65133 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65137 2012-03-15  David S. Miller  <davem@davemloft.net>
65139         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65140         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65141         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65142         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65151         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65155         file.
65156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65158         file.
65159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65161         file.
65162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65164         file.
65165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65167         fmin/fmax sysdep routines.
65168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65170 2012-03-14  David S. Miller  <davem@davemloft.net>
65172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65173         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65174         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65175         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65176         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65177         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65178         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65179         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65180         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65181         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65182         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65183         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65187         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65188         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65189         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65190         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65192         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65193         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65194         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65196         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65200         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65201         routines.
65202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65203         file.
65204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65206         file.
65207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65209         file.
65210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65212         file.
65213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65215         file.
65216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65218         file.
65219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65220         file.
65221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65222         file.
65223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65224         file.
65225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65226         New file.
65227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65228         file.
65229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65230         file.
65231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65233         file.
65234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65236         file.
65237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65239         file.
65240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65242         VIS3 routines.
65244         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65245         New file.
65247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65249         * sysdeps/sparc/configure.in: New file.
65250         * sysdeps/sparc/configure: Generate.
65251         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65252         * configure: Regenerate.
65253         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65254         * config.make.in (have-as-vis3): New.
65255         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65256         available use -Av9d instead of -Av9a.
65257         * sysdeps/sparc/sparc64/Makefile: Likewise.
65258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65260         New file.
65261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65262         file.
65263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65264         New file.
65265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65266         file.
65267         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65268         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65269         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65270         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65271         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65273         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65274         fzeros/fnegs to load 0x80000000 into a float register instead of
65275         using the stack.
65276         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65278 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65281         bits/syscall.h.
65282         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65283         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65284         ($(inst_includedir)/bits/syscall.h): Remove rule.
65285         ($(objpfx)bits/syscall.d): Include instead of
65286         $(objpfx)syscall-list.d.
65287         (generated): Change syscall-list.h and syscall-list.d to
65288         bits/syscall.h and bits/syscall.d.
65290 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65292         [BZ #13846]
65293         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65295 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65297         [BZ #13841]
65298         * math/s_csqrt.c: Include <float.h>.
65299         (__csqrt): Scale large or subnormal inputs.
65300         * math/s_csqrtf.c: Likewise.
65301         * math/s_csqrtl.c: Likewise.
65302         * math/libm-test.inc (csqrt_test): Add more tests.
65303         * sysdeps/i386/fpu/libm-test-ulps: Update.
65304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65306         [BZ #13840]
65307         * math/libm-test.inc (hypot_test): Add more tests.
65309 2012-03-13  David S. Miller  <davem@davemloft.net>
65311         [BZ #13840]
65312         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65313         double-precision for the calculation instead of scaling.
65315 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65317         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65318         manipulate bits before adding and subtracting TWO52[sx].
65319         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65320         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65321         Likewise.
65322         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65324 2012-03-13  David S. Miller  <davem@davemloft.net>
65326         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65327         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65328         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65329         rtld-global-offsets.h
65330         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65332         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65333         large parameters.
65335         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65337         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65338         'err' in the ifdef scope in which it is actually used.
65340         * nss/nss_db/db-init.c: Include string.h
65342 2012-03-12  David S. Miller  <davem@davemloft.net>
65344         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65345         masking out of the most significant byte of random value used.
65346         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65347         Fix coding style in previous change.
65349         * sysdeps/unix/sysv/linux/kernel-features.h
65350         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65351         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65352         expression.
65353         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65354         later.
65356 2012-03-11  David S. Miller  <davem@davemloft.net>
65358         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65359         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65360         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65361         for 'resultvar' otherwise things get truncated on 64-bit.
65363         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65364         Fix masking out of the most significant byte of random value used.
65366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65368 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65372 2012-03-09  David S. Miller  <davem@davemloft.net>
65374         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65375         variables with appropriate CPP guards.
65376         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65377         from the frame pointer, not the stack pointer.  Correct layout
65378         comments.  Fix test on resulting framesize and the management of
65379         the outregs buffer for pltexit.  Preserve floating point return
65380         values across _dl_call_pltexit call.
65381         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65382         framesize and the management of the outregs buffer for pltexit.
65383         Preserve floating point return values across _dl_call_pltexit
65384         call.
65385         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65386         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65387         (la_sparc64_gnu_pltexit): New functions.
65388         (print_exit): Fix format string for return register value.
65390 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65392         * sunrpc/Makefile (others): Add rpcgen.
65393         ($(objpfx)rpcgen): Remove special build rule and dependency on
65394         libc.
65395         * sunrpc/rpcgen.c: New file.
65397 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65399         [BZ #13673]
65400         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65401         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65402         * sysdeps/i386/crti.S: Likewise.
65403         * sysdeps/i386/crtn.S: Likewise.
65404         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65405         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65406         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65407         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65408         * sysdeps/sh/crti.S: Likewise.
65409         * sysdeps/sh/crtn.S: Likewise.
65410         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65412         [BZ #13673]
65413         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65414         with URL.
65415         * locale/programs/locfile-kw.gperf: Likewise.
65416         * locale/programs/charmap-kw.h: Regenerated.
65417         * locale/programs/locfile-kw.h: Likewise.
65419         [BZ #13673]
65420         * intl/plural.y: Replace FSF snail mail address with URL.
65421         * intl/plural.c: Regenerated.
65423 2012-03-09  Richard Henderson  <rth@twiddle.net>
65425         * include/math_private.h: Remove file.
65426         * math/math_private.h: Move file ...
65427         * sysdeps/generic/math_private.h: ... here.
65429         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65430         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65431         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65433         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65434         and <math_private.h>.
65435         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65436         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65437         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65438         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65439         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65440         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65441         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65443         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65444         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65445         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65446         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65447         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65448         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65449         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65450         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65451         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65452         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65453         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65454         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65455         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65456         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65457         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65458         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65459         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65460         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65461         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65462         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65474         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65475         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65477         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65478         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65479         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65480         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65481         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65482         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65483         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65484         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65485         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65486         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65487         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65488         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65489         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65490         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65491         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65492         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65493         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65494         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65495         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65496         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65497         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65498         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65499         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65500         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65501         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65502         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65503         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65504         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65505         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65506         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65507         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65508         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65509         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65511         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65512         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65513         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65514         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65515         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65516         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65517         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65518         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65519         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65521         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65522         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65523         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65524         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65525         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65526         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65527         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65528         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65529         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65530         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65531         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65532         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65533         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65534         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65535         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65536         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65537         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65538         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65539         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65540         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65541         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65542         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65543         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65544         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65545         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65546         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65547         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65548         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65549         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65550         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65551         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65552         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65553         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65554         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65555         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65556         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65557         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65558         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65559         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65560         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65561         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65562         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65563         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65564         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65565         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65566         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65568         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65569         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65570         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65571         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65572         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65573         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65574         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65575         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65576         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65577         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65578         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65579         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65580         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65581         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65582         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65583         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65584         * sysdeps/ieee754/k_standard.c: Likewise.
65585         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65586         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65587         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65588         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65589         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65590         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65591         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65592         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65593         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65594         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65595         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65596         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65597         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65598         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65599         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65600         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65601         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65602         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65603         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65604         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65605         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65606         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65607         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65608         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65609         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65611         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65612         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65613         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65614         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65615         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65616         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65617         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65618         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65619         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65620         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65621         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65622         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65623         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65624         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65625         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65626         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65627         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65628         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65629         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65630         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65631         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65632         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65633         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65634         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65635         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65636         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65637         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65638         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65639         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65640         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65641         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65642         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65643         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65645         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65647         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65648         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65658         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65659         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65661         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65662         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65664         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65665         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65666         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65667         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65668         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65669         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65670         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65671         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65672         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65673         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65674         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65675         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65676         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65677         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65678         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65679         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65680         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65683         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65684         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65686         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65687         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65688         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65689         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65690         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65691         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65692         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65693         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65694         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65695         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65696         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65697         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65700         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65701         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65702         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65703         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65704         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65706         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65707         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65708         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65709         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65710         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65711         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65712         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65713         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65714         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65715         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65716         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65717         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65718         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65719         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65720         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65721         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65722         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65723         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65724         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65725         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65726         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65727         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65728         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65729         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65730         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65731         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65732         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65733         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65734         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65735         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65736         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65737         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65738         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65740         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65741         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65742         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65743         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65744         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65745         * sysdeps/ieee754/s_lib_version.c: Likewise.
65746         * sysdeps/ieee754/s_matherr.c: Likewise.
65747         * sysdeps/ieee754/s_signgam.c: Likewise.
65748         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65749         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65750         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65751         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65752         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65753         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65754         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65755         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65756         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65757         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65758         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65759         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65760         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65761         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65762         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65763         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65764         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65765         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65766         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65767         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65768         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65770 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65772         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65773         * sunrpc/rpc_main.c: Likewise.
65774         * sunrpc/rpc_svcout.c: Likewise.
65776 2012-03-09  David S. Miller  <davem@davemloft.net>
65778         * include/math_private.h: New file.
65780 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65782         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65783         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65784         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65785         from <bits/socket_type.h>.
65786         (enum __socket_type): Don't define here.
65787         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65788         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65789         bits/socket_type.h.
65791         [BZ #13566]
65792         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65793         checking __USE_GNU.
65795         * Makerules ($(inst_includedir)/%.h): New rule.
65796         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65797         (install-others): Remove variable setting.
65798         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65800 2012-03-08  Richard Henderson  <rth@twiddle.net>
65802         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65803         from macro to inline function; merge with the
65804         !__LIBC_INTERNAL_MATH_INLINES version.
65805         (__ieee754_sqrtf): Likewise.
65807         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65808         to inline function.
65809         (__rintf, __floor, __floorf): Likewise.
65811         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65812         macro to inline function.
65813         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65815         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65816         not <math/math_private.h>.
65818 2012-03-08  David S. Miller  <davem@davemloft.net>
65820         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65821         copyright year.
65822         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65824 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65826         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65827         normalization.
65828         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65829         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65831 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65833         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65834         be defined individually, they must be defined as a block.  Define
65835         S for printing a string instead of hidint the different by using a
65836         macro for adding the 'l'.
65837         * stdio-common/tst-fphex-wide.c: Adjust.
65839 2012-03-07  Marek Polacek  <polacek@redhat.com>
65841         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65843 2012-03-08  Marek Polacek  <polacek@redhat.com>
65845         [BZ #13806]
65846         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65847         * stdio-common/tst-fphex.c: Define a few macros to make the
65848         test reusable.  Use them.
65849         * stdio-common/tst-fphex-wide.c: New file.
65851 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65853         [BZ #6911]
65854         * manual/macros.texi (gnusystems): New macro.
65855         (nongnusystems): Likewise.
65856         (gnulinuxhurdsystems): Likewise.
65857         (gnuhurdsystems): Likewise..
65858         (gnulinuxsystems): Likewise.
65859         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65860         variants of the GNU system, not "GNU system".
65861         * manual/conf.texi: Likewise.
65862         * manual/errno.texi: Likewise.  Update example of errno macro
65863         expansion.
65864         * manual/filesys.texi: Likewise.
65865         (getumask): Document as specific to GNU/Hurd.
65866         * manual/install.texi: Likewise.  Reword some references to
65867         GNU/Linux.
65868         * manual/intro.texi: Likewise.
65869         * manual/io.texi: Likewise.
65870         (File Name Portability): Detail which constraints are inapplicable
65871         to all GNU systems and which are only inapplicable to GNU/Hurd.
65872         * manual/job.texi: Likewise.
65873         * manual/llio.texi: Likewise.
65874         (O_NOCTTY): Document as present on GNU/Linux.
65875         * manual/maint.texi: Likewise.
65876         * manual/memory.texi: Likewise.
65877         * manual/pattern.texi: Likewise.
65878         * manual/pipe.texi: Likewise.
65879         * manual/process.texi: Likewise.
65880         * manual/resource.texi: Likewise.
65881         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65882         child on GNU/Hurd.
65883         * manual/setjmp.texi: Likewise.
65884         * manual/signal.texi: Likewise.
65885         * manual/startup.texi: Likewise.
65886         * manual/stdio.texi: Likewise.
65887         * manual/terminal.texi: Likewise.
65888         (ONLCR): Document as POSIX.
65889         (OXTABS): Document availability on GNU/Linux as XTABS.
65890         (ONOEOT): Document availability separately from other bits.
65891         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65892         * manual/time.texi: Likewise.
65893         * manual/users.texi: Likewise.
65894         * INSTALL: Regenerated.
65895         * sysdeps/gnu/errlist.c: Regenerated.
65897         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65898         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65899         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65900         puts.
65901         * configure: Regenerated.
65903 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65905         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65906         default includes instead of AC_HEADER_CHECK.
65907         * sysdeps/i386/configure: Regenerated.
65909         [BZ #10716]
65910         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65911         * math/s_cacoshf.c (__cacoshf): Likewise.
65912         * math/s_cacoshl.c (__cacoshl): Likewise.
65913         * math/s_casinh.c (__casinh): Set signs of result from argument.
65914         * math/s_casinhf.c (__casinhf): Likewise.
65915         * math/s_casinhl.c (__casinhl): Likewise.
65916         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65917         (casinh_test): Add more tests.
65918         * sysdeps/i386/fpu/libm-test-ulps: Update.
65919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65921 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65923         * po/zh_TW.po: Update from translation team.
65925         * login/Makefile (distribute): Remove variable.
65926         * catgets/Makefile: Likewise.
65927         * mach/Makefile: Likewise.
65928         * malloc/Makefile: Likewise.
65929         * misc/Makefile: Likewise.
65930         * iconv/Makefile: Likewise.
65931         * nscd/Makefile: Likewise.
65932         * hurd/Makefile: Likewise.
65933         * manual/Makefile: Likewise.
65934         * locale/Makefile: Likewise.
65935         * intl/Makefile: Likewise.
65936         * conform/Makefile: Likewise.
65937         * nss/Makefile: Likewise.
65938         * time/Makefile: Likewise.
65939         * soft-fp/Makefile: Likewise.
65940         * dirent/Makefile: Likewise.
65941         * gmon/Makefile: Likewise.
65942         * po/Makefile: Likewise.
65943         * rt/Makefile: Likewise.
65944         * socket/Makefile: Likewise.
65945         * math/Makefile: Likewise.
65946         * signal/Makefile: Likewise.
65947         * debug/Makefile: Likewise.
65948         * elf/Makefile: Likewise.
65949         * timezone/Makefile: Likewise.
65950         * stdlib/Makefile: Likewise.
65951         * iconvdata/Makefile: Likewise.
65952         * sunrpc/Makefile: Likewise.
65953         * io/Makefile: Likewise.
65954         * argp/Makefile: Likewise.
65955         * inet/Makefile: Likewise.
65956         * hesiod/Makefile: Likewise.
65957         * grp/Makefile: Likewise.
65958         * csu/Makefile: Likewise.
65959         * wctype/Makefile: Likewise.
65960         * crypt/Makefile: Likewise.
65961         * libio/Makefile: Likewise.
65962         * string/Makefile: Likewise.
65963         * nis/Makefile: Likewise.
65964         * resolv/Makefile: Likewise.
65965         * stdio-common/Makefile: Likewise.
65966         * wcsmbs/Makefile: Likewise.
65967         * dlfcn/Makefile: Likewise.
65968         * posix/Makefile: Likewise.
65970         [BZ #6959]
65971         * timezone/Makefile: Don't install timezone files, just the programs
65972         and scripts.
65974 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65976         * nss/databases.def: Add missing gshadow entry.
65978         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65980 2012-03-06  Marek Polacek  <polacek@redhat.com>
65982         [BZ #13726]
65983         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65984         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65985         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65986         * stdio-common/tst-long-dbl-fphex.c: New file.
65988 2012-03-06  David S. Miller  <davem@davemloft.net>
65990         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65991         (set_obp_int): New function.
65992         (get_obp_int): New function.
65993         (__get_clockfreq_via_dev_openprom): Likewise.
65994         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65995         Avoid unused variable warnings on 'val' and use builtin_expect.
65996         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65997         __builtin_expect.
65998         (INLINE_CLONE_SYSCALL): Likewise.
66000 2012-03-05  David S. Miller  <davem@davemloft.net>
66002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66004 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66008         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66009         only for |x| >= 40.
66010         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66012 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66014         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66015         Replace gettimeofday with __vdso_gettimeofday.
66017         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66018         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66019         __vdso_clock_gettime and __vdso_getcpu.
66021         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66022         time with __vdso_time.
66024 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66026         * manual/lang.texi (size_t): Note types to which size_t may be
66027         equivalent with the GNU C Library, but do not describe when
66028         differences between them are significant.
66030 2012-03-05  Andreas Jaeger  <aj@suse.de>
66032         * sysdeps/i386/fpu/libm-test-ulps: Update.
66034 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66036         [BZ #3976]
66037         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66038         (__ieee754_pow): Save and restore rounding mode and use
66039         round-to-nearest for main computations.
66040         * math/libm-test.inc (pow_test_tonearest): New function.
66041         (pow_test_towardzero): Likewise.
66042         (pow_test_downward): Likewise.
66043         (pow_test_upward): Likewise.
66044         (main): Call the new functions.
66045         * sysdeps/i386/fpu/libm-test-ulps: Update.
66046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66048         [BZ #3976]
66049         * math/libm-test.inc (cosh_test_tonearest): New function.
66050         (cosh_test_towardzero): Likewise.
66051         (cosh_test_downward): Likewise.
66052         (cosh_test_upward): Likewise.
66053         (sinh_test_tonearest): Likewise.
66054         (sinh_test_towardzero): Likewise.
66055         (sinh_test_downward): Likewise.
66056         (sinh_test_upward): Likewise.
66057         (main): Call the new functions.
66058         * sysdeps/i386/fpu/libm-test-ulps: Update.
66059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66061 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66063         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66064         default stack guard is set in last bytes.
66065         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66067 2012-03-05  Kees Cook  <keescook@chromium.org>
66069         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66071         [BZ #13656]
66072         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66073         possibly allocate from heap instead of stack.
66074         * stdio-common/bug-vfprintf-nargs.c: New file.
66075         * stdio-common/Makefile (tests): Add nargs overflow test.
66077 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66081 2012-03-03  Marek Polacek  <polacek@redhat.com>
66083         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66084         * math/math_private.h: Likewise.
66085         * stdlib/tst-strtod.c: Likewise.
66086         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66087         * sysdeps/x86_64/bits/atomic.h: Likewise.
66089 2012-03-02  David S. Miller  <davem@davemloft.net>
66091         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66092         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66095         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66096         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66097         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66098         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66100 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66102         [BZ #13792]
66103         * manual/examples/README: New file, says the example source files
66104         can be used under GPL>=2.
66105         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66106         line containing just "*/".
66107         * manual/examples/add.c: Add copyright header (GPL>=2).
66108         * manual/examples/argp-ex1.c: Likewise.
66109         * manual/examples/argp-ex2.c: Likewise.
66110         * manual/examples/argp-ex3.c: Likewise.
66111         * manual/examples/argp-ex4.c: Likewise.
66112         * manual/examples/atexit.c: Likewise.
66113         * manual/examples/db.c: Likewise.
66114         * manual/examples/dir.c: Likewise.
66115         * manual/examples/dir2.c: Likewise.
66116         * manual/examples/execinfo.c: Likewise.
66117         * manual/examples/filecli.c: Likewise.
66118         * manual/examples/filesrv.c: Likewise.
66119         * manual/examples/fmtmsgexpl.c: Likewise.
66120         * manual/examples/genpass.c: Likewise.
66121         * manual/examples/inetcli.c: Likewise.
66122         * manual/examples/inetsrv.c: Likewise.
66123         * manual/examples/isockad.c: Likewise.
66124         * manual/examples/longopt.c: Likewise.
66125         * manual/examples/memopen.c: Likewise.
66126         * manual/examples/memstrm.c: Likewise.
66127         * manual/examples/mkfsock.c: Likewise.
66128         * manual/examples/mkisock.c: Likewise.
66129         * manual/examples/mygetpass.c: Likewise.
66130         * manual/examples/pipe.c: Likewise.
66131         * manual/examples/popen.c: Likewise.
66132         * manual/examples/rprintf.c: Likewise.
66133         * manual/examples/search.c: Likewise.
66134         * manual/examples/select.c: Likewise.
66135         * manual/examples/setjmp.c: Likewise.
66136         * manual/examples/sigh1.c: Likewise.
66137         * manual/examples/sigusr.c: Likewise.
66138         * manual/examples/stpcpy.c: Likewise.
66139         * manual/examples/strdupa.c: Likewise.
66140         * manual/examples/strftim.c: Likewise.
66141         * manual/examples/strncat.c: Likewise.
66142         * manual/examples/subopt.c: Likewise.
66143         * manual/examples/swapcontext.c: Likewise.
66144         * manual/examples/termios.c: Likewise.
66145         * manual/examples/testopt.c: Likewise.
66146         * manual/examples/testpass.c: Likewise.
66147         * manual/examples/timeval_subtract.c: Likewise.
66149         [BZ #13792]
66150         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66151         function to ...
66152         * manual/timeval_subtract.c.texi: ... here, new file.
66154 2012-03-02  David S. Miller  <davem@davemloft.net>
66156         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66158 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66160         [BZ #3976]
66161         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66162         (__sin): Save and restore rounding mode and use round-to-nearest
66163         for all computations.
66164         (__cos): Save and restore rounding mode and use round-to-nearest
66165         for all computations.
66166         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66167         <fenv.h>.
66168         (tan): Save and restore rounding mode and use round-to-nearest for
66169         all computations.
66170         * math/libm-test.inc (cos_test_tonearest): New function.
66171         (cos_test_towardzero): Likewise.
66172         (cos_test_downward): Likewise.
66173         (cos_test_upward): Likewise.
66174         (sin_test_tonearest): Likewise.
66175         (sin_test_towardzero): Likewise.
66176         (sin_test_downward): Likewise.
66177         (sin_test_upward): Likewise.
66178         (tan_test_tonearest): Likewise.
66179         (tan_test_towardzero): Likewise.
66180         (tan_test_downward): Likewise.
66181         (tan_test_upward): Likewise.
66182         (main): Call the new functions.
66183         * sysdeps/i386/fpu/libm-test-ulps: Update.
66184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66186         [BZ #10135]
66187         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66188         small n, then large n, before computing and testing k+n.
66189         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66190         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66191         Likewise.
66192         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66193         Likewise.
66194         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66195         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66196         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66197         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66198         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66199         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66200         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66201         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66202         * math/libm-test.inc (scalbn_test): Add more tests.
66203         (scalbln_test): Likewise.
66205         * manual/filesys.texi (mode_t): Describe constraints on size and
66206         signedness, not exact equivalence to a particular type.
66207         (ino_t): Likewise.
66208         (ino64_t): Likewise.
66209         (dev_t): Likewise.
66210         (nlink_t): Likewise.
66211         (blkcnt_t): Likewise.
66212         (blkcnt64_t): Likewise.
66213         * manual/llio.texi (off_t): Likewise.
66215         [BZ #3976]
66216         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66217         (__ieee754_exp): Save and restore rounding mode and use
66218         round-to-nearest for all computations.
66219         * math/libm-test.inc (exp_test_tonearest): New function.
66220         (exp_test_towardzero): Likewise.
66221         (exp_test_downward): Likewise.
66222         (exp_test_upward): Likewise.
66223         (main): Call the new functions.
66224         * sysdeps/i386/fpu/libm-test-ulps: Update.
66225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66227 2012-03-01  Chris Demetriou  <cgd@google.com>
66229         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66230         have predictable order.
66232 2012-03-01  David S. Miller  <davem@davemloft.net>
66234         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66236         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66237         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66238         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66239         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66241         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66242         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66243         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66245         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66246         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66247         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66248         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66249         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66253         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66254         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66255         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66257         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66258         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66259         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66260         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66261         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66262         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66263         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66264         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66265         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66266         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66267         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66268         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66269         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66270         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66271         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66273         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66274         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66275         * sysdeps/sparc/elf/configure: Regenerated.
66277 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66279         * configure.in (AS, LD): Require binutils 2.20 or later.
66280         * configure: Regenerated.
66281         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66282         as required minimum version.
66283         * INSTALL: Regenerated.
66285         [BZ #2541]
66286         [BZ #4108]
66287         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66288         before squaring exponent.
66289         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66290         bottom long double and 27 bits of top long double before squaring
66291         exponent.
66292         * math/libm-test.inc (erfc_test): Add more tests.
66293         * sysdeps/i386/fpu/libm-test-ulps: Update.
66294         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66297 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66299         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66300         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66301         containing bit-fields.
66302         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66303         * soft-fp/single.h (_FP_UNION_S): Likewise.
66304         * soft-fp/double.h (_FP_UNION_D): Likewise.
66306 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66308         [BZ #13786]
66309         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66310         not include ../strcmp.S.
66311         [USE_AS_STRNCASECMP_L]: Likewise.
66312         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66313         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66314         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66315         (__strncasecmp_l_ia32): Define as alias to
66316         __strncasecmp_l_nonascii.
66318         [BZ #5794]
66319         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66320         * sysdeps/i386/fpu/libm-test-ulps: Update.
66321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66323         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66326 2012-02-29  Jeff Law  <law@redhat.com>
66328         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66329         out of bounds read.
66331 2012-02-29  Marek Polacek  <polacek@redhat.com>
66333         [BZ #13706]
66334         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66335         * elf/Makefile: Add rules to run tst-unused-dep.out.
66337 2012-02-28  David S. Miller  <davem@davemloft.net>
66339         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66340         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66341         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66343         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66344         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66346 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66348         * math/libm-test.inc (llround_test): Move one test from
66349         lround_test.  Use TEST_f_L in moved test.
66350         (lround_test): Move misplaced test to llround_test.  Add testcase
66351         from bug 2561.
66353 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66355         * sysdeps/x86_64/fpu/e_expf.S: New file.
66356         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66358 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66360         [BZ #13637]
66361         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66362         of remain_len that may cause incomplete multi-byte character and
66363         false match.
66364         * posix/bug-regex33.c: New file.
66365         * posix/Makefile (tests): Add bug-regex33.
66367 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66369         * manual/macros.texi: New file.
66370         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66371         * manual/libc.texinfo: Include macros.texi.
66372         * manual/creatute.texi: Likewise.
66373         * manual/install.texi: Likewise.
66374         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66375         @glibcadj{} in references to the GNU C Library.
66376         * manual/charset.texi: Likewise.
66377         * manual/conf.texi: Likewise.
66378         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66379         when not using those macros.
66380         * manual/creature.texi: Likewise.
66381         * manual/crypt.texi: Likewise.
66382         * manual/errno.texi: Likewise.
66383         * manual/filesys.texi: Likewise.
66384         * manual/header.texi: Likewise.
66385         * manual/install.texi: Likewise.
66386         * manual/intro.texi: Likewise.
66387         * manual/io.texi: Likewise.
66388         * manual/job.texi: Likewise.
66389         * manual/lang.texi: Likewise.
66390         * manual/libc.texiinfo: Likewise.
66391         * manual/llio.texi: Likewise.
66392         * manual/locale.texi: Likewise.
66393         * manual/maint.texi: Likewise.
66394         * manual/math.texi: Likewise.
66395         * manual/memory.texi: Likewise.
66396         * manual/message.texi: Likewise.
66397         * manual/nss.texi: Likewise.
66398         * manual/pattern.texi: Likewise.
66399         * manual/process.texi: Likewise.
66400         * manual/resource.texi: Likewise.
66401         * manual/search.texi: Likewise.
66402         * manual/setjmp.texi: Likewise.
66403         * manual/signal.texi: Likewise.
66404         * manual/socket.texi: Likewise.
66405         * manual/startup.texi: Likewise.
66406         * manual/stdio.texi: Likewise.
66407         * manual/string.texi: Likewise.
66408         * manual/sysinfo.texi: Likewise.
66409         * manual/syslog.texi: Likewise.
66410         * manual/terminal.texi: Likewise.
66411         * manual/time.texi: Likewise.
66412         * manual/users.texi: Likewise.
66413         * INSTALL: Regenerated.
66414         * NOTES: Regenerated.
66415         * sysdeps/gnu/errlist.c: Regenerated.
66417 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66419         * include/dirent.h: Include <dirstream.h> before
66420         <dirent/dirent.h>.
66422 2012-02-28  David S. Miller  <davem@davemloft.net>
66424         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66425         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66426         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66427         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66429 2012-02-27  David S. Miller  <davem@davemloft.net>
66431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66433         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66434         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66437         frame pointer instead of stack pointer relative arg slot.
66438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66439         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66440         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66442 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66444         [BZ #3992]
66445         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66447 2012-02-27  David S. Miller  <davem@davemloft.net>
66449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66453         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66454         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66455         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66456         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66458 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66460         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66461         later.  Allow versions 5-9.
66462         * configure: Regenerated.
66463         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66464         required minimum version and 4.6 as recommended version.  Do not
66465         mention bugs in GCC 2.7 and 2.8.
66466         * INSTALL: Regenerated.
66468 2012-02-27  David S. Miller  <davem@davemloft.net>
66470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66474         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66475         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66476         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66477         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66479         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66480         manipulate bits before adding and subtracting TWO112[sx].
66481         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66483 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66485         [BZ #13775]
66486         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66487         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66488         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66489         being in POSIX, because they are in 1003.1-2008.
66491         * rt/tst-aio.c: Include <fcntl.h>.
66492         * rt/tst-aio7.c: Likewise.
66493         * rt/tst-aio64.c: Likewise.
66495         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66497 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66499         * manual/install.texi (--with-headers): Describe headers as
66500         interface headers, not private headers.
66501         (Specific advice for GNU/Linux systems): Describe use of headers
66502         from "make headers_install", not private headers from older
66503         kernels.
66504         * INSTALL: Regenerated.
66505         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66506         Change to 2.6.19.
66507         * sysdeps/unix/sysv/linux/configure: Regenerated.
66509         * manual/llio.texi (fclean): Remove documentation.
66511         * manual/Makefile (libc-texi-generated): New variable.  Include
66512         version.texi.
66513         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66514         $(libc-texi-generated), not duplicated list of files.
66515         (version.texi, stamp-version): New rules.
66516         (realclean): Remove $(libc-texi-generated), not individual files
66517         from that list.  Do not remove dir-add.texinfo.
66518         * manual/libc.texinfo: Comment out uses of edition numbers and
66519         references to printed manual.  Remove last-updated dates.
66520         (EDITION): Comment out.
66521         (ISBN): Likewise.
66522         (VERSION, UPDATED): Remove.
66523         (version.texi): Include.
66525 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66527         * sysdeps/posix/spawni.c: Include <signal.h>.
66528         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66529         * sysdeps/pthread/aio_fsync.c: Likewise.
66531 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66533         * conform/Makefile (tests): Run only when not cross-compiling and
66534         when fast-check is not defined.
66536         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66537         * conform/data/limits.h-data: Fixes for POSIX2008.
66538         * conform/run-conformtest.sh: Run all tests.
66539         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66540         headers.
66541         * include/bits/dlfcn.h: Likewise.
66542         * include/langinfo.h: Likewise.
66543         * include/monetary.h: Likewise.
66544         * include/sys/poll.h: Likewise.
66546         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66547         for __USE_GNU.
66548         * posix/spawn.h: Define __need_sigset_t.
66549         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66550         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66551         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66552         to get sigevent_t only.
66553         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66554         only for __USE_GNU.
66555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66556         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66557         process_vm_writev only for __USE_GNU.
66558         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66560         * conform/Makefile: For now ignore errors from run-conformtest.
66561         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66562         POSIX to avoid namespace pollution.  Don't prepend headers.
66563         * conform/data/aio.h-data: Fixes for POSIX testing.
66564         * conform/data/fcntl.h-data: Likewise.
66565         * conform/data/glob.h-data: Likewise.
66566         * conform/data/grp.h-data: Likewise.
66567         * conform/data/pthread.h-data: Likewise.
66568         * conform/data/pwd.h-data: Likewise.
66569         * conform/data/signal.h-data: Likewise.
66570         * conform/data/spawn.h-data: Likewise.
66571         * conform/data/stdio.h-data: Likewise.
66572         * conform/data/stdlib.h-data: Likewise.
66573         * conform/data/stropts.h-data: Likewise.
66574         * conform/data/sys/mman.h-data: Likewise.
66575         * conform/data/sys/stat.h-data: Likewise.
66576         * conform/data/sys/types.h-data: Likewise.
66577         * conform/data/sys/wait.h-data: Likewise.
66578         * conform/data/time.h-data: Likewise.
66579         * conform/data/unistd.h-data: Likewise.
66580         * conform/data/utime.h-data: Likewise.
66582         * io/sys/stat.h: fchmod was always in POSIX.
66583         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66584         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66585         * rt/aio.h: Define __need_timespec before including <time.h>.
66586         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66587         struct.  Add forward declaration of pthread_attr_t and use it in
66588         sigevent.
66589         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66590         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66591         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66592         always remove CLK_TCK definition.
66594 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66596         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66598 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66600         * conform/run-conformtest.sh: New file.
66601         * conform/Makefile: Run run-conformtest for tests.
66602         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66603         support.
66605         * conform/data/uchar.h-data: New file.
66606         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66607         * conform/data/arpa/inet.h-data: Likewise.
66608         * conform/data/assert.h-data: Likewise.
66609         * conform/data/complex.h-data: Likewise.
66610         * conform/data/cpio.h-data: Likewise.
66611         * conform/data/ctype.h-data: Likewise.
66612         * conform/data/dirent.h-data: Likewise.
66613         * conform/data/dlfcn.h-data: Likewise.
66614         * conform/data/errno.h-data: Likewise.
66615         * conform/data/fcntl.h-data: Likewise.
66616         * conform/data/float.h-data: Likewise.
66617         * conform/data/fmtmsg.h-data: Likewise.
66618         * conform/data/fnmatch.h-data: Likewise.
66619         * conform/data/ftw.h-data: Likewise.
66620         * conform/data/glob.h-data: Likewise.
66621         * conform/data/grp.h-data: Likewise.
66622         * conform/data/iconv.h-data: Likewise.
66623         * conform/data/inttypes.h-data: Likewise.
66624         * conform/data/langinfo.h-data: Likewise.
66625         * conform/data/libgen.h-data: Likewise.
66626         * conform/data/limits.h-data: Likewise.
66627         * conform/data/locale.h-data: Likewise.
66628         * conform/data/math.h-data: Likewise.
66629         * conform/data/monetary.h-data: Likewise.
66630         * conform/data/mqueue.h-data: Likewise.
66631         * conform/data/ndbm.h-data: Likewise.
66632         * conform/data/net/if.h-data: Likewise.
66633         * conform/data/netdb.h-data: Likewise.
66634         * conform/data/netinet/in.h-data: Likewise.
66635         * conform/data/nl_types.h-data: Likewise.
66636         * conform/data/poll.h-data: Likewise.
66637         * conform/data/pthread.h-data: Likewise.
66638         * conform/data/pwd.h-data: Likewise.
66639         * conform/data/regex.h-data: Likewise.
66640         * conform/data/sched.h-data: Likewise.
66641         * conform/data/search.h-data: Likewise.
66642         * conform/data/semaphore.h-data: Likewise.
66643         * conform/data/setjmp.h-data: Likewise.
66644         * conform/data/signal.h-data: Likewise.
66645         * conform/data/spawn.h-data: Likewise.
66646         * conform/data/stdarg.h-data: Likewise.
66647         * conform/data/stdio.h-data: Likewise.
66648         * conform/data/stdlib.h-data: Likewise.
66649         * conform/data/string.h-data: Likewise.
66650         * conform/data/strings.h-data: Likewise.
66651         * conform/data/stropts.h-data: Likewise.
66652         * conform/data/sys/ipc.h-data: Likewise.
66653         * conform/data/sys/mman.h-data: Likewise.
66654         * conform/data/sys/msg.h-data: Likewise.
66655         * conform/data/sys/resource.h-data: Likewise.
66656         * conform/data/sys/select.h-data: Likewise.
66657         * conform/data/sys/sem.h-data: Likewise.
66658         * conform/data/sys/shm.h-data: Likewise.
66659         * conform/data/sys/socket.h-data: Likewise.
66660         * conform/data/sys/stat.h-data: Likewise.
66661         * conform/data/sys/statvfs.h-data: Likewise.
66662         * conform/data/sys/time.h-data: Likewise.
66663         * conform/data/sys/timeb.h-data: Likewise.
66664         * conform/data/sys/times.h-data: Likewise.
66665         * conform/data/sys/types.h-data: Likewise.
66666         * conform/data/sys/uio.h-data: Likewise.
66667         * conform/data/sys/un.h-data: Likewise.
66668         * conform/data/sys/utsname.h-data: Likewise.
66669         * conform/data/sys/wait.h-data: Likewise.
66670         * conform/data/syslog.h-data: Likewise.
66671         * conform/data/tar.h-data: Likewise.
66672         * conform/data/termios.h-data: Likewise.
66673         * conform/data/utime.h-data: Likewise.
66674         * conform/data/utmpx.h-data: Likewise.
66675         * conform/data/varargs.h-data: Likewise.
66676         * conform/data/wchar.h-data: Likewise.
66677         * conform/data/wctype.h-data: Likewise.
66678         * conform/data/wordexp.h-data: Likewise.
66680         * include/stropts.h: New file.
66681         * include/uchar.h: New file.
66682         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66683         * include/assert.h: Likewise.
66684         * include/ctype.h: Likewise.
66685         * include/dirent.h: Likewise.
66686         * include/dlfcn.h: Likewise.
66687         * include/fcntl.h: Likewise.
66688         * include/fnmatch.h: Likewise.
66689         * include/glob.h: Likewise.
66690         * include/grp.h: Likewise.
66691         * include/libio.h: Likewise.
66692         * include/locale.h: Likewise.
66693         * include/math.h: Likewise.
66694         * include/net/if.h: Likewise.
66695         * include/netdb.h: Likewise.
66696         * include/netinet/in.h: Likewise.
66697         * include/pthread.h: Likewise.
66698         * include/pwd.h: Likewise.
66699         * include/regex.h: Likewise.
66700         * include/sched.h: Likewise.
66701         * include/search.h: Likewise.
66702         * include/setjmp.h: Likewise.
66703         * include/signal.h: Likewise.
66704         * include/stdio.h: Likewise.
66705         * include/stdlib.h: Likewise.
66706         * include/string.h: Likewise.
66707         * include/sys/cdefs.h: Likewise.
66708         * include/sys/mman.h: Likewise.
66709         * include/sys/msg.h: Likewise.
66710         * include/sys/resource.h: Likewise.
66711         * include/sys/select.h: Likewise.
66712         * include/sys/socket.h: Likewise.
66713         * include/sys/stat.h: Likewise.
66714         * include/sys/statvfs.h: Likewise.
66715         * include/sys/time.h: Likewise.
66716         * include/sys/times.h: Likewise.
66717         * include/sys/uio.h: Likewise.
66718         * include/sys/utsname.h: Likewise.
66719         * include/sys/wait.h: Likewise.
66720         * include/termios.h: Likewise.
66721         * include/time.h: Likewise.
66722         * include/ulimit.h: Likewise.
66723         * include/unistd.h: Likewise.
66724         * include/utime.h: Likewise.
66725         * include/wchar.h: Likewise.
66726         * include/wctype.h: Likewise.
66727         * include/wordexp.h: Likewise.
66729         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66731         * time/time.h: TIME_UTC must be a macro.
66732         Make timespec_get available for ISO C11 only as well.
66734 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66736         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66737         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66739 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66741         * configure.in: Use -o not -a in test for unsupported multi-arch.
66743 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66745         * manual/texinfo.tex: Update to version 2012-01-19.16.
66747 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66749         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66751 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66753         [BZ #13738]
66754         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66755         * manual/fdl-1.3.texi: New file.
66756         * manual/fdl-1.1.texi: File removed.
66758         [BZ #13738]
66759         * manual/libc.texinfo (FDL_VERSION): New @set.
66760         Use it for mention of FDL in cover text.
66761         (Documentation License): Use it in @include file name.
66763 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66764             Roland McGrath  <roland@hack.frob.com>
66766         [BZ #5461]
66767         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66768         (not LONG_LONG_MAX and LONG_LONG_MIN.
66769         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66770         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66771         name.
66772         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66776         [BZ #2547]
66777         [BZ #11365]
66778         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66779         manipulate bits before adding and subtracting TWO23[sx].
66780         * math/libm-test.inc (nearbyint_test): Add more tests.
66782 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66784         [BZ #2548]
66785         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66786         bits before adding and subtracting TWO23[sx].
66787         * math/libm-test.inc (rint_test): Add more tests.
66788         (rint_test_tonearest): Likewise.
66789         (rint_test_towardzero): Likewise.
66790         (rint_test_downward): Likewise.
66791         (rint_test_upward: Likewise.
66793 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66795         [BZ #10110]
66796         * include/stdc-predef.h: New file.  Extracted from features.h.
66797         * include/features.h: Include stdc-predef.h.
66798         * Makefile (headers): Add stdc-predef.h.
66799         * CONFORMANCE (Compiler limitations): Update.
66801 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66803         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66805 2012-02-21  David S. Miller  <davem@davemloft.net>
66807         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66808         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66810 2012-02-20  David S. Miller  <davem@davemloft.net>
66812         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66813         using a normal save/restore sequence, rather than allocating a
66814         dummy stack frame just to store a frame pointer and restore.
66815         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66817 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66819         * manual/install.texi: Fix stray word in line-wrapped comment.
66821 2012-02-20  David S. Miller  <davem@davemloft.net>
66823         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66824         both binutils and gcc support GOTDATA.
66826         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66827         "rd %pc" in the PIC register setup sequences.
66829         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66830         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66831         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66832         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66833         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66834         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66835         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66836         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66838         (SYSCALL_ERROR_HANDLER): Likewise.
66839         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66840         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66841         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66842         (SYSCALL_ERROR_HANDLER): Likewise.
66844         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66845         (HAVE_GCC_GOTDATA): New.
66846         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66847         relocation support in both binutils and gcc.
66848         * sysdeps/sparc/elf/configure: Regenerate.
66850         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66851         * sysdeps/sparc/sparc32/elf/configure: Delete.
66852         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66853         * sysdeps/sparc/sparc64/elf/configure: Delete.
66854         * sysdeps/sparc/elf/configure.in: New file.
66855         * sysdeps/sparc/elf/configure: Generate.
66857         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66858         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66859         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66860         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66861         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66863 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66865         * manual/install.texi: Do not mention specific glibc version
66866         numbers.
66867         * manual/libc.texinfo (VERSION, UPDATED): Update.
66868         (@copying): Use @copyright{} and range of years.
66870 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66872         [BZ #13695]
66873         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66874         [crti.S not in sysdirs] (generated): Do not append.
66875         [crti.S not in sysdirs] (omit-deps): Likewise.
66876         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66877         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66878         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66879         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66880         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66881         Likewise.
66882         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66883         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66884         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66885         * csu/defs.awk: Remove file.
66886         * sysdeps/generic/initfini.c: Likewise.
66887         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66888         variable.
66889         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66890         Likewise.
66892 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66894         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66895         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66896         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66897         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66898         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66899         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66900         <bits/epoll.h>.
66901         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66902         (__EPOLL_PACKED): Define to empty if not defined by
66903         <bits/epoll.h>.
66904         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66906         bits/epoll.h.
66908 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66910         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66911         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66912         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66913         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66914         <bits/timerfd.h>.
66915         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66917         bits/timerfd.h.
66919 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66921         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66922         in C locale.
66923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66924         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66925         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66928 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66930         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66931         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66933 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66935         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66936         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66937         defined.
66938         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66939         Likewise.
66940         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66941         entry for 2.16.
66943 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66945         * math/w_acos.c: Use non-signaling floating-point comparisons.
66946         * math/w_acosf.c: Likewise.
66947         * math/w_acosh.c: Likewise.
66948         * math/w_acoshf.c: Likewise.
66949         * math/w_acoshl.c: Likewise.
66950         * math/w_acosl.c: Likewise.
66951         * math/w_asin.c: Likewise.
66952         * math/w_asinf.c: Likewise.
66953         * math/w_asinl.c: Likewise.
66954         * math/w_atanh.c: Likewise.
66955         * math/w_atanhf.c: Likewise.
66956         * math/w_atanhl.c: Likewise.
66957         * math/w_exp2.c: Likewise.
66958         * math/w_exp2f.c: Likewise.
66959         * math/w_exp2l.c: Likewise.
66960         * math/w_j0.c: Likewise.
66961         * math/w_j0f.c: Likewise.
66962         * math/w_j0l.c: Likewise.
66963         * math/w_j1.c: Likewise.
66964         * math/w_j1f.c: Likewise.
66965         * math/w_j1l.c: Likewise.
66966         * math/w_jn.c: Likewise.
66967         * math/w_jnf.c: Likewise.
66968         * math/w_log.c: Likewise.
66969         * math/w_log10.c: Likewise.
66970         * math/w_log10f.c: Likewise.
66971         * math/w_log10l.c: Likewise.
66972         * math/w_log2.c: Likewise.
66973         * math/w_log2f.c: Likewise.
66974         * math/w_log2l.c: Likewise.
66975         * math/w_logf.c: Likewise.
66976         * math/w_logl.c: Likewise.
66977         * math/w_sqrt.c: Likewise.
66978         * math/w_sqrtf.c: Likewise.
66979         * math/w_sqrtl.c: Likewise.
66980         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66981         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66982         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66983         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66984         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66986 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66988         [BZ #9739]
66989         * manual/string.texi (strnlen): Use correct parameter name in
66990         equivalent expression.
66992 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66994         [BZ #11174]
66995         * manual/users.texi (seteuid): Consistently use neweuid for
66996         argument name.
66998 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67000         [BZ #13704]
67001         * manual/nss.texi (Services in the NSS configuration): Correct
67002         list of services in example configuration file.
67004 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67006         [BZ #11322]
67007         * manual/arith.texi: Remove statements about negative zero
67008         behaving identically to zero.
67010 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67012         [BZ #5993]
67013         * manual/install.texi: Do not document upgrading from libc5.
67015 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67017         [BZ #4596]
67018         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67020 2012-02-18  David S. Miller  <davem@davemloft.net>
67022         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67023         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67024         %o7 across the call.
67025         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67026         instead.
67027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67028         SETUP_PIC_REG_LEAF.
67029         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67030         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67031         * sysdeps/sparc/crtn.S: Likewise.
67033 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67035         * aout/Makefile: Remove.
67037 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67039         [BZ #13058]
67040         * manual/examples/argp-ex1.c (main): Format definition in GNU
67041         style.
67042         * manual/examples/argp-ex2.c (main): Likewise.
67043         * manual/examples/argp-ex3.c (main): Likewise.
67044         * manual/examples/argp-ex4.c (main): Likewise.
67045         * manual/examples/longopt.c (main): Use new-style prototype
67046         definition.
67047         * manual/examples/strncat.c (main): Specify return type and use
67048         (void) for arguments.
67049         * manual/examples/subopt.c (main): Use char **argv argument.
67051 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67053         [BZ #5077]
67054         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67055         rounding modes.
67057 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67059         [BZ #6907]
67060         * manual/string.texi (strchr): Change when strchrnul is
67061         recommended.
67063 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67065         [BZ #174]
67066         * manual/locale.texi (setlocale): Document LOCPATH.
67068 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67070         [BZ #10210]
67071         * manual/process.texi (execle): Move @dots{} before last argument.
67073 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67075         [BZ #12047]
67076         * manual/charset.texi (Generic Charset Conversion): Fix typo
67077         (LC_TYPE -> LC_CTYPE).
67079 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67081         [BZ #5805]
67082         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67083         (scalbnf): Likewise.
67084         (scalbnl): Likewise.
67085         (scalbln): Likewise.
67086         (scalblnf): Likewise.
67087         (scalblnl): Likewise.
67088         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67089         (vwarnx): Likewise.
67090         (verr): Likewise.
67091         (verrx): Likewise.
67092         * manual/filesys.texi (telldir): Use braces around return type.
67093         * manual/llio.texi (mmap): Add space after comma.
67094         (mmap64): Likewise.
67095         * manual/math.texi (jn): Use @var{} on parameter names.
67096         (jnf): Likewise.
67097         (jnl): Likewise.
67098         (yn): Likewise.
67099         (ynf): Likewise.
67100         (ynl): Likewise.
67101         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67102         line.
67103         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67104         "...".
67105         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67106         (sched_get_priority_max): Likewise.
67107         * manual/signal.texi (sigvec): Add space after comma.
67108         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67109         names.
67110         (if_indextoname): Likewise.
67111         (if_freenameindex): Likewise.
67112         (sendto): Use ',' instead of '.' in prototype.
67113         * manual/startup.texi (syscall): Use @dots{} instead of literal
67114         "...".
67115         * manual/stdio.texi (__fpending): Separate initial words of
67116         paragraph from @deftypefun line.
67117         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67118         "...".
67119         (vsyslog): Use @var{} on parameter names.
67120         * manual/terminal.texi (stty): Use @var{} on parameter names.
67121         * manual/users.texi (getutmp): Use @var{} on parameter names.
67122         (getutmpx): Likewise.
67124 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67126         [BZ #6884]
67127         * manual/stdio.texi (fopen): Fix typos in description of
67128         ",ccs=STRING".
67130 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67132         [BZ #4026]
67133         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67134         get clock_id definition.
67136 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67138         [BZ #4822]
67139         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67140         (madvise): Cast every argument to void on its own.
67142 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67144         [BZ #9902]
67145         * manual/startup.texi (Exit Status): Fix typo.
67147 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67149         [BZ #10140]
67150         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67151         * manual/examples/argp-ex2.c: Likewise.
67152         * manual/examples/argp-ex3.c: Likewise.
67154 2012-02-16  Richard Henderson  <rth@redhat.com>
67156         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67157         * sysdeps/s390/s390-32/initfini.c: Remove.
67158         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67159         * sysdeps/s390/s390-64/initfini.c: Remove.
67161 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67163         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67164         compiler output for sysdeps/generic/initfini.c.
67165         * sysdeps/sh/elf/initfini.c: Remove file.
67167 2012-02-16  David S. Miller  <davem@davemloft.net>
67169         [BZ #11494]
67170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67172         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67173         * sysdeps/sparc/crti.S: New file.
67174         * sysdeps/sparc/crtn.S: New file.
67175         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67176         * sysdeps/sparc/sparc64/Makefile: Likewise.
67178 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67180         [BZ #3335]
67181         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67183 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67185         [BZ #4822]
67186         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67188         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67189         (write, read, close): Likewise.
67190         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67192 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67194         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67195         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67196         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67197         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67198         <bits/signalfd.h>.
67199         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67200         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67201         bits/signalfd.h.
67203 2012-02-14  Marek Polacek  <polacek@redhat.com>
67205         * sysdeps/x86_64/crti.S: New file.
67206         * sysdeps/x86_64/crtn.S: New file.
67207         * sysdeps/x86_64/elf/initfini.c: Remove file.
67209 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67211         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67212         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67213         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67214         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67215         <bits/inotify.h>.
67216         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67218         bits/inotify.h.
67220 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67222         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67223         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67224         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67225         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67226         <bits/eventfd.h>.
67227         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67229         bits/eventfd.h.
67231 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67233         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67234         __feraiseexcept instead of feraiseexcept.
67236         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67237         nanosleep invocations.
67238         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67239         strings, and add error checking for a nanosleep invocations.
67241 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67243         Replace FSF snail mail address with URLs, as per GNU coding standards.
67244         Most of the snail mail addresses were wrong anyway, and omitting
67245         them makes the source code easier to maintain.  Almost all of the
67246         changes are to license notices and to locale LC_IDENTIFICATION
67247         addresses, except for this one:
67248         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67249         not its snail mail address.
67251 2012-02-09  Richard Henderson  <rth@twiddle.net>
67253         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67254         of kernel-features.h.
67256         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67258 2012-02-08  Marek Polacek  <polacek@redhat.com>
67260         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67261         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67262         * sysdeps/gnu/_G_config.h: Likewise.
67263         * sysdeps/generic/_G_config.h: Likewise.
67265 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67267         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67268         tests.
67269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67271         * sysdeps/powerpc/powerpc32/crti.S: New file.
67272         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67273         * sysdeps/powerpc/powerpc64/crti.S: New file.
67274         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67276         * Makeconfig (have-initfini): Don't set.
67277         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67278         * configure.in (nopic_initfini): Don't substitute.
67279         * config.h.in (HAVE_INITFINI): Don't #undef.
67280         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67281         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67283 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67285         Support crti.S and crtn.S provided directly by architectures.
67286         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67287         [crti.S in sysdirs] (omit-deps): Likewise.
67288         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67289         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67290         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67291         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67292         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67293         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67294         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67295         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67296         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67297         compiler output for sysdeps/generic/initfini.c.
67298         * sysdeps/i386/elf/Makefile: Remove file.
67299         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67301 2012-02-07  Marek Polacek  <polacek@redhat.com>
67303         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67304         * sysdeps/gnu/_G_config.h: Likewise.
67305         * sysdeps/mach/hurd/_G_config.h: Likewise.
67307 2012-02-07  Marek Polacek  <polacek@redhat.com>
67309         * math/Makefile (tests): Add tst-CMPLX2.
67310         * math/tst-CMPLX2.c: New file.
67312 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67314         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67316         * math/libm-test.inc (jn_test): Add missing L suffix.
67318 2012-02-06  Marek Polacek  <polacek@redhat.com>
67320         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67321         * sysdeps/i386/fpu/e_powf.S: Likewise.
67322         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67323         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67324         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67325         * sysdeps/i386/fpu/e_pow.S: Likewise.
67326         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67327         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67328         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67329         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67330         * sysdeps/i386/fpu/e_log2.S: Likewise.
67331         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67332         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67333         * sysdeps/i386/fpu/e_powl.S: Likewise.
67334         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67335         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67336         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67337         * sysdeps/i386/fpu/e_logl.S: Likewise.
67338         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67339         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67340         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67341         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67342         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67343         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67344         * sysdeps/i386/fpu/e_log.S: Likewise.
67345         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67346         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67347         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67348         * sysdeps/i386/fpu/e_logf.S: Likewise.
67349         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67350         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67351         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67352         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67353         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67354         * sysdeps/i386/fpu/e_log10.S: Likewise.
67355         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67356         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67357         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67358         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67359         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67360         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67361         * sysdeps/i386/asm-syntax.h: Likewise.
67362         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67363         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67364         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67365         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67366         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67367         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67368         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67369         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67370         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67371         * sysdeps/powerpc/sysdep.h: Likewise.
67372         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67373         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67375 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67377         [BZ #411]
67378         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67380 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67382         * sysdeps/i386/sysdep.h: Include <features.h>.
67383         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67384         version.
67386 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67388         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67389         Define.
67390         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67391         LOAD_PIC_REG_STR.
67393 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67395         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67396         (SETUP_PIC_REG): Use GET_PC_THUNK.
67397         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67398         macro.
67400 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67402         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67403         for non-PIC compilation.
67404         (SETUP_PIC_REG): Add .p2align directive.
67405         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67406         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67407         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67408         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67409         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67410         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67411         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67412         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67413         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67414         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67415         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67416         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67417         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67418         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67419         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67420         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67421         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67422         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67423         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67424         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67425         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67426         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67427         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67428         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67429         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67431         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67432         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67433         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67434         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67435         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67436         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67437         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67438         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67439         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67440         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67441         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67442         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67443         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67444         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67445         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67447 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67449         * math/tst-CMPLX.c: Include <stdio.h>.
67451 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67453         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67454         float.
67455         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67456         * sysdeps/sparc/bits/mathdef.h: Likewise.
67458 2012-01-31  Marek Polacek  <polacek@redhat.com>
67460         * libio/libio.h: Don't define _PARAMS.
67461         * locale/programs/config.h: Don't define PARAMS.
67462         * stdlib/strtol_l.c: Likewise.
67463         (__strtol_l): Remove PARAMS from the prototype.
67465 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67467         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67468         names.  Just use the correct names.  Remove unnecessary wrapper
67469         functions.
67470         * malloc/arena.c: Likewise.
67471         * malloc/hooks.c: Likewise.
67473         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67474         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67475         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67477 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67479         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67480         into tail calls.
67481         (update_get_addr): New function.
67482         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67483         GET_ADDR_MODULE parameter.
67485 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67487         * crypt/cert.c: Remove __STDC__ conditionals.
67488         * crypt/crypt-entry.c: Likewise.
67489         * crypt/crypt_util.c: Likewise.
67490         * libio/filedoalloc.c: Likewise.
67491         * libio/fileops.c: Likewise.
67492         * libio/genops.c: Likewise.
67493         * libio/iofclose.c: Likewise.
67494         * libio/iofdopen.c: Likewise.
67495         * libio/iofopen.c: Likewise.
67496         * libio/iofopen64.c: Likewise.
67497         * libio/iogetdelim.c: Likewise.
67498         * libio/iopopen.c: Likewise.
67499         * libio/obprintf.c: Likewise.
67500         * libio/oldfileops.c: Likewise.
67501         * libio/oldiofclose.c: Likewise.
67502         * libio/oldiofdopen.c: Likewise.
67503         * libio/oldiofopen.c: Likewise.
67504         * libio/oldiopopen.c: Likewise.
67505         * libio/wfiledoalloc.c: Likewise.
67506         * libio/wgenops.c: Likewise.
67507         * locale/programs/xmalloc.c: Likewise.
67508         * misc/syslog.c: Likewise.
67509         * stdio-common/xbug.c: Likewise.
67510         * string/memchr.c: Likewise.
67511         * string/memcmp.c: Likewise.
67512         * string/memrchr.c: Likewise.
67513         * string/rawmemchr.c: Likewise.
67514         * sysdeps/posix/getcwd.c: Likewise.
67515         * time/strftime_l.c: Likewise.
67517 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67519         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67520         * config.make.in (config-cflags-sse2avx): Define.
67521         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67522         Fix typo.
67524 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67526         * scripts/config.guess: Update from upstream config git repository.
67527         * scripts/config.sub: Likewise.
67529 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67531         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67532         (EM_NUM): Update.
67533         (R_TILEPRO_*, R_TILEGX_*): New macros.
67535         * scripts/firstversions.awk: Fix bug in version range handling.
67537         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67539         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67541         * include/sys/epoll.h: New file.
67542         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67543         libc_hidden_def.
67545 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67547         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67548         Avoid unnecessary __WORDSIZE == 64 test.
67549         (fmaxf): Use VEX format if possible.
67550         (fmax): Likewise.
67551         (fminf): Likewise.
67552         (fmin): Likewise.
67554         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67555         * math/math_private.h: Remove libc_fegetround* and
67556         libc_fesetround*.
67557         * sysdeps/i386/configure.in: Check for -msse2avx.
67558         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67559         also if SSE2AVX is defined.
67560         Remove libc_fegetround* and libc_fesetround*.
67561         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67562         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67563         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67564         of HAS_YMM_USABLE.
67565         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67566         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67567         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67568         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67569         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67571         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67573 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67575         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67576         size is not set.
67577         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67579 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67581         [BZ #13618]
67582         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67583         relocation.
67584         * Makeconfig (libm): Define.
67585         * elf/Makefile: Add rules to build and run tst-relsort1.
67586         * elf/tst-relsort1.c: New file.
67587         * elf/tst-relsort1mod1.c: New file.
67588         * elf/tst-relsort1mod2.c: New file.
67590 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67592         * math/s_ldexp.c: Remove __STDC__ conditionals.
67593         * math/s_ldexpf.c: Likewise.
67594         * math/s_ldexpl.c: Likewise.
67595         * math/s_nextafter.c: Likewise.
67596         * math/s_nexttowardf.c: Likewise.
67597         * math/s_significand.c: Likewise.
67598         * math/s_significandf.c: Likewise.
67599         * math/s_significandl.c: Likewise.
67600         * math/w_jnl.c: Likewise.
67601         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67602         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67603         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67604         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67605         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67607         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67608         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67609         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67610         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67611         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67612         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67613         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67614         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67615         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67616         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67617         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67618         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67619         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67620         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67621         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67622         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67623         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67624         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67625         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67626         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67627         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67628         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67629         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67630         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67631         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67632         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67633         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67634         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67635         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67636         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67637         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67638         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67639         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67640         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67641         * sysdeps/ieee754/k_standard.c: Likewise.
67642         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67643         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67644         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67645         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67646         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67647         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67648         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67649         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67650         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67651         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67652         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67653         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67654         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67656         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67657         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67658         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67659         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67661         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67663         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67664         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67668         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67669         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67673         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67674         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67676         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67677         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67678         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67679         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67681         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67682         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67683         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67684         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67685         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67686         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67687         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67688         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67689         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67690         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67691         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67692         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67693         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67694         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67695         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67696         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67697         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67698         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67699         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67700         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67701         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67702         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67703         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67704         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67705         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67706         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67707         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67708         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67709         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67710         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67711         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67712         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67713         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67714         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67715         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67716         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67717         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67718         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67719         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67720         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67721         * sysdeps/ieee754/s_matherr.c: Likewise.
67722         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67723         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67724         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67725         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67727 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67729         * crypt/md5.h: Remove __STDC__ conditionals.
67730         * libio/libioP.h: Likewise.
67731         * locale/programs/config.h: Likewise.
67732         * sysdeps/generic/sysdep.h: Likewise.
67733         * sysdeps/i386/asm-syntax.h: Likewise.
67734         * sysdeps/s390/asm-syntax.h: Likewise.
67735         * sysdeps/unix/sysdep.h: Likewise.
67736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67739 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67741         * libio/libio.h: Remove __STDC__ conditionals.
67742         * malloc/obstack.h: Likewise.
67743         * math/complex.h: Likewise.
67744         * math/math.h: Likewise.
67745         * sysdeps/generic/_G_config.h: Likewise.
67746         * sysdeps/gnu/_G_config.h: Likewise.
67747         * sysdeps/mach/hurd/_G_config.h: Likewise.
67748         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67749         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67750         * sysdeps/sparc/bits/mathdef.h: Likewise.
67752 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67754         [BZ #13583]
67755         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67756         Clean up HAS_* macros.
67757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67758         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67759         possible.
67760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67761         HAS_AVX.
67762         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67763         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67764         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67765         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67766         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67768 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67770         * elf/tst-unique3.cc (gets): Remove declaration.
67771         * elf/tst-unique3lib.cc (gets): Likewise.
67772         * elf/tst-unique3lib2.cc (gets): Likewise.
67773         * elf/tst-unique4.cc (gets): Likewise.
67775 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67777         * include/stdio.h: Add C++ protection.  Add gets declarations and
67778         definitions.
67779         * debug/tst-chk1.c: Don't declare gets here.
67780         * stdio-common/tst-gets.c: Likewise.
67782 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67784         * posix/glob: Remove directory.
67786 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67788         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67790 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67792         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67793         of the non-standard EPFNOSUPPORT.
67795 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67797         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67798         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67799         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67801 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67803         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67805 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67807         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67808         transient errors.
67809         * nscd/grpcache.c (cache_addgr): Likewise.
67810         * nscd/hstcache.c (cache_addhst): Likewise.
67811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67812         * nscd/pwdcache.c (cache_addpw): Likewise.
67813         * nscd/servicescache.c (cache_addserv): Likewise.
67815 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67817         * malloc/malloc.c: Various cleanups.
67818         * malloc/hooks.c: Likewise.
67820         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67821         * stdlib/bug-fmtmsg1.c: New file.
67823         * stdlib/fmtmsg.c (init): Add missing unlock.
67824         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67826 2012-01-12  Marek Polacek  <polacek@redhat.com>
67828         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67829         and _GNU_SOURCE.
67831 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67833         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67834         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67835         macro to ensure uniqueness of label name.
67836         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67837         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67839 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67841         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67843         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67845         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67846         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67848 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67850         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67852         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67853         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67854         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67856         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67858         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67859         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67860         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67861         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67863         * math/bits/math-finite.h: Add ldexp support.
67865 2012-01-10  Marek Polacek  <polacek@redhat.com>
67867         * locale/programs/localedef.h (show_archive_content): Add noreturn
67868         attribute.
67870 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67872         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67874 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67876         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67878         * io/Makefile (headers): Add bits/poll2.h.
67880 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67883         typo #include statement.
67885 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67887         * include/sys/cdefs.h: Define __attribute_alloc_size.
67888         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67889         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67890         * elf/pldd.c: Likewise.
67891         * iconv/iconv_charmap.c: Likewise.
67892         * iconv/iconvconfig.c: Likewise.
67893         * iconv/strtab.c: Likewise.
67894         * locale/programs/locale.c: Likewise.
67895         * locale/programs/localedef.h: Likewise.
67896         * locale/programs/simple-hash.c: Likewise.
67897         * nscd/nscd.h: Likewise.
67898         * nss/makedb.c: Likewise.
67899         * sysdeps/generic/ldconfig.h: Likewise.
67900         * locale/programs/localedef.c: Remove xmalloc prototype.
67901         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67903 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67905         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67906         appropriate.
67908 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67910         * math/Makefile (tests): Add tst-CMPLX.
67911         * math/tst-CMPLX.c: New file.
67913         * math/complex.h (CMPLXL): Fix typo.
67915         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67916         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67917         GLIBC_2.16.
67918         * debug/tst-chk1.c: Add poll and ppoll tests.
67919         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67920         * include/sys/poll.h: Add hidden proto for ppoll.
67921         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67922         * sysdeps/mach/hurd/ppoll.c: Likewise.
67923         * io/ppoll.c: Likewise.
67924         * debug/poll_chk.c: New file.
67925         * debug/ppoll_chk.c: New file.
67926         * include/bits/poll2.h: New file.
67927         * io/bits/poll2.h: New file.
67929         [BZ #1350]
67930         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67932         * configure.in: static is always set to yes.  Remove.
67933         * config.make.in: Don't set build-static.
67934         * Makeconfig: Remove use of build-static.
67935         * dlfcn/Makefile: Likewise.
67936         * elf/Makefile: Likewise.
67937         * math/Makefile: Likewise.
67938         * misc/Makefile: Likewise.
67939         * nptl/Makefile: Likewise.
67940         * sysdeps/mach/hurd/Makefile: Likewise.
67942         * configure.in: PWD_P is not used anymore.
67943         * config.make.in: Remove PWD_P entry.
67945         * configure.in: Remove last remnants of RANLIB.
67946         No need to check for signed size_t anymore.
67947         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67948         and IA-64.
67949         Remove __builtin_expect test because we require at least gcc 3.4.
67950         * aclocal.m4: Likewise.
67952         * wcsmbs/mbrtoc16.c: Implement using towc function.
67953         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67954         * wcsmbs/wcsmbsload.c: Likewise.
67955         * iconv/gconv_simple.c: Likewise.
67956         * iconv/gconv_int.h: Likewise.
67957         * iconv/gconv_builtin.h: Likewise.
67958         * iconv/iconv_prog.c: Remove CHAR16 handling.
67960         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67962         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67964         * configure.in: Remove --with-elf and --enable-bounded options.
67965         Dont set base_machine for ia64.  More non-ELF conditions removed.
67966         Remove testing and setting of leading underscore information.
67967         * config.make.in (build-bounded): Set to no.
67968         * config.h.in: Remove NO_UNDERSCORES entry.
67969         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67970         them.
67971         * csu/start.c: Remove !NO_UNDERSCORE code.
67972         * locale/localeinfo.h: Likewise.
67973         * sysdeps/generic/machine-gmon.h: Likewise.
67974         * sysdeps/generic/sysdep.h: Likewise.
67975         * sysdeps/i386/sysdep.h: Likewise.
67976         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67977         * sysdeps/mach/sysdep.h: Likewise.
67978         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67979         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67980         * sysdeps/sh/sysdep.h: Likewise.
67981         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67982         * sysdeps/unix/i386/sysdep.S: Likewise.
67983         * sysdeps/unix/sparc/start.c: Likewise.
67984         * sysdeps/unix/sparc/sysdep.S: Likewise.
67985         * sysdeps/unix/sparc/sysdep.h: Likewise.
67986         * sysdeps/unix/start.c: Likewise.
67987         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67988         * sysdeps/x86_64/sysdep.h: Likewise.
67990 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67992         [BZ #13553]
67993         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67994         for non-gcc.
67995         * argp/argp-fmtstream.h: Use const instead __const.
67996         * argp/argp.h: Likewise.
67997         * assert/assert.h: Likewise.
67998         * bits/fenv.h: Likewise.
67999         * bits/sched.h: Likewise.
68000         * bits/sigset.h: Likewise.
68001         * bits/sigthread.h: Likewise.
68002         * catgets/nl_types.h: Likewise.
68003         * conform/data/pthread.h-data: Likewise.
68004         * crypt/crypt-private.h: Likewise.
68005         * crypt/crypt.h: Likewise.
68006         * crypt/crypt_util.c: Likewise.
68007         * ctype/ctype.h: Likewise.
68008         * debug/execinfo.h: Likewise.
68009         * debug/mbsnrtowcs_chk.c: Likewise.
68010         * debug/mbsrtowcs_chk.c: Likewise.
68011         * debug/wcsnrtombs_chk.c: Likewise.
68012         * debug/wcsrtombs_chk.c: Likewise.
68013         * debug/wcstombs_chk.c: Likewise.
68014         * dirent/dirent.h: Likewise.
68015         * dlfcn/dlfcn.h: Likewise.
68016         * elf/neededtest4.c: Likewise.
68017         * grp/grp.h: Likewise.
68018         * gshadow/gshadow.h: Likewise.
68019         * iconv/gconv.h: Likewise.
68020         * iconv/gconv_int.h: Likewise.
68021         * iconv/gconv_simple.c: Likewise.
68022         * iconv/iconv.h: Likewise.
68023         * iconv/loop.c: Likewise.
68024         * iconv/skeleton.c: Likewise.
68025         * include/aio.h: Likewise.
68026         * include/aliases.h: Likewise.
68027         * include/argz.h: Likewise.
68028         * include/arpa/inet.h: Likewise.
68029         * include/assert.h: Likewise.
68030         * include/dirent.h: Likewise.
68031         * include/dlfcn.h: Likewise.
68032         * include/execinfo.h: Likewise.
68033         * include/fcntl.h: Likewise.
68034         * include/fenv.h: Likewise.
68035         * include/glob.h: Likewise.
68036         * include/grp.h: Likewise.
68037         * include/libintl.h: Likewise.
68038         * include/mntent.h: Likewise.
68039         * include/netdb.h: Likewise.
68040         * include/pwd.h: Likewise.
68041         * include/rpc/netdb.h: Likewise.
68042         * include/sched.h: Likewise.
68043         * include/search.h: Likewise.
68044         * include/shadow.h: Likewise.
68045         * include/signal.h: Likewise.
68046         * include/stdio.h: Likewise.
68047         * include/stdlib.h: Likewise.
68048         * include/string.h: Likewise.
68049         * include/sys/socket.h: Likewise.
68050         * include/sys/stat.h: Likewise.
68051         * include/sys/statfs.h: Likewise.
68052         * include/sys/statvfs.h: Likewise.
68053         * include/sys/syslog.h: Likewise.
68054         * include/sys/time.h: Likewise.
68055         * include/sys/uio.h: Likewise.
68056         * include/time.h: Likewise.
68057         * include/unistd.h: Likewise.
68058         * include/utmp.h: Likewise.
68059         * include/wchar.h: Likewise.
68060         * include/wctype.h: Likewise.
68061         * inet/aliases.h: Likewise.
68062         * inet/arpa/inet.h: Likewise.
68063         * inet/netinet/ether.h: Likewise.
68064         * inet/netinet/in.h: Likewise.
68065         * intl/libintl.h: Likewise.
68066         * io/bits/fcntl2.h: Likewise.
68067         * io/fcntl.h: Likewise.
68068         * io/ftw.h: Likewise.
68069         * io/sys/poll.h: Likewise.
68070         * io/sys/stat.h: Likewise.
68071         * io/sys/statfs.h: Likewise.
68072         * io/sys/statvfs.h: Likewise.
68073         * io/utime.h: Likewise.
68074         * libio/bits/stdio.h: Likewise.
68075         * libio/bits/stdio2.h: Likewise.
68076         * libio/libio.h: Likewise.
68077         * libio/libioP.h: Likewise.
68078         * libio/stdio.h: Likewise.
68079         * locale/lc-ctype.c: Likewise.
68080         * locale/locale.h: Likewise.
68081         * login/utmp.h: Likewise.
68082         * malloc/arena.c: Likewise.
68083         * malloc/malloc.c: Likewise.
68084         * malloc/malloc.h: Likewise.
68085         * malloc/mcheck.c: Likewise.
68086         * malloc/mtrace.c: Likewise.
68087         * math/bits/mathcalls.h: Likewise.
68088         * math/fenv.h: Likewise.
68089         * math/math_private.h: Likewise.
68090         * misc/bits/error.h: Likewise.
68091         * misc/bits/syslog.h: Likewise.
68092         * misc/err.h: Likewise.
68093         * misc/error.h: Likewise.
68094         * misc/fstab.h: Likewise.
68095         * misc/mntent.h: Likewise.
68096         * misc/regexp.h: Likewise.
68097         * misc/search.h: Likewise.
68098         * misc/sgtty.h: Likewise.
68099         * misc/sys/mman.h: Likewise.
68100         * misc/sys/syslog.h: Likewise.
68101         * misc/sys/uio.h: Likewise.
68102         * misc/sys/xattr.h: Likewise.
68103         * misc/ttyent.h: Likewise.
68104         * nis/rpcsvc/ypclnt.h: Likewise.
68105         * nss/nss.h: Likewise.
68106         * posix/bits/unistd.h: Likewise.
68107         * posix/fnmatch.h: Likewise.
68108         * posix/glob.h: Likewise.
68109         * posix/sched.h: Likewise.
68110         * posix/spawn.h: Likewise.
68111         * posix/sys/wait.h: Likewise.
68112         * posix/unistd.h: Likewise.
68113         * posix/wordexp.h: Likewise.
68114         * pwd/pwd.h: Likewise.
68115         * resolv/netdb.h: Likewise.
68116         * resource/sys/resource.h: Likewise.
68117         * rt/aio.h: Likewise.
68118         * rt/bits/mqueue2.h: Likewise.
68119         * rt/mqueue.h: Likewise.
68120         * shadow/shadow.h: Likewise.
68121         * signal/signal.h: Likewise.
68122         * socket/send.c: Likewise.
68123         * socket/sendto.c: Likewise.
68124         * socket/sys/socket.h: Likewise.
68125         * stdio-common/printf.h: Likewise.
68126         * stdlib/bits/stdlib.h: Likewise.
68127         * stdlib/fmtmsg.h: Likewise.
68128         * stdlib/monetary.h: Likewise.
68129         * stdlib/stdlib.h: Likewise.
68130         * stdlib/ucontext.h: Likewise.
68131         * streams/stropts.h: Likewise.
68132         * string/argz.h: Likewise.
68133         * string/bits/string2.h: Likewise.
68134         * string/string.h: Likewise.
68135         * string/strings.h: Likewise.
68136         * sunrpc/rpc/auth.h: Likewise.
68137         * sunrpc/rpc/auth_des.h: Likewise.
68138         * sunrpc/rpc/clnt.h: Likewise.
68139         * sunrpc/rpc/netdb.h: Likewise.
68140         * sunrpc/rpc/pmap_clnt.h: Likewise.
68141         * sunrpc/rpc/xdr.h: Likewise.
68142         * sysdeps/generic/inttypes.h: Likewise.
68143         * sysdeps/generic/net/if.h: Likewise.
68144         * sysdeps/generic/sys/swap.h: Likewise.
68145         * sysdeps/gnu/net/if.h: Likewise.
68146         * sysdeps/gnu/utmpx.h: Likewise.
68147         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68148         * sysdeps/i386/i486/bits/string.h: Likewise.
68149         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68150         * sysdeps/s390/bits/string.h: Likewise.
68151         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68152         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68153         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68154         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68155         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68156         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68157         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68158         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68159         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68160         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68161         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68162         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68163         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68164         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68165         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68166         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68167         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68168         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68169         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68170         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68171         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68172         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68173         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68174         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68175         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68176         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68177         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68179         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68180         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68181         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68182         * sysvipc/sys/ipc.h: Likewise.
68183         * sysvipc/sys/msg.h: Likewise.
68184         * sysvipc/sys/sem.h: Likewise.
68185         * sysvipc/sys/shm.h: Likewise.
68186         * termios/termios.h: Likewise.
68187         * time/sys/time.h: Likewise.
68188         * time/time.h: Likewise.
68189         * wcsmbs/bits/wchar2.h: Likewise.
68190         * wcsmbs/uchar.h: Likewise.
68191         * wcsmbs/wchar.h: Likewise.
68192         * wctype/wctype.h: Likewise.
68194         [BZ #13551]
68195         * Makeconfig: Remove all but ELF support including AIX support.
68196         * Makerules: Likewise.
68197         * config.h.in: Likewise.
68198         * config.make.in: Likewise.
68199         * configure: Likewise.
68200         * configure.in: Likewise.
68201         * csu/Makefile: Likewise.
68202         * csu/version.c: Likewise.
68203         * debug/Makefile: Likewise.
68204         * dlfcn/Makefile: Likewise.
68205         * elf/Makefile: Likewise.
68206         * extra-lib.mk: Likewise.
68207         * iconv/Makefile: Likewise.
68208         * include/libc-symbols.h: Likewise.
68209         * include/shlib-compat.h: Likewise.
68210         * resolv/Makefile: Likewise.
68211         * resolv/res_libc.c: Likewise.
68212         * rt/Makefile: Likewise.
68213         * sysdeps/i386/asm-syntax.h: Likewise.
68214         * sysdeps/i386/sysdep.h: Likewise.
68215         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68216         * sysdeps/mach/sysdep.h: Likewise.
68217         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68218         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68219         * sysdeps/s390/asm-syntax.h: Likewise.
68220         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68221         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68222         * sysdeps/sh/sysdep.h: Likewise.
68223         * sysdeps/unix/sparc/sysdep.h: Likewise.
68224         * sysdeps/wordsize-32/divdi3.c: Likewise.
68225         * sysdeps/x86_64/sysdep.h: Likewise.
68227         * argp/Versions: Remove _argp_unlock_xxx.
68229         [BZ #13559]
68230         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68231         * abilist/libBrokenLocale.abilist: Likewise.
68232         * abilist/libanl.abilist: Likewise.
68233         * abilist/libc.abilist: Likewise.
68234         * abilist/libcrypt.abilist: Likewise.
68235         * abilist/libdl.abilist: Likewise.
68236         * abilist/libm.abilist: Likewise.
68237         * abilist/libnsl.abilist: Likewise.
68238         * abilist/libpthread.abilist: Likewise.
68239         * abilist/libresolv.abilist: Likewise.
68240         * abilist/librt.abilist: Likewise.
68241         * abilist/libthread_db.abilist: Likewise.
68242         * abilist/libutil.abilist: Likewise.
68243         * abilist/libnss_db.abilist: New file.
68245         * scripts/abilist.awk: Add support for indirect functions.
68247         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68249         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68251         * shlib-versions: Remove entries for ports architectures.
68253         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68254         files in ports.
68255         * elf/stackguard-macros.h: Remove support for IA-64.
68256         * elf/tst-auditmod1.c: Likewise.
68257         * sysdeps/generic/ldsodefs.h: Likewise.
68259         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68260         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68261         configure files.
68263         [BZ #13552]
68264         * configure.in: Remove --enable-omitfp support.
68265         * FAQ.in: Adjust.
68266         * config.make.in: Likewise.
68267         * Makeconfig: Likewise.
68268         * manual/install.texi: Likewise.
68270         In case anyone cares, the IA-64 architecture could move to ports.
68271         * sysdeps/ia64/*: Removed.
68272         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68273         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68275         [BZ #13555]
68276         * configure.in: Remove entries for unsupported architectures.
68278         [BZ #13533]
68279         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68280         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68281         routines.
68282         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68283         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68284         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68285         fall back to using wcrtomb.
68286         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68287         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68288         renaming.
68289         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68290         * wcsmbs/tst-c16c32-1.c: New file.
68292         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68293         local variable.
68295         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68297         * elf/tst-unique3.cc: Add explicit declaration of gets.
68298         * elf/tst-unique3lib.cc: Likewise.
68299         * elf/tst-unique3lib2.cc: Likewise.
68300         * elf/tst-unique4.cc: Likewise.
68302         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68304 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68306         [BZ #13566]
68307         * assert/assert.h (static_assert): Don't define for C++.
68308         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68309         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68311 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68313         * iconv/loop.c (single loop): Fix assertion in storing of
68314         remaining bytes.
68316         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68318 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68320         * posix/getconf.c: Update copyright year.
68321         * nss/getent.c: Likewise.
68322         * nss/makedb.c: Likewise.
68323         * iconv/iconvconfig.c: Likewise.
68324         * iconv/iconv_prog.c: Likewise.
68325         * elf/ldconfig.c: Likewise.
68326         * elf/pldd.c: Likewise.
68327         * elf/sotruss.ksh: Likewise.
68328         * catgets/gencat.c: Likewise.
68329         * csu/version.c: Likewise.
68330         * elf/ldd.bash.in: Likewise.
68331         * elf/sprof.c (print_version): Likewise.
68332         * locale/programs/locale.c: Likewise.
68333         * locale/programs/localedef.c: Likewise.
68334         * login/programs/pt_chown.c: Likewise.
68335         * nscd/nscd.c (print_version): Likewise.
68336         * debug/xtrace.sh: Likewise.
68337         * malloc/memusage.sh: Likewise.
68338         * malloc/mtrace.pl: Likewise.
68339         * debug/catchsegv.sh: Likewise.
68341 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68343         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68344         pure attribute.
68346 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68348         [BZ #13533]
68349         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68350         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68351         transformations.
68352         * iconv/gconv_int.h: Likewise.
68353         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68354         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68355         from libc for GLIBC_2.16.
68356         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68357         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68358         * wcsmbs/uchar.h: Really define mbstate_t.
68359         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68360         * wcsmbs/c16rtomb.c: New file.
68361         * wcsmbs/mbrtoc16.c: New file.
68362         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68363         for C/POSIX locale.
68364         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68365         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68367         * wcsmbs/wchar.h: Add missing __restrict.
68369 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68371         [BZ #13532]
68372         * time/Makefile (routines): Add timespec_get.
68373         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68374         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68375         timespec for ISO C11.
68376         * time/timespec_get.c: New file.
68377         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68378         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68380         [BZ #13531]
68381         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68382         * stdlib/stdlib.h: Declare aligned_alloc.
68383         * Versions.def: Add GLIBC_2.16 for libc.
68384         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68386         [BZ 13527]
68387         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68388         ISO C11.
68390         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68391         code.
68393         [BZ #13528]
68394         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68396         [BZ #13529]
68397         * assert/assert.h (static_assert): Define.
68399         * version.h: Update for 2.16 development version.
68401         [BZ #13526]
68402         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68403         _ISOC11_SOURCE.
68405         * version.h (RELEASE): Bump for 2.15 release.
68406         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68408         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68409         Patch by Marek Polacek <mpolacek@redhat.com>.
68411         * bits/byteswap.h: Protect long long constants with __extension__.
68412         * sysdeps/i386/bits/byteswap.h: Likewise.
68413         * sysdeps/ia64/bits/byteswap.h: Likewise.
68414         * sysdeps/s390/bits/byteswap.h: Likewise.
68415         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68417 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68419         [BZ #13540]
68420         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68421         destination buffer.
68422         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68424 2011-12-23  Marek Polacek  <polacek@redhat.com>
68426         * elf/dl-addr.c (determine_info): Add inline keyword.
68427         * elf/tst-auditmod4b.c (check_avx): Likewise.
68428         * elf/tst-auditmod6b.c (check_avx): Likewise.
68429         * elf/tst-auditmod6c.c (check_avx): Likewise.
68430         * elf/tst-auditmod7b.c (check_avx): Likewise.
68432 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68434         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68435         !__SSE_MATH__.
68437 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68439         [BZ #13540]
68440         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68441         processing for last bytes.
68443 2011-08-06  Bruno Haible  <bruno@clisp.org>
68445         [BZ #13061]
68446         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68447         U+0385, not to U+1FEE.
68449         [BZ #13062]
68450         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68451         entry for U+00A5 U+0301.
68453 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68455         [BZ #13166]
68456         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68457         buffer for the output is too small.
68459         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68460         optimization.
68462         [BZ #13185]
68463         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68464         SSE flags if possible.
68466 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68468         [BZ #13540]
68469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68470         processing for last bytes.
68472 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68474         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68475         (syscall-list-default-options, syscall-list-default-condition)
68476         (syscall-list-includes): Define.
68477         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68478         list of ABIs and options and #if conditions for each ABI.  Do not
68479         handle common syscalls between ABIs specially.
68480         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68481         Remove.
68482         (syscall-list-variants, syscall-list-32bit-options)
68483         (syscall-list-32bit-condition, syscall-list-64bit-options)
68484         (syscall-list-64bit-condition): Define.
68485         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68486         (syscall-list-variants, syscall-list-32bit-options)
68487         (syscall-list-32bit-condition, syscall-list-64bit-options)
68488         (syscall-list-64bit-condition): Define.
68489         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68490         Remove.
68491         (syscall-list-variants, syscall-list-32bit-options)
68492         (syscall-list-32bit-condition, syscall-list-64bit-options)
68493         (syscall-list-64bit-condition): Define.
68494         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68495         Remove.
68496         (syscall-list-variants, syscall-list-32bit-options)
68497         (syscall-list-32bit-condition, syscall-list-64bit-options)
68498         (syscall-list-64bit-condition): Define.
68500 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68502         * locale/iso-639.def: Add brx entry.
68504         [BZ #13328]
68505         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68506         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68508         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68509         __feraiseexcept_renamed.
68511 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68513         [BZ #13538]
68514         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68515         EPOLLET with unsigned values.
68516         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68517         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68519         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68520         to large cancellation.
68521         * math/s_cacoshf.c: Likewise.
68522         * math/s_cacoshl.c: Likewise.
68524 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68526         [BZ #13305]
68527         [BZ #12786]
68528         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68529         * math/s_cacoshf.c: Likewise.
68530         * math/s_cacoshl.c: Likewise.
68532 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68534         [BZ #13439]
68535         * iconv/gconv.h: Define __GCONV_SWAP.
68536         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68537         * iconvdata/utf-16.c: Likewise.
68538         * iconvdata/utf-32.c: Likewise.
68540 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68542         [BZ #13524]
68543         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68544         numerator after shifting it by one limb.
68546 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68548         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68549         under [__USE_EXTERN_INLINES].
68551 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68553         [BZ #13446]
68554         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68556 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68558         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68559         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68560         optimized code.
68561         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68562         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68563         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68564         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68565         for strncasecmp/strncasecmp_l compilation.
68566         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68567         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68569 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68571         [BZ #13484]
68572         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68573         of __asm__.
68575 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68577         [BZ #13506]
68578         * time/tzfile.c (__tzfile_read): Check values from file header.
68580 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68582         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68583         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68584         * powerpc/powerpc32/dl-start.S: Likewise.
68585         * powerpc/powerpc32/elf/start.S: Likewise.
68586         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68587         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68588         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68589         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68590         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68591         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68592         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68593         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68594         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68595         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68596         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68597         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68598         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68599         * powerpc/powerpc32/memset.S: Likewise.
68600         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68601         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68602         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68603         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68604         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68605         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68606         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68607         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68608         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68609         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68610         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68611         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68612         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68614 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68616         * math/libm-test.inc: Added more nearbyint tests.
68617         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68618         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68619         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68620         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68622 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68624         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68625         FD_CLOEXEC.
68627 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68629         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68630         Add wcscpy-ssse3 wcscpy-c.
68631         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68632         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68633         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68634         * sysdeps/x86_64/wcschr.S: New file.
68635         * sysdeps/x86_64/wcsrchr.S: New file.
68636         * string/test-strcmp.c: Remove checking of wcscmp function for
68637         wrong alignments.
68638         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68639         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68640         wcsrchr-sse2 wcsrchr-c.
68641         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68642         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68643         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68644         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68645         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68646         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68647         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68648         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68649         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68650         * wcsmbc/wcschr.c (WCSCHR): New macro.
68652 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68654         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68655         * wcsmbs/test-wcsrchr.c: New file.
68656         * string/test-strrchr.c: Add wcsrchr support.
68657         (WIDE): New macro.
68658         * wcsmbs/test-wcscpy.c: New file.
68659         * string/test-strcpy.c: Add wcscpy support.
68660         (WIDE): New macro.
68662 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68664         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68665         the inner loop.
68667 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68669         [BZ #13472]
68670         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68672 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68674         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68675         Minor optimizations.
68677         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68678         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68679         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68681 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68683         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68684         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68685         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68686         for gcc to avoid warnings.
68687         * inet/Makefile (tests): Add tst-checks.
68688         * inet/tst-checks.c: New file.
68690         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68691         warning.
68693         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68694         __wmemcmp_sse2.
68696         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68697         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68699         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68701 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68703         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68704         problem.
68706         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68708 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68710         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68711         conditional on GCC version.
68712         (__arch_compare_and_exchange_val_8_acq)
68713         (__arch_compare_and_exchange_val_16_acq)
68714         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68715         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68716         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68718 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68720         * sysdeps/sh/backtrace.c: New file.
68722 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68724         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68725         parenthesis.
68727 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68729         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68730         falling back to utime.
68732 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68734         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68735         expectations for float.
68737 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68739         * locale/weight.h (findidx): Add parameter len.
68740         * locale/weightwc.h (findidx): Likewise.
68741         * posix/fnmatch_loop.c (FCT): Adjust caller.
68742         * posix/regcomp.c (build_equiv_class): Likewise.
68743         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68744         * posix/regexec.c (check_node_accept_bytes): Likewise.
68745         * string/strcoll_l.c (STRCOLL): Likewise.
68746         * string/strxfrm_l.c (STRXFRM): Likewise.
68748 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68750         * Makefile.in: Remove CVSOPT handling.
68751         * configure.in: Remove use of AC_REVISION.
68752         * iconvdata/Makefile (distribute): No need to filter out CVS.
68753         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68754         handling.
68756 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68759         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68760         [USE_AS_STRNCASECMP_L]: Likewise.
68761         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68762         NO_TLS_DIRECT_SEG_REFS.
68763         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68764         Fix argument offsets for non-PIC.
68765         [USE_AS_STRNCASECMP_L]: Likewise.
68766         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68767         NO_TLS_DIRECT_SEG_REFS.
68769 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68771         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68772         O_CLOEXEC.
68773         * locale/loadlocale.c (_nl_load_locale): Likewise.
68775 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68777         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68778         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68779         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68780         (SYSCALL_GETTIME): Set errno on error.
68782         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68783         count references to noai6ai_cached.
68785 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68787         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68789         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68790         FD_CLOEXEC for /proc/self/maps.
68792         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68793         FD_CLOEXEC for /proc/meminfo.
68795         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68796         gai.conf.
68798         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68799         FD_CLOEXEC for given file.
68801         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68803         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68804         FD_CLOEXEC for /etc/hosts.
68805         (_gethtent): Likewise.
68807         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68809         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68810         cancellation and set FD_CLOEXEC for /etc/netgroup.
68812         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68813         reading /etc/publickey.
68815         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68816         allow cancellation when reading /etc/group.
68818         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68819         cancellation.
68820         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68822         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68823         when using data file.
68825         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68827         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68828         (write_nis_obj): Use "c" and "e" in fopen.
68830         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68832         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68834         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68836         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68838         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68839         locale.alias.
68841         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68843         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68845         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68847         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68848         file parsing and set FD_CLOEXEC.
68850 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68852         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68854 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68856         * malloc/arena.c (arena_get2): Don't call reused_arena when
68857         _int_new_arena failed.
68859 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68861         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68862         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68863         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68864         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68865         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68866         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68867         to compile strcasecmp and strncasecmp.
68868         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68869         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68871         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68873 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68875         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68876         locale-defines.sym to gen-as-const-headers.
68877         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68878         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68880         to compile strcasecmp and strncasecmp.
68881         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68882         strcasecmp_l and strncasecmp_l.
68883         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68884         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68885         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68886         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68887         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68888         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68889         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68890         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68891         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68892         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68893         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68895 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68897         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68898         result of SYSDEP_GETTIME_CPU to retval.
68899         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68900         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68902         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68903         variable.
68905         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68906         mantissa words.
68907         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68909         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68910         from unused variable.
68912         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68913         DWARF definitions.
68914         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68915         for assembling.
68917         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68918         over namespaces.
68920         * sunrpc/rpc_prot.c (rejected): Fix case value.
68922         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68923         unsigned long long int to avoid warnings in shift.
68925         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68926         of use of trans.
68927         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68928         variable tmp.
68930         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68931         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68932         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68934         * nis/nis_table.c (nis_list): Use variable of correct type for
68935         result of __follow_path call.
68937 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68939         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68940         of math functions ceil, trunc, floor, round, and sqrt, when
68941         avaliable on the platform.
68942         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68943         name clash.
68944         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68945         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68946         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68948 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68950         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68951         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68953 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68955         * include/unistd.h: Fix __readlink return type.
68956         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68958 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68960         * stdlib/ucontext.h: Undo last change for makecontext.
68962 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68964         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68966         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68967         * setjmp/setjmp.h: Mark functions as non-leaf.
68968         * setjmp/bits/setjmp2.h: Likewise.
68969         * stdlib/ucontext.h: Likewise.
68971 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68973         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68974         (reused_arena): Don't check arena limit.
68975         (arena_get2): Atomically check arena limit.
68977 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68979         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68980         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68982         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68983         instructions.
68985 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68987         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68988         handler when locking.
68990         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68991         Fix size of allocated buffer.
68993 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68995         [BZ #10103]
68996         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68997         declarations for long double functions.
68998         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69000         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69002 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69004         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69005         installed.
69007         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69008         is disabled.
69010 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69012         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69014 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69016         * include/alloca.h (stackinfo_alloca_round): Define.
69017         (extend_alloca): Use it.
69018         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69019         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69020         here.
69022         * scripts/check-local-headers.sh: Ignore libaudit.h.
69024         * nscd/Makefile (extra-objs): Make recursively expanded.
69026 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69028         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69029         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69031         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69032         * posix/tst-rfc3484-2.c: Likewise.
69033         * posix/tst-rfc3484-3.c: Likewise.
69035         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69036         process_vm_writev.
69037         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69038         process_vm_writev.
69039         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69040         process_vm_writev from libc using GLIBC_2.15 version.
69042         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69044 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69046         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69047         stack usage.
69049 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69051         [BZ #13367]
69052         * nss/getent.c (initgroups_keys): Show error message in case no group
69053         names are given.
69055         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69056         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69057         __bump_nl_timestamp.
69058         * nscd/connections (nscd_init): When host database is served open
69059         netlink socket and request notification about configuration changes.
69060         (main_loop_poll): Track netlink file descriptor and bump timestamp
69061         in case data becomes available.
69062         (main_loop_epoll): Likewise.
69063         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69064         (database_pers_head): Add extra_data fileds.
69065         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69066         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69067         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69068         Adjust caller.
69069         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69070         in6ai data, call __free_in6ai.
69071         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69072         Add -DHAVE_NETLINK.
69073         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69074         interface information.  Reuse previous data if netlink timestamp
69075         is not changed.
69076         (__bump_nl_timestamp): New function.
69077         (__free_in6ai): New function.
69079 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69081         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69082         close_not_cancel_no_status here.
69083         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69085 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69087         [BZ #13276]
69088         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69089         return value.
69091         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69092         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69093         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69095 2011-07-03  Andreas Jaeger  <aj@suse.de>
69097         [BZ #10709]
69098         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69099         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69100         * math/libm-test.inc (sin_test): Add test case.
69102 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69104         [BZ #13337]
69105         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69106         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69108         * elf/chroot_canon.c (chroot_canon): Cleanups.
69110         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69112         [BZ #13335]
69113         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69114         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69116         * string/test-strchr.c: Make usable for strchrnul testing.
69117         * string/test-strchrnul.c: New file.
69118         * string/Makefile (strop-tests): Add strchrnul.
69120         * po/it.po: Update from translation team.
69121         * po/es.po: Likewise.
69123 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69126         the three constants needed as parameters.  Drop the others.
69127         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69128         __m128i_strloadu_tolower.
69129         Create and initialize variable zero and use it in all the places
69130         where _mm_setzero_si128 was used.
69132         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69133         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69134         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69135         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69136         anymore.
69137         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69138         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69139         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69140         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69141         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69142         __mpranred, __mptan.
69143         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69144         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69145         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69146         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69147         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69148         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69149         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69150         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69151         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69153 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69155         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69156         redefine if SHARED.
69157         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69159         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69160         wide char related routines to wcsmbs subdir.
69162 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69164         [BZ #13344]
69165         * misc/sys/cdefs.h (__THROWNL): Define.
69166         * posix/unistd.h: Use __THREADNL instead of __THREAD
69167         for memory synchronization functions.
69169 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69171         [BZ #13349]
69172         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69173         doesn't exist.
69174         * manual/stdio.texi (Obstack Streams): Node removed.
69176 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69178         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69179         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69180         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69182         * math/math_private.h (math_force_eval): Allow non-addressable
69183         arguments.
69184         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69186 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69188         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69189         file is not needed.
69191         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69192         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69193         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69194         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69195         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69197         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69198         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69199         Add AVX variants.
69200         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69201         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69202         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69203         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69204         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69205         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69206         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69207         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69208         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69209         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69210         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69211         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69212         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69213         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69214         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69215         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69216         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69217         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69218         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69220         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69221         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69223         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69224         place.  Use VEX encoding when compiling for AVX.
69226 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69228         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69229         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69231         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69233 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69235         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69236         useless if() expression.
69237         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69238         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69239         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69240         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69241         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69242         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69243         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69245         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69246         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69247         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69248         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69249         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69250         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69251         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69252         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69253         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69254         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69255         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69257         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69259 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69261         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69262         condition.
69263         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69265 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69267         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69268         .text section.  Avoid duplicate constants.
69269         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69270         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69271         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69272         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69274         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69275         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69276         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69277         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69278         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69279         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69280         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69281         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69282         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69283         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69284         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69285         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69286         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69287         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69288         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69289         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69290         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69291         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69292         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69293         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69294         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69295         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69296         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69297         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69298         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69299         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69300         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69301         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69302         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69303         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69304         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69305         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69306         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69307         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69308         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69309         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69310         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69311         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69312         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69313         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69315 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69317         * sysdeps/x86_64/dla.h: Move to ...
69318         * sysdeps/x86_64/fpu/dla.h: ...here.
69319         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69320         situations.  Use __builtin_fma only for gcc 4.6 and up.
69322         * config.make.in: Add have-mfma4 entry.
69323         * configure.in: Substitute libc_cv_cc_fma4.
69324         * math/Makefile (dbl-only-routines): Add sincostab.
69325         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69326         Use __sincostab not sincos.
69327         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69328         name is a macro.
69329         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69330         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69331         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69332         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69333         using __copysign.
69334         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69335         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69336         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69337         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69338         and __inv.
69339         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69340         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69341         __copysign.
69342         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69343         define aliases when function name is a macro.
69344         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69345         sysdeps/ieee754/dbl-64/sincos.tbl.
69346         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69347         fma4-enabled routines.
69348         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69349         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69350         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69351         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69352         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69353         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69354         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69355         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69356         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69357         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69358         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69359         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69360         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69361         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69362         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69363         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69364         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69365         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69366         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69367         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69368         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69369         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69370         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69371         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69372         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69373         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69374         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69375         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69376         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69377         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69379         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69380         rename.
69381         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69382         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69383         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69384         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69385         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69386         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69387         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69390 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69392         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69394 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69396         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69398         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69399         prediction.
69400         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69402         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69403         Remove unused variable magic_bits.
69404         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69406         * string/strnlen.c: Define and use STRNLEN macro.
69407         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69408         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69409         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69410         * wcsmbs/wcslen.c: Define and use WCSLEN.
69411         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69412         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69413         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69414         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69415         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69416         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69417         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69419 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69421         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69422         strnlen-sse2-no-bsf.
69423         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69424         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69425         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69426         Add strnlen support.
69427         (USE_AS_STRNLEN): New macro.
69428         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69429         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69430         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69431         * sysdeps/x86_64/wcslen.S: New file.
69433 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69435         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69436         XMM-moves are used for copying on small sizes.
69438 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69440         * wcsmbs/Makefile (strop-tests): Add wcschr.
69441         * wcsmbs/test-wcschr.c: New file.
69442         * string/test-strchr.c: Update.
69443         Add wcschr support.
69444         (WIDE): New macro.
69446 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69448         * wcsmbs/Makefile (strop-tests): Add wcslen.
69449         * wcsmbs/test-wcslen.c: New file.
69450         * string/test-strlen.c: Update.
69451         Add wcslen support.
69452         (WIDE): New macro.
69454 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69456         * po/it.po: Update from translation team.
69458 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69460         * sysdeps/x86_64/wcscmp.S: Update.
69461         Fix wrong comparison semantics.
69462         wcscmp shall use signed comparison not unsigned.
69463         Don't use substraction to avoid overflow bug.
69464         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69465         * wcsmbc/wcscmp.c: Likewise.
69466         * string/test-strcmp.c: Likewise.
69467         Add new tests to check cases with negative values.
69469 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69471         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69472         * sysdeps/x86_64/dla.h: ...here.  New file.
69473         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69474         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69475         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69476         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69477         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69478         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69479         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69480         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69481         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69483 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69486         __ynl_finite aliases.
69488 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69492         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69493         define DLA_FMA.
69494         [DLA_FMA] (EMULV): Use DLA_FMA.
69495         [DLA_FMA] (MUL12): Use EMULV.
69496         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69497         that are not needed.
69498         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69499         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69500         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69502         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69503         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69504         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69506 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69508         * math/s_nan.c: Undef __nan.
69509         * math/s_nanf.c: Undef __nanf.
69510         * math/s_nanl.c: Undef __nanl.
69511         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69512         "math_private.h".
69514 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69516         * math/s_catan.c: Add branch predictions.
69517         * math/s_catanf.c: Likewise.
69518         * math/s_catanh.c: Likewise.
69519         * math/s_catanhf.c: Likewise.
69520         * math/s_catanhl.c: Likewise.
69521         * math/s_catanl.c: Likewise.
69522         * math/s_cexp.c: Likewise.
69523         * math/s_cexpf.c: Likewise.
69524         * math/s_cexpl.c: Likewise.
69525         * math/s_clog.c: Likewise.
69526         * math/s_clog10.c: Likewise.
69527         * math/s_clog10f.c: Likewise.
69528         * math/s_clog10l.c: Likewise.
69529         * math/s_clogf.c: Likewise.
69530         * math/s_clogl.c: Likewise.
69531         * math/s_csqrt.c: Likewise.
69532         * math/s_csqrtf.c: Likewise.
69533         * math/s_csqrtl.c: Likewise.
69534         * math/s_ctanf.c: Likewise.
69535         * math/s_ctanh.c: Likewise.
69536         * math/s_ctanhf.c: Likewise.
69537         * math/s_ctanhl.c: Likewise.
69538         * math/s_ctanl.c: Likewise.
69540         * math/math_private.h: Define __nan, __nanf, __nanl.
69541         * math/s_cacosh.c: Include <math_private.h>.
69542         * math/s_cacoshl.c: Likewise.
69543         * math/s_casinh.c: Likewise.
69544         * math/s_casinhf.c: Likewise.
69545         * math/s_casinhl.c: Likewise.
69546         * math/s_ccos.c: Rely entire on ccosh.
69547         * math/s_ccosf.c: Rely entire on ccoshf.
69548         * math/s_ccosl.c: Rely entirely on ccoshl.
69549         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69550         Remove tests for FE_INVALID.
69551         * math/s_ccoshf.c: Likewise.
69552         * math/s_ccoshl.c: Likewise.
69553         * math/s_csin.c: Likewise.
69554         * math/s_csinf.c: Likewise.
69555         * math/s_csinh.c Likewise.
69556         * math/s_csinhf.c: Likewise.
69557         * math/s_csinhl.c: Likewise.
69558         * math/s_csinl.c: Likewise.
69559         * math/s_ctan.c: Likewise.
69560         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69561         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69562         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69564 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69566         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69567         compilation problems.
69569         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69570         __builtin_expect.
69572 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69574         * sysdeps/i386/configure.in: Test for -mfma4 option.
69575         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69576         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69577         COMMON_CPUID_INDEX_80000001.
69578         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69579         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69580         use it if FMA3 is not supported.
69581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69583         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69584         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69586 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69588         [BZ #12892]
69589         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69590         it would create a cycle with a link time dependency.
69592 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69594         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69595         instruction.
69596         * string/Makefile (strop-tests): Add rawmemchr.
69597         * string/test-rawmemchr.c: New file.
69599         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69600         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69601         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69602         when compiling str{,n}casecmp and when AVX is available.  Hook up
69603         new optimized code in initializers.
69605 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69607         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69608         __feraiseexcept instead of feraiseexcept.
69610 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69612         * math/math_private.h: Define defaults for libc_fetestexcept and
69613         libc_feupdateenv.
69614         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69615         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69616         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69617         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69618         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69619         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69620         libc_fetestexcept and libc_feupdateenv.
69622         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69623         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69624         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69625         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69626         libc_feholdexcept_setround.
69628         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69629         Add s_nearbyint-c and s_nearbyintf-c.
69630         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69631         nearbyintf inlines.
69632         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69633         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69634         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69635         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69637         * math/math_private.h: Define defaults for libc_fegetround,
69638         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69639         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69640         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69641         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69642         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69643         standard functions.
69644         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69645         Remove comments and hacks for old compiler versions.
69646         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69647         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69648         libc_feholdexceptl.
69650 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69652         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69653         (__feraiseexcept_renamed): Add __NTH.
69654         (feraiseexcept): Add __NTH.  Rename local variables to fix
69655         namespace violations.
69657 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69661         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69663         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69664         recently added interfaces.
69665         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69667         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69668         about macro parameter expansion.
69670         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69671         __NO_MATH_INLINES is defined.  Cleanups.
69673         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69674         and __floorf is target has SSE4.1.
69675         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69676         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69677         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69678         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69680         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69681         name.
69682         (floorf): Likewise.
69684         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69686 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69688         * misc/sys/cdefs.h: Fix last change.
69690         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69691         database lookup.
69693 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69695         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69697         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69698         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69699         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69700         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69701         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69702         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69703         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69704         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69705         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69706         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69707         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69708         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69709         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69710         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69711         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69712         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69713         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69714         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69715         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69716         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69717         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69718         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69720         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69721         ceil, ceilf, floor, floorf.
69723         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69724         Perform IRELATIVE relocations last.
69726         * elf/do-rel.h: Add another parameter nrelative, replacing the
69727         local variable with the same name.  Change name of the function
69728         to end in Rel or Rela (uppercase).
69729         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69730         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69731         elf_dynamic_do_##reloc function.
69733 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69735         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69736         is sufficient, at least on modern CPUs.
69738         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69740         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69741         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69743         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69744         __expl_finite.
69745         * math/bits/math-finite.h: Add entries for exp.
69746         * math/e_expl.c: Add __*_finite alias.
69747         * sysdeps/i386/fpu/e_exp.S: Likewise.
69748         * sysdeps/i386/fpu/e_expf.S: Likewise.
69749         * sysdeps/i386/fpu/e_expl.c: Likewise.
69750         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69751         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69752         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69754         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69755         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69756         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69758         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69759         is sufficient, at least on modern CPUs.
69761         * ctype/ctype-info.c (__ctype_init): Define.
69762         * include/ctype.h (__ctype_init): Declare.
69763         (__ctype_b_loc): The variable is always initialized.
69764         (__ctype_toupper_loc): Likewise.
69765         (__ctype_tolower_loc): Likewise.
69766         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69767         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69769 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69771         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69773         * configure.in: Also look in $cxxmachine/include for C++ system
69774         headers.
69776 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69778         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69779         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69780         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69781         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69782         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69783         (USE_AS_WMEMCMP): New macro.
69784         Fixing indents.
69785         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69786         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69787         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69788         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69789         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69790         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69791         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69792         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69793         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69794         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69795         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69796         (USE_AS_WMEMCMP): New macro.
69797         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69798         * sysdeps/string/test-memcmp.c: Update.
69799         Fix simple_wmemcmp.
69800         Add new tests.
69801         * wcsmbs/wmemcmp.c: Update.
69802         (WMEMCMP): New macro.
69803         Fix overflow bug.
69805 2011-10-12  Andreas Jaeger  <aj@suse.de>
69807         [BZ #13268]
69808         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69810 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69812         * libio/iofwide.c (do_length): Avoid warning.
69814         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69816 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69818         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69820         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69821         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69822         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69823         * sysdeps/i386/i686/fpu/e_log.S: New file.
69824         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69825         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69827         * ctype/ctype.h: Add support for inlined isXXX functions when
69828         compiling C++ code.
69830 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69832         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69834         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69836 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69838         [BZ #13291]
69839         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69841 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69843         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69844         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69845         feraiseexcept.
69847         * sysdeps/x86_64/memrchr.S: Check for zero size.
69849         * string/stratcliff.c: Add memrchr tests.
69851 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69853         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69854         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69855         rawmemchr-sse2 rawmemchr-sse2-bsf.
69856         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69857         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69858         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69859         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69860         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69861         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69862         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69863         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69864         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69865         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69866         * string/memrchr.c (MEMRCHR): New macro.
69868 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69870         Add integration with gcc's -ffinite-math-only and optimize wrapper
69871         functions in libm.
69872         * Versions.def: Define GLIBC_2.15 version for libm.
69873         * math/Makefile (headers): Add bits/math-finite.h.
69874         * math/bits/math-finite.h: New file.
69875         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69876         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69877         * math/e_acoshl.c: Add __*_finite alias.
69878         * math/e_acosl.c: Likewise.
69879         * math/e_asinl.c: Likewise.
69880         * math/e_atan2l.c: Likewise.
69881         * math/e_atanhl.c: Likewise.
69882         * math/e_coshl.c: Likewise.
69883         * math/e_exp10.c: Likewise.
69884         * math/e_exp10f.c: Likewise.
69885         * math/e_exp10l.c: Likewise.
69886         * math/e_exp2l.c: Likewise.
69887         * math/e_fmodl.c: Likewise.
69888         * math/e_gammal_r.c: Likewise.
69889         * math/e_hypotl.c: Likewise.
69890         * math/e_j0l.c: Likewise.
69891         * math/e_j1l.c: Likewise.
69892         * math/e_jnl.c: Likewise.
69893         * math/e_lgammal_r.c: Likewise.
69894         * math/e_log10l.c: Likewise.
69895         * math/e_log2l.c: Likewise.
69896         * math/e_logl.c: Likewise.
69897         * math/e_powl.c: Likewise.
69898         * math/e_sinhl.c: Likewise.
69899         * math/e_sqrtl.c: Likewise.
69900         * math/e_scalb.c: Completely rewritten and optimized.
69901         * math/e_scalbf.c: Likewise.
69902         * math/e_scalbl.c: Likewise.
69903         * math/w_acos.c: Likewise.
69904         * math/w_acosf.c: Likewise.
69905         * math/w_acosl.c: Likewise.
69906         * math/w_acosh.c: Likewise.
69907         * math/w_acoshf.c: Likewise.
69908         * math/w_acoshl.c: Likewise.
69909         * math/w_asin.c: Likewise.
69910         * math/w_asinf.c: Likewise.
69911         * math/w_asinl.c: Likewise.
69912         * math/w_atan2.c: Likewise.
69913         * math/w_atan2f.c: Likewise.
69914         * math/w_atan2l.c: Likewise.
69915         * math/w_atanh.c: Likewise.
69916         * math/w_atanhf.c: Likewise.
69917         * math/w_atanhl.c: Likewise.
69918         * math/w_exp10.c: Likewise.
69919         * math/w_exp10f.c: Likewise.
69920         * math/w_exp10l.c: Likewise.
69921         * math/w_fmod.c: Likewise.
69922         * math/w_fmodf.c: Likewise.
69923         * math/w_fmodl.c: Likewise.
69924         * math/w_j0.c: Likewise.
69925         * math/w_j0f.c: Likewise.
69926         * math/w_j0l.c: Likewise.
69927         * math/w_j1.c: Likewise.
69928         * math/w_j1f.c: Likewise.
69929         * math/w_j1l.c: Likewise.
69930         * math/w_jn.c: Likewise.
69931         * math/w_jnf.c: Likewise.
69932         * math/w_log.c: Likewise.
69933         * math/w_logf.c: Likewise.
69934         * math/w_logl.c: Likewise.
69935         * math/w_log10.c: Likewise.
69936         * math/w_log10f.c: Likewise.
69937         * math/w_log10l.c: Likewise.
69938         * math/w_log2.c: Likewise.
69939         * math/w_log2f.c: Likewise.
69940         * math/w_log2l.c: Likewise.
69941         * math/w_pow.c: Likewise.
69942         * math/w_powf.c: Likewise.
69943         * math/w_powl.c: Likewise.
69944         * math/w_remainder.c: Likewise.
69945         * math/w_remainderf.c: Likewise.
69946         * math/w_remainderl.c: Likewise.
69947         * math/w_scalb.c: Likewise.
69948         * math/w_scalbf.c: Likewise.
69949         * math/w_scalbl.c: Likewise.
69950         * math/w_sqrt.c: Likewise.
69951         * math/w_sqrtf.c: Likewise.
69952         * math/w_sqrtl.c: Likewise.
69953         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69954         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69955         used.
69956         * math/math_private.h: Declare __kernel_standard_f.
69957         * math/w_cosh.c: Remove cruft and optimize a bit.
69958         * math/w_coshf.c: Likewise.
69959         * math/w_coshl.c: Likewise.
69960         * math/w_exp2.c: Likewise.
69961         * math/w_exp2f.c: Likewise.
69962         * math/w_exp2l.c: Likewise.
69963         * math/w_hypot.c: Likewise.
69964         * math/w_hypotf.c: Likewise.
69965         * math/w_hypotl.c: Likewise.
69966         * math/w_lgamma.c: Likewise.
69967         * math/w_lgamma_r.c: Likewise.
69968         * math/w_lgammaf.c: Likewise.
69969         * math/w_lgammaf_r.c: Likewise.
69970         * math/w_lgammal.c: Likewise.
69971         * math/w_lgammal_r.c: Likewise.
69972         * math/w_sinh.c: Likewise.
69973         * math/w_sinhf.c: Likewise.
69974         * math/w_sinhl.c: Likewise.
69975         * math/w_tgamma.c: Likewise.
69976         * math/w_tgammaf.c: Likewise.
69977         * math/w_tgammal.c: Likewise.
69978         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69979         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69980         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69981         Minor optimizations.  Pretty printing.  Remove cruft.
69982         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69983         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69984         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69985         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69986         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69987         * sysdeps/i386/fpu/e_asin.S: Likewise.
69988         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69989         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69990         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69991         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69992         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69993         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69994         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69995         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69996         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69997         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69998         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69999         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70000         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70001         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70002         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70003         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70004         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70005         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70006         * sysdeps/i386/fpu/e_log.S: Likewise.
70007         * sysdeps/i386/fpu/e_log10.S: Likewise.
70008         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70009         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70010         * sysdeps/i386/fpu/e_log2.S: Likewise.
70011         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70012         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70013         * sysdeps/i386/fpu/e_logf.S: Likewise.
70014         * sysdeps/i386/fpu/e_logl.S: Likewise.
70015         * sysdeps/i386/fpu/e_pow.S: Likewise.
70016         * sysdeps/i386/fpu/e_powf.S: Likewise.
70017         * sysdeps/i386/fpu/e_powl.S: Likewise.
70018         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70019         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70020         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70021         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70022         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70023         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70024         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70025         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70026         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70027         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70028         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70029         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70030         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70031         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70032         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70033         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70034         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70035         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70036         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70037         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70038         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70039         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70040         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70041         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70042         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70043         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70044         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70045         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70046         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70047         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70048         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70049         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70050         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70051         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70052         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70053         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70054         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70055         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70056         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70057         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70058         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70059         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70060         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70061         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70062         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70063         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70064         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70065         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70066         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70067         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70068         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70069         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70070         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70071         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70072         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70073         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70074         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70075         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70076         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70077         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70078         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70079         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70080         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70081         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70082         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70083         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70084         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70085         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70086         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70087         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70088         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70089         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70090         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70091         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70092         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70093         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70094         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70095         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70096         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70097         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70098         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70099         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70100         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70101         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70102         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70103         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70104         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70105         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70106         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70107         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70108         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70109         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70110         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70111         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70112         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70113         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70114         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70115         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70116         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70117         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70118         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70119         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70120         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70121         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70122         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70123         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70124         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70125         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70126         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70127         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70128         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70129         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70130         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70131         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70132         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70133         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70134         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70135         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70136         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70137         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70138         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70139         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70140         (__isnanf): Likewise.
70141         (__isinf_ns): Likewise.
70142         (__isinf_nsf): Likewise.
70143         (__finite): Likewise.
70144         (__finitef): Likewise.
70145         (__ieee754_sqrt): Define as macro.
70146         (__ieee754_sqrtf): Define as macro.
70147         (__ieee754_sqrtl): Define as macro.
70148         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70149         inlined copy.
70150         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70151         __FINITE_MATH_ONLY__ consistent.
70152         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70154 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70156         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70157         of rawmemchr.
70159         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70161 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70163         * po/ja.po: Update from translation team.
70165 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70167         * locale/programs/locarchive.c (prepare_address_space): New function.
70168         (create_archive, enlarge_archive, open_archive): Use it.
70170         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70171         inside [SHARED], where it is used.
70173         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70175         * nss/getent.c (netgroup_keys): Remove unused variable.
70176         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70178 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70180         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70181         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70182         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70183         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70184         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70185         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70186         * math/Makefile (libm-calls): Add s_isinf_ns.
70187         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70188         * math/multc3.c: Likewise.
70189         * math/s_casin.c: Likewise.
70190         * math/s_casinf.c: Likewise.
70191         * math/s_casinl.c: Likewise.
70192         * math/s_ccos.c: Likewise.
70193         * math/s_ccosf.c: Likewise.
70194         * math/s_ccosl.c: Likewise.
70195         * math/s_ctan.c: Likewise.
70196         * math/s_ctanf.c: Likewise.
70197         * math/s_ctanh.c: Likewise.
70198         * math/s_ctanhf.c: Likewise.
70199         * math/s_ctanhl.c: Likewise.
70200         * math/s_ctanl.c: Likewise.
70201         * math/w_fmod.c: Likewise.
70202         * math/w_fmodf.c: Likewise.
70203         * math/w_fmodl.c: Likewise.
70204         * math/w_remainder.c: Likewise.
70205         * math/w_remainderf.c: Likewise.
70206         * math/w_remainderl.c: Likewise.
70207         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70208         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70209         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70210         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70211         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70212         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70213         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70214         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70216         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70217         of the number.
70218         * stdio-common/printf_fphex.c: Likewise.
70219         * stdio-common/printf_size.c: Likewise.
70221         * math/e_exp10.c: Include math_private.h using <...> not "...".
70222         * math/e_exp10f.c: Likewise.
70223         * math/e_exp10l.c: Likewise.
70224         * math/e_exp2l.c: Likewise.
70225         * math/e_j0l.c: Likewise.
70226         * math/e_j1l.c: Likewise.
70227         * math/e_jnl.c: Likewise.
70228         * math/e_lgammal_r.c: Likewise.
70229         * math/e_rem_pio2l.c: Likewise.
70230         * math/e_scalb.c: Likewise.
70231         * math/e_scalbf.c: Likewise.
70232         * math/e_scalbl.c: Likewise.
70233         * math/k_cosl.c: Likewise.
70234         * math/k_sinl.c: Likewise.
70235         * math/k_tanl.c: Likewise.
70236         * math/s_cacoshf.c: Likewise.
70237         * math/s_catan.c: Likewise.
70238         * math/s_catanf.c: Likewise.
70239         * math/s_catanh.c: Likewise.
70240         * math/s_catanhf.c: Likewise.
70241         * math/s_catanhl.c: Likewise.
70242         * math/s_catanl.c: Likewise.
70243         * math/s_ccosh.c: Likewise.
70244         * math/s_ccoshf.c: Likewise.
70245         * math/s_ccoshl.c: Likewise.
70246         * math/s_cexp.c: Likewise.
70247         * math/s_cexpf.c: Likewise.
70248         * math/s_cexpl.c: Likewise.
70249         * math/s_clog.c: Likewise.
70250         * math/s_clog10.c: Likewise.
70251         * math/s_clog10f.c: Likewise.
70252         * math/s_clog10l.c: Likewise.
70253         * math/s_clogf.c: Likewise.
70254         * math/s_clogl.c: Likewise.
70255         * math/s_csin.c: Likewise.
70256         * math/s_csinf.c: Likewise.
70257         * math/s_csinh.c: Likewise.
70258         * math/s_csinhf.c: Likewise.
70259         * math/s_csinhl.c: Likewise.
70260         * math/s_csinl.c: Likewise.
70261         * math/s_csqrt.c: Likewise.
70262         * math/s_csqrtf.c: Likewise.
70263         * math/s_csqrtl.c: Likewise.
70264         * math/s_ctan.c: Likewise.
70265         * math/s_ctanf.c: Likewise.
70266         * math/s_ctanh.c: Likewise.
70267         * math/s_ctanhf.c: Likewise.
70268         * math/s_ctanhl.c: Likewise.
70269         * math/s_ctanl.c: Likewise.
70270         * math/s_ldexp.c: Likewise.
70271         * math/s_ldexpf.c: Likewise.
70272         * math/s_ldexpl.c: Likewise.
70273         * math/s_significand.c: Likewise.
70274         * math/s_significandf.c: Likewise.
70275         * math/s_significandl.c: Likewise.
70276         * math/w_acos.c: Likewise.
70277         * math/w_acosf.c: Likewise.
70278         * math/w_acosh.c: Likewise.
70279         * math/w_acoshf.c: Likewise.
70280         * math/w_acoshl.c: Likewise.
70281         * math/w_acosl.c: Likewise.
70282         * math/w_asin.c: Likewise.
70283         * math/w_asinf.c: Likewise.
70284         * math/w_asinl.c: Likewise.
70285         * math/w_atan2.c: Likewise.
70286         * math/w_atan2f.c: Likewise.
70287         * math/w_atan2l.c: Likewise.
70288         * math/w_atanh.c: Likewise.
70289         * math/w_atanhf.c: Likewise.
70290         * math/w_atanhl.c: Likewise.
70291         * math/w_cosh.c: Likewise.
70292         * math/w_coshf.c: Likewise.
70293         * math/w_coshl.c: Likewise.
70294         * math/w_dremf.c: Likewise.
70295         * math/w_exp10.c: Likewise.
70296         * math/w_exp10f.c: Likewise.
70297         * math/w_exp10l.c: Likewise.
70298         * math/w_exp2.c: Likewise.
70299         * math/w_exp2f.c: Likewise.
70300         * math/w_fmod.c: Likewise.
70301         * math/w_fmodf.c: Likewise.
70302         * math/w_fmodl.c: Likewise.
70303         * math/w_hypot.c: Likewise.
70304         * math/w_hypotf.c: Likewise.
70305         * math/w_hypotl.c: Likewise.
70306         * math/w_j0.c: Likewise.
70307         * math/w_j0f.c: Likewise.
70308         * math/w_j0l.c: Likewise.
70309         * math/w_j1.c: Likewise.
70310         * math/w_j1f.c: Likewise.
70311         * math/w_j1l.c: Likewise.
70312         * math/w_jn.c: Likewise.
70313         * math/w_jnf.c: Likewise.
70314         * math/w_jnl.c: Likewise.
70315         * math/w_lgamma.c: Likewise.
70316         * math/w_lgamma_r.c: Likewise.
70317         * math/w_lgammaf.c: Likewise.
70318         * math/w_lgammaf_r.c: Likewise.
70319         * math/w_lgammal.c: Likewise.
70320         * math/w_lgammal_r.c: Likewise.
70321         * math/w_log.c: Likewise.
70322         * math/w_log10.c: Likewise.
70323         * math/w_log10f.c: Likewise.
70324         * math/w_log10l.c: Likewise.
70325         * math/w_log2.c: Likewise.
70326         * math/w_log2f.c: Likewise.
70327         * math/w_log2l.c: Likewise.
70328         * math/w_logf.c: Likewise.
70329         * math/w_logl.c: Likewise.
70330         * math/w_pow.c: Likewise.
70331         * math/w_powf.c: Likewise.
70332         * math/w_powl.c: Likewise.
70333         * math/w_remainder.c: Likewise.
70334         * math/w_remainderf.c: Likewise.
70335         * math/w_remainderl.c: Likewise.
70336         * math/w_scalb.c: Likewise.
70337         * math/w_scalbf.c: Likewise.
70338         * math/w_scalbl.c: Likewise.
70339         * math/w_sinh.c: Likewise.
70340         * math/w_sinhf.c: Likewise.
70341         * math/w_sinhl.c: Likewise.
70342         * math/w_sqrt.c: Likewise.
70343         * math/w_sqrtf.c: Likewise.
70344         * math/w_sqrtl.c: Likewise.
70345         * math/w_tgamma.c: Likewise.
70346         * math/w_tgammaf.c: Likewise.
70347         * math/w_tgammal.c: Likewise.
70349         * po/ja.po: Update from translation team.
70351 2011-09-29  Andreas Jaeger  <aj@suse.de>
70353         [BZ #13179]
70354         * sunrpc/netname.c (netname2host): Fix logic.
70356         [BZ #6779]
70357         [BZ #6783]
70358         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70359         correctly.
70360         * math/w_remainder.c (__remainder): Likewise.
70361         * math/w_remainderf.c (__remainderf): Likewise.
70362         * math/libm-test.inc (remainder_test): Add test cases.
70364 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70366         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70367         sdiv_qrnnd.
70369 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70371         * string/test-memcmp.c: Avoid unncessary #defines.
70372         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70374 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70376         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70377         Use new sse2 version for core i3 - i7 as it's faster
70378         than sse42 version.
70379         (bit_Prefer_PMINUB_for_stringop): New.
70380         * sysdeps/x86_64/rawmemchr.S: Update.
70381         Replace with faster SSE2 version.
70382         * sysdeps/x86_64/memrchr.S: New file.
70383         * sysdeps/x86_64/memchr.S: Update.
70384         Replace with faster SSE2 version.
70386 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70388         * elf/dl-load.c (lose): Add cast to avoid warning.
70390 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70392         * po/ca.po: Update from translation team.
70394         * inet/getnetgrent_r.c: Hook up nscd.
70395         * nscd/Makefile (routines): Add nscd_netgroup.
70396         (nscd-modules): Add netgroupcache.
70397         (CFLAGS-netgroupcache.c): Define.
70398         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70399         (cache_search): Add const to second parameter.
70400         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70401         INNETGR.
70402         (dbs): Add netgrdb entry.
70403         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70404         (verify_persistent_db): Handle netgrdb.
70405         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70406         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70407         GETFDNETGR.
70408         (netgroup_response_header): Define.
70409         (innetgroup_response_header): Define.
70410         (datahead): Add netgroup_response_header and innetgroup_response_header
70411         elements.
70412         * nscd/nscd.conf: Add entries for netgroup cache.
70413         * nscd/nscd.h (dbtype): Add netgrdb.
70414         (_PATH_NSCD_NETGROUP_DB): Define.
70415         (netgroup_iov_disabled): Declare.
70416         (xmalloc, xcalloc, xrealloc): Move declarations here.
70417         (cache_search): Adjust prototype.
70418         Add netgroup-related prototypes.
70419         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70420         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70421         (__nscd_innetgr): Declare.
70422         * nscd/selinux.c (perms): Use access_vector_t as element type and
70423         add netgroup-related initializers.
70424         * nscd/netgroupcache.c: New file.
70425         * nscd/nscd_netgroup.c: New file.
70426         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70427         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70428         For four parameters use innetgr.
70429         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70430         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70431         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70432         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70434         * nscd/connections.c (register_traced_file): Don't register file
70435         for disabled databases.
70437 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70439         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70441         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70442         from tree and freeing node.
70444 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70446         * nss/nsswitch.c (__nss_database_lookup): Handle
70447         nss_parse_service_list out of memory case.
70449 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70451         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70452         out of memory case.
70454 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70456         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70457         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70458         pass it down.
70459         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70460         elf_machine_rela, elf_machine_lazy_rel.
70461         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70462         (ELF_DYNAMIC_DO_REL): Likewise.
70463         (ELF_DYNAMIC_DO_RELA): Likewise.
70464         (ELF_DYNAMIC_RELOCATE): Likewise.
70465         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70466         to ELF_DYNAMIC_DO_REL.
70467         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70468         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70469         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70470         elf_machine_rela.
70471         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70472         skip_ifunc, don't call ifunc function if non-zero.
70473         (elf_machine_rela): Likewise.
70474         (elf_machine_lazy_rel): Likewise.
70475         (elf_machine_lazy_rela): Likewise.
70476         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70477         (elf_machine_lazy_rel): Likewise.
70478         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70479         Likewise.
70480         (elf_machine_lazy_rel): Likewise.
70481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70482         Likewise.
70483         (elf_machine_lazy_rel): Likewise.
70484         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70485         (elf_machine_lazy_rel): Likewise.
70486         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70487         (elf_machine_lazy_rel): Likewise.
70488         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70489         (elf_machine_lazy_rel): Likewise.
70490         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70491         (elf_machine_lazy_rel): Likewise.
70492         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70493         (elf_machine_lazy_rel): Likewise.
70494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70495         (elf_machine_lazy_rel): Likewise.
70497 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70499         * nss/nss_files/files-init.c (_nss_files_init): Use static
70500         initialization for all the *_traced_file variables.
70502 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70504         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70506 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70508         [BZ #13226]
70509         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70511 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70513         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70514         Reread the line before reparsing it.
70516 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70518         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70520 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70521             Maxim Kuvyrkov  <maxim@codesourcery.com>
70522             Joseph Myers  <joseph@codesourcery.com>
70524         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70525         if needed for __stack_chk_guard.
70527 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70529         * sysdeps/posix/spawni.c (script_execute): Always define it.
70530         It will be optimized away if unused.
70531         (maybe_script_execute): New function.
70532         (__spawni): Call it.
70534         * Makerules: Don't include tls.make.
70535         (config-tls): Always set to thread.
70536         * tls.make.c: File removed.
70538 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70540         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70541         * config.make.in (CPPFLAGS-config): New substituted variable.
70543 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70545         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70547         [BZ #13192]
70548         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70549         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70551 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70553         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70554         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70555         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70556         (CALL_FAIL): Likewise.
70557         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70558         (CALL_FAIL): Macro removed.
70559         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70561 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70563         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70564         for __FINITE_MATH_ONLY__ == 1.
70566 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70568         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70569         __ieee754_sqrt instead of sqrt.
70570         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70571         __ieee754_sqrtf instead of sqrtf.
70572         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70573         __floorf instead of floorf.
70574         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70575         __floorf, __truncf instead of floorf, truncf.
70577 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70579         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70581         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70582         __extern_always_inline.
70583         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70584         32-bit.
70586 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70588         * elf/rtld.c (dl_main): Also relocate in dependency order when
70589         doing symbol dependency testing.
70591 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70593         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70594         Always define `refsym'.
70596 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70598         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70599         (__FD_ELT): Renamed from __FDELT.
70600         * misc/bits/select2.h (__FD_ELT): Likewise.
70601         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70602         __FD_MASK instead of __FDELT, __FDMASK.
70603         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70604         Likewise.
70605         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70606         Likewise.
70608         * elf/Makefile (gen-ldd): Fix pattern.
70610         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70611         (init_tls): Likewise.
70613 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70615         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70617 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70619         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70620         `struct cmsghdr *' instead of `void *'.
70621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70622         Likewise.
70624 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70626         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70627         if non-absolute.
70628         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70629         ldd_rewrite_script.
70631 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70633         * configure.in: Remove --with-tls option.
70634         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70635         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70636         out in case it is missing.
70637         * sysdeps/ia64/elf/configure.in: Likewise.
70638         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70639         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70640         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70641         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70642         * sysdeps/sh/elf/configure.in: Likewise.
70643         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70644         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70645         * sysdeps/x86_64/elf/configure.in: Likewise.
70646         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70647         * sysdeps/mach/hurd/tls.h: Likewise.
70649         [BZ #13067]
70650         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70652         [BZ #13090]
70653         * configure.in: Fix use of AC_INIT.
70655         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70657 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70659         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70660         __set_errno.
70661         * malloc/hooks.c: Likewise.
70663         [BZ #11929]
70664         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70665         variables statically.
70666         (narenas): Initialize.
70667         (list_lock): Initialize.
70668         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70669         initializtion of main_arena and list_lock.  Small cleanups.
70670         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70671         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70672         Add initializers to main_arena and mp_.
70673         (malloc_state): Remove pagesize member.  Change all users to use
70674         GLRO(dl_pagesize).
70676         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70677         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70678         is always initialized.
70680         * malloc/malloc.c: Removed unused configurations and dead code.
70681         * malloc/arena.c: Likewise.
70682         * malloc/hooks.c: Likewise.
70683         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70685         * include/tls.h: Removed.  USE___THREAD must always be defined.
70686         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70687         * elf/dl-libc.c: Likewise.
70688         * elf/dl-tsd.c: Likewise.
70689         * include/errno.h: Likewise.
70690         * include/netdb.h: Likewise.
70691         * include/resolv.h: Likewise.
70692         * inet/herrno-loc.c: Likewise.
70693         * inet/herrno.c: Likewise.
70694         * malloc/arena.c: Likewise.
70695         * malloc/hooks.c: Likewise.
70696         * malloc/malloc.c: Likewise.
70697         * resolv/res-state.c: Likewise.
70698         * resolv/res_libc.c: Likewise.
70699         * sysdeps/i386/dl-machine.h: Likewise.
70700         * sysdeps/ia64/dl-machine.h: Likewise.
70701         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70702         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70703         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70704         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70705         * sysdeps/sh/dl-machine.h: Likewise.
70706         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70707         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70708         * sysdeps/unix/i386/sysdep.S: Likewise.
70709         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70710         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70715         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70717         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70718         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70719         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70720         * sysdeps/x86_64/dl-machine.h: Likewise.
70721         * tls.make.c: Likewise.
70723         * configure.in: Remove --with-__thread option.  Make tests for
70724         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70725         tls_model attribute fail if no support is available.  Remove
70726         USE_IN_LIBIO.
70727         * Makeconfig: Adjust for dropped configure option.  All features are
70728         now mandatory.
70729         * Makerules: Likewise.
70730         * Versions.def: Likewise.
70731         * argp/argp-fmtstream.c: Likewise.
70732         * argp/argp-fmtstream.h: Likewise.
70733         * argp/argp-help.c: Likewise.
70734         * assert/assert.c: Likewise.
70735         * config.h.in: Likewise.
70736         * config.make.in: Likewise.
70737         * configure: Likewise.
70738         * configure.in: Likewise.
70739         * csu/Versions: Likewise.
70740         * csu/init.c: Likewise.
70741         * elf/tst-audit2.c: Likewise.
70742         * elf/tst-tls10.c: Likewise.
70743         * elf/tst-tls10.h: Likewise.
70744         * elf/tst-tls11.c: Likewise.
70745         * elf/tst-tls12.c: Likewise.
70746         * elf/tst-tls14.c: Likewise.
70747         * elf/tst-tlsmod11.c: Likewise.
70748         * elf/tst-tlsmod12.c: Likewise.
70749         * elf/tst-tlsmod13.c: Likewise.
70750         * elf/tst-tlsmod13a.c: Likewise.
70751         * elf/tst-tlsmod14a.c: Likewise.
70752         * elf/tst-tlsmod15b.c: Likewise.
70753         * elf/tst-tlsmod16a.c: Likewise.
70754         * elf/tst-tlsmod16b.c: Likewise.
70755         * elf/tst-tlsmod7.c: Likewise.
70756         * elf/tst-tlsmod8.c: Likewise.
70757         * elf/tst-tlsmod9.c: Likewise.
70758         * gmon/gmon.c: Likewise.
70759         * grp/fgetgrent_r.c: Likewise.
70760         * grp/putgrent.c: Likewise.
70761         * hurd/fopenport.c: Likewise.
70762         * include/libc-symbols.h: Likewise.
70763         * include/tls.h: Likewise.
70764         * intl/gettextP.h: Likewise.
70765         * intl/loadinfo.h: Likewise.
70766         * locale/global-locale.c: Likewise.
70767         * locale/localeinfo.h: Likewise.
70768         * mach/devstream.c: Likewise.
70769         * malloc/arena.c: Likewise.
70770         * malloc/set-freeres.c: Likewise.
70771         * misc/err.c: Likewise.
70772         * misc/getttyent.c: Likewise.
70773         * misc/mntent_r.c: Likewise.
70774         * posix/getopt.c: Likewise.
70775         * posix/wordexp.c: Likewise.
70776         * pwd/fgetpwent_r.c: Likewise.
70777         * resolv/Versions: Likewise.
70778         * resolv/res_hconf.c: Likewise.
70779         * shadow/fgetspent_r.c: Likewise.
70780         * shadow/putspent.c: Likewise.
70781         * stdio-common/printf_fphex.c: Likewise.
70782         * stdio-common/tmpfile.c: Likewise.
70783         * stdlib/abort.c: Likewise.
70784         * stdlib/fmtmsg.c: Likewise.
70785         * sunrpc/auth_unix.c: Likewise.
70786         * sunrpc/clnt_perr.c: Likewise.
70787         * sunrpc/clnt_tcp.c: Likewise.
70788         * sunrpc/clnt_udp.c: Likewise.
70789         * sunrpc/clnt_unix.c: Likewise.
70790         * sunrpc/openchild.c: Likewise.
70791         * sunrpc/svc_simple.c: Likewise.
70792         * sunrpc/svc_tcp.c: Likewise.
70793         * sunrpc/svc_udp.c: Likewise.
70794         * sunrpc/svc_unix.c: Likewise.
70795         * sunrpc/xdr.c: Likewise.
70796         * sunrpc/xdr_array.c: Likewise.
70797         * sunrpc/xdr_rec.c: Likewise.
70798         * sunrpc/xdr_ref.c: Likewise.
70799         * sunrpc/xdr_stdio.c: Likewise.
70801 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70803         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70805 2011-07-03  Andreas Jaeger  <aj@suse.de>
70807         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70808         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70809         regenerate with gen-libm-tests.pl.
70811 2010-05-12  Petr Baudis  <pasky@suse.cz>
70813         [BZ #11589]
70814         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70815         around j0() zero points by switching to j1().
70816         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70818         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70819         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70821 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70823         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70824         instead of 0.
70825         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70826         instead of 0.
70827         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70828         Patch in part by Pavel Roskin <proski@gnu.org>.
70830         [BZ #13138]
70831         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70832         realloc.
70833         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70834         Free memory block if necessary.
70836         [BZ #12847]
70837         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70838         be NULL.  Don't lock in this case.
70840 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70842         * elf/elf.h (ELFOSABI_GNU): New macro.
70843         (ELFOSABI_LINUX): Define to that.
70845 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70847         * string/strncat.c (strncat): Undef the symbol in case it has been
70848         defined in bits/string.h.
70850 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70852         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70854         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70855         link map.
70857 2011-08-17  Andreas Jaeger  <aj@suse.de>
70859         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70861 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70862             Ian Lance Taylor  <iant@google.com>
70864         * math/libm-test.inc (lround_test): New testcase.
70865         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70867 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70869         * Makefile: Remove support for automatic cvs check-ins.
70870         * Makerules: Likewise.
70871         * config.make.in: Likewise.
70872         * configure.in: Likewise.
70873         * intl/Makefile: Likewise.
70874         * locale/Makefile: Likewise.
70875         * po/Makefile: Likewise.
70876         * posix/Makefile: Likewise.
70877         * sysdeps/gnu/Makefile: Likewise.
70878         * sysdeps/mach/hurd/Makefile: Likewise.
70879         * sysdeps/sparc/sparc32/Makefile: Likewise.
70881         [BZ #13118]
70882         * posix/Makefile (bug-regex32-ENV): Define.
70883         Patch by John Stanley <jpsinthemix@verizon.net>.
70885         * misc/Makefile (headers): Add bits/select2.h.
70886         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70887         * misc/bits/select2.h: New file.
70888         * include/bits/select2.h: New file.
70889         * debug/Makefile (routines): Add fdelt_chk.
70890         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70891         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70892         FD_ISSET.
70893         * debug/fdelt_chk.c: New file.
70895         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70896         * wcsmbs/test-wmemcmp.c: Likewise.
70897         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70898         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70900 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70902         * string/Makefile (strop-tests): Add memcmp.
70903         * string/test-wmemcmp.c: New file.
70904         * string/test-memcmp.c: Add wmemcmp support.
70906 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70908         [BZ #13153]
70909         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70910         2011-07-19 change.
70912         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70913         garbage value in a __mach_port_mod_refs call in the cases of the
70914         task-self and thread-self ports.
70916 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70918         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70920 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70922         * elf/dl-load.c (lose): Check for non-null L.
70924 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70926         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70928         * elf/dl-libc.c (dlerror_run): Pass back error code from
70929         dl_catch_error.
70931         [BZ #13123]
70932         * elf/dl-load.c (lose): Free l_origin if it is valid.
70934         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70935         names.
70936         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70937         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70939         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70940         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70941         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70943 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70945         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70946         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70947         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70948         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70949         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70950         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70951         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70952         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70953         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70954         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70956 2011-08-15  Alan Modra  <amodra@gmail.com>
70958         [BZ #13092]
70959         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70960         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70961         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70962         ppc_mcount to static-only-routines.
70963         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70964         __mcount_internal.
70965         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70966         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70968 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70970         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70971         for finite and infinity parameters.
70973 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70975         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70976         and add nop instructions for throughput optimization.
70977         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70979 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70981         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70982         aligned copy for power7 with vector-scalar instructions.
70983         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70985 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70987         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70988         AVX check.
70990 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70992         [BZ #13144]
70993         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70994         last change.
70996 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70998         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70999         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71000         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71001         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71002         clock_gettime.
71004 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71006         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71007         Forgot to demangle the pointer.
71009         * sysdeps/i386/sysdep.h: Define atom_text_section.
71010         * sysdeps/x86_64/sysdep.h: Likewise.
71011         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71012         section with atom_text_section.
71013         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71014         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71015         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71016         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71017         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71019         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71020         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71021         already be defined.  Change to take two parameters and don't assign
71022         result to variable.  Adjust all users.
71023         Define INTERNAL_GETTIME if not already defined.
71024         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71025         call.
71026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71027         HAVE_CLOCK_GETTIME_VSYSCALL.
71028         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71030         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71031         gettimeofday vsyscall, just use time.
71033 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71035         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71036         <errno.h>.
71038 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71040         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71041         syscall on x86-64.
71042         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71043         syscall.
71044         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71045         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71046         syscall if possible.
71048 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71050         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71051         e_ident.  Don't pass to find_mapsXX.
71052         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71054 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71056         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71057         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71058         * sysdeps/x86_64/multiarch/strchr.S: Update.
71059         Check bit_slow_BSF bit.
71060         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71061         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71062         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71064 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71066         [BZ #13134]
71067         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71068         before glibc 2.15.
71069         (tryshell): Define.
71070         (__spawni): Change last parameter to be flag.  Test
71071         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71072         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71073         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71074         * posix/spawni.c: Likewise.
71075         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71076         * posix/spawnp.c: Likewise.  Change normal version to use
71077         SPAWN_XFLAGS_USE_PATH.
71078         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71079         SPAWN_XFLAGS_TRY_SHELL.
71081         [BZ #13150]
71082         * posix/glob.h: Remove gcc 1.x support.
71084         [BZ #13068]
71085         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71087 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71090         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71091         strrchr-sse2-bsf
71092         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71093         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71094         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71095         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71096         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71097         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71099 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71101         * sysdeps/x86_64/wcscmp.S: New file.
71103         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71104         wcscmp-c wcscmp-sse2
71105         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71106         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71107         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71108         * wcsmbs/wcscmp.c: Allow renaming.
71110 2011-09-05  David S. Miller  <davem@davemloft.net>
71112         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71113         stack slot, rather than the struct return pointer slot.
71114         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71115         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71117         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71119 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71121         * po/ja.po: Update from translation team.
71123         [BZ #13144]
71124         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71125         kernel in 64-bit binaries.
71127 2011-09-01  David S. Miller  <davem@davemloft.net>
71129         * elf/elf.h (HWCAP_SPARC_*): Move to..
71130         * sysdeps/sparc/sysdep.h: this new file and add new values.
71131         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71132         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71133         _DL_HWCAP_COUNT to 24.
71134         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71135         entries.
71136         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71137         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71138         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71140         instead of magic constants.
71141         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71143 2011-08-31  David S. Miller  <davem@davemloft.net>
71145         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71147         Reimplement to do errno handling inline.
71148         (SYSCALL_ERROR_HANDLER): New macro.
71149         (__SYSCALL_STRING): Do not do errno handling in asm.
71150         (__CLONE_SYSCALL_STRING): Delete.
71151         (__INTERNAL_SYSCALL_STRING): Delete.
71152         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71153         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71154         (PSEUDO): Reimplement to do errno handling inline.
71155         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71156         (SYSCALL_ERROR_HANDLER): New macro.
71157         (__SYSCALL_STRING): Do not do errno handling in asm.
71158         (__CLONE_SYSCALL_STRING): Delete.
71159         (__INTERNAL_SYSCALL_STRING): Delete.
71160         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71161         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71162         i386.
71163         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71164         (inline_syscall*): Add 'err' argument.
71165         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71166         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71167         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71168         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71170         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71171         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71173 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71175         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71177 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71179         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71180         directive.
71182 2011-08-24  David S. Miller  <davem@davemloft.net>
71184         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71186 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71188         * elf/Makefile: Add rules to build and run unload8 test.
71189         * elf/unload8.c: New file.
71190         * elf/unload8mod1.c: New file.
71191         * elf/unload8mod1x.c: New file.
71192         * elf/unload8mod2.c: New file.
71193         * elf/unload8mod3.c: New file.
71195         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71196         it wasn't used.
71198 2011-08-23  David S. Miller  <davem@davemloft.net>
71200         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71201         subtract stack bias.
71202         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71203         %sp not %fp in calculations.
71204         (_JMPBUF_UNWINDS_ADJ): Likewise.
71206         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71207         (aio_suspend): Call it to force an exception region around the
71208         AIO_MISC_WAIT() invocation.
71210 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71212         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71213         backslash.
71215 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71217         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71218         protection macro.
71219         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71220         and <dl-machine.h>.
71221         (Elf64_FuncDesc): Remove.
71223 2011-08-22  David S. Miller  <davem@davemloft.net>
71225         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71226         sigaltstack check, add missing cfi directives.
71227         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71228         missing cfi directives, and sigaltstack handling.
71230 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71232         [BZ #11724]
71233         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71234         object is seen twice.
71235         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71237         * elf/Makefile (distribute): Add tst-initorder2.c.
71238         (tests): Add tst-initorder2.
71239         (modules-names): Add tst-initorder2a tst-initorder2b
71240         tst-initorder2c tst-initorder2d.  Add rules to build them.
71241         ($(objpfx)tst-initorder2.out): New rule.
71242         * elf/tst-initorder2.c: New file.
71243         * elf/tst-initorder2.exp: New file.
71245 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71247         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71249         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71250         dependencies back to end of function.
71252         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71253         $(elfobjdir)/ld.so.
71255 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71257         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71258         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71259         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71260         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71261         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71262         of __vdso_gettimeofday.
71263         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71264         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71265         attribute_hidden.
71266         (_libc_vdso_platform_setup): Remove initialization of
71267         __vdso_gettimeofday and __vdso_time.
71269 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71271         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71272         and fgetc_unlocked.
71273         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71274         getc_unlocked.
71276         * elf/dl-open.c (add_to_global): Report additions to the global scope
71277         for LD_DEBUG=scopes.
71278         (dl_open_worker): Also print scope of newly loaded dependencies.
71279         (_dl_show_scope): Indicate if there is no scope.
71281         [BZ #13114]
71282         * stdio-common/Makefile (tests): Add bug24.
71283         * stdio-common/bug24.c: New file.
71285 2011-08-19  Andreas Jaeger  <aj@suse.de>
71287         [BZ #13114]
71288         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71289         non-existant file when using close-on-exec mode.
71291 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71293         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71294         the very first instruction.
71296         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71297         the CFI state in the end.
71298         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71299         inclusion of dl-trampoline.h.
71300         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71302 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71304         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71305         expectations for long double.
71307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71308         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71310 2011-08-14  David S. Miller  <davem@davemloft.net>
71312         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71313         artificual limit depends upon the system page size.
71315 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71317         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71318         * resolv/Makefile: Define CFLAGS-libresolv.
71320 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71322         * nss/makedb.c (compute_tables): Make variables used in nested
71323         function static.
71325 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71327         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71328         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71329         if buffer was too small.
71331         * elf/pldd.c (main): Attach to all threads in the process.
71332         Rewrite /proc handling to use *at functions.
71334 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71336         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71337         specifies first scope to show.
71338         (dl_open_worker): Update callers.  Move printing scope of new
71339         object to before the relocation.
71340         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71341         * sysdeps/generic/ldsodefs.h: Update declaration.
71343         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71344         string for the scope number.
71346 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71348         * nscd/servicescache.c (cache_addserv): Make sure written is always
71349         initialized.
71351 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71353         * sysdeps/i386/i486/bits/atomic.h
71354         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71355         statement expression, so as to suppress "set but not used" warning.
71356         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71358         * string/strncat.c (STRNCAT): Use prototype definition.
71360         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71361         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71362         -Iprograms here.
71363         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71364         (localedef-modules): Add localedef.
71365         (locale-modules): Add locale.
71367         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71368         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71369         to avoid a warning.
71371 2011-08-14  David S. Miller  <davem@davemloft.net>
71373         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71374         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71376 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71378         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71379         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71380         * elf/rtld.c (dl_main): Set l_name of vDSO.
71381         Call _dl_show_scope when DL_DEBUG_SCOPES.
71382         (process_dl_debug): Recognize scopes flag and also set it for all.
71383         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71384         Declare _dl_show_scope.
71386         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71387         (do_dlopen): Pass caller_dlopen to dl_open.
71388         (__libc_dlopen_mode): Initialize caller_dlopen.
71390         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71391         of libc.  Make tolower call locale-independent.  Optimize a bit by
71392         using isdigit instead of isalnum.
71393         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71395 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71397         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71398         was a dependency or dynamically loaded.
71400 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71402         * intl/l10nflist.c: Allow architecture-specific pop function.
71403         * sysdeps/x86_64/l10nflist.c: New file.
71405         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71406         classification.
71408 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71410         * include/dirent.h: Add libc_hidden_proto for scandirat and
71411         scandirat64.  Don't declare __scandirat64.
71412         * dirent/scandirat.c: Add libc_hidden_def.
71413         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71414         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71416 2011-08-10  David S. Miller  <davem@davemloft.net>
71418         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71419         enum.
71420         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71421         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71422         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71424 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71426         * Versions.def [libc]: Add GLIBC_2.15.
71427         * dirent/Makefile (routines): Add scandirat and scandirat64.
71428         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71429         GLIBC_2.15.
71430         * dirent/dirent.h: Declare scandirat and scandirat64.
71431         * dirent/scandirat.c: New file.
71432         * dirent/scandirat64.c: New file.
71433         * sysdeps/wordsize-64/scandirat.c: New file.
71434         * sysdeps/wordsize-64/scandirat64.c: New file.
71435         * dirent/opendir.c: Define opendirat.
71436         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71437         using scandirat.
71438         * dirent/scandir64.c: Adjust for scandir.c change.
71439         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71440         __scandirat64, and __scandir_cancel_handler.
71441         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71442         additional parameter and use openat instead of open (outside of ld.so).
71443         Add new __opendir as wrapper around __opendirat.
71444         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71445         here without requiring old scandirat implementation.
71447 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71449         * dirent/scandir.c (cancel_handler): Renamed to
71450         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71451         defined.  Adjust users.
71452         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71453         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71455 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71457         * string/test-string.h (IMPL): Use __STRING to expand name and then
71458         stringify it.
71460         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71461         of cleanups.
71463 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71465         * string/Makefile: Update.
71466         (strop-tests): Append strncat.
71467         * string/test-wcscmp.c: New file.
71468         New comprehensive test for wcscmp.
71469         * string/test-strcmp.c: Update.
71470         (WIDE): New define.
71472 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71474         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71475         line.
71477 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71480         encoding to ACE if AI_IDN.
71482 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71484         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71485         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71487 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71489         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71490         Fix overflow bug in strncat.
71491         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71493         * string/test-strncat.c: Update.
71494         Add new tests for checking overflow bugs.
71496 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71499         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71500         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71501         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71502         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71503         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71504         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71505         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71506         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71508         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71509         (USE_AS_STRCAT): Define.
71510         Add strcat and strncat support.
71511         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71513 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71515         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71516         __n bigger than INT_MAX+1.
71517         (__strncmp_g): Likewise.
71519 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71521         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71522         * libio/stido.h: Likewise.
71524         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71525         (AF_NFC): Define.
71526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71527         (AF_NFC): Define.
71529         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71530         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71531         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71532         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71533         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71535         [BZ #13021]
71536         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71537         installed.
71539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71540         typo.
71541         (_dl_x86_64_save_sse): Likewise.
71543 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71545         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71546         OSXSAVE.
71547         (_dl_x86_64_save_sse): Likewise.
71549         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71551         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71553 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71555         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71556         change.
71557         (_dl_x86_64_save_sse): Use correct AVX check.
71559 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71561         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71562         bug in strncpy/strncat.
71563         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71565 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71567         * string/tester.c (test_strcat): Add tests for different alignments
71568         of source and destination.
71569         (test_strncat): Likewise.
71571 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71573         [BZ #12852]
71574         * posix/glob.c (glob): Check passed in values before using them in
71575         expressions to avoid some overflows.
71576         (glob_in_dir): Likewise.
71578         [BZ #13007]
71579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71580         check for AVX enablement so that we don't crash with old kernels and
71581         new hardware.
71582         * elf/tst-audit4.c: Add same checks here.
71583         * elf/tst-audit6.c: Likewise.
71585         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71587 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71589         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71591 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71593         * po/cs.po: Update from translation team.
71594         * po/bg.po: Likewise.
71596 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71598         * misc/sys/cdefs.h: Add support for const attribute.
71599         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71600         to gnu_dev_{major,minor,makedev} functions.
71602 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71604         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71606 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71608         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71609         strlen results.
71611 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71614         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71615         register in order to avoid conflicts with the soft frame pointer
71616         being held in r11 when necessary.
71617         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71618         (INTERNAL_VSYSCALL_NCS): Likewise.
71620 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71622         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71623         * elf/dl-fini.c (_dl_fini): Adjust caller.
71624         * elf/dl-close.c (_dl_close_worker): Likewise.
71625         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71627 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71629         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71630         "aux_cache->nlibs < 0".
71632         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71633         in the reload-count case.
71635 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71638         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71639         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71640         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71641         * sysdeps/x86_64/multiarch/strcat.S: New file.
71642         * sysdeps/x86_64/multiarch/strncat.S: New file.
71643         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71644         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71645         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71646         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71647         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71648         (USE_AS_STRCAT): Define.
71649         Add strcat and strncat support.
71650         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71651         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71652         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71653         * string/strncat.c: Update.
71654         (USE_AS_STRNCAT): Define.
71655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71656         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71657         and i7.
71658         * sysdeps/x86_64/multiarch/init-arch.h
71659         (bit_Prefer_PMINUB_for_stringop): New.
71660         (index_Prefer_PMINUB_for_stringop): Likewise.
71661         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71662         bit_Prefer_PMINUB_for_stringop.
71664 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71666         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71667         buffer64.
71668         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71669         of casting of buffer.
71670         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71671         buffer32 and buffer64.
71672         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71673         writes instead of casting of buffer.
71674         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71675         buffer32.
71676         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71677         casting of buffer.
71679 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71681         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71683 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71685         * nscd/nscd.c (termination_handler): Don't do anything for a database
71686         if it has not yet been initialized.
71688 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71690         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71692 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71694         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71696 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71698         * po/nl.po: Update from translation team.
71699         * po/sv.po: Likewise.
71701 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71703         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71704         now disallowed by GCC.
71706         * configure.in (use-default-link): Default to yes if a test -shared
71707         link meets our qualifications.
71708         * configure: Regenerated.
71710         * config.make.in (output-format): New variable.
71711         * configure.in: Check for ld --print-output-format support.
71712         * configure: Regenerated.
71713         * Makerules ($(common-objpfx)format.lds)
71714         [$(output-format) != unknown]: Just use $(output-format),
71715         instead of the linker-script munging.
71717 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71719         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71720         of $(common-objpfx)shlib.lds.
71721         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71723         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71724         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71726         * configure.in (-z relro check): Adjust test code to add a large
71727         writable data section after it.
71728         * configure: Regenerated.
71730 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71732         * configure.in (-z relro check): Fix test code to make the variable
71733         truly const.
71734         * configure: Regenerated.
71736 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71738         * nscd/nscd.h (struct traced_file): Define.
71739         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71740         elements.  Add traced_files.
71741         (inotify_fd): Declare.
71742         (register_traced_file): Declare.
71743         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71744         (inotify_fd): Export.
71745         (resolv_conf_descr): Remove.
71746         (nscd_init): Move inotify descriptor creation to main.
71747         Don't register files for notification here.
71748         (register_traced_file): New function.
71749         (invalidate_cache): Don't use reset_res to determine whether to call
71750         res_init, go through the list of registered files.
71751         (main_loop_poll): The inotify descriptors are now stored in the
71752         structures for the traced files.
71753         (main_loop_epoll): Likewise.
71754         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71755         to __nss_disable_nscd.
71756         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71757         for a database anymore.  Check the records for all the registered
71758         files instead.
71759         * nss/Makefile (libnss_files-routines): Add files-init.
71760         (libnss_db-routines): Add db-init.
71761         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71762         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71763         * nss/nss_db/db-init.c: New file.
71764         * nss/nss_files/files-init.c: New file.
71765         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71766         __nss_lookup_function.
71767         (__nss_lookup_function): Call nss_load_library.
71768         (nss_load_all_libraries): New function.
71769         (__nss_disable_nscd): Take parameter with callback function for files
71770         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71771         used for the cached services.
71772         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71773         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71774         options for features to all the files in nscd.
71776         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71778 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71780         * csu/elf-init.c (__libc_csu_init): Comment typo.
71782 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71784         * po/pl.po: Update from translation team.
71785         * po/ja.po: Likewise.
71786         * po/ru.po: Likewise.
71787         * po/ko.po: Likewise.
71788         * po/fr.po: Likewise.
71790 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71792         * configure.in (.ctors/.dtors header and trailer check):
71793         Use an empirical test on a built program.
71794         * configure: Regenerated.
71796         * configure.in (-z relro check): Use an empirical test on a built DSO.
71797         Detect, but do not require, on ia64.
71798         * configure: Regenerated.
71800         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71801         Update tests that use readelf to use $READELF instead.
71802         * configure: Regenerated.
71804 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71806         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71807         if the result is not used.
71809 2011-07-05  Andreas Jaeger  <aj@suse.de>
71811         [BZ#9696]
71812         * stdlib/tst-strtod.c: Add testcase.
71814 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71816         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71817         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71818         The latter has a higher limit.  Take additional parameter to pass to
71819         the new function.
71820         (__pathconf): Pass file to __statfs_link_max.
71821         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71822         __statfs_link_max.
71823         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71824         __statfs_link_max.
71826         [BZ #12868]
71827         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71829         Handle Lustre.
71830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71831         (__statfs_filesize_max): Likewise.
71832         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71834 2011-07-05  Andreas Jaeger  <aj@suse.de>
71836         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71838 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71840         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71841         `status' variable.
71842         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71843         Likewise.
71845 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71847         * Makefile (strop-tests): Add strncat.
71848         * string/test-strncat.c: New file.
71850 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71852         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71854 2011-06-21  Andreas Jaeger  <aj@suse.de>
71856         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71857         Copy rule from iconvdata/Makefile.
71859 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71861         [BZ #12922]
71862         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71863         but no long options are defined, just return 'W'.
71865 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71867         [BZ #9696]
71868         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71870 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71872         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71873         netgroups to read.
71874         (innetgr): Likewise.
71876 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71878         * config.make.in (install_root): Default to $(DESTDIR).
71880 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71882         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71884 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71886         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71888         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71889         containing directory rather than embedding absolute directory names.
71891         * scripts/check-local-headers.sh: Rewritten using awk.
71892         Match by word, not by line.  Print error messages for matches.
71893         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71895         * Makerules [shlib-lds-flags empty]:
71896         ($(common-objpfx)libc_pic.opts): New target.
71897         ($(common-objpfx)libc_pic.os.clean): New target.
71898         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71900         * config.make.in (OBJCOPY): New variable.
71901         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71902         * configure: Regenerated.
71904         * config.make.in (use-default-link): New variable.
71905         * configure.in (use_default_link): Grok --with-default-link to set it.
71906         * configure: Regenerated.
71907         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71908         (shlib-lds, shlib-lds-flags): Define to empty.
71910         * Makerules (shlib-lds): New variable.
71911         (shlib-lds-flags): New variable.
71912         (build-shlib, build-moduile, build-module-asneeded): Use it.
71913         ($(common-objpfx)libc.so): Use $(shlib-lds).
71914         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71915         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71917         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71918         DT_FLAGS/DT_FLAGS_1 with zero flags.
71920         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71921         linker script munging.
71923 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71925         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71926         as 128-bit value.
71927         * crypt/sha512.c (sha512_process_block): Perform total addition using
71928         128-bit if possible.
71929         (__sha512_finish_ctx): Likewise.
71930         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71931         as 64-bit value.
71932         * crypt/sha256.c (SWAP64): Define.
71933         (sha256_process_block): Perform total addition using 64-bit if
71934         possible.
71935         (__sha256_finish_ctx): Likewise.
71937 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71939         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71940         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71941         * nscd/hstcache.c (cache_addhst): Likewise.
71942         * nscd/grpcache.c (cache_addgr): Likewise.
71943         * nscd/aicache.c (addhstaiX): Likewise.
71944         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71946 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71948         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71949         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71950         * nscd/hstcache.c (cache_addhst): Likewise.
71951         * nscd/grpcache.c (cache_addgr): Likewise.
71952         * nscd/aicache.c (addhstaiX): Likewise.
71954 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71956         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71957         domain only when needed.
71959 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71962         is always restored.
71964 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71966         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71967         are re-adding the entry.
71968         * nscd/servicescache.c (cache_addserv): Likewise.
71970 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71972         * sysdeps/generic/dl-irel.h: fix protection against multiple
71973         inclusions.
71974         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71976 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71978         [BZ #12935]
71979         * malloc/memusage.sh: Fix quoting in message.
71980         * debug/xtrace.sh: Likewise.
71982         * configure.in: Remove support for --experimental-malloc option, make
71983         it the default.
71984         * config.make.in: Likewise.
71985         * malloc/Makefile: Likewise.
71987 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71989         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71990         two-byte characters.
71992 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71994         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71995         AC_CACHE_CHECK invocation.
71996         * configure: Regenerated.
71998         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72000 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72002         [BZ #12350]
72003         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72004         bit from old_res_options.
72006         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72008         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72009         value type for setfct.
72011 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72014         __gettimeofday instead of gettimeofday.
72016 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72018         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72020 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72022         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72024         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72025         info.
72027 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72030         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72031         strcpy-sse2-unaligned strncpy-sse2-unaligned
72032         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72033         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72034         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72035         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72036         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72037         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72038         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72039         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72040         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72041         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72042         (STRCPY): Support SSE2 and SSSE3 versions.
72044 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72046         [BZ #12874]
72047         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72048         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72049         kernels which artificially limit size of requests.
72051 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72054         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72055         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72056         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72057         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72058         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72059         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72060         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72061         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72062         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72063         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72064         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72065         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72066         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72067         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72069         Enable unaligned load optimization for Intel Core i3, i5 and i7
72070         processors.
72071         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72072         Define.
72073         (index_Fast_Unaligned_Load): Define.
72074         (HAS_FAST_UNALIGNED_LOAD): Define.
72076 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72078         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72080 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72082         [BZ #12907]
72083         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72084         until it is clear that the information is realy needed.
72085         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72087 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72091 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72093         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72094         /sys/devices/system/cpu/online if it is usable.
72096         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72097         reading the information from the /proc filesystem to once a second.
72099 2011-06-21  Andreas Jaeger  <aj@suse.de>
72101         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72102         NULL after inclusion of kernel headers.
72104 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72106         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72107         calls to internal_setent.
72109         [BZ #12885]
72110         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72111         addresses using gethostbyname4_r ignore IPv4 addresses.
72113         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72114         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72116         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72118 2011-06-20  David S. Miller  <davem@davemloft.net>
72120         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72121         inclusions.
72122         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72124         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72125         (elf_irel): Use it.
72126         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72127         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72128         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72129         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72130         * sysdeps/x86_64/dl-irel.h: Likewise.
72132         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72133         * elf/dl-sym.c: Likewise.
72135 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72137         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72138         need to dereference resplen2.
72140 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72142         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72144 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72146         * Makeconfig: Define vardbdir and inst_vardbdir.
72147         * nss/Makefile: Add rules to install db-Makefile.
72149         * nss/nss_db/db-XXX.c: Cleanup.
72151         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72152         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72153         GLIBC_PRIVATE.
72154         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72155         * nss/makedb.c: Implement -g option to specify that value strings
72156         are generated and should not be added to table iterated over for
72157         get*ent calls.
72158         * nss/nss_db/db-initgroups.c: New file.
72160         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72161         interface.
72163         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72164         (internal_getgrouplist): Adjust to name change.
72165         Update use_initgroups_entry if this is not the first call.
72166         * nss/databases.def: Add initgroups entry.
72168         * nss/makedb.c (compute_tables): Check result of multiple hash table
72169         sizes to minimize maximum chain length.
72171 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72173         * Versions.def: Add entry for libnss_db.
72174         * shlib-versions: Likewise.
72175         * nss/Makefile: Add rules to build libnss_db.
72176         * nss/Versions: Add libnss_db information.  Organize libnss_files
72177         entries better.
72178         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72179         makedb progra.  Some minor improvements to generate smaller files.
72180         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72181         here from...
72182         * nss/makedb.c: ...here.
72183         Improve database format to be smaller and require less memory at
72184         runtime.
72185         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72186         db anymore.
72187         * nss/nss_db/db-netgrp.c: Likewise.
72188         * nss/nss_db/db-open.c: Likewise.
72189         * nss/nss_files/flies-XXX.x: Adjust comments.
72190         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72191         * nss/nss_files/files-grp.c: Likewise.
72192         * nss/nss_files/files-hosts.c: Likewise.
72193         * nss/nss_files/files-network.c: Likewise.
72194         * nss/nss_files/files-proto.c: Likewise.
72195         * nss/nss_files/files-pwd.c: Likewise.
72196         * nss/nss_files/files-rpc.c: Likewise.
72197         * nss/nss_files/files-service.c: Likewise.
72198         * nss/nss_files/files-sgrp.c: Likewise.
72199         * nss/nss_files/files-spwd.c: Likewise.
72200         * nss/nss_db/db-alias.c: Removed.
72201         * nss/nss_db/dummy-db.h: Removed.
72203 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72205         * nss/makedb.c: Rewritten to not use database library.
72206         * nss/Makefile: Update to build new makedb program.
72208 2011-06-14  Andreas Jaeger  <aj@suse.de>
72210         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72211         memset declaration.
72213 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72216         tmpbuf.
72218 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72220         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72221         * elf/Makefile ($(objpfx)ld.so): Likewise.
72223         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72224         Don't list ld.so twice in dependencies.
72226         * posix/bug-regex31.c: Include <stdlib.h>.
72228         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72230         * nis/nss_compat/compat-spwd.c
72231         (getspent_next_nss_netgr): Remove unused variable.
72232         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72234         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72235         nonmembers" output to use the right array.
72237         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72239         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72241         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72242         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72243         * catgets/gencat.c (read_input_file): Likewise.
72244         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72246         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72247         variable definition inside #if's controlling its use.
72249         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72251         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72253         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72255         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72256         unreachable code.
72258         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72260         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72261         * configure: Regenerated.
72263         * Makerules: Revert last change.
72264         * elf/Makefile: Likewise.
72266 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72268         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72269         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72270         (reloc-link): Likewise.
72272 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72274         * elf/Makefile: Add rules to build pldd.
72275         * elf/pldd.c: New file.
72276         * elf/pldd-xx.c: New file.
72278 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72280         * version.h: Update for 2.15 development version.
72282 2011-06-07  David S. Miller  <davem@davemloft.net>
72284         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72285         ifuncs.
72286         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72287         elf_machine_lazy_rel): Likewise.
72288         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72289         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72290         elf_machine_lazy_rel): Likewise.
72291         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72292         dl_hwcap via passed in argument.
72293         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72294         Likewise.
72296 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72298         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72300 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72302         [BZ #12849]
72303         * manual/fdl-1.1.texi: New file, verbatim from:
72304         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72305         * manual/lgpl-2.1.texi: New file, verbatim from:
72306         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72307         * manual/Makefile (licenses): New variable, list those new file names.
72308         (texis): Use it.
72309         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72311         * manual/fdl.texi: File removed.
72312         * manual/lesser.texi: File removed.
72313         * manual/libc.texinfo (Copying, Documentation License):
72314         Use new @include file names, put @appendix directive before @include.
72316 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72318         [BZ #12841]
72319         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72320         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72321         (mq_open): Add __NTH.
72323 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72325         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72326         Assume Intel Core i3/i5/i7 processor if AVX is available.
72328 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72330         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72331         typo.
72333 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72335         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72336         memory.  Use alloca_account.  Fix memory leak when retrying.
72338 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72340         * version.h (RELEASE): Bump for 2.14 release.
72341         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72343         * config.make.in (RANLIB): Remove entry.
72345 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72347         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72348         (libc.pot): Work around missing support for .ksh extension in xgettext.
72350         [BZ #12684]
72351         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72352         if both request failed.
72353         (send_dg): In case of server errors clear resplen or *resplen2.
72355         [BZ #12454]
72356         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72357         when there are multiple maps.
72358         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72359         (_dl_fini): Remove test here.
72361         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72363 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72365         [BZ #12350]
72366         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72367         bit from old_res_options.
72368         (gaih_inet): Likewise.
72370         [BZ #11099]
72371         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72372         as signed.
72374         * resolv/res_init.c (res_setoptions): Make the code more compact.
72376         [BZ #11558]
72377         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72378         set RES_USEVC.
72380         [BZ #11634]
72381         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72383         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72385         [BZ #11781]
72386         * malloc/malloc.h: Declare malloc hook variables as volatile.
72388         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72389         in last patch.
72391         [BZ #11799]
72392         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72393         raise in the comment.
72394         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72396         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72398 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72400         [BZ #12811]
72401         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72402         grow the buffers more if it already has to be sufficient.
72403         (build_wcs_upper_buffer): Likewise.
72404         * posix/regexec.c (check_matching): Likewise.
72405         (clean_state_log_if_needed): Likewise.
72406         (extend_buffers): Don't enlarge buffers beyond size of the input
72407         buffer.
72408         Patches mostly by Emil Wojak <emil@wojak.eu>.
72409         * posix/bug-regex32.c: New file.
72410         * posix/Makefile (tests): Add bug-regex32.
72412         * locale/findlocale.c (_nl_find_locale): Return right away if
72413         _nl_explode_name failed.
72414         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72416         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72418         * debug/xtrace.sh: Unify messages.
72419         * malloc/memusage.sh: Likewise.
72421         [BZ #12813]
72422         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72423         time symbol from vDSO.  Substitute with vsyscall if not available.
72424         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72425         __vdso_time.
72427         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72428         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72429         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72430         Add sendmmsg and internal_sendmmsg.
72431         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72432         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72433         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72435         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72436         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72437         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72439 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72441         [BZ #12813]
72442         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72443         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72444         available.
72445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72446         __vdso_getcpu.
72448         [BZ #12814]
72449         * iconvdata/Makefile (tests): Add bug-iconv9.
72450         * iconvdata/bug-iconv9.c: New file.
72452 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72454         [BZ #12814]
72455         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72457 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72459         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72460         (struct user_regs_struct): Change intcs field back to cs.
72462 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72464         * po/ja.po: Update from translation team.
72466 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72468         [BZ #12795]
72469         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72470         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72472 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72474         * stdlib/longlong.h: Update from GCC.
72476 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72478         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72479         parameter name.
72480         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72481         Add parameter name.
72482         (__sysconf): Pass it down.
72484 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72486         [BZ #12671]
72487         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72488         some situations.
72489         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72490         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72491         add in in __libc_use_alloca calls.  Adjust callers.
72492         (glob): Use malloc in some situations.
72494         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72495         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72496         pltexit.
72498 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72500         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72501         and CLOCK_BOOTTIME_ALARM.
72503         [BZ #12782]
72504         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72505         is returned.
72507         * string/_strerror.c (__strerror_r): Print negative errors as signed
72508         numbers.
72510         [BZ #12777]
72511         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72512         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72513         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72515         * configure.in: Fix typo in redirection and correct removal of test
72516         files in two cases.
72518         [BZ #12788]
72519         * locale/setlocale.c (new_composite_name): Fix test to check for
72520         identical name of all categories.
72522         [BZ #12792]
72523         * libio/filedoalloc.c (local_isatty): New function.
72524         (_IO_file_doallocate): Use local_isatty.
72525         * stdio-common/perror.c (perror): In case a new stream is used
72526         forward the stream error.
72527         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72528         error flag.
72530 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72532         [BZ #11884]
72533         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72534         alloca.
72535         * include/alloca.h (extend_alloca_account): Define.
72537         [BZ #11857]
72538         * posix/regex.h: Fix comments with documentation of user-accessible
72539         fields after compilation and describe correct free'ing of pattern
72540         after re_compile_pattern.
72541         Patch by Reuben Thomas <rrt@sc3d.org>.
72543 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72545         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72546         and -mno-altivec to prevent the compiler from using Altivec and/or
72547         VSX instructions when the corresponding registers are not available.
72549 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72551         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72553 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72555         * libio/freopen.c (freopen): Use __dup2, not dup2.
72556         * libio/freopen64.c (freopen64): Likewise.
72558 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72560         [BZ #12775]
72561         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72562         * math/Makefile (tests): Add test-powl.
72563         (CFLAGS-test-powl.c): Define.
72564         * math/test-powl.c: New file.
72566 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72568         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72570 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72572         [BZ #11837]
72573         * iconvdata/gb18030.c: Update to GB18020-2005.
72575 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72577         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72578         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72579         Patch by Aharon Robbins <arnold@skeeve.com>.
72581         [BZ #11892]
72582         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72583         on the stack.
72585         [BZ #11895]
72586         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72587         through underflows.
72589         [BZ #12766]
72590         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72591         point to strings before performing equality test for error_one_per_line
72592         mode.
72594         [BZ #11697]
72595         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72597         [BZ #11820]
72598         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72599         (struct user_fpregs_struct): Avoid __uint*_t types.
72601         [BZ #6420]
72602         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72603         symbol info.  Use it instead of calling _dl_addr locally.
72604         (lock_and_info): New function.
72605         (tr_freehook): Call lock_and_info and pass symbol info as additional
72606         parameter to tr_where.
72607         (tr_mallochook): Likewise.
72608         (tr_reallochook): Likewise.
72609         (tr_memalignhook): Likewise.
72611         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72612         used and couldn't be at all thread-safe.
72614 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72616         * libio/freopen.c (freopen): Don't close old file descriptor
72617         before the new one is opened.  Instead dup the new file descriptor
72618         to the old one after the new stream is created.
72619         * libio/freopen64.c (freopen64): Likewise.
72620         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72621         * libio/fileops.c (_IO_new_file_close_it): Handle new
72622         _IO_FLAGS2_NOCLOSE flag.
72623         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72624         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72625         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72626         _IO_FLAGS2_NOCLOSE flag.
72627         * include/unistd.h: Add hidden_proto for dup3.
72628         Define __have_dup3.
72629         * io/dup3.c: Define hidden symbol.
72630         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72632         [BZ #7101]
72633         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72634         when an incomplete long option is used.
72635         * posix/tst-getopt_long1.c: New file.
72636         * posix/Makefile (tests): Add tst-getopt_long1.
72638         [BZ #10138]
72639         * scripts/config.guess: Update from autoconf-2.68.
72640         * scripts/config.sub: Likewise.
72642         [BZ #10157]
72643         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72644         tests into ...
72645         (has_cpuclock): ...this.  New function.
72646         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72647         macro here based on has_cpuclock code.
72649         [BZ #10149]
72650         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72651         First byte (not low byte) is now always NUL.
72652         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72654         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72655         Use non-cancelable interfaces.
72657         [BZ #9809]
72658         * locale/iso-639.def: Add entry for Sorani.
72660         [BZ #11901]
72661         * include/stdlib.h: Move include protection to the right place.
72662         Define abort_msg_s.  Declare __abort_msg with it.
72663         * stdlib/abort.c (__abort_msg): Adjust type.
72664         * assert/assert.c (__assert_fail_base): New function.  Majority
72665         of code from __assert_fail.  Allocate memory for __abort_msg with
72666         mmap.
72667         (__assert_fail): Now call __assert_fail_base.
72668         * assert/assert-perr.c: Remove bulk of implementation.  Use
72669         __assert_fail_base.
72670         * include/assert.hL Declare __assert_fail_base.
72671         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72672         mmap.
72673         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72675 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72677         [BZ #11952]
72678         [BZ #12453]
72679         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72680         until all modules are registered in the DTV.
72681         * elf/Makefile: Add rules to build and run tst-tls19.
72682         * elf/tst-tls19.c: New file.
72683         * elf/tst-tls19mod1.c: New file.
72684         * elf/tst-tls19mod2.c: New file.
72685         * elf/tst-tls19mod3.c: New file.
72686         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72688         [BZ #12083]
72689         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72690         correctly.
72692         [BZ #12601]
72693         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72694         two-byte sequence errors.
72695         * iconvdata/Makefile (tests): Add bug-iconv8.
72696         * iconvdata/bug-iconv8.c: New file.
72698         [BZ #12626]
72699         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72700         buf2 definition.
72702         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72704         [BZ #12432]
72705         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72706         (dummy_getcfa): New function.
72707         (init): Get _Unwind_GetCFA address, use dummy if not found.
72708         (backtrace_helper): In recursion check, also check whether CFA changes.
72709         (__backtrace): Completely initialize arg.
72711         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72712         storing incomplete byte sequence in state object.  Avoid testing for
72713         guaranteed too small input if we know there is enough data available.
72715 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72717         * Makeconfig (+link-pie): Indent.
72718         * Rules (binaries-pie): Define if $(have-fpie) and
72719         $(build-shared).
72720         (binaries-shared): Also filter out $(binaries-pie).
72721         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72722         * nscd/Makefile (others-pie): Add nscd.
72723         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72724         ($(objpfx)nscd): Remove command override.
72725         * login/Makefile (others-pie): Add pt_chown.
72726         ($(objpfx)pt_chown): Remove command override.
72727         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72728         remove command overrides.
72730 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72732         * libio/tst_putwc.c: Fix error messages.
72734         [BZ #12724]
72735         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72736         currently writing and seek to current position when not.
72737         * libio/Makefile (tests): Add bug-fclose1.
72738         * libio/bug-fclose1.c: New file.
72740 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72742         [BZ #12511]
72743         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72744         don't set DF_1_NODELETE here.
72745         (do_lookup_x): When entering new entry test for copy relocation
72746         and if necessary set DF_1_NODELETE flag.
72747         * elf/tst-unique4.cc: New file.
72748         * elf/tst-unique4.h: New file.
72749         * elf/tst-unique4lib.cc: New file.
72750         * elf/Makefile: Add rules to build and run tst-unique4.
72751         Patch by Piotr Bury <pbury@goahead.com>.
72753 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72755         [BZ #12052]
72756         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72758         [BZ #12625]
72759         * misc/mntent_r.c (addmntent): Flush the stream after the output
72761         [BZ #12393]
72762         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72763         (is_trusted_path_normalize): Skip initial colon.  Append slash
72764         to empty buffer.  Duplicate is_trusted_path code but allow
72765         constructed patch to be prefix.
72766         (is_dst): Allow $ORIGIN followed by /.
72767         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72768         Correct testing of result of is_trusted_path_normalize
72769         (decompose_rpath): Fix warning.
72771 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72773         [BZ #11257]
72774         * grp/initgroups.c (internal_getgrouplist): When we found the service
72775         list through the initgroups entry in nsswitch.conf do not always
72776         continue on a successful lookup.  Don't always use the
72777         __nss_group_database value if it is set.
72778         * nss/nsswitch.conf (initgroups): Change action for successful db
72779         lookup to continue for compatibility.
72781 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72783         [BZ #11532]
72784         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72785         and CP774 modules.
72786         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72787         and CP774 modules.
72788         * iconvdata/tst-tables.sh: Likewise.
72789         * iconvdata/cp770.c: New file.
72790         * iconvdata/cp771.c: New file.
72791         * iconvdata/cp772.c: New file.
72792         * iconvdata/cp773.c: New file.
72793         * iconvdata/cp774.c: New file.
72794         * iconvdata/testdata/CP770: New file.
72795         * iconvdata/testdata/CP770..UTF8: New file.
72796         * iconvdata/testdata/CP771: New file.
72797         * iconvdata/testdata/CP771..UTF8: New file.
72798         * iconvdata/testdata/CP772: New file.
72799         * iconvdata/testdata/CP772..UTF8: New file.
72800         * iconvdata/testdata/CP773: New file.
72801         * iconvdata/testdata/CP773..UTF8: New file.
72802         * iconvdata/testdata/CP774: New file.
72803         * iconvdata/testdata/CP774..UTF8: New file.
72805         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72806         END CHARMAP line.
72807         * iconvdata/gen-8bit-gap.sh: Likewise.
72808         * iconvdata/gen-8bit.sh: Likewise.
72810         * locale/iso-639.def: Add ary entry.
72812         [BZ #11258]
72813         * locale/C-translit.h.in: Add U20A1 transliteration.
72815         [BZ #12178]
72816         * locale/iso-639.def: Add wae entry.
72817         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72819         [BZ #12545]
72820         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72821         for n.
72823         [BZ #12711]
72824         * locale/C-translit.h.in: Add entry for U20B9.
72825         Patch by pravin.d.s@gmail.com.
72827 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72829         [BZ #12713]
72830         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72831         ENAMETOOLONG use generic getcwd.
72832         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72833         in rtld.  Use *stat64.
72834         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72835         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72836         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72837         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72838         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72839         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72840         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72841         __fstatat64 macros.
72842         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72843         * dirent/rewinddir.c: Add libc_hidden_def.
72844         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72845         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72847         * include/dirent.h (__alloc_dir): Add flags parameter.
72848         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72849         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72850         __alloc_dir.
72851         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72852         from fdopendir if O_CLOEXEC is already set.
72854 2011-03-15  Alan Modra  <amodra@gmail.com>
72856         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72857         l_tls_firstbyte_offset non-zero.  Save padding offset in
72858         l_tls_firstbyte_offset for later use.
72859         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72860         freeing static tls block.
72862 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72864         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72865         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72866         being defined by the kernel headers.
72868 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72870         [BZ #12734]
72871         * resolv/resolv.h: Define RES_NOTLDQUERY.
72872         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72873         no-tld-query and set RES_NOTLDQUERY.
72874         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72875         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72876         modern BIND to search name as TLD unless forbidden.
72878 2011-05-07  Petr Baudis  <pasky@suse.cz>
72879             Ulrich Drepper  <drepper@gmail.com>
72881         [BZ #12393]
72882         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72883         (is_trusted_path): ...to here.
72884         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72885         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72886         using is_trusted_path_normalize() in setuid scripts.
72888 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72890         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72891         __BEGIN/__END_DECLS.
72893 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72895         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72896         NSS_STATUS_NOTFOUND if no record was found.
72898 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72900         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72901         (headers-not-in-tirpc): Remove rpc/netdb.h
72902         * resolv/netdb.h: Revert last change.
72904 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72906         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72907         circular dependency between libgcc.a and libc.a.
72909 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72911         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72912         * nis/Makefile: Don't install rpcsvc/*.
72913         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72914         instead of <rpc/types.h>.
72915         (MAXHOSTNAMELEN): Define.
72917 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72919         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72921 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72923         [BZ #12714]
72924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72925         gethostbyname4_r when IPv6 results are possible.
72927 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72929         [BZ #12723]
72930         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72931         _PC_PIPE_BUF handling.
72933 2011-04-30  Bruno Haible  <bruno@clisp.org>
72935         [BZ #12717]
72936         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72937         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72938         to 'int'.
72939         * inet/getnameinfo.c (getnameinfo): Likewise.
72941 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72943         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72944         to groups setting in database lookup.
72945         * nss/nsswitch.conf: Add initgroups entry.
72947 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72949         [BZ #12685]
72950         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72951         mode string.
72952         Patch by Eric Blake <eblake@redhat.com>.
72954 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72956         * sunrpc/Makefile (need-export-routines): Add svc_run.
72957         (routines): Remove svc_run.
72958         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72959         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72960         * sunrpc/svc_run.c (svc_run): Likewise.
72961         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72963 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72965         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72966         problem in reallocation in last patch.
72968 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72970         * sunrpc/Makefile: Move inclusion of Rules.
72972 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72974         * nss/nss_files/files-initgroups.c: New file.
72975         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72976         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72977         _nss_files_initgroups_dyn.
72979 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72981         * elf/elf.h (R_ARM_IRELATIVE): Define.
72983 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72985         * po/ru.po: Update from translation team.
72987 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72989         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72990         dependencies.
72992 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72994         [BZ #12653]
72995         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72996         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72997         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72998         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72999         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73001 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73003         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73004         differing bytes.
73005         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73006         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73007         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73009 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73011         [BZ #12420]
73012         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73013         storing it.
73014         * stdlib/bug-getcontext.c: New file.
73015         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73017 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73019         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73020         instructions into .machine "z9-109".
73021         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73022         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73024 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73026         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73027         between environment variables and auxiliary vector.
73029 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73031         * Makefile: Add rules to build linkobj/libc.so.
73032         * include/libc-symbols.h: Define libc_hidden_nolink.
73033         * include/rpc/auth.h: Mark functions which are to be hidden.
73034         * include/rpc/auth_des.h: Likewise.
73035         * include/rpc/auth_unix.h: Likewise.
73036         * include/rpc/clnt.h: Likewise.
73037         * include/rpc/des_crypt.h: Likewise.
73038         * include/rpc/key_prot.h: Likewise.
73039         * include/rpc/pmap_clnt.h: Likewise.
73040         * include/rpc/pmap_prot.h: Likewise.
73041         * include/rpc/pmap_rmt.h: Likewise.
73042         * include/rpc/rpc_msg.h: Likewise.
73043         * include/rpc/svc.h: Likewise.
73044         * include/rpc/svc_auth.h: Likewise.
73045         * include/rpc/xdr.h: Likewise.
73046         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73047         * nss/Makefile: Likewise.
73048         * sunrpc/Makefile: Don't install headers.  Build library with normal
73049         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73050         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73051         for the compat linking library.  Remove use of INTDEF/INTUSE.
73052         * sunrpc/auth_none.c: Likewise.
73053         * sunrpc/auth_unix.c: Likewise.
73054         * sunrpc/authdes_prot.c: Likewise.
73055         * sunrpc/authuxprot.c: Likewise.
73056         * sunrpc/clnt_gen.c: Likewise.
73057         * sunrpc/clnt_perr.c: Likewise.
73058         * sunrpc/clnt_raw.c: Likewise.
73059         * sunrpc/clnt_simp.c: Likewise.
73060         * sunrpc/clnt_tcp.c: Likewise.
73061         * sunrpc/clnt_udp.c: Likewise.
73062         * sunrpc/clnt_unix.c: Likewise.
73063         * sunrpc/des_crypt.c: Likewise.
73064         * sunrpc/des_soft.c: Likewise.
73065         * sunrpc/get_myaddr.c: Likewise.
73066         * sunrpc/key_call.c: Likewise.
73067         * sunrpc/key_prot.c: Likewise.
73068         * sunrpc/netname.c: Likewise.
73069         * sunrpc/pm_getmaps.c: Likewise.
73070         * sunrpc/pm_getport.c: Likewise.
73071         * sunrpc/pmap_clnt.c: Likewise.
73072         * sunrpc/pmap_prot.c: Likewise.
73073         * sunrpc/pmap_prot2.c: Likewise.
73074         * sunrpc/pmap_rmt.c: Likewise.
73075         * sunrpc/publickey.c: Likewise.
73076         * sunrpc/rpc_cmsg.c: Likewise.
73077         * sunrpc/rpc_common.c: Likewise.
73078         * sunrpc/rpc_dtable.c: Likewise.
73079         * sunrpc/rpc_prot.c: Likewise.
73080         * sunrpc/rpc_thread.c: Likewise.
73081         * sunrpc/rtime.c: Likewise.
73082         * sunrpc/svc.c: Likewise.
73083         * sunrpc/svc_auth.c: Likewise.
73084         * sunrpc/svc_authux.c: Likewise.
73085         * sunrpc/svc_raw.c: Likewise.
73086         * sunrpc/svc_run.c: Likewise.
73087         * sunrpc/svc_simple.c: Likewise.
73088         * sunrpc/svc_tcp.c: Likewise.
73089         * sunrpc/svc_udp.c: Likewise.
73090         * sunrpc/svc_unix.c: Likewise.
73091         * sunrpc/svcauth_des.c: Likewise.
73092         * sunrpc/xcrypt.c: Likewise.
73093         * sunrpc/xdr.c: Likewise.
73094         * sunrpc/xdr_array.c: Likewise.
73095         * sunrpc/xdr_float.c: Likewise.
73096         * sunrpc/xdr_intXX_t.c: Likewise.
73097         * sunrpc/xdr_mem.c: Likewise.
73098         * sunrpc/xdr_rec.c: Likewise.
73099         * sunrpc/xdr_ref.c: Likewise.
73100         * sunrpc/xdr_sizeof.c: Likewise.
73101         * sunrpc/xdr_stdio.c: Likewise.
73103 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73105         [BZ #12650]
73106         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73107         * sysdeps/ia64/dl-tls.h: Likewise.
73108         * sysdeps/powerpc/dl-tls.h: Likewise.
73109         * sysdeps/s390/dl-tls.h: Likewise.
73110         * sysdeps/sh/dl-tls.h: Likewise.
73111         * sysdeps/sparc/dl-tls.h: Likewise.
73112         * sysdeps/x86_64/dl-tls.h: Likewise.
73113         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73115 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73117         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73118         rpath element also skip the following colon.
73119         (expand_dynamic_string_token): Add is_path parameter and pass
73120         down to DL_DST_REQUIRED and _dl_dst_substitute.
73121         (decompose_rpath): Call expand_dynamic_string_token with
73122         non-zero is_path.  Ignore empty rpaths.
73123         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73124         with zero is_path.
73126 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73129         Make cancelable.
73131 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73133         [BZ #12655]
73134         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73135         Patch by Filipe David Manana <fdmanana@apache.org>.
73137 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73140         Maintain aligned stack.
73141         (CHECK_RSP): Remove unused macro.
73143 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73145         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73146         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73148 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73150         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73152         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73154 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73156         [BZ #12518]
73157         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73158         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73159         * sysdeps/x86_64/memmove.c: New file.
73160         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73161         (memcpy): Renamed to ...
73162         (__new_memcpy): This.
73163         (memcpy): Provide GLIBC_2_14 memcpy.
73164         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73165         (memcpy): Provide GLIBC_2_2_5 memcpy.
73167 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73169         [BZ #12631]
73170         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73172 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73174         * misc/syncfs.c: New file.
73175         * misc/Makefile (routines): Add syncfs.
73176         * posix/unistd.h: Declare syncfs.
73177         * sysdeps/unix/syscalls.list: Add syncfs.
73179 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73181         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73182         open_by_handle_at.
73183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73184         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73186         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73187         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73188         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73191 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73193         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73194         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73195         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73197         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73198         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73201         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73202         sync_file_range.c with -fexceptions.
73203         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73204         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73205         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73206         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73207         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73208         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73210         sync_file_range as cancellation point
73211         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73212         now a wrapper around __call_sync_file_range with cancellation handling.
73213         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73214         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73215         function name to __call_sync_file_range.
73216         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73217         Add call_sync_file_range.
73219 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73222         bits/timex.h.
73224 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73226         * iconv/iconv.h: Fix typo in comment.
73227         * io/fcntl.h: Likewise.
73228         * libio/stdio.h: Likewise.
73229         * posix/spawn.h: Likewise.
73230         * posix/unistd.h: Likewise.
73231         * stdlib/stdlib.h: Likewise.
73232         * time/time.h: Likewise.
73233         * wcsmbs/wchar.h: Likewise.
73235         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73236         open_by_handle): Add.
73237         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73238         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73239         Augment a few comments.
73240         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73241         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73242         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73243         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73244         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73245         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73246         open_by_handle.
73248         * io/fcntl.h (AT_EMPTY_PATH): Define.
73250 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73252         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73253         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73254         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73255         to...
73256         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73257         * Versions.def: Add GLIBC_2.14.
73258         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73259         Export.
73261 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73263         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73264         round counter.
73265         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73267 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73269         [BZ #12597]
73270         * string/test-strncmp.c (do_page_test): New function.
73271         (check2): Likewise.
73272         (test_main): Call check2.
73273         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73275 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73277         [BZ #12587]
73278         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73279         Handle cache information in CPU leaf 4.
73280         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73282 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73284         [BZ #12583]
73285         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73286         character representation.
73287         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73289 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73291         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73292         END(__isnan) to END(__isnanf) to match function entry point/label
73293         EALIGN(__isnanf,...).
73295 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73297         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73299 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73301         [BZ #12510]
73302         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73303         copy from the symbol referenced in the relocation to initialize the
73304         used variable.
73305         Patch by Piotr Bury <pbury@goahead.com>.
73306         * elf/Makefile: Add rules to build and tst-unique3.
73307         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73308         * elf/tst-unique3.cc: New file.
73309         * elf/tst-unique3.h: New file.
73310         * elf/tst-unique3lib.cc: New file.
73311         * elf/tst-unique3lib2.cc: New file.
73313         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73315 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73317         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73318         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73319         to _start.
73321 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73323         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73324         to-be-loaded object along a path to loader is ld.so.
73326 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73327             Ulrich Drepper  <drepper@gmail.com>
73329         * sysdeps/x86_64/memset.S: After aligning destination, code
73330         branches to different locations depending on the value of
73331         misalignment, when multiarch is enabled. Fix this.
73333 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73335         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73336         Set _x86_64_preferred_memory_instruction for AMD processsors.
73337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73338         Set bit_Prefer_SSE_for_memop for AMD processors.
73340 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73342         * libio/fmemopen.c (fmemopen): Optimize a bit.
73344 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73346         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73348 2011-03-03  Roland McGrath  <roland@redhat.com>
73350         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73352 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73354         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73355         __bzero_ultra1 instead of __memset_ultra1.
73357 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73358             Ulrich Drepper  <drepper@gmail.com>
73360         [BZ #12509]
73361         * include/link.h (struct link_map): Add l_orig_initfini.
73362         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73363         returning unsuccessfully.
73364         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73365         close of a file loaded at startup, restore the original l_initfini
73366         list.
73367         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73368         list, store the pointer.
73369         * elf/Makefile ($(objpfx)noload-mem): New rule.
73370         (noload-ENV): Define.
73371         (tests): Add $(objpfx)noload-mem.
73372         * elf/noload.c: Include <memcheck.h>.
73373         (main): Call mtrace.  Close all opened handles.
73375 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73377         [BZ #12454]
73378         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73379         dependencies are missing.
73381 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73383         Fix __if_freereq crash: Unlike the generic version which uses free,
73384         Hurd needs munmap.
73385         * sysdeps/mach/hurd/ifreq.h: New file.
73387 2011-01-27  Petr Baudis  <pasky@suse.cz>
73388             Ulrich Drepper  <drepper@gmail.com>
73390         [BZ 12445]#
73391         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73392         to extend_alloca().
73393         * stdio-common/bug23.c: New file.
73394         * stdio-common/Makefile (tests): Add bug23.
73396 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73397             Ulrich Drepper  <drepper@gmail.com>
73399         [BZ #12489]
73400         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73401         before performing relro protection.  At old place add assertion
73402         to make sure nothing changed.
73404 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73405             Glauber de Oliveira Costa  <glommer@gmail.com>
73407         * elf/elf.h: Add new ARM TLS relocs.
73409 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73412         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73413         cast from r3.
73414         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73415         'tests' variable.
73416         * sysdeps/wordsize-64/tst-writev.c: New file.
73418 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73420         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73421         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73422         insns in _dl_start to prevent a TOC reference before relocs are
73423         resolved.
73425 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73427         [BZ #12469]
73428         * Makeconfig: Remove RANLIB definition.
73429         * Makerules: Don't use RANLIB.
73430         * aclocal.m4: Remove ranlib test.
73431         * configure.in: No need to check for ranlib.
73432         * elf/rtld-Rules: Don't use RANLIB.
73434 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73436         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73437         protection macro.
73438         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73439         inclusion protection macro.
73441         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73442         SIGRTMIN and SIGRTMAX and print information in that case only when
73443         SIGRTMIN is defined.
73445 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73447         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73448         arginfo fn returning -1.
73450         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73451         and thousands string is zero terminated.
73453 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73455         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73456         sysdeps/unix/sysv/linux/bits/socket.h.
73458 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73460         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73461         (__CPU_COUNT): Remove old macros.
73462         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73463         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73464         (__CPU_ALLOC, __CPU_FREE): Add macros.
73465         (__sched_cpualloc, __sched_cpufree): Add declarations.
73467 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73469         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73470         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73471         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73472         (readdhstai): Return value of addhstaiX call.
73473         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73474         (addgrbyX): Return value returned by cache_addgr.
73475         (readdgrbyname): Return value returned by addgrbyX.
73476         (readdgrbygid): Likewise.
73477         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73478         (addpwbyX): Return value returned by cache_addpw.
73479         (readdpwbyname): Return value returned by addhstbyX.
73480         (readdpwbyuid): Likewise.
73481         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73482         (addservbyX): Return value returned by cache_addserv.
73483         (readdservbyname): Return value returned by addservbyX:
73484         (readdservbyport): Likewise.
73485         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73486         (addhstbyX): Return value returned by cache_addhst.
73487         (readdhstbyname): Return value returned by addhstbyX.
73488         (readdhstbyaddr): Likewise.
73489         (readdhstbynamev6): Likewise.
73490         (readdhstbyaddrv6): Likewise.
73491         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73492         (readdinitgroups): Return value returned by addinitgroupsX.
73493         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73494         (prune_cache): Keep track of timeout value of re-added entries.
73495         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73496         * nscd/nscd.h: Adjust prototypes of readd* functions.
73498 2011-02-04  Roland McGrath  <roland@redhat.com>
73500         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73501         (nis_stats): Likewise.
73502         * nis/nis_modify.c (nis_modify): Likewise.
73503         * nis/nis_remove.c (nis_remove): Likewise.
73504         * nis/nis_add.c (nis_add): Likewise.
73506         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73508         * posix/fnmatch_loop.c: Add some consts.
73510         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73512 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73514         [BZ #12460]
73515         * config.make.in (config-cflags-novzeroupper): Define.
73516         * configure.in: Substitute libc_cv_cc_novzeroupper.
73517         * elf/Makefile (AVX-CFLAGS): Define.
73518         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73519         (CFLAGS-tst-auditmod4a.c): Likewise.
73520         (CFLAGS-tst-auditmod4b.c): Likewise.
73521         (CFLAGS-tst-auditmod6b.c): Likewise.
73522         (CFLAGS-tst-auditmod6c.c): Likewise.
73523         (CFLAGS-tst-auditmod7b.c): Likewise.
73524         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73526 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73528         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73529         function to the callback.
73530         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73532 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73534         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73535         of errno.
73537 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73539         [BZ #11724]
73540         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73541         of constructors.
73542         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73543         of destructors.
73544         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73546         [BZ #11724]
73547         * elf/Makefile: Add rules to build and run new test.
73548         * elf/tst-initorder.c: New file.
73549         * elf/tst-initorder.exp: New file.
73550         * elf/tst-initordera1.c: New file.
73551         * elf/tst-initordera2.c: New file.
73552         * elf/tst-initordera3.c: New file.
73553         * elf/tst-initordera4.c: New file.
73554         * elf/tst-initorderb1.c: New file.
73555         * elf/tst-initorderb2.c: New file.
73556         * elf/tst-order-a1.c: New file.
73557         * elf/tst-order-a2.c: New file.
73558         * elf/tst-order-a3.c: New file.
73559         * elf/tst-order-a4.c: New file.
73560         * elf/tst-order-b1.c: New file.
73561         * elf/tst-order-b2.c: New file.
73562         * elf/tst-order-main.c: New file.
73563         New test case by George Gensure <werkt0@gmail.com>.
73565 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73567         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73568         decoding ACE if AI_CANONIDN.
73570 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73572         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73574 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73576         * version.h (RELEASE): Bump for 2.13 release.
73577         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73579         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73581         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73582         MADV_NOHUGEPAGE.
73583         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73584         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73585         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73586         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73587         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73588         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73590         * posix/getconf.c: Update copyright year.
73591         * catgets/gencat.c: Likewise.
73592         * csu/version.c: Likewise.
73593         * debug/catchsegv.sh: Likewise.
73594         * debug/xtrace.sh: Likewise.
73595         * elf/ldconfig.c: Likewise.
73596         * elf/ldd.bash.in: Likewise.
73597         * elf/sprof.c (print_version): Likewise.
73598         * iconv/iconv_prog.c: Likewise.
73599         * iconv/iconvconfig.c: Likewise.
73600         * locale/programs/locale.c: Likewise.
73601         * locale/programs/localedef.c: Likewise.
73602         * malloc/memusage.sh: Likewise.
73603         * malloc/mtrace.pl: Likewise.
73604         * nscd/nscd.c (print_version): Likewise.
73605         * nss/getent.c: Likewise.
73607         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73608         PF_CAIF, and PF_ALG.
73609         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73611 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73613         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73614         (modules-names): Use them.
73615         (ifunc-test-modules, ifunc-pie-tests): Define.
73616         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73617         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73618         (test-extras): Likewise.
73619         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73620         $(compile-command.c).
73621         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73622         (all-built-dso): Define.
73623         (check-textrel.out, check-execstack.out): Depend on it.
73625         * configure.in: Don't override --enable-multi-arch.
73627 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73629         [BZ #6812]
73630         * nscd/hstcache.c (tryagain): Define.
73631         (cache_addhst): Return tryagain not notfound for temporary errors.
73632         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73633         failed.
73635 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73637         [BZ #10563]
73638         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73639         to make the syscall.
73640         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73642         [BZ #12378]
73643         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73644         and fall back to matching as normal character if the string ends before
73645         the matching ']' is found.  This is what POSIX requires.
73646         * posix/testfnm.c: Adjust test result.
73647         * posix/globtest.sh: Adjust test result.  Add new test.
73648         * posix/tst-fnmatch.input: Likewise.
73649         * posix/tst-fnmatch2.c: Add new test.
73651 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73653         * elf/Makefile (check-execstack): Revert last change.  Depend on
73654         check-execstack.h.
73655         (check-execstack.h): New target.
73656         (generated): Add check-execstack.h.
73657         * elf/check-execstack.c: Include "check-execstack.h".
73658         (main): Revert last change.
73659         (handle_file): Return zero if GNU_STACK is absent and
73660         DEFAULT_STACK_PERMS doesn't include PF_X.
73662 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73664         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73665         in child fails because the descriptor is already closed.
73666         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73667         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73668         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73670         [BZ #12397]
73671         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73672         syscall.
73674         [BZ #10484]
73675         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73676         temporary buffer used to handle multi lookups locally.
73677         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73679 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73681         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73682         loader is ld.so.
73684 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73686         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73687         alignment for SSE2.
73689 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73691         [BZ #12394]
73692         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73693         characters.  When rounding increased number of integer digits recompute
73694         number of groups.
73695         * stdio-common/tst-grouping.c: New file.
73696         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73698 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73700         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73701         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73703         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73704         void.
73705         * bits/select.h: Likewise.
73707 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73709         * po/ja.po: Update from translation team.
73711 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73713         [BZ #11155]
73714         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73715         implementation just like for lxstat, fxstatat, et al.
73717 2010-12-27  Jim Meyering  <meyering@redhat.com>
73719         [BZ #12348]
73720         * posix/regexec.c (build_trtable): Return failure indication upon
73721         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73723 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73725         [BZ #12201]
73726         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73727         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73728         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73729         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73731         [BZ #12207]
73732         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73734         [BZ #12204]
73735         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73736         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73738 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73740         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73741         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73742         script has SORT_BY_INIT_PRIORITY.
73743         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73744         NO_CTORS_DTORS_SECTIONS is defined.
73745         * elf/soinit.c: Likewise.
73746         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73747         NO_CTORS_DTORS_SECTIONS is defined.
73748         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73749         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73750         * sysdeps/sh/init-first.c: Likewise.
73751         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73753 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73755         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73756         always use the slow path.
73758 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73760         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73761         similar rule which adds the sysdep directories to the header search in
73762         order to pick up the correct platform stackinfo.h.
73763         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73764         perform test if it is, otherwise return successfully without testing.
73765         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73766         DEFAULT_STACK_PERMS define in stackinfo.h.
73767         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73768         defined in stackinfo.h.
73769         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73770         DEFAULT_STACK_PERMS defined in stackinfo.h.
73771         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73772         * sysdeps/ia64/stackinfo.h: Likewise.
73773         * sysdeps/s390/stackinfo.h: Likewise.
73774         * sysdeps/sh/stackinfo.h: Likewise.
73775         * sysdeps/sparc/stackinfo.h: Likewise.
73776         * sysdeps/x86_64/stackinfo.h: Likewise.
73777         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73778         PF_X for powerpc64.  Retain PF_X for powerpc32.
73780 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73782         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73783         accurately.
73784         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73785         GETDENTS_64BIT_ALIGNED.
73787 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73789         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73791 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73793         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73794         _GNU_SOURCE.
73796         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73797         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73798         Remove __restrict.
73799         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73800         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73802 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73804         [BZ #11655]
73805         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73806         are initialized.
73808 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73810         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73812 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73814         * po/it.po: Update from translation team.
73816 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73818         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73819         unused codes.
73821 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73823         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73825 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73827         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73828         specially.
73829         (gaih_getanswer_slice): Likewise.
73831 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73835 2010-05-31  Petr Baudis  <pasky@suse.cz>
73837         [BZ #11149]
73838         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73839         silently even in the chroot mode.
73841 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73843         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73844         last patch a bit.  Pretty printing
73846 2010-05-31  Petr Baudis <pasky@suse.cz>
73848         [BZ #10085]
73849         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73850         initialization of skip_initgroups_dyn.
73852 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73854         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73855         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73857 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73859         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73861 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73863         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73864         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73865         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73866         ($(objpfx)tst-fnmatch-mem): New rule.
73867         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73868         * posix/tst-fnmatch.c (main): Call mtrace.
73870 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73873         Support Intel processor model 6 and model 0x2c.
73875 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73877         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73878           signed comparison.
73880 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73882         [BZ #12205]
73883         * string/test-strncasecmp.c (check_result): New function.
73884         (do_one_test): Use it.
73885         (check1): New function.
73886         (test_main): Use it.
73887         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73888         Support strcasecmp and strncasecmp.
73890 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73892         [BZ #12194]
73893         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73894         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73896 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73898         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73899         IFUNC support.
73900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73901         memset-x86-64.
73902         * sysdeps/x86_64/multiarch/bzero.S: New file.
73903         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73904         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73905         * sysdeps/x86_64/multiarch/memset.S: New file.
73906         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73907         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73908         Set bit_Prefer_SSE_for_memop for Intel processors.
73909         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73910         Define.
73911         (index_Prefer_SSE_for_memop): Define.
73912         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73914 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73916         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73917         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73919 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73921         [BZ #12191]
73922         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73923         (__x86_64_raw_data_cache_size_half): Likewise.
73924         (__x86_64_raw_shared_cache_size): Likewise.
73925         (__x86_64_raw_shared_cache_size_half): Likewise.
73927         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73928         (__x86_64_raw_data_cache_size_half): Likewise.
73929         (__x86_64_raw_shared_cache_size): Likewise.
73930         (__x86_64_raw_shared_cache_size_half): Likewise.
73931         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73932         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73933         and __x86_64_raw_shared_cache_size_half.  Round
73934         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73935         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73936         to multiple of 256 bytes.
73938 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73940         [BZ #12167]
73941         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73942         of inacessible symlinks.  Verify result of symlink before returning it.
73943         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73944         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73946 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73948         * math/math.h (isinf): Fix typo in comment.
73950 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73952         * po/da.po: Update from translation team.
73954 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73956         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73957         is added to the list.
73959 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73960             Ulrich Drepper  <drepper@gmail.com>
73962         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73963         the global list here.  Move code to...
73964         (_dl_add_to_namespace_list): ...here.  New function.
73965         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73966         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73967         * elf/dl-load.c (lose): Don't remove the element from the list.
73968         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73969         (_dl_map_object): Likewise.
73971 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73973         [BZ #12159]
73974         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73975         into all bytes of SSE register.
73976         Patch by Richard Li <richardpku@gmail.com>.
73978 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73980         [BZ #12140]
73981         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73982         perturbing.
73984 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73986         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73987         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73988         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73989         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73991         submachine.
73992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73994 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73996         * include/dlfcn.h (__RTLD_SECURE): Define.
73997         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73998         mode & __RTLD_SECURE instead.
73999         (open_path): Rename preloaded parameter to secure.
74000         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74001         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74002         * elf/dl-deps.c (openaux): Likewise.
74003         * elf/rtld.c (struct map_args): Remove is_preloaded.
74004         (map_doit): Don't use it.
74005         (dl_main): Likewise.
74006         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74007         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74009 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74011         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74012         (sysd-rules-targets): Remove duplicates.
74013         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74014         rtld-%.$o dependency.
74016 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74018         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74019         _dl_map_object do it.
74021 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74023         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74024         fast fma builtins, define the macros in the C99 standard.
74025         (FP_FAST_FMAF): Likewise.
74026         (FP_FAST_FMAL): Likewise.
74027         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74029         * bits/mathdef.h: Update copyright year.
74030         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74032 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74034         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74035         builtins, define the macros in the C99 standard.
74036         (FP_FAST_FMAF): Likewise.
74037         (FP_FAST_FMAL): Likewise.
74038         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74039         multiply/add.
74040         (FP_FAST_FMAF): Likewise.
74042 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74044         [BZ #3268]
74045         * math/libm-test.inc (fma_test): Some new testcases.
74046         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74047         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74048         y and infinite z.  Do multiplication by C already in long double.
74049         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74051         y and infinite z.  Do bitwise or of inexact bit into u.d.
74052         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74053         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74054         * sysdeps/i386/fpu/s_fma.S: Removed.
74055         * sysdeps/i386/fpu/s_fmal.S: Removed.
74057 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74059         [BZ #3268]
74060         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74062         computation is not scheduled after fetestexcept.  Fix value
74063         of minimum denormal long double.
74065 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74067         [BZ #3268]
74068         * math/libm-test.inc (fma_test): Add some more tests.
74069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74070         correctly.
74072 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74074         * scripts/data/localplt-s390-linux-gnu.data: New file.
74075         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74077 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74079         [BZ #3268]
74080         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74081         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74082         instead of dbl-64.
74083         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74084         inlines.
74085         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74087         if one of x and y is very large and the other is subnormal.
74088         * sysdeps/s390/fpu/s_fmaf.c: New file.
74089         * sysdeps/s390/fpu/s_fma.c: New file.
74090         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74091         * sysdeps/powerpc/fpu/s_fma.S: New file.
74092         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74093         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74094         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74096 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74098         [BZ #3268]
74099         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74100         fma tests.
74101         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74102         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74103         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74104         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74105         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74106         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74107         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74109 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74111         [BZ #12078]
74112         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74113         * posix/bug-regex31.input: Add test case.
74115 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74117         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74118         * posix/bug-regex31.input: New file.
74120         [BZ #12078]
74121         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74122         (parse_sub_exp): Fix last change, use postorder.
74124         * posix/bug-regex31.c: New file.
74125         * posix/Makefile: Add rules to build and run bug-regex31.
74127         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74129         [BZ #12078]
74130         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74132         [BZ #12108]
74133         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74134         to have entries in sys_siglist.
74136         [BZ #12093]
74137         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74138         be NULL.
74140 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74142         [BZ #3268]
74143         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74144         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74145         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74146         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74147         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74148         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74149         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74150         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74151         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74152         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74153         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74154         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74155         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74156         * math/ftestexcept.c (fetestexcept): Likewise.
74157         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74158         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74159         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74160         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74161         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74162         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74163         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74165 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74167         [BZ #12107]
74168         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74169         newline.
74171 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74173         * string/bug-strstr1.c: New file.
74174         * string/Makefile: Add rules to build and run bug-strstr1.
74176 2010-10-05  Eric Blake  <eblake@redhat.com>
74178         [BZ #12092]
74179         * string/str-two-way.h (two_way_long_needle): Always clear memory
74180         when skipping input due to the shift table.
74182 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74184         [BZ #12005]
74185         * malloc/mcheck.c: Handle large requests.
74187         [BZ #12077]
74188         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74189         for strncmp and strncasecmp.
74190         * string/stratcliff.c: Add tests for strcmp and strncmp.
74191         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74193 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74195         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74196         __set_fpscr.
74198 2010-09-30  Andreas Jaeger  <aj@suse.de>
74200         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74201         (CGROUP_SUPER_MAGIC): Define.
74202         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74203         Handle btrfs and cgroup file systems.
74204         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74205         Likewise.
74207 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74209         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74210         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74212 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74214         [BZ #12067]
74215         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74216         trying to locate the ELF header.
74218 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74220         [BZ #11611]
74221         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74222         Mask out sign-bit copies when constructing f_fsid.
74224 2010-09-24  Petr Baudis <pasky@suse.cz>
74226         * debug/stack_chk_fail_local.c: Add missing licence exception.
74227         * debug/warning-nop.c: Likewise.
74229 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74231         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74232         implementing getdents64 using getdents syscall, set d_type if
74233         __ASSUME_GETDENTS32_D_TYPE.
74235 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74237         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74238         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74240 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74242         [BZ #12037]
74243         * posix/unistd.h: Undo change of feature selection for ftruncate from
74244         2010-01-11.
74246 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74248         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74249         detection.
74251 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74253         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74254         fanotify_mark.
74255         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74257 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74259         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74260         variables after CHECK_SP call.
74261         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74263 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74264             Ulrich Drepper  <drepper@redhat.com>
74266         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74267         re-relocationg ld.so.
74268         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74269         _dl_init_paths call.
74270         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74271         here anymore.
74273 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74275         * resolv/res_init.c (__res_vinit): Count the default server we added.
74277 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74278             Ulrich Drepper  <drepper@redhat.com>
74280         [BZ #11968]
74281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74282         (____longjmp_chk): Use %ebx for saving value across system call.
74283         Add unwind info.
74285 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74287         * manual/Makefile: Don't mix pattern rules with normal rules.
74289 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74291         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74292         operation.
74293         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74294         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74295         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74296         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74298         Likewise.
74300 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74302         [BZ #11979]
74303         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74304         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74306 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74308         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74309         * sysdeps/x86_64/addmul_1.S: Likewise.
74310         * sysdeps/x86_64/lshift.S: Likewise.
74311         * sysdeps/x86_64/mul_1.S: Likewise.
74312         * sysdeps/x86_64/rshift.S: Likewise.
74313         * sysdeps/x86_64/sub_n.S: Likewise.
74314         * sysdeps/x86_64/submul_1.S: Likewise.
74316 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74318         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74319         Define __sched_param instead of SCHED_* and sched_param when
74320         <bits/sched.h> is included with __need_schedparam defined.
74321         * bits/sched.h [__need_schedparam]
74322         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74323         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74324         (__defined_schedparam): Define to 1.
74325         (__sched_param): New structure, identical to sched_param.
74326         (__need_schedparam): Undefine.
74328 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74330         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74331         (epoll_create1): Declare.
74333         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74335 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74337         [BZ #7066]
74338         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74339         shifting retval into place.
74341 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74343         * nis/rpcsvc/nis.h: Update copyright notice.
74344         * nis/rpcsvc/nis.x: Likewise.
74345         * nis/rpcsvc/nis_callback.h: Likewise.
74346         * nis/rpcsvc/nis_callback.x: Likewise.
74347         * nis/rpcsvc/nis_object.x: Likewise.
74348         * nis/rpcsvc/nis_tags.h: Likewise.
74349         * nis/rpcsvc/yp.h: Likewise.
74350         * nis/rpcsvc/yp.x: Likewise.
74351         * nis/rpcsvc/ypupd.h: Likewise.
74352         * nis/yp_xdr.c: Likewise.
74353         * nis/ypupdate_xdr.c: Likewise.
74355         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74356         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74357         (pmap_getport): Use __libc_rpc_getport.
74358         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74359         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74360         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74362 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74365         fanotify_mark.
74367 2010-08-27  Roland McGrath  <roland@redhat.com>
74369         * sysdeps/i386/i686/multiarch/Makefile
74370         (CFLAGS-varshift.c): New variable.
74372 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74374         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74375         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74377         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74379         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74381 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74383         * sysdeps/x86_64/strlen.S: Unroll the loop.
74384         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74385         strlen-sse2 strlen-sse2-bsf.
74386         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74387         __strlen_no_bsf if bit_Slow_BSF is set.
74388         (__strlen_sse42): Removed.
74389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74390         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74392 2010-08-25  Roland McGrath  <roland@redhat.com>
74394         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74395         * sysdeps/x86_64/multiarch/varshift.c: New file.
74396         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74397         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74398         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74399         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74401 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74403         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74404         strlen-sse2 strlen-sse2-bsf.
74405         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74406         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74407         (__strlen_sse2): Removed.
74408         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74409         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74411         bit_Slow_BSF for Atom.
74412         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74413         (index_Slow_BSF): Define.
74414         (HAS_SLOW_BSF): Define.
74416 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74418         [BZ #10851]
74419         * resolv/res_init.c (__res_vinit): When no server address at all
74420         is given default to loopback.
74422 2010-08-24  Roland McGrath  <roland@redhat.com>
74424         * configure.in: Remove config-name.h generation.
74425         * configure: Regenerated.
74426         * config-name.in: File removed.
74427         * scripts/config-uname.sh: New file.
74428         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74429         ($(objdir)config-name.h): New target.
74431         * sunrpc/rpc_parse.h: Avoid nested comment.
74433 2010-08-24  Richard Henderson  <rth@redhat.com>
74434             Ulrich Drepper  <drepper@redhat.com>
74435             H.J. Lu  <hongjiu.lu@intel.com>
74437         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74438         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74439         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74440         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74441         _mm_alignr_epi8 with _mm_loadu_si128.
74442         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74443         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74444         (__m128i_shift_right): Removed.
74445         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74446         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74447         * sysdeps/x86_64/multiarch/varshift.h: New file.
74448         * sysdeps/x86_64/multiarch/varshift.S: New file.
74450 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74452         * configure.in: Move assembler checks to before sysdep dir checking.
74454 2010-08-20  Petr Baudis  <pasky@suse.cz>
74456         * LICENSES: Sync the sunrpc license.
74458 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74460         * sunrpc/auth_des.c: Update copyright notice once again.
74461         * sunrpc/auth_none.c: Likewise.
74462         * sunrpc/auth_unix.c: Likewise.
74463         * sunrpc/authdes_prot.c: Likewise.
74464         * sunrpc/authuxprot.c: Likewise.
74465         * sunrpc/bindrsvprt.c: Likewise.
74466         * sunrpc/clnt_gen.c: Likewise.
74467         * sunrpc/clnt_perr.c: Likewise.
74468         * sunrpc/clnt_raw.c: Likewise.
74469         * sunrpc/clnt_simp.c: Likewise.
74470         * sunrpc/clnt_tcp.c: Likewise.
74471         * sunrpc/clnt_udp.c: Likewise.
74472         * sunrpc/clnt_unix.c: Likewise.
74473         * sunrpc/des_crypt.c: Likewise.
74474         * sunrpc/des_soft.c: Likewise.
74475         * sunrpc/get_myaddr.c: Likewise.
74476         * sunrpc/getrpcport.c: Likewise.
74477         * sunrpc/key_call.c: Likewise.
74478         * sunrpc/key_prot.c: Likewise.
74479         * sunrpc/openchild.c: Likewise.
74480         * sunrpc/pm_getmaps.c: Likewise.
74481         * sunrpc/pm_getport.c: Likewise.
74482         * sunrpc/pmap_clnt.c: Likewise.
74483         * sunrpc/pmap_prot.c: Likewise.
74484         * sunrpc/pmap_prot2.c: Likewise.
74485         * sunrpc/pmap_rmt.c: Likewise.
74486         * sunrpc/rpc/auth.h: Likewise.
74487         * sunrpc/rpc/auth_unix.h: Likewise.
74488         * sunrpc/rpc/clnt.h: Likewise.
74489         * sunrpc/rpc/des_crypt.h: Likewise.
74490         * sunrpc/rpc/key_prot.h: Likewise.
74491         * sunrpc/rpc/netdb.h: Likewise.
74492         * sunrpc/rpc/pmap_clnt.h: Likewise.
74493         * sunrpc/rpc/pmap_prot.h: Likewise.
74494         * sunrpc/rpc/pmap_rmt.h: Likewise.
74495         * sunrpc/rpc/rpc.h: Likewise.
74496         * sunrpc/rpc/rpc_des.h: Likewise.
74497         * sunrpc/rpc/rpc_msg.h: Likewise.
74498         * sunrpc/rpc/svc.h: Likewise.
74499         * sunrpc/rpc/svc_auth.h: Likewise.
74500         * sunrpc/rpc/types.h: Likewise.
74501         * sunrpc/rpc/xdr.h: Likewise.
74502         * sunrpc/rpc_clntout.c: Likewise.
74503         * sunrpc/rpc_cmsg.c: Likewise.
74504         * sunrpc/rpc_common.c: Likewise.
74505         * sunrpc/rpc_cout.c: Likewise.
74506         * sunrpc/rpc_dtable.c: Likewise.
74507         * sunrpc/rpc_hout.c: Likewise.
74508         * sunrpc/rpc_main.c: Likewise.
74509         * sunrpc/rpc_parse.c: Likewise.
74510         * sunrpc/rpc_parse.h: Likewise.
74511         * sunrpc/rpc_prot.c: Likewise.
74512         * sunrpc/rpc_sample.c: Likewise.
74513         * sunrpc/rpc_scan.c: Likewise.
74514         * sunrpc/rpc_scan.h: Likewise.
74515         * sunrpc/rpc_svcout.c: Likewise.
74516         * sunrpc/rpc_tblout.c: Likewise.
74517         * sunrpc/rpc_util.c: Likewise.
74518         * sunrpc/rpc_util.h: Likewise.
74519         * sunrpc/rpcinfo.c: Likewise.
74520         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74521         * sunrpc/rpcsvc/key_prot.x: Likewise.
74522         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74523         * sunrpc/rpcsvc/mount.x: Likewise.
74524         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74525         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74526         * sunrpc/rpcsvc/rex.x: Likewise.
74527         * sunrpc/rpcsvc/rstat.x: Likewise.
74528         * sunrpc/rpcsvc/rusers.x: Likewise.
74529         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74530         * sunrpc/rpcsvc/spray.x: Likewise.
74531         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74532         * sunrpc/rtime.c: Likewise.
74533         * sunrpc/svc.c: Likewise.
74534         * sunrpc/svc_auth.c: Likewise.
74535         * sunrpc/svc_authux.c: Likewise.
74536         * sunrpc/svc_raw.c: Likewise.
74537         * sunrpc/svc_run.c: Likewise.
74538         * sunrpc/svc_simple.c: Likewise.
74539         * sunrpc/svc_tcp.c: Likewise.
74540         * sunrpc/svc_udp.c: Likewise.
74541         * sunrpc/svc_unix.c: Likewise.
74542         * sunrpc/svcauth_des.c: Likewise.
74543         * sunrpc/xcrypt.c: Likewise.
74544         * sunrpc/xdr.c: Likewise.
74545         * sunrpc/xdr_array.c: Likewise.
74546         * sunrpc/xdr_float.c: Likewise.
74547         * sunrpc/xdr_mem.c: Likewise.
74548         * sunrpc/xdr_rec.c: Likewise.
74549         * sunrpc/xdr_ref.c: Likewise.
74550         * sunrpc/xdr_sizeof.c: Likewise.
74551         * sunrpc/xdr_stdio.c: Likewise.
74553         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74554         handling.
74556 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74558         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74560 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74562         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74563         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74564         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74565         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74566         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74567         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74568         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74569         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74570         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74571         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74572         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74573         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74574         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74575         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74577 2010-07-26  Anton Blanchard  <anton@samba.org>
74579         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74580         * malloc/arena.c (heap_trim): Likewise.
74582 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74584         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74585         here.  Not...
74586         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74587         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74589 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74591         * sysdeps/i386/elf/Makefile: New file.
74593 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74595         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74596         from fanotify_init.
74597         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74600 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74602         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74603         of strncasecmp_l.
74604         * sysdeps/multiarch/strcmp.S: Likewise.
74606 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74608         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74609         strncase_l-nonascii.
74610         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74611         Add strncase_l-ssse3.
74612         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74613         * sysdeps/x86_64/strcmp.S: Likewise.
74614         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74615         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74616         * sysdeps/x86_64/strncase.S: New file.
74617         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74618         * sysdeps/x86_64/strncase_l.S: New file.
74619         * string/Makefile (strop-tests): Add strncasecmp.
74620         * string/test-strncasecmp.c: New file.
74622         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74623         warning.
74625         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74626         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74628 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74630         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74632 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74634         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74635         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74636         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74638 2010-05-01  Alan Modra  <amodra@gmail.com>
74640         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74641         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74642         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74643         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74644         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74645         tidying.  Don't tail-call __sigjmp_save for static lib.
74646         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74647         save location.
74648         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74649         (CALL_MCOUNT): Add eh info, and nop after bl.
74650         (TAIL_CALL_SYSCALL_ERROR): New macro.
74651         (PSEUDO_RET): Use it.
74652         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74653         Correct save location of integer regs and cr.
74654         (_dl_profile_resolve): Correct cr save location.  Delete nops
74655         after bl when SHARED.  Reduce cfi size a little by better
74656         placement of cfi directives.
74657         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74658         make a stack frame.  Instead use parm save area as a temp.
74659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74660         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74662         Don't make a stack frame for parent, use parm save area.
74663         Increase child stack frame to 112 bytes.  Don't save unused reg,
74664         and adjust reg usage.  Set up cfi on error recovery and
74665         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74667         (__makecontext): Add dummy nop after jump to exit.
74668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74669         Use correct parm save area and cr save, reduce stack frame.
74670         Correct cfi for possible PSEUDO_RET frame setup.
74671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74672         Branch to local label emitted by PSEUDO_RET rather than
74673         __syscall_error.
74675 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74677         [BZ #11904]
74678         * locale/programs/locale.c (print_assignment): New function.
74679         (show_locale_vars): Use it.
74681 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74683         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74684         field.
74685         (struct statfs64): Likewise.
74686         (_STATFS_F_FLAGS): Define.
74687         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74688         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74689         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74690         (ST_VALID): Define locally.
74691         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74692         __statvfs_getflags, use the provided value.
74693         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74694         __ASSUME_STATFS_F_FLAGS.
74696         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74698         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74699         Add sys/fanotify.h.
74700         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74701         fanotify_mask for GLIBC_2.13.
74702         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74703         fanotify_init and fanotify_mark.
74704         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74705         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74707         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74708         Add prlimit.
74709         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74710         prlimit64 for GLIBC_2.13.
74711         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74712         prlimit64.
74713         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74714         syscall.
74715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74716         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74717         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74718         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74719         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74720         add prlimit alias.
74721         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74723         [BZ #11903]
74724         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74725         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74727         * nss/Makefile: Add rules to build and run tst-nss-test1.
74728         * shlib-versions: Add entry for libnss_test1.
74729         * nss/nss_test1.c: New file.
74730         * nss/tst-nss-test1.c: New file.
74732         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74733         (__nss_configure_lookup): Set appropriate entry in
74734         __nss_configure_lookup to true.
74735         * nss/nsswitch.h: Define enum with indeces of databases in
74736         databases and __nss_database_custom arrays.  Declare
74737         __nss_database_custom.
74738         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74739         to avoid using nscd when custom rules are installed.
74740         * nss/getXXbyYY_r.c: Likewise.
74741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74743         * nss/nss_files/files-parse.c: Whitespace fixes.
74745 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74747         [BZ #11883]
74748         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74749         * posix/fnmatch_loop.c: Likewise.
74751 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74753         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74754         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74755         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74756         * Versions.def [GLIBC_2.13]: Add.
74758 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74760         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74761         Also fail if tpwd after pwuid call is NULL.
74763 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74765         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74766         when converting to ms.
74768 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74770         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74771         EOPNOTSUPP errors with ENOTTY.
74772         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74773         EOPNOTSUPP errors with ENOTTY.
74775 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74777         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74778         Add strcasecmp_l-ssse3.
74779         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74780         strcasecmp.
74781         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74782         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74783         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74785 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74787         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74789         * string/Makefile (strop-tests): Add strcasecmp.
74790         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74791         strcasecmp_l-nonascii.
74792         (gen-as-const-headers): Add locale-defines.sym.
74793         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74794         * sysdeps/x86_64/strcasecmp.S: New file.
74795         * sysdeps/x86_64/strcasecmp_l.S: New file.
74796         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74797         * sysdeps/x86_64/locale-defines.sym: New file.
74798         * string/test-strcasecmp.c: New file.
74800         * string/test-strcasestr.c: Test both ends of the range of characters.
74801         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74803 2010-07-29  Roland McGrath  <roland@redhat.com>
74805         [BZ #11856]
74806         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74808 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74810         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74811         for ld.so.
74813 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74815         * manual/memory.texi (Malloc Tunable Parameters): Document
74816         M_PERTURB.
74818 2010-07-26  Roland McGrath  <roland@redhat.com>
74820         [BZ #11840]
74821         * configure.in (-fgnu89-inline check): Set and substitute
74822         gnu89_inline, not libc_cv_gnu89_inline.
74823         * configure: Regenerated.
74824         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74826 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74828         * string/test-strnlen.c: New file.
74829         * string/Makefile (strop-tests): Add strnlen.
74830         * string/tester.c (test_strnlen): Add a few more test cases.
74831         * string/tst-strlen.c: Better error reporting.
74833         * sysdeps/x86_64/strnlen.S: New file.
74835 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74837         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74838         lower-latency instructions.
74840 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74842         * string/test-strcasestr.c: New file.
74843         * string/test-strstr.c: New file.
74844         * string/Makefile (strop-tests): Add strstr and strcasestr.
74845         * string/str-two-way.h: Don't undefine MAX.
74846         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74848 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74851         strcasestr-nonascii.
74852         (CFLAGS-strcasestr-nonascii.c): Define.
74853         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74855         Remove unused attribute.
74857 2010-07-20  Roland McGrath  <roland@redhat.com>
74859         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74860         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74861         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74862         like LD_HWCAP_MASK can disable hwcaps.
74864 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74866         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74868 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74870         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74871         call in strcasestr.
74872         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74873         __strcasestr_sse42_nonascii.
74874         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74875         strcasestr-nonascii.c.
74876         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74878 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74880         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74881         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74882         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74883         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74885 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74887         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74888         fcntl.
74890 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74892         [BZ #11577]
74893         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74894         dl_signal_cerror.
74896 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74898         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74899         _PC_PIPE_BUF using F_GETPIPE_SZ.
74901 2010-07-05  Roland McGrath  <roland@redhat.com>
74903         * manual/arith.texi (Rounding Functions): Fix rint description
74904         implicit in round description.
74906 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74908         * elf/Makefile: Fix linking for a few tests to make recent linker
74909         happy.
74911 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74913         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74914         $(common-objpfx)libc_nonshared.a.
74916 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74918         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74919         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74920         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74921         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74922         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74923         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74924         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74925         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74940         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74941         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74942         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74943         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74944         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74945         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74946         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74947         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74948         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74949         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74950         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74951         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74967 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74969         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74970         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74971         * string/memmove.c (memmove): Renamed to ...
74972         (MEMMOVE): ...this.  Default to memmove.
74973         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74974         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74975         (END_CHK): Define.
74976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74977         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74978         mempcpy-ssse3-back memmove-ssse3-back.
74979         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74980         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74982         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74983         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74984         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74985         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74986         * sysdeps/x86_64/multiarch/memmove.c: New file.
74987         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74988         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74989         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74990         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74991         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74992         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74993         Define.
74994         (index_Fast_Copy_Backward): Define.
74995         (HAS_ARCH_FEATURE): Define.
74996         (HAS_FAST_REP_STRING): Define.
74997         (HAS_FAST_COPY_BACKWARD): Define.
74999 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75001         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75002         Restore proper fallback handling.
75004 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75006         [BZ #11701]
75007         * posix/group_member.c (__group_member): Correct checking loop.
75009         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75010         OOM in getpwuid_r correctly.  Return error number when the caller
75011         should return, otherwise -1.
75012         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75013         call returning > 0 value.
75014         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75016 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75018         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75019         libc_nonshared.a from targets in modules-names.
75021 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75023         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75024         requires it.
75026 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75028         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75029         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75030         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75033 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75035         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75037 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75039         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75040         and F_GETPIPE_SZ.
75041         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75042         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75044         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75045         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75046         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75048 2010-06-14  Roland McGrath  <roland@redhat.com>
75050         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75052 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75054         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75055         __REDIRECT followed by __THROW.
75056         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75057         * posix/getopt.h (getopt): Likewise.
75059 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75061         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75062         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75063         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75064         in AT_FLAGS.
75065         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75066         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75068 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75070         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75072 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75074         [BZ #11640]
75075         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75076         Properly check family and model.
75078 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75080         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75082 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75084         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75086 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75088         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75089         symbol reference.
75091 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75093         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75094         symbol reference.
75096 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75098         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75099         and internal_recvmmsg.
75100         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75101         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75102         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75103         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75105         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75106         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75107         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75109 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75111         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75113 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75115         POWER7 optimizations.
75116         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75117         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75119 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75121         * version.h: Update for 2.13 development version.
75123 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75125         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75126         exceptions.  Return 0.
75128 2010-05-07  Roland McGrath  <roland@redhat.com>
75130         * elf/ldconfig.c (main): Add a const.
75132 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75134         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75135         (args_options): Add no-idn option.
75136         (ahosts_keys_int): Add idn_flags to ai_flags.
75137         (parse_option): Handle 'i' option to clear idn_flags.
75139         * malloc/malloc.c (_int_free): Possible race in the most recently
75140         added check.  Only act on the data if no current modification
75141         happened.
75143 See ChangeLog.17 for earlier changes.