S390: Optimize builtin iconv-modules.
[glibc.git] / ChangeLog
blob285f4fb8ddb0ee53dcdd5cd3db045e254e0d76ef
1 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8         * sysdeps/s390/multiarch/8bit-generic.c: New File.
9         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
11         New override define.
12         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
16         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
17         * sysdeps/s390/configure.ac: Add test for S390 vector register
18         support in gcc.
19         * sysdeps/s390/configure: Regenerated.
21 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
23         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
24         Install file from $(objpfx)gconv-modules.
25         ($(objpfx)gconv-modules): Concatenate architecture specific file
26         in variable sysdeps-gconv-modules and gconv-modules in src dir.
27         * sysdeps/s390/gconv-modules: New file.
28         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
29         Deleted.
30         ($(objpfx)gconv-modules-s390): Deleted.
31         (sysdeps-gconv-modules): New variable.
33 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
35         [BZ #15479]
36         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
37         of immediate operand to rounding instruction.
38         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
39         Likewise.
40         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
41         Likewise.
42         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
43         Likewise.
45 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
47         * math/libm-test.inc (MIN_EXP): Directly define as
48         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
50 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
52         * math/libm-test.inc (MANT_DIG): Directly define as
53         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
55 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
57         * stdlib/gen-tst-strtod-round.c (main):
58           Change usage to more closely match the generated
59           output.  Add usage and compilation instructions.
60           (string_to_fp): Add and use FILE* parameter as
61           output target.
62           (print_fp): Likewise.
63           (round_str): Likewise.
64           (round_for_all): Likewise.
65         * stdlib/tst-strtod-round.c (tests): Move into
66         * stdlib/tst-strtod-round-data.h: New file.
68 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
70         [BZ #15479]
71         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
72         (__round): Do not force "inexact" exception.
73         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
74         variable.
75         (__round): Do not force "inexact" exception.
76         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
77         (__roundf): Do not force "inexact" exception.
78         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
79         (__roundl): Do not force "inexact" exception.
80         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
81         (__roundl): Do not force "inexact" exception.
82         * math/libm-test.inc (round_test_data): Do not allow spurious
83         "inexact" exceptions.
85         [BZ #15479]
86         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
87         exception in comment.
88         (huge): Remove variable.
89         (__floor): Do not force "inexact" exception.
90         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
91         "inexact" exception in comment.
92         (huge): Remove variable.
93         (__floor): Do not force "inexact" exception.
94         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
95         exception in comment.
96         (huge): Remove variable.
97         (__floorf): Do not force "inexact" exception.
98         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
99         exception in comment.
100         (huge): Remove variable.
101         (__floorl): Do not force "inexact" exception.
103         [BZ #15479]
104         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
105         exception in comment.
106         (huge): Remove variable.
107         (__ceil): Do not force "inexact" exception.
108         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
109         "inexact" exception in comment.
110         (huge): Remove variable.
111         (__ceil): Do not force "inexact" exception.
112         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
113         (__ceilf): Do not force "inexact" exception.
114         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
115         exception in comment.
116         (huge): Remove variable.
117         (__ceill): Do not force "inexact" exception.
119 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
121         * config.h.in (BIND_NOW): New.
122         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
123         * configure: Regenerated.
124         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
125         indirect branch via the GOT slot.
127 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
129         [BZ #19765]
130         * sysdeps/s390/mempcpy.S: New File.
131         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
132         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
133         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
134         Add mempcpy variants.
135         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
136         (memcpy): Adjust to be usable from mempcpy entry point.
137         (__memcpy_mvcle): Likewise.
138         * sysdeps/s390/s390-64/memcpy.S: Likewise.
139         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
140         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
141         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
142         (__memcpy_z10): Likewise.
143         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
145 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
147         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
148         Remove __GI_ symbol.
149         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
150         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
151         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
152         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
153         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
154         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
156 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
158         * sysdeps/s390/s390-64/memcpy.S (memcpy):
159         Use cghi instead of chi to compare 64bit value.
161 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
163         * sysdeps/s390/s390-32/memcpy.S (memcpy):
164         Jump to 1MB check before executing mvc-loop.
166 2016-05-24  Florian Weimer  <fweimer@redhat.com>
168         [BZ #6527]
169         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
170         unconditionally.
171         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
173 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
175         * stdlib/tst-strtod6.c (do_test): Use new type generic
176         invocation of the test function.
177         (test): Refactor into ...
178         (TEST_STRTOD): New macro base function.
180 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
182         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
183         (TEST_STRTOD): New macro.
184         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
186 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
188         * stdlib/tst-strtod6.c (do_test): Use new type generic
189         invocation of the test function.
190         (test): Refactor into ...
191         (TEST_STRTOD): New macro base function.
193 2016-05-23  Florian Weimer  <fweimer@redhat.com>
195         CVE-2016-4429
196         [BZ #20112]
197         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
198         payload.
200 2016-05-23  Florian Weimer  <fweimer@redhat.com>
202         [BZ #20111]
203         * bits/sockaddr.h (_SS_SIZE): Define.
204         * bits/socket.h (_SS_SIZE): Remove.
205         (_SS_PADSIZE): Adjust to account for all padding.
206         (struct sockaddr_storage): Update comment.  Avoid implicit
207         padding.
208         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
209         (_SS_PADSIZE): Adjust to account for all padding.
210         (struct sockaddr_storage): Update comment.  Avoid implicit
211         padding.
212         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
213         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
214         (_SS_PADSIZE): Adjust to account for all padding.
215         (struct sockaddr_storage): Update comment.  Avoid implicit
216         padding.
217         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
218         __SS_SIZE is 126 in this version.
219         * inet/tst-sockaddr.c: New file.
220         * inet/Makefile (tests): Add tst-sockaddr.c
221         (tst-sockaddr.c): Compile with non-strict aliasing.
223 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
225         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
226         [XPG3 || XPG4].
227         (NL_ARGMAX): Also expect for [XPG3].
228         (NL_LANGMAX): Likewise.
229         (NL_MSGMAX): Likewise.
230         (NL_NMAX): Likewise.
231         (NL_SETMAX): Likewise.
232         (NL_TEXTMAX): Likewise.
233         (NZERO): Likewise.
234         (TMP_MAX): Likewise.
235         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
236         variable.
238         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
239         (PF_MAX): Update value.
240         (AF_KCM): New macro.
241         (SOL_NETBEUI): Likewise.
242         (SOL_LLC): Likewise.
243         (SOL_DCCP): Likewise.
244         (SOL_NETLINK): Likewise.
245         (SOL_TIPC): Likewise.
246         (SOL_RXRPC): Likewise.
247         (SOL_PPPOL2TP): Likewise.
248         (SOL_BLUETOOTH): Likewise.
249         (SOL_PNPIPE): Likewise.
250         (SOL_RDS): Likewise.
251         (SOL_IUCV): Likewise.
252         (SOL_CAIF): Likewise.
253         (SOL_ALG): Likewise.
254         (SOL_NFC): Likewise.
255         (SOL_KCM): Likewise.
256         (MSG_BATCH): New enum value and macro.
258 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
260         [BZ #18185]
261         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
262         sharing L2 cache to 2 for Knights Landing.
264 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
266         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
267         (FTW_DP): Do not expect for [XPG3 || XPG4].
268         (FTW_SL): Do not expect for [XPG3].
269         (FTW_SLN): Likewise.
270         (FTW_PHYS): Likewise.
271         (FTW_MOUNT): Likewise.
272         (FTW_DEPTH): Likewise.
273         (FTW_CHDIR): Likewise.
274         (nftw): Likewise.
275         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
276         variable.
278 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
280         * manual/errno.texi: Fix various typos & grammar errors.
282 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
284         * manual/intro.texi: Fix duplicated typo.
286 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
288         [BZ #13304]
289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
290         <float.h>, <math_private.h> and <stdlib.h>.
291         (add_split): New function.
292         (mul_split): Likewise.
293         (ext_val): New typedef.
294         (store_ext_val): New function.
295         (mul_ext_val): New function.
296         (compare): New function.
297         (add_split_ext): New function.
298         (__fmal): After checking for Inf, NaN and zero, compute result as
299         an exact sum of scaled double values in round-to-nearest before
300         adding those up and adjusting for other rounding modes.
301         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
302         tests of fma.
303         * math/auto-libm-test-out: Regenerated.
305 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
307         [BZ #20119]
308         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
309         processor level type mask for CPUID with EAX == 11.
311 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
313         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
314         logical threads if the HTT bit is 0.
315         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
316         (index_cpu_HTT): Likewise.
317         (reg_HTT): Likewise.
319 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
321         [BZ #20115]
322         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
323         Remove alignments on jump targets.
325 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
327         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
328         (getpwent): Likewise.
329         (setpwent): Likewise.
330         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
331         variable.
333         * conform/data/search.h-data (insque): Do not expect for [XPG3].
334         (remque): Likewise.
335         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
336         variable.
338 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
340         * math/libm-test.inc: Update comment not to refer to signs of NaNs
341         not being tested.
343 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
345         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
346         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
347         call.
348         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
349         (__condvar_cleanup1): Likewise.
351 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
353         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
354         New
355         (__pthread_unwind): Renamed to ...
356         (PTHREAD_UNWIND): This.
357         (__pthread_enable_asynccancel): Replace
358         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
360 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
362         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
363         (CLONE_NEWCGROUP): New macro.
365         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
366         (Q_GETNEXTQUOTA): New macro.
368 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
370         [BZ #19907]
371         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
372         buffer updated by the previous run.
373         * string/test-memcpy.c (do_one_test): Likewise.
374         * benchtests/bench-memmove.c (do_one_test): Add a comment.
375         * string/test-memmove.c (do_one_test): Likewise.
377 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
379         [BZ #20094]
380         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
381         not [__USE_XOPEN].
382         (unlockpt): Likewise.
383         (ptsname): Likewise.
384         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
385         variable.
387         [BZ #20076]
388         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
389         instead of [__USE_UNIX98].
390         (S_ISSOCK): Likewise.
391         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
392         variable.
394         [BZ #20074]
395         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
396         [__USE_POSIX].
397         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
398         variable.
400         [BZ #20051]
401         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
402         (ttyslot): Do not declare.
403         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
404         (ttyslot): New prototype.
405         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
406         variable.
407         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
409 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
411         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
413 2016-05-13  Florian Weimer  <fweimer@redhat.com>
415         Fix race condition in tst-mallocfork2, use fewer resources.
416         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
417         to current process group.
418         (signal_sender): Yield in the non-sleeping case.
420 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
422         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
423         (ecvt): Likewise.
424         (fcvt): Likewise.
425         (gcvt): Likewise.
426         (getsubopt): Likewise.
427         (grantpt): Likewise.
428         (initstate): Likewise.
429         (l64a): Likewise.
430         (mktemp): Likewise.
431         (mkstemp): Likewise.
432         (ptsname): Likewise.
433         (random): Likewise.
434         (realpath): Likewise.
435         (setstate): Likewise.
436         (srandom): Likewise.
437         (ttyslot): Likewise.
438         (unlockpt): Likewise.
439         (valloc): Likewise.
441         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
442         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
443         variable.
445 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
447         [BZ #20072]
448         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
449         init_cpu_features only if SHARED is defined.
450         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
452 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
454         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
455         non-inclusive caches on Intel processors.
457 2016-05-13  Florian Weimer  <fweimer@redhat.com>
459         * malloc/malloc.c (dumped_main_arena_start)
460         (dumped_main_arena_end): New variables.
461         (DUMPED_MAIN_ARENA_CHUNK): New macro.
462         (do_check_chunk): Skip dumped fake mmapped chunks.
463         (munmap_chunk): Likewise.
464         (__libc_free): Do not adjust statistics for fake mmapped chunks.
465         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
466         mmapped chunks.
467         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
468         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
469         and dumped_main_arena_end to cover the dumped heap.
471 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
473         * conform/data/time.h-data (getdate_err): Do not expect for
474         [XPG3].
475         (getdate): Likewise.
476         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
477         variable.
479         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
480         (F_ULOCK): Likewise.
481         (F_TEST): Likewise.
482         (F_TLOCK): Likewise.
483         (useconds_t): Likewise.
484         (intptr_t): Do not expect for [XPG3] or [XPG4].
485         (brk): Do not expect for [XPG3]
486         (fchown): Likewise.
487         (fchdir): Likewise.
488         (ftruncate): Likewise.
489         (getdtablesize): Likewise.
490         (gethostid): Likewise.
491         (getpagesize): Likewise.
492         (getpgid): Likewise.
493         (getsid): Likewise.
494         (getwd): Likewise.
495         (lchown): Likewise.
496         (lockf): Likewise.
497         (readlink): Likewise.
498         (sbrk): Likewise.
499         (setpgrp): Likewise.
500         (setregid): Likewise.
501         (setreuid): Likewise.
502         (symlink): Likewise.
503         (sync): Likewise.
504         (truncate): Likewise.
505         (ualarm): Likewise.
506         (usleep): Likewise.
507         (vfork): Likewise.
508         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
509         variable.
511         [BZ #20054]
512         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
513         not [__USE_UNIX98].
514         * conform/data/unistd.h-data (gethostname): Do not expect for
515         [XPG3].
517         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
518         [!POSIX] (S_IFBLK): Likewise.
519         [!POSIX] (S_IFCHR): Likewise.
520         [!POSIX] (S_IFIFO): Likewise.
521         [!POSIX] (S_IFREG): Likewise.
522         [!POSIX] (S_IFDIR): Likewise.
523         [!POSIX] (S_IFLNK): Likewise.
524         [!POSIX] (S_IFSOCK): Likewise.
525         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
526         variable.
527         (test-xfail-XPG4/fcntl.h/conform): Likewise.
529 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
531         * sysdeps/aarch64/memset.S (__memset):
532         Rewrite of optimized memset.
534 2016-05-12  Florian Weimer  <fweimer@redhat.com>
536         [BZ #19703]
537         Partially async-signal-safe fork for single-threaded processes.
538         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
539         variable.  Do not acquire and reset/release malloc and libio locks
540         in single-threaded processes.
541         * malloc/tst-mallocfork2.c: New file.
542         * malloc/Makefile (tests): Add it.
544 2016-05-12  Florian Weimer  <fweimer@redhat.com>
546         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
547         argument.  Use scratch buffer instead of extend_alloca.
548         (gethosts): Use scratch buffer instead of extend_alloca.
549         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
550         extend_alloca.
551         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
553 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
555         [BZ #20055]
556         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
557         instead of [__USE_UNIX98].
558         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
559         [__USE_UNIX98].
560         * conform/data/termios.h-data (tcgetsid): Do not expect for
561         [XPG3].
562         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
563         variable.
564         (test-xfail-XPG4/termios.h/conform): Likewise.
566 2016-05-11  Florian Weimer  <fweimer@redhat.com>
568         Do not use mcheck in localedef.
569         * locale/programs/localedef.c (turn_on_mcheck)
570         (__malloc_initialize_hook): Remove.
572 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
574         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
575         * sysdeps/s390/s390-64/Makefile: Likewise.
577 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
579         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
580         Remove ifunc-defines.sym.
581         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
582         Likewise.
583         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
584         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
585         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
586         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
587         rtld-global-offsets.sym.
588         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
589         * sysdeps/x86/cpu-features-offsets.sym: This.
590         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
591         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
593 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
595         [BZ #20073]
596         * io/sys/stat.h (fchmod): Declare for
597         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
598         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
599         variable.
601         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
602         [XPG3] (S_IFSOCK): Likewise.
603         [XPG3] (S_ISVTX): Likewise.
604         [XPG3] (S_ISLNK): Likewise.
605         [XPG3] (S_ISSOCK): Likewise.
606         [XPG3] (fchmod): Likewise.
607         [XPG3] (lstat): Likewise.
608         [XPG3] (mknod): Likewise.
610         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
611         [XPG3].  Expect type long and XFAIL for [XPG4].
612         (st_blocks): Likewise.
614         [BZ #20044]
615         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
616         (pthread_atfork): New prototype.
617         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
618         variable.
620         [BZ #20043]
621         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
622         prototype.
624 2016-05-10  Florian Weimer  <fweimer@redhat.com>
626         [BZ #20017]
627         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
628         gmtime.
630 2016-05-10  Florian Weimer  <fweimer@redhat.com>
632         [BZ #19994]
633         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
634         flag in _res.options.
636 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
638         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
639         [XPG3 || XPG4].
640         (blksize_t): Likewise.
641         (clockid_t): Likewise.
642         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
643         variable.
644         (test-xfail-XPG4/sys/types.h/conform): Likewise.
646 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
648         * sysdeps/unix/sysv/linux/s390/init-first.c:
649         Add VDSO_SYMBOL(getcpu).
650         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
651         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
652         Add VDSO_SYMBOL(getcpu).
653         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
654         New define HAVE_GETCPU_VSYSCALL.
655         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
657 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
659         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
660         instead of <sysdeps/x86_64/cacheinfo.c>.
661         * sysdeps/x86_64/cacheinfo.c: Moved to ...
662         * sysdeps/x86/cacheinfo.c: Here.
664 2016-05-04  Florian Weimer  <fweimer@redhat.com>
666         * malloc/malloc-internal.h: Adjust header file guard.
668 2016-05-04  Florian Weimer  <fweimer@redhat.com>
670         [BZ #19787]
671         * inet/getnameinfo.c (check_sprintf_result): New function.
672         (CHECKED_SNPRINTF): New macro.
673         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
674         to the host buffer.
675         (gni_host_local): Use checked_copy to copy the host name.
676         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
677         (gni_serv_local): Use checked_copy to copy the service name.
678         (getnameinfo): Remove unnecessary truncation of result buffers.
680 2016-05-04  Florian Weimer  <fweimer@redhat.com>
682         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
683         in case of inet_ntop failure.
685 2016-05-04  Florian Weimer  <fweimer@redhat.com>
687         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
688         avoid long lines.
689         (gni_host_inet_numeric): Likewise.  Reduce scope of local
690         variables.
691         (gni_host_inet, gni_host_local): Add comment.
692         (gni_host): Add comment.  Use temporary to avoid long lines.
694 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
696         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
697         registers specifiers where general purpose registers specifiers should
698         have been used.
700 2016-05-04  Florian Weimer  <fweimer@redhat.com>
702         [BZ #19779]
703         CVE-2016-1234
704         Avoid copying names of directory entries.
705         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
706         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
707         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
708         (struct readdir_result): New type.
709         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
710         (GL_READDIR): New macros.
711         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
712         (convert_dirent, convert_dirent64): New functions.
713         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
714         convert_dirent64.  Adjust references to the readdir result.
715         * sysdeps/unix/sysv/linux/i386/glob64.c:
716         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
717         * posix/bug-glob2.c (LONG_NAME): Define.
718         (filesystem): Add LONG_NAME.
719         (my_DIR): Increase the size of room_for_dirent.
721 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
723         [BZ #20041]
724         * misc/sys/select.h (__need_timespec): Only define if
725         [__USE_XOPEN2K].
726         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
727         variable.
728         (test-xfail-XPG4/utmpx.h/conform): Likewise.
729         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
730         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
732 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
733             Segher Boessenkool  <segher@gcc.gnu.org>
735         [BZ #20004]
736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
737         (__novec_swapcontext): Add missing load.
739 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
741         [BZ #20023]
742         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
743         <time.h>.
744         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
745         variable.
746         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
748 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
751         flags CLONE_VM compare.
753 2016-05-02  Florian Weimer  <fweimer@redhat.com>
755         [BZ #20031]
756         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
757         completely empty.
759 2016-05-02  Florian Weimer  <fweimer@redhat.com>
761         [BZ #19573]
762         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
763         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
764         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
765         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
766         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
767         (hesiod_free_list): Mark as hidden.
768         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
769         res_set, res_get.
770         * hesiod/hesiod.c: Remove unnecessary forward declarations.
771         (init, __hesiod_res_get, __hesiod_res_set): Remove.
772         (hesiod_init): Remove obsolete res_ninit call.
773         (hesiod_end): Do not free resolver state.  Do not invoke callback.
774         (hesiod_bind): Do not call init.
775         (get_txt_records): Use res_mkquery, res_send instead of
776         res_nmkquery, res_nsend.
777         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
778         instead of _nss_hesiod_init.
779         (_nss_hesiod_initgroups_dyn): Likewise.
780         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
781         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
782         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
784 2016-05-02  Florian Weimer  <fweimer@redhat.com>
786         * hesiod/hesiod_p.h (DEF_RHS): Remove.
787         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
789 2016-05-02  Florian Weimer  <fweimer@redhat.com>
791         * hesiod/hesiod.h: Remove RCS keyword.
792         * hesiod/hesiod_p.h: Likewise.
794         * hesiod/hesiod.c: Likewise.
796 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
798         [BZ #12450]
799         * locale/iso-639.def: Add Samogitian/sgs.
801 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
803         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
805         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
807 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
808             Carlos O'Donell  <carlos@redhat.com>
810         [BZ #19072]
811         * grp/Makefile (headers): Add grp-merge.h
812         (routines): Add grp-merge.
813         * grp/getgrgid_r.c: Include grp-merge.h.
814         (DEEPCOPY_FN): Define.
815         (MERGE_FN): Define.
816         * grp/getgrname_r.c: Include grp-merge.h.
817         (DEEPCOPY_FN): Define.
818         (MERGE_FN): Define.
819         * grp/grp-merge.c: New file.
820         * grp/grp-merge.h: New file.
821         * include/grp-merge.h: New file.
822         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
823         __copy_grp@GLIBC_PRIVATE.
824         * manual/nss.texi (Actions in the NSS configuration): Describe
825         return, continue, and merge.
826         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
827         (DEEPCOPY_FN): Define.
828         (MERGE_FN): Define.
829         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
830         (DEEPCOPY_FN): Define.
831         (MERGE_FN): Define.
832         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
833         [!MERGE_FN]: Define __merge_einval.
834         (CHECK_MERGE): Define.
835         (REENTRANT_NAME): Process merge if do_merge is true.
836         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
837         (__nss_getent_r): Likewise.
838         * nss/nsswitch.c (nss_parse_service_list): Likewise.
839         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
841 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
843         [BZ #20012]
844         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
845         length to calculate the buffer to read.
846         (fmemopen_write): Set the buffer position based on bytes written.
847         (fmemopen_seek): Return EINVAL for invalid whence modes.
849         [BZ #19957]
850         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
851         tst-getpid2.
852         (test): Add tst-clone2.
853         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
854         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
855         pid/tid fields for CLONE_VM.
856         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
857         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
858         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
859         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
860         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
861         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
862         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
863         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
865         Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
867         Likewise.
868         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
869         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
870         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
871         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
872         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
873         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
874         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
875         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
877 2016-04-29  Florian Weimer  <fweimer@redhat.com>
879         [BZ #19642]
880         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
881         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
882         (gni_serv_local, gni_serv): New functions extracted from
883         getnameinfo.
884         (getnameinfo): Call gni_host and gni_serv to perform the
885         processing.  Always free scratch buffer.
887 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
889         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
890         remaining bytes in the dest string, with zeros.
892 2016-04-29  Florian Weimer  <fweimer@redhat.com>
894         [BZ #20010]
895         CVE-2016-3706
896         * sysdeps/posix/getaddrinfo.c
897         (convert_hostent_to_gaih_addrtuple): New function.
898         (gethosts): Call convert_hostent_to_gaih_addrtuple.
899         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
900         AF_INET data.
902 2016-04-29  Florian Weimer  <fweimer@redhat.com>
904         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
905         callback function gl_readdir.
906         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
907         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
908         (glob_in_dir): Remove len.  Use strdup instead of malloc and
909         memcpy to copy the name.
910         * manual/pattern.texi (Calling Glob): Document requirements for
911         implementations of the gl_readdir callback function.
912         * manual/examples/mkdirent.c: New example.
913         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
914         per the manual guidance.
915         * posix/tst-gnuglob.c (my_readdir): Likewise.
917 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
919         [BZ #20014]
920         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
921         not [__USE_POSIX].
922         (getchar_unlocked): Likewise.
923         (putc_unlocked): Likewise.
924         (putchar_unlocked): Likewise.
925         (flockfile): Likewise.
926         (ftrylockfile): Likewise.
927         (funlockfile): Likewise.
928         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
929         variable.
930         (test-xfail-XPG4/stdio.h/conform): Likewise.
932         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
933         Expect constant.
934         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
935         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
936         variable.
937         (test-xfail-XPG4/langinfo.h/conform): Likewise.
938         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
940         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
941         [__USE_LARGEFILE64] (off64_t): Likewise.
942         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
943         variable.
945 2016-04-28  Florian Weimer  <fweimer@redhat.com>
947         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
949 2016-04-28  Florian Weimer  <fweimer@redhat.com>
951         * resolv/inet_addr.c: Reindent preprocessor conditionals.
952         * resolv/res_init.c: Likewise.
953         * resolv/res_mkquery.c: Likewise.
955 2016-04-28  Florian Weimer  <fweimer@redhat.com>
957         * resolv/res_init.c (isascii): Do not define.  Use definition in
958         <ctype.h>.
959         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
960         (LOG_AUTH): Remove.
961         (SPRINTF): Remove, adjust caller.
962         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
964 2016-04-28  Florian Weimer  <fweimer@redhat.com>
966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
967         SUNSECURITY conditional.
968         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
970 2016-04-28  Florian Weimer  <fweimer@redhat.com>
972         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
973         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
974         Remove BSD-related preprocessor conditionals.
975         * conf/portability.h: Remove.
977 2016-04-28  Florian Weimer  <fweimer@redhat.com>
979         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
980         * resolv/res_data.c: Likewise.
982 2016-04-28  Florian Weimer  <fweimer@redhat.com>
984         * resolv/res_comp.c: Remove code conditional on __ultrix__.
985         * resolv/res_data.c: Remove code conditional on ultrix.
987 2016-04-28  Florian Weimer  <fweimer@redhat.com>
989         * resolv/res_init.c (RFC1535): Do not define.  Remove
990         RFC1535 preprocessor conditionals.
991         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
992         because there configuration options which make the resolver
993         behavior different.
995 2016-04-28  Florian Weimer  <fweimer@redhat.com>
997         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
998         RESOLVSORT preprocessor conditionals.
999         * resolv/nss_dns/dns-host.c: Likewise.
1000         * resolv/res_init.c: Likewise.
1002 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1004         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1005         is never defined.
1007 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1009         * inet/inet_lnaof.c: Remove SCSS keyword.
1010         * inet/inet_mkadr.c: Likewise.
1011         * inet/inet_net.c: Likewise.
1012         * inet/inet_netof.c: Likewise.
1013         * inet/rcmd.c: Likewise.
1014         * inet/rexec.c: Likewise.
1015         * inet/ruserpass.c: Likewise.
1017 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1019         * resolv/inet_addr.c: Remove _LIBC conditionals.
1020         * resolv/res_data.c: Likewise.
1021         * resolv/res_init.c: Likewise.
1022         * resolv/res_mkquery.c: Likewise.
1023         * resolv/res_libc.c: Update comment.
1024         * resolv/README: Update.
1026 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1028         * resolv/gethnamaddr.c: Remove SCSS keyword.
1029         * resolv/herror.c: Likewise.
1030         * resolv/inet_addr.c: Likewise.
1031         * resolv/inet_net_ntop.c: Likewise.
1032         * resolv/inet_net_pton.c: Likewise.
1033         * resolv/inet_neta.c: Likewise.
1034         * resolv/inet_ntop.c: Likewise.
1035         * resolv/inet_pton.c: Likewise.
1036         * resolv/ns_date.c: Remove RCS keyword.
1037         * resolv/ns_name.c: Likewise.
1038         * resolv/ns_netint.c: Likewise.
1039         * resolv/ns_parse.c: Likewise.
1040         * resolv/ns_print.c: Likewise.
1041         * resolv/ns_samedomain.c: Likewise.
1042         * resolv/ns_ttl.c: Likewise.
1043         * resolv/nsap_addr.c: Likewise.
1044         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1045         * resolv/res_data.c: Remove RCS keyword.
1046         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1047         * resolv/res_init.c: Likewise.
1048         * resolv/res_mkquery.c: Likewise.
1049         * resolv/res_query.c: Likewise.
1050         * resolv/res_send.c: Likewise.
1052 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1054         * conform/data/stdio.h-data (fdopen): Expect also for
1055         [XPG3 || XPG4].
1057         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1058         (fseeko): Likewise.
1059         (ftello): Likewise.
1060         (ftrylockfile): Likewise.
1061         (funlockfile): Likewise.
1062         (getc_unlocked): Likewise.
1063         (getchar_unlocked): Likewise.
1064         (putc_unlocked): Likewise.
1065         (putchar_unlocked): Likewise.
1067 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1069         [BZ #19868]
1070         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1071         DNS packet syntax checks (which were not needed before).  Skip
1072         over non-PTR records.
1074 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1076         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1077         definition.  Include <stddef.h> instead.
1079 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1081         [BZ #19831]
1082         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1083         function.
1084         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1085         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1087 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1089         [BZ #19862]
1090         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1091         (getanswer_r): Do not call syslog.
1092         (gaih_getanswer_slice): Likewise.
1093         * resolv/gethnamaddr.c (AskedForGot): Remove.
1094         (getanswer): Do not call syslog.
1095         (gethostbyaddr): Likewise.
1097 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1099         * conform/data/signal.h-data (union sigval): Expect also if
1100         [XOPEN2K].
1101         (struct sigevent): Likewise.
1102         (SIGEV_NONE): Likewise.
1103         (SIGEV_SIGNAL): Likewise.
1104         (SIGEV_THREAD): Likewise.
1105         (SIGRTMIN): Likewise.
1106         (SIGRTMAX): Likewise.
1107         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1108         variable.
1109         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1111 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1113         [BZ #19830]
1114         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1115         (gaih_getanswer_slice): Likewise.
1116         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1117         Also check for availability of RR metadata.
1119 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1121         [BZ #19825]
1122         * resolv/res_send.c (send_vc): Remove early *resplen2
1123         initialization.  Set *resplen2 on socket error.  Call
1124         close_and_return_error for other errors.
1126 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1128         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1129         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1130         (SCM_IUCV_TRGCLS): New define.
1132 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1134         [BZ #20005]
1135         * libio/fmemopen.c (fmemopen_write): Update internal position after
1136         write.
1137         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1138         * stdio-common/tst-fmemopen4.c: New file..
1140 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1142         [BZ #19996]
1143         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1144         not [__USE_XOPEN2K].
1145         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1146         variable.
1148         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1149         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1150         variable.
1152         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1153         [__USE_XOPEN2K8].
1154         [__USE_LARGEFILE64] (off64_t): Likewise.
1155         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1156         variable.
1158 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1160         [BZ #19989]
1161         * libio/stdio.h (cuserid): Do not declare if
1162         [__USE_XOPEN2K && !__USE_GNU].
1163         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1164         variable.
1166 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1168         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1169         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1171         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1172         ifunc'ed strcspn.
1173         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1174         [EALIGN]: Removed.
1175         [END]: Likewise
1176         [STRSPN]: Define instead of the above to control symbol name.
1177         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1178         New file.
1179         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1180         Likewise.
1181         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1182         Likewise.
1183         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1184         Likewise.
1185         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1186         [INITIAL_MASK]: New macro.
1187         [STRCSPN]: Likewise.
1188         [UPDATE_MASK]: Likewise.
1189         [USE_AS_STRCSPN]: Lisewise.
1191 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1193         [BZ #19931]
1194         * stdio-common/tst-vfprintf-width-prec.c: New file.
1195         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1196         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1197         (generated): Add mtrace-related files.
1198         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1199         (tst-%-mem.out): New pattern rule, replaces
1200         tst-printf-bz18872-mem.out.
1201         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1202         specifier, deallocate any previously allocated work buffer.
1204 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1206         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1207         Add nop before __startcontext, add explaining comments.
1209 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1211         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1212         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1213         completely different API.
1215         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1216         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1217         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1218         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1219         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1220         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1221         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1222         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1223         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1224         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1226 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1228         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1230 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1232         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1233         when it is the default of 0.
1235 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1237         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1238         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1239         (sysdep_routines): Add new strcasestr targets.
1240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1241         (__libc_ifunc_impl_list): Likewise.
1242         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1243         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1244         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1245         * sysdeps/powerpc/powerpc64/power8/Makefile:
1246         New file to add strcasestr-ppc64 to sysdep_routines.
1247         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1248         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1250 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1252         * benchtests/Makefile (wcsmbs-benchset): Include only for
1253         native builds and runs.
1254         (LOCALES): Likewise.
1255         (bench-build): Build timing-type here instead of the bench
1256         target.  Generate locale only for native builds.
1257         * benchtests/README: Add note for cross-building.
1259         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1261         * benchtests/README: Update README to include instructions on
1262         using bench-build.
1264         * Makefile.in (bench-build): New target.
1265         * Rules (PHONY): Add bench-build target.
1266         * benchtests/Makefile (bench): Depend on bench-build.
1267         (bench-build): New target.
1269 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1271         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1272         profil_reply_port.
1273         (profile_waiter): Do not initialize profil_reply_port.
1274         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1275         frequency instead of tick length in us.
1277 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1279         [BZ #18712]
1280         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1281         (__old_mempcpy_small): Likewise.
1282         (__old_strcpy_small): Likewise.
1283         (__old_stpcpy_small): Likewise.
1284         (__old_strpbrk_c2): Fix compat symbol name.
1285         (__old_strpbrk_c3): Likewise.
1286         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1287         (__mempcpy_small): Remove.
1288         (__strcpy_small): Remove.
1289         (__stpcpy_small): Remove.
1291 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1293         [BZ #19400]
1294         * locale/iso-639.def: Add the Talossan/tzl language.
1296 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1298         [BZ #16983]
1299         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1300         comment.  Add "ln" to strchr check on postal_fmt.
1302 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1304         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1305         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1306         tel_dom_fmt.
1308 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1310         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1311         (sysdep_routines): Added __strlen_power8.
1312         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1313         __strlen_power8 entry.
1314         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1315         Implementation for POWER8.
1316         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1317         for __strlen_power8.
1318         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1319         Implementation for POWER8.
1321 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1323         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1325 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1327         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1328         Goldmont and Airmont processors.
1330 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1332         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1333         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1334         (__STRING2_SMALL_GET32): Remove.
1335         (memset): Remove.
1336         (__memset_1): Remove.
1337         (__memset_gc): Remove.
1338         (__mempcpy): Remove.
1339         (mempcpy): Remove.
1340         (__mempcpy_args): Remove.
1341         (strchr): Remove.
1342         (strcpy): Remove.
1343         (strcpy_args): Remove.
1344         (__stpcpy_args): Remove.
1345         (__strcmp_cc): Remove.
1346         (__strcmp_gc): Remove.
1347         (strstr): Remove.
1349 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1351         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1352         * nis/nis_call.c (nis_server_cache_add): Likewise.
1354 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1356         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1358 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1360         * malloc/arena.c (__malloc_fork_lock_parent)
1361         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1362         internal_function attribute.
1364 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1366         * stdio-common/printf_fp.c (__printf_fp_l):
1367         Rename ___printf_fp_l to __printf_fp_l and
1368         remove strong alias. Use libc_hidden_def instead
1369         of ldbl_hidden_def macro.
1371 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1373         Remove malloc hooks from fork handler.  They are no longer needed
1374         because malloc runs right before fork, and no malloc calls from
1375         other fork handlers are not possible anymore.
1376         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1377         declarations.
1378         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1379         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1380         (atfork_recursive_cntr): Remove.
1381         (__malloc_fork_lock_parent): Do not override malloc hooks and
1382         thread_arena.
1383         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1384         thread_arena.
1385         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1386         thread_arena instead of save_arena.
1388 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1390         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1391         (thread_atfork, thread_atfork_static): Remove.
1392         * sysdeps/mach/hurd/malloc-machine.h:
1393         (thread_atfork, thread_atfork_static): Remove.
1395 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1397         [BZ #19431]
1398         Run the malloc fork handler as late as possible to avoid deadlocks.
1399         * malloc/malloc-internal.h: New file.
1400         * malloc/malloc.c: Include it.
1401         * malloc/arena.c (ATFORK_MEM): Remove.
1402         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1403         Update comment.
1404         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1405         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
1406         Remove outdated comment.
1407         (ptmalloc_init): Do not call thread_atfork.  Remove
1408         thread_atfork_static.
1409         * malloc/tst-malloc-fork-deadlock.c: New file.
1410         * Makefile (tests): Add tst-malloc-fork-deadlock.
1411         (tst-malloc-fork-deadlock): Link against libpthread.
1412         * manual/memory.texi (Aligned Memory Blocks): Update safety
1413         annotation comments.
1414         * sysdeps/nptl/fork.c (__libc_fork): Call
1415         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
1416         __malloc_fork_unlock_child.
1417         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
1419 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1421         [BZ #19613]
1422         Remove union wait.
1423         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
1424         (w_stopsig, w_stopval): Remove.
1425         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
1426         stat_loc argument.
1427         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
1428         (__WAIT_STATUS_DEFN): Remove.
1429         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1430         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
1431         (wait, wait3, wait4): Use int * for the stat_loc argument.
1432         * posix/wait.c (__wait): Likewise.
1433         * posix/wait3.c (__wait3): Likewise.
1434         * posix/wait4.c (__wait4): Likewise.
1435         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
1436         (__WAIT_STATUS_DEFN): Remove.
1437         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
1438         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
1439         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
1440         argument.
1441         * sysdeps/posix/wait.c (__libc_wait): Likewise.
1442         * sysdeps/posix/wait3.c (__wait3): Likewise.
1443         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
1444         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
1445         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
1446         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
1447         stat_loc argument.
1448         * manual/process.texi (BSD Wait Functions): Remove union wait.
1450 2016-04-13  Andreas Schwab  <schwab@suse.de>
1452         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
1453         (test-extras): Add tst-tlsalign-vars.
1454         * math/Makefile: Wrap long lines.
1455         (libm-vec-test-wrappers): Define.
1456         (test-extras): Add $(libm-vec-test-wrappers).
1457         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
1458         * nss/Makefile (extra-test-objs): Add nss_test1.os.
1459         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
1460         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
1461         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
1462         (extra-test-objs): Add corresponding objects.
1464 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
1466         [BZ #19928]
1467         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
1468         New.
1469         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
1470         times of shared cache size.
1471         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
1472         (VMOVNT): New.
1473         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
1474         (VMOVNT): Likewise.
1475         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
1476         (VMOVNT): Likewise.
1477         (VMOVU): Changed to movups for smaller code sizes.
1478         (VMOVA): Changed to movaps for smaller code sizes.
1479         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
1480         comments.
1481         (PREFETCH): New.
1482         (PREFETCH_SIZE): Likewise.
1483         (PREFETCHED_LOAD_SIZE): Likewise.
1484         (PREFETCH_ONE_SET): Likewise.
1485         Rewrite to use forward and backward loops, which move 4 vector
1486         registers at a time, to support overlapping addresses and use
1487         non temporal store if size is above the threshold and there is
1488         no overlap between destination and source.
1490 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
1492         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
1493         Include dl-vdso.
1494         * sysdeps/unix/sysv/linux/mips/Versions: Add
1495         __vdso_clock_gettime.
1496         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
1497         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
1498         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
1499         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
1500         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
1501         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
1502         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1503         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
1504         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
1506 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1508         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
1509         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
1510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
1511         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
1512         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
1513         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
1516         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
1517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
1518         syscalls generation.
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1520         [__NR_pwrite64] (__NR_write): Remove define.
1521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1522         [__NR_pwrite64] (__NR_write): Remove define.
1523         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
1524         Remove define.
1525         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
1526         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
1527         Remove define.
1528         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
1529         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
1530         Linux implementation as base.
1531         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
1533         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
1534         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
1535         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
1536         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
1537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
1538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
1539         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
1540         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
1541         syscall generation.
1542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1543         [__NR_pread64] (__NR_pread): Remove define.
1544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1545         [__NR_pread64] (__NR_pread): Likewise.
1546         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
1547         define.
1548         (__libc_pread): Use SYSCALL_LL macro on offset argument.
1549         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
1550         Remove define.
1551         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
1552         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
1553         Linux implementation as base.
1554         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
1555         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
1556         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
1558         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
1559         definition.
1560         (__ALIGNMENT_COUNT): Likewise.
1561         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
1562         (__ALIGNMENT_COUNT): Likewise.
1563         (SYSCALL_LL): New define.
1564         (SYSCALL_LL64): Likewise.
1565         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
1566         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
1567         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
1568         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
1570         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1571         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
1572         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1573         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1574         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1575         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
1577 2016-04-11  Florian Weimer  <fweimer@redhat.com>
1579         [BZ #19865]
1580         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
1581         original buffer before retry.
1583 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
1586         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
1587         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
1588         GLRO(dl_auxv) list.
1589         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
1590         including <ldsodefs.h>.
1591         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
1593 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
1595         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
1596         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
1597         $(CPPFLAGS).
1599 2016-04-09  Khem Raj  <raj.khem@gmail.com>
1601         [BZ #17950]
1602         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
1603         Add -mfpmath=387.
1605 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
1607         * sysdeps/i386/configure.ac: Change == to = when calling test.
1608         * sysdeps/x86_64/configure.ac: Likewise.
1609         * sysdeps/i386/configure: Regenerated.
1610         * sysdeps/x86_64/configure: Likewise.
1612 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
1614         [BZ #16137]
1615         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
1616         * benchtests/bench-strcoll.c (input_files): Likewise.
1617         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1618         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
1619         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
1621 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
1623         [BZ #19929]
1624         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
1625         [__USE_XOPEN2K8 && !__USE_GNU].
1626         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
1627         variable.
1629         [BZ #19925]
1630         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
1631         define if [!__USE_MISC && __USE_XOPEN2K].
1632         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
1633         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
1634         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
1635         Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
1637         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
1638         variable.
1639         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1641 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1643         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1644         (sysdep_routines): Add new strspn targets.
1645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1646         (__libc_ifunc_impl_list): Add strspn.
1647         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1648         New file.
1649         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
1650         Likewise.
1651         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
1652         Likewise.
1653         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1654         Likewise.
1656 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1658         * misc/hsearch_r.c: Include <limits.h>.
1660 2016-04-07  Florian Weimer  <fweimer@redhat.com>
1662         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
1664 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1666         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1667         (MEMCPY_SYMBOL): New.
1668         (MEMPCPY_SYMBOL): Likewise.
1669         (MEMMOVE_CHK_SYMBOL): Likewise.
1670         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
1671         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
1672         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
1673         Provide alias for memcpy in libc.a and ld.so.
1675 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1677         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1678         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
1679         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
1680         Disabled fro now.
1681         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
1682         symbols.  Properly check USE_MULTIARCH on __memset symbols.
1684 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
1686         * benchtests/Makefile (string-benchset): Add memcpy-large,
1687         memmove-large and memset-large.
1688         * benchtests/bench-memcpy-large.c: New file.
1689         * benchtests/bench-memmove-large.c: Likewise.
1690         * benchtests/bench-memmove-large.c: Likewise.
1691         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
1693 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1695         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
1696         32-bit displacement to avoid long nop between instructions.
1698 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
1700         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
1701         a comment on VMOVU and VMOVA.
1703 2016-04-04  Florian Weimer  <fweimer@redhat.com>
1705         [BZ #19633]
1706         Use specified locale for number formatting in strfmon_l.
1707         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
1708         (__nl_lookup_word): New inline functions.
1709         * include/printf.h (__print_fp_l): Declare.
1710         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
1711         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
1712         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
1713         (___printf_fp): New function.
1714         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
1715         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
1716         * stdlib/tst-strfmon_l.c (do_test): New test.
1717         * stdlib/Makefile (tests): Add kt.
1718         (LOCALES): Build additional locales.
1719         (tst-strfmon_l.out): Require locales.
1721 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1723         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
1724         if not in libc.
1725         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1726         Likewise.
1727         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
1728         Likewise.
1729         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1730         Likewise.
1732 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
1734         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1735         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
1736         with unaligned_erms.
1737         (__memmove_erms): Skip if source == destination.
1738         (__memmove_unaligned_erms): Don't check source == destination
1739         first.
1741 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1743         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
1744         bit_arch_Fast_Copy_Backward for Intel Core proessors.
1746 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1748         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
1749         * string/strspn.c (strspn): Likewise.
1751 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1753         * benchtests/bench-memset.c (do_test): Support 64-byte
1754         alignment.
1755         (test_main): Test 64-byte alignment.
1757 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1759         * benchtests/bench-memmove.c (test_main): Test 64-byte
1760         alignment.
1762 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
1764         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
1766 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1768         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
1769         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
1770         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
1772         * string/strpbrk.c (strpbrk): Rewrite function.
1773         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
1774         (__strpbrk_c2): Likewise.
1775         (__strpbrk_c3): Likewise.
1776         * string/string-inlines.c
1777         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
1778         Likewise.
1779         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
1780         Likewise.
1782         * string/strspn.c (strcspn): Rewrite function.
1783         * string/bits/string2.h (strspn): Use __builtin_strcspn.
1784         (__strspn_c1): Remove inline function.
1785         (__strspn_c2): Likewise.
1786         (__strspn_c3): Likewise.
1787         * string/string-inlines.c
1788         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
1789         compatibility symbol.
1790         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
1791         Likewise.
1792         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
1793         Likewise.
1794         * string/string-inlines.c: Include generic version.
1796 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
1797             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1799         * string/Version (libc): Add GLIBC_2.24.
1800         * string/strcspn.c (strcspn): Rewrite function.
1801         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
1802         (__strcspn_c1): Remove inline function.
1803         (__strcspn_c2): Likewise.
1804         (__strcspn_c3): Likewise.
1805         * string/string-inline.c
1806         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
1807         compatibility symbol.
1808         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
1809         Likewise.
1810         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
1811         Likewise.
1812         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
1814 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1816         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
1817         Use ahi instead of aghi to adjust stack pointer.
1819 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1821         [BZ #19853]
1822         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
1823         TEST to take significant digits as second parameter.
1824         [TEST]: Redefine in terms of TEST_N taking 30
1825         significant digits.
1826         (do_test): Add test case to demonstrate precision
1827         failure in the ldbl-128ibm printf.
1828         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
1829         (__mpn_extract_long_double): Carry 7 extra intermediate
1830         bits of precision to aide computing difference when
1831         signs differ.
1833 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1835         [BZ #19881]
1836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1837         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
1838         memset-avx512-unaligned-erms.
1839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1840         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
1841         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
1842         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
1843         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
1844         __memset_sse2_unaligned_erms, __memset_erms,
1845         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
1846         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
1847         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
1848         file.
1849         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1850         Likewise.
1851         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
1852         Likewise.
1853         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
1854         Likewise.
1856 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
1858         [BZ #19776]
1859         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1860         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
1861         memmove-avx512-unaligned-erms.
1862         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1863         (__libc_ifunc_impl_list): Test
1864         __memmove_chk_avx512_unaligned_2,
1865         __memmove_chk_avx512_unaligned_erms,
1866         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
1867         __memmove_chk_sse2_unaligned_2,
1868         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
1869         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
1870         __memmove_avx512_unaligned_erms, __memmove_erms,
1871         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
1872         __memcpy_chk_avx512_unaligned_2,
1873         __memcpy_chk_avx512_unaligned_erms,
1874         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
1875         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
1876         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
1877         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
1878         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
1879         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
1880         __mempcpy_chk_avx512_unaligned_erms,
1881         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
1882         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
1883         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
1884         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
1885         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
1886         __mempcpy_erms.
1887         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
1888         file.
1889         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1890         Likwise.
1891         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
1892         Likwise.
1893         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
1894         Likwise.
1896 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1898         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
1899         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
1900         (La_s390_64_regs): Likewise.
1901         (La_s390_32_retval): Append vector register lrv_v24.
1902         (La_s390_64_retval): Likeweise.
1903         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
1904         Handle extended structs La_s390_32_regs and La_s390_32_retval.
1905         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
1906         Handle extended structs La_s390_64_regs and La_s390_64_retval.
1908 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
1910         [BZ #19916]
1911         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
1912         to create a non-vector/vector version for _dl_runtime_resolve and
1913         _dl_runtime_profile. Move implementation to ...
1914         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
1915         (_dl_runtime_resolve) Save and restore fpr/vrs.
1916         (_dl_runtime_profile) Save and restore vrs and fix some issues
1917         if _dl_call_pltexit is called.
1918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
1919         Choose the correct resolver function if running on a machine with vx.
1920         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
1921         to create a non-vector/vector version for _dl_runtime_resolve and
1922         _dl_runtime_profile. Move implementation to ...
1923         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
1924         (_dl_runtime_resolve) Save and restore fpr/vrs.
1925         (_dl_runtime_profile) Save and restore vrs and fix some issues
1926         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
1927         Choose the correct resolver function if running on a machine with vx.
1929 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1931         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
1933 2016-03-31  Florian Weimer  <fweimer@redhat.com>
1935         [BZ #19509]
1936         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
1937         skip_map != NULL.
1938         * elf/tst-dlsym-error.c: New file.
1939         * elf/Makefile (tests): Add tst-dlsym-error.
1940         (tst-dlsym-error): Link against libdl.
1942 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
1944         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1945         (__ASSUME_FUTIMESAT): Remove macro.
1946         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
1948 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1950         [BZ #19879]
1951         CVE-2016-3075
1952         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
1953         copy name.
1955 2016-03-29  Florian Weimer  <fweimer@redhat.com>
1957         [BZ #19837]
1958         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
1959         error if parse_line fails.
1961 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1963         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
1964         (index_cpu_ERMS): Likewise.
1965         (reg_ERMS): Likewise.
1967 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
1969         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
1970         PER_LINUX_FDPIC): Add.
1972 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1975         memcpy-avx512-no-vzeroupper.
1976         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
1977         to ...
1978         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
1979         (MEMCPY): Don't define.
1980         (MEMCPY_CHK): Likewise.
1981         (MEMPCPY): Likewise.
1982         (MEMPCPY_CHK): Likewise.
1983         (MEMPCPY_CHK): Renamed to ...
1984         (__mempcpy_chk_avx512_no_vzeroupper): This.
1985         (MEMPCPY_CHK): Renamed to ...
1986         (__mempcpy_chk_avx512_no_vzeroupper): This.
1987         (MEMCPY_CHK): Renamed to ...
1988         (__memmove_chk_avx512_no_vzeroupper): This.
1989         (MEMCPY): Renamed to ...
1990         (__memmove_avx512_no_vzeroupper): This.
1991         (__memcpy_avx512_no_vzeroupper): New alias.
1992         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
1994 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
1996         [BZ #18858]
1997         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
1998         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
1999         and mempcpy-avx512-no-vzeroupper.
2000         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2001         New.
2002         (MEMPCPY): Likewise.
2003         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2004         (MEMPCPY_CHK): New.
2005         (MEMPCPY): Likewise.
2006         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2007         (MEMPCPY): Likewise.
2008         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2009         (MEMPCPY): Likewise.
2010         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2011         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2012         Likewise.
2013         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2014         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2016 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2017              Amit Pawar  <Amit.Pawar@amd.com>
2019         [BZ #19583]
2020         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2021         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2022         processors.  Set Fast_Copy_Backward for AMD Excavator
2023         processors.
2024         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2025         New.
2026         (index_arch_Fast_Unaligned_Copy): Likewise.
2027         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2028         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2030 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2032         [BZ #19791]
2033         * resolv/res_send.c (close_and_return_error): New function.
2034         (send_dg): Initialize *resplen2 after reopen failure.  Call
2035         close_and_return_error for error returns.  On error paths without
2036         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2037         successful return.
2039 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2041         [BZ# 19860]
2042         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2043         zero if the compiler does not provide the AVX512F bit.
2045 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2047         [BZ #19848]
2048         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2049         from 8 to 4.
2050         (__ieee754_powl): Compare integer exponent against 4 not 8.
2051         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2052         from 8 to 4.
2053         (__ieee754_powl): Compare integer exponent against 4 not 8.
2054         * math/auto-libm-test-in: Add more tests of pow.
2055         * math/auto-libm-test-out: Regenerated.
2056         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2059 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2061         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2062         Make code unconditional.
2063         [!__NR_utimensat]: Remove conditional code.
2064         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2065         Make code unconditional.
2066         [!__NR_utimensat]: Remove conditional code.
2067         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2068         Make code unconditional.
2069         [!__NR_utimensat]: Remove conditional code.
2071 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2073         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2074         Make code unconditional.
2076 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2078         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2079         call-clobbered %eax on retry path.
2080         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2082 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2084         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2085         Don't set %rcx twice before "rep movsb".
2087 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2089         [BZ #19583]
2090         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2091         inline.  Check family before setting family, model and
2092         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2093         bits here.
2094         (init_cpu_features): Replace HAS_CPU_FEATURE and
2095         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2096         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2097         for Intel processors with usable AVX2.  Call get_common_indeces
2098         for other processors with family == NULL.
2099         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2100         (CPU_FEATURES_ARCH_P): Likewise.
2101         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2102         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2104 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2106         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2107         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2108         $(shared-thread-library) instead of hardcoding the path to libpthread.
2110 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2112         * sysdeps/unix/sysv/linux/kernel-features.h
2113         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2114         * sysdeps/unix/sysv/linux/getdents.c
2115         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2116         [!have_no_getdents64_defined]: Likewise.
2117         (__GETDENTS): Remove __have_no_getdents64 conditional.
2119 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2121         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2122         Remove macro.
2123         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2124         <kernel-features.h>.
2125         (signalfd) [__NR_signalfd4]: Make code unconditional.
2126         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2128 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2130         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2131         style.
2133 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2135         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2136         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2137         __pthread_unwind.
2138         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2139         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2140         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2141         (__condvar_cleanup1): Likewise.
2143 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2145         [BZ #19822]
2146         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2147         move it to the final $@ location.
2149 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2151         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2152         access where posix_spawn success and pid argument is null.
2153         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2154         success case.
2156 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2158         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2160         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2162         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2163         and __fcntl.
2164         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2165         __fcntl only.
2166         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2167         adding attribute_hidden to __open and __fcntl.
2169         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2170         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2171         depend on libc-modules.h,
2172         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2174 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2176         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2177         Remove macro.
2178         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2179         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2180         entry.
2182         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2183         Remove macro.
2184         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2185         include <kernel-features.h>.
2186         [!__ASSUME_FALLOCATE]: Remove conditional code.
2187         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2189 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2192         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2193         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2194         (_ZGVdN4v_cos_avx2): Likewise.
2195         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2196         (_ZGVdN4v_cos): Likewise.
2197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2198         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2199         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2200         (_ZGVdN4v_exp_avx2): Likewise.
2201         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2202         (_ZGVdN4v_exp): Likewise.
2203         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2204         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2205         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2206         (_ZGVdN4v_log_avx2): Likewise.
2207         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2208         (_ZGVdN4v_log): Likewise.
2209         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2210         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2211         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2212         (_ZGVdN4vv_pow_avx2): Likewise.
2213         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2214         (_ZGVdN4vv_pow): Likewise.
2215         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2216         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2217         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2218         (_ZGVdN4v_sin_avx2): Likewise.
2219         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2220         (_ZGVdN4v_sin): Likewise.
2221         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2222         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2223         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2224         (_ZGVdN4vvv_sincos_avx2): Likewise.
2225         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2226         (_ZGVdN4vvv_sincos): Likewise.
2227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2228         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2229         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2230         (_ZGVbN4v_cosf_sse4): Likewise.
2231         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2232         (_ZGVdN8v_cosf_avx2): Likewise.
2233         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2234         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2235         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2236         (_ZGVbN4v_expf_sse4): Likewise.
2237         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2238         (_ZGVdN8v_expf_avx2): Likewise.
2239         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2240         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2241         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2242         (_ZGVbN4v_logf_sse4): Likewise.
2243         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2244         (_ZGVdN8v_logf_avx2): Likewise.
2245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2246         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2247         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2248         (_ZGVbN4vv_powf_sse4): Likewise.
2249         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2250         (_ZGVdN8vv_powf_avx2): Likewise.
2251         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2252         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2254         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2256         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2257         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2258         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2259         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2260         (_ZGVbN4v_sinf_sse4): Likewise.
2261         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2262         (_ZGVdN8v_sinf_avx2): Likewise.
2263         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2264         Use JUMPTARGET to call callee.
2265         (WRAPPER_IMPL_SSE2_ff): Likewise.
2266         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2267         (WRAPPER_IMPL_AVX): Likewise.
2268         (WRAPPER_IMPL_AVX_ff): Likewise.
2269         (WRAPPER_IMPL_AVX_fFF): Likewise.
2270         (WRAPPER_IMPL_AVX512): Likewise.
2271         (WRAPPER_IMPL_AVX512_ff): Likewise.
2272         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2273         Likewise.
2274         (WRAPPER_IMPL_SSE2_ff): Likewise.
2275         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2276         (WRAPPER_IMPL_AVX): Likewise.
2277         (WRAPPER_IMPL_AVX_ff): Likewise.
2278         (WRAPPER_IMPL_AVX_fFF): Likewise.
2279         (WRAPPER_IMPL_AVX512): Likewise.
2280         (WRAPPER_IMPL_AVX512_ff): Likewise.
2281         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2283 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2285         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2286         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2287         qualifier.
2288         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2289         internal_function qualifiers.
2291 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2293         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2294         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2295         * math/atest-exp.c (exp_mpn): Mark chk unused.
2296         * math/atest-exp2.c (exp_mpn): Likwise.
2297         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2298         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2300 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2303         Remove macro.
2304         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2305         <kernel-features.h>.
2306         [__NR_ppoll]: Make code unconditional.
2307         [!__ASSUME_PPOLL]: Remove conditional code.
2309         * sysdeps/unix/sysv/linux/kernel-features.h
2310         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2311         (__ASSUME_ACCEPT4): Likewise.
2312         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2313         Define.
2314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2315         Likewise.
2316         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2317         Likewise.
2318         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2319         Likewise.
2320         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2321         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2322         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2323         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2324         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2325         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2326         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2327         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2328         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2329         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2330         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2334         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2335         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2336         Likewise.
2337         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2338         Likewise.
2339         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2340         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2341         0x040300].
2342         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2343         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2345         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2346         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2347         0x030300].
2348         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2349         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2350         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2351         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2352         0x040300].
2353         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2354         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2356         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2357         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2358         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2359         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2360         0x030300].
2361         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2362         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2363         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2364         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2365         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2366         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2367         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2368         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2369         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2370         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2371         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2372         0x040300].
2373         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2374         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2375         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2376         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2377         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2379         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2380         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2381         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2383         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2384         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2386         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2387         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2388         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2389         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2390         Likewise.
2391         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2392         Likewise.
2394 2016-03-15  Andreas Schwab  <schwab@suse.de>
2396         [BZ #19257]
2397         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2398         statp->_u._ext.nscount as loop count.
2400 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2402         * math/test-signgam-finite-c99.c: Also #undef
2403         __LIBC_INTERNAL_MATH_INLINES.
2404         * math/test-signgam-main.c: Likewise.
2406 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
2408         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
2409         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
2410         (MADV_FREE): Likewise.
2411         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
2412         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
2413         EPOLLEXCLUSIVE.
2415 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
2417         * timezone/README: Remove mention of checktab.awk. Mention wiki
2418         SharedSourceFiles.
2420 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
2422         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
2423         WUNTRACED.
2425 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2427         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
2428         order to match the type of p when calling atomic_exchange_acq().
2430 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2432         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
2433         cfi_offset calls.
2434         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
2435         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
2436         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
2437         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
2438         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
2440 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
2442         * timezone/checktab.awk: Removed.
2444 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
2446         * manual/math.texi (Errors in Math Functions): Document relaxed
2447         accuracy goals for IBM long double.
2448         * math/libm-test.inc (test_exceptions): Always allow spurious
2449         "underflow" and "inexact" exceptions for IBM long double.
2451 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
2453         [BZ #19762]
2454         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2455         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
2456         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
2457         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
2458         (bit_arch_*): This for feature array.
2459         (bit_*): Renamed to ...
2460         (bit_cpu_*): This for cpu array.
2461         (index_*): Renamed to ...
2462         (index_arch_*): This for feature array.
2463         (index_*): Renamed to ...
2464         (index_cpu_*): This for cpu array.
2465         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
2466         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
2467         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
2468         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
2469         bit_##name with index_cpu_##name and bit_cpu_##name.
2470         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
2471         bit_##name with index_arch_##name and bit_arch_##name.
2473 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
2475         [BZ #19792]
2476         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
2477         Terminate FDE before return label.
2479 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
2481         [BZ #19790]
2482         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
2483         (rintl): Define as macro.
2484         [USE_AS_NEARBYINTL] (__rintl): Likewise.
2485         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
2486         of fesetround.  Ensure results are evaluated before end of scope.
2487         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
2488         USE_AS_NEARBYINTL and include s_rintl.c.
2489         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
2490         Disable exception traps in new environment.
2491         (libc_feholdsetround_ppc_ctx): Likewise.
2493 2016-03-08  Roland McGrath  <roland@hack.frob.com>
2495         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
2496         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
2497         (tst_audit10_aux) [__AVX512F__]: ... here.
2499 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
2501         * include/sys/auxv.h: New file.
2503 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2505         [BZ #19759]
2506         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
2508 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2510         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
2511         operand modifier.
2512         (feclearexcept): Likewise.
2514 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2516         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
2517         to reflect the entire 32-bit HWCAP.
2518         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
2519         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
2521 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
2523         [BZ #19783]
2524         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
2525         $(test-via-rtld-prefix).
2526         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
2528 2016-03-08  Florian Weimer  <fweimer@redhat.com>
2530         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
2531         union wait.  Report any non-zero exit status as error.
2533 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2535         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
2536         configured with --enable-hardcoded-path-in-tests.
2538 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
2540         [BZ #19677]
2541         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2542         (__ieee754_remainderl): Put zero low parts in canonical form.
2543         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
2544         file.  Based on
2545         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
2546         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
2547         with wrapper round test-fmodrem-ldbl-128ibm.c.
2548         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
2549         file.
2550         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
2551         Likewise.
2552         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2553         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
2555 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2557         [BZ #19610]
2558         * elf/ldconfig.c (opt_link): Update comment.
2559         (options): Update help string for option -X.
2560         (search_dir): Unlink stale symbolic link only if updating symbolic
2561         links.
2562         * elf/tst-ldconfig-X.sh: New file.
2563         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
2564         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
2566 2016-03-07  Andreas Schwab  <schwab@suse.de>
2568         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
2569         needed arguments.
2571 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
2573         [BZ #15333]
2574         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
2575         to lstat64.
2577 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2579         * libio/filedoalloc.c (isatty): Remove.
2580         (local_isatty): Add comment.  Call __isatty directly.
2581         (_IO_file_doallocate): Update comment.  Assume _LIBC.
2582         * libio/wfiledoalloc.c (isatty): Remove.
2583         (_IO_wfile_doallocate): Update comment.
2585 2016-03-07  Florian Weimer  <fweimer@redhat.com>
2587         [BZ #19269]
2588         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
2589         tst-audit4-aux.o.
2590         (tst-audit10): Depend on tst-audit10-aux.o.
2591         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
2592         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
2593         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
2594         instead of inline AVX code.
2595         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
2596         instead of inline AVX512 code.
2597         * sysdeps/x86_64/tst-audit4-aux.c: New file
2598         * sysdeps/x86_64/tst-audit10-aux.c: New file
2600         [BZ #19648]
2601         * test-skeleton.c (main): Do not set RLIMIT_DATA.
2603 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2605         [BZ #14750]
2606         [BZ #10354]
2607         [BZ #18433]
2608         * include/sched.h (__clone): Add hidden prototype.
2609         (__clone2): Likewise.
2610         * include/unistd.h (__dup): Likewise.
2611         * posix/Makefile (tests): Add tst-spawn2.
2612         * posix/tst-spawn2.c: New file.
2613         * sysdeps/posix/dup.c (__dup): Add hidden definition.
2614         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
2615         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
2616         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
2617         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
2618         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
2619         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
2620         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
2621         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
2622         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
2623         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
2624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
2625         Likewise.
2626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2627         Likewise.
2628         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
2629         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
2630         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
2631         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2632         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
2633         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
2634         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
2635         * sysdeps/unix/sysv/linux/nptl-signals.h
2636         (____nptl_is_internal_signal): New function.
2637         * sysdeps/unix/sysv/linux/spawni.c: New file.
2639         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
2640         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
2641         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
2642         * posix/tst-execvp2.c (do_test): Likewise.
2643         * posix/tst-execvp3.c (do_test): Likewise.
2644         * posix/tst-execvp4.c (do_test): Likewise.
2645         * posix/tst-execvpe1.c: New file.
2646         * posix/tst-execvpe2.c: Likewise.
2647         * posix/tst-execvpe3.c: Likewise.
2648         * posix/tst-execvpe4.c: Likewise.
2649         * posix/tst-execvpe5.c: Likewise.
2650         * posix/tst-execvpe6.c: Likewise.
2652         [BZ #19534]
2653         * posix/execl.c (execl): Remove dynamic memory allocation.
2654         * posix/execle.c (execle): Likewise.
2655         * posix/execlp.c (execlp): Likewise.
2657 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2659         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
2660         Replace .text with .text.avx512.
2661         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2662         Likewise.
2664 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
2666         * sysdeps/generic/libnsl.abilist: New file.
2667         * sysdeps/generic/libutil.abilist: New file.
2669 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
2671         [BZ #19762]
2672         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
2673         HAS_ARCH_FEATURE with Fast_Rep_String.
2674         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
2675         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
2676         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
2677         Likewise.
2678         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
2679         Likewise.
2680         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
2681         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
2682         Likewise.
2683         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
2684         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
2685         Likewise.
2687 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2689         [BZ #19745]
2690         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
2691         with *%rax in call.
2693 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2695         [BZ #19745]
2696         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
2697         with *__libc_start_main@GOTPCREL(%rip) in call.
2699 2016-03-04  Roland McGrath  <roland@hack.frob.com>
2701         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
2702         inside conditional for nonempty $(CXX).
2704         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
2705         nonempty.
2707         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
2708         to test for empty $(CXX) rather than $(CXX) of "no".
2710 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
2712         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
2714 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
2715             H.J. Lu  <hongjiu.lu@intel.com>
2717         [BZ #18880]
2718         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
2719         instead of Slow_BSF, and also check for Fast_Copy_Backward to
2720         enable __memcpy_ssse3_back.
2722 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2724         [BZ #19758]
2725         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
2726         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
2728 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
2730         [BZ #19490]
2731         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
2732         (__fentry__): Likewise.
2734 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
2736         * gmon/Makefile (noprof): Add $(sysdep_noprof).
2737         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
2739 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2741         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
2742         __mcount_internal directly.
2743         (C_LABEL(__fentry__)): Likewise.
2744         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
2745         directly.
2747 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
2749         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2750         (__start_context): Call __setcontext directly.
2752 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
2754         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2755         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2756         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
2757         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2758         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2759         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2760         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
2761         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2762         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2763         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
2764         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2765         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2766         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2767         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2768         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2769         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2770         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
2771         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2772         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2773         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
2774         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
2775         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2776         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2777         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
2778         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
2779         Remove conditional code.
2780         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2781         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
2782         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2783         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2784         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
2785         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2786         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
2787         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2788         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
2789         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2790         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2791         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
2793 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
2795         * NEWS (2.23): Fix typo in bug 19048 text.
2797 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
2799         [BZ #14259]
2800         * Makeconfig: Rename msgcatdir to localedir.
2801         Rename inst_msgcatdir to inst_localedir.
2802         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
2803         * config.make.in: Add localedir.
2804         * elf/Makefile ($(objpfx)sotruss): Use localedir.
2805         (ldd-rewrite): Likewise.
2806         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
2807         (install-others): Use inst_localedir.
2808         (CPPFLAGS): Use localedir.
2809         * locale/Makefile (locale-CPPFLAGS): Likewise.
2810         * po/Makefile (mo-installed): Use inst_localedir.
2812         [BZ #19575]
2813         * localedata/charmaps/GB18030: Update comments regarding PAU to
2814         non-PUA mappings.
2816 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
2818         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
2819         test for header.
2820         * sysdeps/unix/sysv/linux/configure: Regenerated.
2821         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
2822         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
2823         Remove conditional code.
2824         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
2826         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2827         Define to 3.2.0.
2828         (arch_minimum_kernel): Likewise.
2829         * sysdeps/unix/sysv/linux/configure: Regenerated.
2830         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2831         Define to 2.6.32.
2832         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2833         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2834         (arch_minimum_kernel): Define to 2.6.32.
2835         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2836         * README: Document Linux 3.2 requirement.
2837         * manual/install.texi (Linux): Document Linux 3.2 headers
2838         requirement.
2839         * INSTALL: Regenerated.
2841 2016-02-24  Andreas Schwab  <schwab@suse.de>
2843         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
2844         if !NO_LONG_DOUBLE.
2846 2016-02-22  Roland McGrath  <roland@hack.frob.com>
2848         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
2849         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
2851 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
2853         [BZ #19512]
2854         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
2856 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
2858         * posix/tst-dir.c: Include libc-internal.h.
2860 2016-02-20  Florian Weimer  <fweimer@redhat.com>
2862         [BZ #19056]
2863         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
2864         * manual/filesys.texi (Reading/Closing Directory): Mention
2865         deprecaion.
2866         * posix/tst-dir.c (main): Disable deprecation warning in test.
2868 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
2870         [BZ #19679]
2871         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
2872         Renamed to ...
2873         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
2874         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2875         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
2876         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2877         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2878         * sysdeps/x86_64/dl-trampoline.h
2879         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
2880         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
2882 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2884         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
2886 2016-02-19  Mark Wielaard  <mjw@redhat.com>
2888         * elf/elf.h (R_386_GOT32X): New.
2889         (R_386_NUM): Update.
2890         (R_X86_64_GOTPCRELX: New.
2891         (R_X86_64_REX_GOTPCRELX): New.
2892         (R_X86_64_NUM): Update.
2894 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
2896         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
2898 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
2900         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
2901         assign attr->stackaddr to it, and adjust it down when
2902         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
2903         [_STACK_GROWS_UP]: Delete assert.
2904         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
2905         Implement stack grows up logic.
2906         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
2907         stack grows up logic.
2909 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2911         * NEWS: Update with 2.24 template.
2913 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2915         [BZ #19678]
2916         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2917         Ensure +0.0 is returned when taking the next value below the least
2918         positive value.
2920 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2922         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
2923         available.  Do not define NO_THREADS.
2924         * malloc/malloc.c: Do not check NO_THREADS.
2925         * malloc/arena.c: Likewise.
2927 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2929         * malloc/malloc.c (__libc_mallinfo): Update comment.
2930         (struct malloc_par): Remove max_total_mem member, it was always 0.
2931         (int_mallinfo): Store 0 into usmblks (no functional change).
2932         * malloc/hooks.c (struct malloc_state): Document that
2933         max_total_mem is always 0.
2934         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
2935         always 0.
2936         * manual/memory.texi (Statistics of Malloc): Likewise.
2938 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2940         * malloc/malloc.c (sysmalloc): Do not update arena_max.
2941         * malloc/arena.c (arena_max): Remove.
2942         (heap_trim, _int_new_arena): Do not update arena_max.
2944 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2946         * resolv/res_init.c (res_ninit): Update comment.
2948 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2950         [BZ #19505]
2951         * posix/spawn_int.h: Add headers and include guard.
2952         (__spawn_valid_fd): New function.
2953         * posix/spawn_faction_addopen.c
2954         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
2955         * posix/spawn_faction_addclose.c
2956         (posix_spawn_file_actions_addclose): Likewise.
2957         * posix/spawn_faction_adddup2.c
2958         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
2959         second file descriptor.
2960         * posix/spawn_valid_fd.c: New file.
2961         * posix/tst-posix_spawn-fd.c: New file.
2962         * posix/Makefile (routines): Add spawn_valid_fd.
2963         (tests): Add tst-posix_spawn-fd.
2965 2016-02-19  Florian Weimer  <fweimer@redhat.com>
2967         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
2968         (do_test): Limit the number of arenas, so that we can use fewer
2969         outer threads.  Limit timeout to 3 seconds, in preparation for a
2970         larger TIMEOUT value.
2972 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
2974         [BZ #19674]
2975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
2976         sign in overflowing and underflowing results when overflow or
2977         underflow is detected early.  Include sign in result before rather
2978         than after scaling.
2980         [BZ #19603]
2981         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
2982         (__ieee754_remainderl): Adjust sign of integer version of low part
2983         when taking absolute value of high part.
2984         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2985         * math/libm-test.inc (remainder_test_data): Add another test.
2986         (remquo_test_data): Likewise.
2988 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #19602]
2991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
2992         equal high parts and both low parts zero specially.
2993         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
2994         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2995         Add test-fmodl-ldbl-128ibm.
2997         [BZ #19595]
2998         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
2999         common logic for all cases of shifting subnormal results.  Do not
3000         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3001         exponent to ldbl_insert_mantissa in subnormal case.
3003         [BZ #19594]
3004         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3005         on high and low parts then adjust result and use
3006         ldbl_canonicalize_int if needed.
3008         [BZ #19593]
3009         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3010         on high part and __floor or __ceil on low part then use
3011         ldbl_canonicalize_int if needed.
3013         [BZ #19592]
3014         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3015         high and low parts then use ldbl_canonicalize_int if needed.
3017         [BZ #17899]
3018         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3019         New function.
3020         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3021         on high and low parts then use ldbl_canonicalize_int if needed.
3023 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3025         * configure: Regenerated.
3027         * po/libc.pot: Regenerated.
3029         * po/be.po: Updated translation.
3030         * po/bg.po: Likewise.
3031         * po/ca.po: Likewise.
3032         * po/cs.po: Likewise.
3033         * po/da.po: Likewise.
3034         * po/el.po: Likewise.
3035         * po/eo.po: Likewise.
3036         * po/es.po: Likewise.
3037         * po/fi.po: Likewise.
3038         * po/fr.po: Likewise.
3039         * po/gl.po: Likewise.
3040         * po/hr.po: Likewise.
3041         * po/hu.po: Likewise.
3042         * po/ia.po: Likewise.
3043         * po/id.po: Likewise.
3044         * po/it.po: Likewise.
3045         * po/ja.po: Likewise.
3046         * po/lt.po: Likewise.
3047         * po/nb.po: Likewise.
3048         * po/nl.po: Likewise.
3049         * po/pt_BR.po: Likewise.
3050         * po/rw.po: Likewise.
3051         * po/sk.po: Likewise.
3052         * po/sl.po: Likewise.
3053         * po/sv.po: Likewise.
3054         * po/tr.po: Likewise.
3055         * po/zh_CN.po: Likewise.
3056         * po/zh_TW.po: Likewise.
3058         * version.h (RELEAES): Set to "development".
3059         (VERSION): Set to 2.23.90.
3061         * version.h (RELEASE): Set to "stable".
3062         (VERSION): Set to 2.23.
3063         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3065         * NEWS: Updated fixed bugs.
3067 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3068             Wilco Dijkstra  <wdijkstr@arm.com>
3070         [BZ #19462]
3071         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3072         (_STRING_INLINE_unaligned): This.
3073         * include/string.h: Include <string_private.h>.
3074         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3075         _STRING_INLINE_unaligned.
3076         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3077         (_STRING_INLINE_unaligned): New.
3078         * sysdeps/aarch64/string_private.h: New file.
3079         * sysdeps/generic/string_private.h: Likewise.
3080         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3081         * sysdeps/s390/string_private.h: Likewise.
3082         * sysdeps/x86/string_private.h: Likewise.
3083         * sysdeps/m68k/m680x0/m68020/bits/string.h
3084         (_STRING_ARCH_unaligned): Renamed to ...
3085         (_STRING_INLINE_unaligned): This.
3086         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3087         to ...
3088         (_STRING_INLINE_unaligned): This.
3089         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3090         to ...
3091         (_STRING_INLINE_unaligned): This.
3092         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3093         to ...
3094         (_STRING_INLINE_unaligned): This.
3096 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3097             H.J. Lu  <hongjiu.lu@intel.com>
3099         [BZ #19590]
3100         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3101         relocation.
3103 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3105         [BZ #18665]
3106         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3107         *herrno_p.
3108         (gaih_getanswer): Document functional behviour. Return tryagain
3109         if any result is tryagain.
3110         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3111         when freed.
3112         * resolv/res_send.c: Add copyright text.
3113         (__libc_res_nsend): Document that MAXPACKET is expected.
3114         (send_vc): Document. Remove buffer reuse.
3115         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3116         size of the buffer. Add Dprint for truncated UDP buffer.
3118 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3120         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3121         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3122         * INSTALL: Regenerate.
3124 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3125             Jonathan Wakely  <jwakely@redhat.com>
3126             Carlos O'Donell  <carlos@redhat.com>
3128         [BZ 19439]
3129         * math/Makefile (tests): Add test-math-isinff.
3130         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3131         * math/bits/mathcalls.h [__USE_MISC]: Use
3132         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3133         functions not in C++11 and which don't conflict e.g. isinff,
3134         isinfl etc.
3135         * math/test-math-isinff.cc: New file.
3137 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3139         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3141 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3143         [BZ #19529]
3144         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3146 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3148         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3150 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3152         [BZ #19550]
3153         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3154         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3155         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3156         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3157         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3158         New syscall entry.
3159         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3160         New syscall entry.
3161         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3162         syscall entry.
3164 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3166         [BZ #18240]
3167         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3168         unsigned int wraparound.
3170 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3172         [BZ #18240]
3173         * misc/bug18240.c: New test.
3174         * misc/Makefile (tests): Add it.
3176 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3177             Joseph Myers  <joseph@codesourcery.com>
3179         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3180         load in branch delay slot when less than a word of input left.
3182 2016-01-27  Andreas Schwab  <schwab@suse.de>
3184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3185         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3186         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3187         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3189 2016-01-26  David S. Miller  <davem@davemloft.net>
3191         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3193 2016-01-25  David S. Miller  <davem@davemloft.net>
3195         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3196         __sqrtl_finite.
3197         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3198         instead using versioned_symbol.
3199         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3200         of entries.
3202         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3203         __sqrtl_finite to GLIBC_2.23
3205 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3207         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3209 2016-01-25  Andreas Schwab  <schwab@suse.de>
3211         [BZ #17514]
3212         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3213         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3214         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3215         * nptl/tst-mutex-errorcheck.c: New file.
3217 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3219         [BZ #18560]
3220         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3221         (IPCOP_semop): Likewise.
3222         (IPCOP_semget): Likewise.
3223         (IPCOP_semctl): Likewise.
3224         (IPCOP_msgsnd): Likewise.
3225         (IPCOP_msgrcv): Likewise.
3226         (IPCOP_msgget): Likewise.
3227         (IPCOP_msgctl): Likewise.
3228         (IPCOP_shmat): Likewise.
3229         (IPCOP_shmdt): Likewise.
3230         (IPCOP_shmget): Likewise.
3231         (IPCOP_shmctl): Likewise.
3233 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3235         * string/tst-endian.c: Include <libc-internal.h>.
3236         (do_test): Ignore tautological-compare warnings around
3237         "htobeXX (beXXtoh (i)) != i" and
3238         "htoleXX (leXXtoh (i)) != i" if-statements.
3240 2016-01-24  David S. Miller  <davem@davemloft.net>
3242         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3243         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3244         alias.
3245         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3246         __sqrtl_finite.
3248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3250 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3252         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3253         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3254         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3256 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3258         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3259         (thread_func): Use new function to simplify barrier check.
3260         (do_test): Use new function to simplify checking barrier exit
3261         code, and actually join the child thread.
3263 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3265         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3266         semicolon.
3267         (__libc_tend): Likewise.
3268         (__libc_tabort): Likewise.
3270 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3272         * sysdeps/nios2/libm-test-ulps: Update.
3273         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3274         (__gtsf2): Likewise.
3275         (__unorddf2): Likewise.
3276         (__unordsf2): Likewise.
3277         (__ledf2): Likewise.
3279 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3281         * nis/nis_table.c (__follow_path): Disable diagnostic for
3282         uninitialized variable that is a false positive for gcc 4.7.
3283         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3285 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3287         * sysdeps/nacl/lowlevellock-futex.h
3288         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3289         Always evaluate PRIVATE argument.
3291 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3293         [BZ #19490]
3294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3295         (pthread_cond_broadcast): Use ENTRY/END
3296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3297         (pthread_cond_signal): Likewise.
3298         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3299         Likewise.
3300         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3301         Likewise.
3302         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3303         Likewise.
3305 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3307         * sysdeps/ieee754/dbl-64/s_finite.c
3308         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3309         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3310         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3312         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3315         (__gtsf2): Add as optional for libc.so.
3316         (__unordsf2): Likewise.
3317         (__signbit): Remove for libc.so.
3318         (__signbitl): Likewise.
3320 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3322         * iconvdata/bug-iconv11.c (test_ibm93x):
3323         Use %zu printf format specifier for size_t argument.
3325 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3327         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3328         already-recorded ulps.
3329         * sysdeps/arm/libm-test-ulps: Regenerated.
3330         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3331         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3332         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3334 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3335             Paul Pluzhnikov  <ppluzhnikov@google.com>
3337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3338         assembler not supporting AVX-512.
3340 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3342         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3344 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3346         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3347         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3349         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3351         * sysdeps/arm/libm-test-ulps: Regenerated.
3353 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3355         [BZ #19451]
3356         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3358 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3360         [BZ #19486]
3361         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3362         * sysdeps/generic/fix-fp-int-convert-overflow.h
3363         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3364         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3365         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3366         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3367         Likewise.
3368         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3369         Avoid conversions to long int where inexact exceptions
3370         could be raised.
3371         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3372         Likewise.
3373         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3374         Avoid conversions to long long int where inexact exceptions
3375         could be raised.
3376         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3377         Likewise.
3379 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3381         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3382         * configure: Regenerated.
3384 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3386         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3388 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3390         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3391         outside of comment.
3393 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3395         * nptl/tst-barrier1.c: Add description on first line.
3396         * nptl/tst-barrier2.c: Likewise.
3397         * nptl/tst-barrier3.c: Likewise.
3398         * nptl/tst-barrier4.c: Likewise.
3399         * nptl/tst-barrier5.c: Likewise.
3401 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3403         [BZ #18868]
3404         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
3406 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3408         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
3409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
3410         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
3411         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
3412         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
3413         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
3414         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3415         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3416         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3417         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3418         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3420 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3422         [BZ #13065]
3423         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
3424         new implementation.
3425         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
3426         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
3427         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
3428         (BARRIER_IN_THRESHOLD): New macro.
3429         * nptl/pthread_barrierattr_setpshared.c
3430         (pthread_barrierattr_setpshared): Clean up.
3431         * nptl/tst-barrier4.c: Correct comment.
3432         * nptl/tst-barrier5.c: New file.
3433         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
3434         (gen-as-const-headers): Remove lowlevelbarrier.sym.
3435         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
3436         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
3437         * nptl/lowlevelbarrier.sym: Remove.
3438         * nptl/DESIGN-barrier.txt: Remove.
3439         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
3440         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
3441         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
3442         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
3443         error.
3444         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
3445         implementation.
3447 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3449         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
3450         (do_child): Mask SIGRTMIN while thr is running.
3452 2016-01-15  Martin Sebor  <msebor@redhat.com>
3454         [BZ #19432]
3455         * iconvdata/Makefile: Add bug-iconv11.
3456         * iconvdata/bug-iconv11.c: New test.
3457         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
3458         * iconvdata/ibm933.c: Same.
3459         * iconvdata/ibm935.c: Same.
3460         * iconvdata/ibm937.c: Same.
3461         * iconvdata/ibm939.c: Same.
3463 2016-01-15  Martin Sebor  <msebor@redhat.com>
3465         [BZ #19443]
3466         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
3467         [DEBUG] (_ufc_set_bits): Declare used.
3468         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
3469         [DEBUG] (print_all): Declare used.
3470         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
3471         operands of the ternary ?: expression to target type.
3472         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
3473         calling the undeclared abort.
3474         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
3476 2016-01-15  Martin Sebor  <msebor@redhat.com>
3478         [BZ #18755]
3479         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
3480         warnings.
3481         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
3482         (__gai_create_helper_thread): Same.
3483         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
3484         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
3485         to suppress -Wmaybe-uninitialized warnings.
3487 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
3489         [BZ #19465]
3490         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
3491         inside if.
3492         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3493         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3494         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3496 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
3498         [BZ #19466]
3499         * time/tst-mktime2.c (time_t_max): Removed.
3500         (time_t_min): Likewise.
3501         (TYPE_SIGNED): New.
3502         (TYPE_MINIMUM): Likewise.
3503         (TYPE_MAXIMUM): Likewise.
3504         (TIME_T_MIN): Likewise.
3505         (TIME_T_MAX): Likewise.
3506         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
3507         and TIME_T_MIN.
3508         (do_test): Likewise.
3510 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
3512         [BZ #19467]
3513         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3514         index_Fast_Unaligned_Load flag for Excavator family CPUs.
3516 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
3518         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
3520 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
3522         * benchtests/Makefile (PYTHON): Define.
3523         (bench-func): Use $(PYTHON) to run python scripts.
3524         ($(objpfx)bench-%.c): Likewise.
3526 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
3528         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
3529         leading slash when `file_name' is "/".
3531 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
3533         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
3534         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
3535         Likewise.
3536         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
3537         Likewise.
3538         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
3539         Likewise.
3540         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
3541         enum constant and macro.
3542         (PTRACE_SETSIGMASK): Likewise.
3543         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3544         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3545         (PTRACE_GETSIGMASK): Likewise.
3546         (PTRACE_SETSIGMASK): Likewise.
3547         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3548         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
3549         Likewise.
3550         (PTRACE_SETSIGMASK): Likewise.
3551         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3552         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3553         (PTRACE_GETSIGMASK): Likewise.
3554         (PTRACE_SETSIGMASK): Likewise.
3555         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3556         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
3557         Likewise.
3558         (PTRACE_SETSIGMASK): Likewise.
3559         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3560         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
3561         Likewise.
3562         (PTRACE_SETSIGMASK): Likewise.
3563         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3564         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
3565         Likewise.
3566         (PTRACE_SETSIGMASK): Likewise.
3567         (PTRACE_SECCOMP_GET_FILTER): Likewise.
3569 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
3570             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3572         [BZ #19439]
3573         * math/bits/mathcalls.h
3574         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
3575         prototype.
3576         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
3578 2016-01-11  Andreas Schwab  <schwab@suse.de>
3580         [BZ #19253]
3581         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
3582         cache when TZDEFRULES was used.
3583         * time/tst-tzname.c: New file.
3584         * time/Makefile (test): Add tst-tzname.
3585         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
3586         * timezone/Makefile (test-zones): Add $(posixrules-file).
3587         ($(testdata)/$(posixrules-file)): New rule.
3589 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
3591         Fix doc quoting problems with Texinfo 5
3592         Without this change, in the info file output, Texinfo 5 quotes code
3593         in text with undirected single quotes 'like this' and generates
3594         code examples that with many PDF readers cannot be cut out of PDFs
3595         and pasted into code.
3596         * manual/libc.texinfo: Configure the libc manual like the GNU
3597         Emacs manual, by using @documentencoding and setting
3598         txicodequoteundirected and txicodequotebacktick.  This way,
3599         Texinfo 5 quotes code in text with directed single quotes ‘like
3600         this’ and produces examples that can be cut out of PDFs.  This
3601         change causes Texinfo 5 to generate info files that contain UTF-8
3602         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
3603         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
3605 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3607         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
3608         __libc_tabort, __libc_tend): New wrappers that enforce compiler
3609         barriers to their respective compiler built-ins.
3610         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
3611         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
3612         * sysdeps/powerpc/sysdep.h: Likewise.
3613         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
3614         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
3615         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
3617 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
3619         * scripts/config.guess: Revert previous shebang change.
3620         * scripts/config.sub: Likewise.
3621         * scripts/mkinstalldirs: Likewise.
3623 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3625         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
3626         PPC_FEATURE2_HAS_IEEE128.
3627         * sysdeps/powerpc/dl-procinfo.c:
3628         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
3630 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
3632         [BZ #19415]
3633         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
3634         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
3635         (_dl_lookup_address): Rewrite using function resolver trampoline.
3636         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
3637         two bits in address.
3639 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3641         * longlong.h: Change !__SHMEDIA__ to
3642         (!defined (__SHMEDIA__) || !__SHMEDIA__).
3643         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
3645 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
3646             Joseph Myers  <joseph@codesourcery.com>
3647             Mark Shinwell  <shinwell@codesourcery.com>
3648             Andrew Stubbs  <ams@codesourcery.com>
3649             Rich Felker <dalias@libc.org>
3651         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
3653 2016-01-07  Richard Henderson  <rth@redhat.com>
3655         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
3657 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
3659         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
3660         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
3661         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3662         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3663         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
3665 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
3666             Joseph Myers  <joseph@codesourcery.com>
3668         * timezone/private.h: Update from tzcode 2015g.
3669         * timezone/tzfile.h: Likewise.
3670         * timezone/tzselect.ksh: Likewise.
3671         * timezone/zdump.c: Likewise.
3672         * timezone/zic.c: Likewise.
3673         * timezone/ialloc.c: Remove file.
3674         * timezone/scheck.c: Likewise.
3675         * timezone/Makefile (extra-objs): Remove variable.
3676         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
3677         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
3678         -Wno-maybe-uninitialized.
3679         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
3680         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
3681         (CFLAGS-ialloc.c): Remove variable.
3682         (CFLAGS-scheck.c): Likewise.
3683         * timezone/README: Update list of files from tzcode.
3685 2016-01-07  Khem Raj  <raj.khem@gmail.com>
3687         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
3688         instead of __fxprintf when _LIBC is undefined.
3690 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
3692         * catgets/test-gencat.sh: Remove space after shebang.
3693         * conform/GlibcConform.pm: Likewise.
3694         * conform/check-header-lists.sh: Likewise.
3695         * conform/conformtest.pl: Likewise.
3696         * conform/linknamespace.pl: Likewise.
3697         * conform/list-header-symbols.pl: Likewise.
3698         * debug/catchsegv.sh: Likewise.
3699         * elf/genrtldtbl.awk: Likewise.
3700         * elf/tst-pathopt.sh: Likewise.
3701         * elf/tst-rtld-load-self.sh: Likewise.
3702         * grp/tst_fgetgrent.sh: Likewise.
3703         * iconvdata/gen-8bit-gap-1.sh: Likewise.
3704         * iconvdata/gen-8bit-gap.sh: Likewise.
3705         * iconvdata/gen-8bit.sh: Likewise.
3706         * iconvdata/run-iconv-test.sh: Likewise.
3707         * intl/tst-gettext.sh: Likewise.
3708         * intl/tst-gettext2.sh: Likewise.
3709         * intl/tst-gettext4.sh: Likewise.
3710         * intl/tst-gettext6.sh: Likewise.
3711         * intl/tst-translit.sh: Likewise.
3712         * io/ftwtest-sh: Likewise.
3713         * libio/test-freopen.sh: Likewise.
3714         * locale/gen-translit.pl: Likewise.
3715         * malloc/tst-mtrace.sh: Likewise.
3716         * manual/check-safety.sh: Likewise.
3717         * manual/libc-texinfo.sh: Likewise.
3718         * manual/tsort.awk: Likewise.
3719         * manual/xtract-typefun.awk: Likewise.
3720         * nptl/tst-cancel-wrappers.sh: Likewise.
3721         * nptl/tst-tls6.sh: Likewise.
3722         * posix/globtest.sh: Likewise.
3723         * posix/tst-getconf.sh: Likewise.
3724         * posix/wordexp-tst.sh: Likewise.
3725         * scripts/check-c++-types.sh: Likewise.
3726         * scripts/check-local-headers.sh: Likewise.
3727         * scripts/config.guess: Likewise.
3728         * scripts/config.sub: Likewise.
3729         * scripts/cpp: Likewise.
3730         * scripts/cross-test-ssh.sh: Likewise.
3731         * scripts/documented.sh: Likewise.
3732         * scripts/evaluate-test.sh: Likewise.
3733         * scripts/gen-libc-abis: Likewise.
3734         * scripts/gen-sorted.awk: Likewise.
3735         * scripts/list-fixed-bugs.py: Likewise.
3736         * scripts/merge-test-results.sh: Likewise.
3737         * scripts/mkinstalldirs: Likewise.
3738         * scripts/rellns-sh: Likewise.
3739         * scripts/test-installation.pl: Likewise.
3740         * scripts/update-copyrights: Likewise.
3741         * stdio-common/tst-printf.sh: Likewise.
3742         * stdio-common/tst-unbputc.sh: Likewise.
3743         * stdlib/tst-fmtmsg.sh: Likewise.
3744         * stdlib/tst-setcontext3.sh: Likewise.
3745         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
3746         * sysdeps/unix/make-syscalls.sh: Likewise.
3748 2016-01-06  John David Anglin  <dave.anglin@bell.net>
3750         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
3751         asm stw with atomic_exchange_rel.  Add explanatory comment.
3752         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3753         Likewise.
3755 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3757         [BZ #19122]
3758         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
3759         * sysdeps/generic/dl-unistd.h: New file.
3760         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
3762 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
3764          [BZ #19122]
3765          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
3766          * sysdeps/generic/dl-mman.h: New file.
3767          * sysdeps/mach/hurd/dl-mman.h: Likewise.
3769 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
3771         * manual/texinfo.tex: Update to version 2016-01-04.21 with
3772         trailing whitespace removed.
3773         * scripts/config.guess: Update to version 2016-01-01.
3774         * scripts/config.sub: Update to version 2016-01-01.
3775         * scripts/move-if-change: Update from gnulib.
3777 2016-01-04  Anton Blanchard  <anton@samba.org>
3779         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
3780         for array indices.
3781         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
3783 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
3785         * NEWS: Update copyright dates.
3786         * catgets/gencat.c (print_version): Likewise.
3787         * csu/version.c (banner): Likewise.
3788         * debug/catchsegv.sh: Likewise.
3789         * debug/pcprofiledump.c (print_version): Likewise.
3790         * debug/xtrace.sh (do_version): Likewise.
3791         * elf/ldconfig.c (print_version): Likewise.
3792         * elf/ldd.bash.in: Likewise.
3793         * elf/pldd.c (print_version): Likewise.
3794         * elf/sotruss.sh: Likewise.
3795         * elf/sprof.c (print_version): Likewise.
3796         * iconv/iconv_prog.c (print_version): Likewise.
3797         * iconv/iconvconfig.c (print_version): Likewise.
3798         * locale/programs/locale.c (print_version): Likewise.
3799         * locale/programs/localedef.c (print_version): Likewise.
3800         * login/programs/pt_chown.c (print_version): Likewise.
3801         * malloc/memusage.sh (do_version): Likewise.
3802         * malloc/memusagestat.c (print_version): Likewise.
3803         * malloc/mtrace.pl: Likewise.
3804         * manual/libc.texinfo: Likewise.
3805         * nptl/version.c (banner): Likewise.
3806         * nscd/nscd.c (print_version): Likewise.
3807         * nss/getent.c (print_version): Likewise.
3808         * nss/makedb.c (print_version): Likewise.
3809         * posix/getconf.c (main): Likewise.
3810         * scripts/test-installation.pl: Likewise.
3811         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3813         * All files with FSF copyright notices: Update copyright dates
3814         using scripts/update-copyrights.
3815         * intl/plural.c: Regenerated.
3816         * locale/programs/charmap-kw.h: Likewise.
3817         * locale/programs/locfile-kw.h: Likewise.
3819 2016-01-02  Helge Deller  <deller@gmx.de>
3821         [BZ #19285]
3822         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
3823         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
3824         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
3825         (MADV_xxK_PAGES): Remove.
3827 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
3829         [BZ #15421]
3830         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
3831         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
3832         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
3833         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
3835 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
3837         [BZ #19408]
3838         * sysdeps/unix/sysv/linux/personality.c: New file.
3839         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
3840         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
3841         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
3842         (sysdep_routines): Add personality.
3843         (tests): Add tst-personality.
3844         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
3845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
3846         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
3847         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
3848         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
3849         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
3850         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
3851         Likewise.
3852         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
3853         Likewise.
3854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
3855         Likewise.
3856         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
3857         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
3858         Likewise.
3860 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
3862         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
3863         (PATH_ARM_SYSTYPE): Remove.
3864         (PATH_CPUINFO): Likewise.
3865         (IO_BASE_FOOTBRIDGE): Likewise.
3866         (IO_SHIFT_FOOTBRIDGE): Likewise.
3867         (struct platform): Likewise.
3868         (init_iosys): Remove compatibility code for 2.4 kernels.
3869         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
3871 2015-12-29  Florian Weimer  <fweimer@redhat.com>
3873         * malloc/tst-malloc-thread-fail.c: New file.
3874         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
3875         (tst-malloc-thread-fail): Link against libpthread.
3877 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
3879         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
3880         (get_parser): New function.
3881         (main): New function.
3883 2015-12-29  Rob Wu  <rob@robwu.nl>
3885         [BZ #19369]
3886         * resolv/res_init.c (__res_vinit): Reset defdname before use.
3888 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
3890         [BZ #19270]
3891         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
3893 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
3895         [BZ #15421]
3896         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
3898 2015-12-23  Torvald Riegel  <triegel@redhat.com>
3900         [BZ #13690]
3901         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
3902         after releasing it.
3903         (__lll_robust_unlock): Likewise.
3904         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3905         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
3906         (lll_robust_unlock): Likewise.
3907         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
3908         Prevent warnings in callers.
3910 2015-12-23  Florian Weimer  <fweimer@redhat.com>
3912         * malloc/arena.c (list_lock): Update comment.
3914 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3916         * sysdeps/powerpc/hwcapinfo.c: Export symbol
3917         __parse_hwcap_and_convert_at_platform to libc.a.
3919 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3921         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
3922         platform and feature support for POWER9.
3923         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3924         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
3925         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
3926         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
3927         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
3928         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
3929         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
3930         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
3932 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3934         Harmonize generic stdio-lock support with nptl
3936         This fixes build when _IO_funlockfile is a macro, fixes build where
3937         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
3938         stack unwind.
3940         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
3941         _IO_release_lock ): Use cleanup attribute on new
3942         _IO_acquire_lock_file variable instead of assuming that
3943         _IO_release_lock will be called.
3944         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
3945         _IO_acquire_lock_needs_exceptions_enabled.
3946         (_IO_acquire_lock_clear_flags2): New macro.
3948 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3950         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3952 2015-12-21  Florian Weimer  <fweimer@redhat.com>
3954         [BZ #19182]
3955         * malloc/arena.c (list_lock): Document lock ordering requirements.
3956         (free_list_lock): New lock.
3957         (ptmalloc_lock_all): Comment on free_list_lock.
3958         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
3959         (detach_arena): Update comment.  free_list_lock is now needed.
3960         (_int_new_arena): Use free_list_lock around detach_arena call.
3961         Acquire arena lock after list_lock.  Add comment, including FIXME
3962         about incorrect synchronization.
3963         (get_free_list): Switch to free_list_lock.
3964         (reused_arena): Acquire free_list_lock around detach_arena call
3965         and attached threads counter update.  Add two FIXMEs about
3966         incorrect synchronization.
3967         (arena_thread_freeres): Switch to free_list_lock.
3968         * malloc/malloc.c (struct malloc_state): Update comments to
3969         mention free_list_lock.
3971 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3973         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
3974         Remove functions.
3975         (sloww, sloww1): Accept argument to offset quadrant.
3976         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
3977         quadrant.
3978         (__sin, __cos): Consolidate common code into new functions.
3979         (reduce_sincos_1, do_sincos_1): New functions.
3980         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
3983         code to new functions.
3984         (reduce_sincos_2, do_sincos_2): New functions.
3985         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
3987         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
3988         common code for sincos.
3989         (__cos) [!IN_SINCOS]: Likewise.
3990         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
3991         New function.
3992         (__sincos): Use it.
3994 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
3996         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
3997         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
3998         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4000 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4002         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4003         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4004         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4005         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4006         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4007         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4008         index_Prefer_No_VZEROUPPER): New feature.
4009         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4010         Prefer_No_VZEROUPPER for Knights Landing.
4012 015-12-18  Torvald Riegel  <triegel@redhat.com>
4014         * math/atest-exp2.c (mp_exp_m1): Remove.
4016 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4018         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4019         syscalls.
4020         (__SYSCALL0): New macro.
4021         (__SYSCALL1): Likewise.
4022         (__SYSCALL2): Likewise.
4023         (__SYSCALL3): Likewise.
4024         (__SYSCALL4): Likewise.
4025         (__SYSCALL5): Likewise.
4026         (__SYSCALL6): Likewise.
4027         (__SYSCALL_CONCAT_X): Likewise.
4028         (__SYSCALL_CONCAT): Likewise.
4029         (__SYSCALL_DIST): Likewise.
4030         (__SYSCALL_CALL): Likewise.
4032 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4034         [BZ #19363]
4035         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4037 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4039         [BZ #19375]
4040         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4041         negative subnormals.
4043 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4046         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4047         (INTERNAL_SYSCALL_NCS): Use it.
4048         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4050 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4052         [BZ #19243]
4053         * malloc/arena.c (get_free_list): Remove assert and adjust
4054         reference count handling.  Add comment about reused_arena
4055         interaction.
4056         (reused_arena): Add comments abount get_free_list interaction.
4057         * malloc/tst-malloc-thread-exit.c: New file.
4058         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4059         (tst-malloc-thread-exit): Link against libpthread.
4061 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4063         [BZ #19367]
4064         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4065         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4066         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4067         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4068         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4070 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4072         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4073         Silvermont optimizations for Knights Landing.
4075 2015-12-15  Andreas Schwab  <schwab@suse.de>
4077         [BZ #17197]
4078         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4079         immediately after emitting SI.
4080         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4081         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4082         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4083         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4084         * iconvdata/bug-iconv10.c: New file.
4085         * iconvdata/Makefile (tests): Add bug-iconv10.
4086         ($(objpfx)bug-iconv10.out): New rule.
4088 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4090         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4091         aliasing violation.
4093 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4095         [BZ #18472]
4096         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4097         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4098         conditionals for them.
4099         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4100         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4102         sys/kdaemon.h.
4103         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4104         compat-only syscall, obsoleted in glibc 2.23.
4105         (create_module): Likewise.
4106         (get_kernel_syms): Likewise.
4107         (query_module): Likewise.
4108         (uselib): Likewise.
4109         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4111 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4113         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4114         <linux/version.h>.
4115         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4116         conditional code.
4117         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4118         and ioshift_name initialization.
4120 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4122         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4123         Fix indentation.
4125 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4127         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4129 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4131         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4133 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4134             Jakub Wilk  <jwilk@debian.org>
4136         [BZ #19347]
4137         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4138         to change the group of the device to the tty group.
4140 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4142         Split large string section; add truncation advice
4143         * manual/examples/strncat.c: Remove.
4144         This example was misleading, as the code would have undefined
4145         behavior if "hello" was longer than SIZE.  Anyway, the manual
4146         shouldn't encourage strncpy+strncat for this sort of thing.
4147         * manual/string.texi (Copying Strings and Arrays): Split into
4148         three sections Copying Strings and Arrays, Concatenating Strings,
4149         and Truncating Strings, as this section was way too long.  All
4150         cross-referenced changed.  Add advice about string-truncation
4151         functions.  Remove misleading strncat example.
4153 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4155         * manual/nss.texi (NSS Modules Interface): Document
4156         NSS_STATUS_NOTFOUND and SUCCESS.
4158 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4160         [BZ 18568]
4161         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4162         201505L, for Unicode 8.
4164 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4166         * locale/C-translit.h: Regenerate.
4168 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4170         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4171         and U+0153.
4173 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4175         [BZ #19351]
4176         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4177         expanding log(1+z), compare z rather than its square with epsilon
4178         to determine when to avoid evaluating the expansion.
4180         [BZ #19350]
4181         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4182         Increase overflow threshold.
4184         [BZ #19349]
4185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4186         when small.
4188         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4190         New macro.
4191         [__LINUX_KERNEL_VERSION >= 0x040300]
4192         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4194         Likewise.
4195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4196         Likewise.
4197         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4198         Likewise.
4199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4200         Likewise.
4201         [__LINUX_KERNEL_VERSION >= 0x040300]
4202         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4203         [__LINUX_KERNEL_VERSION >= 0x040300]
4204         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4205         [__LINUX_KERNEL_VERSION >= 0x040300]
4206         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4207         [__LINUX_KERNEL_VERSION >= 0x040300]
4208         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4209         [__LINUX_KERNEL_VERSION >= 0x040300]
4210         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4211         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4212         Likewise.
4213         [__LINUX_KERNEL_VERSION >= 0x040300]
4214         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4215         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4216         Likewise.
4217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4218         Likewise.
4219         [__LINUX_KERNEL_VERSION >= 0x040300]
4220         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4222         Likewise.
4223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4226         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4227         Likewise.
4228         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4229         Likewise.
4230         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4231         Likewise.
4232         [__LINUX_KERNEL_VERSION >= 0x040300]
4233         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4234         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4235         Likewise.
4236         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4237         Likewise.
4238         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4239         Likewise.
4240         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4241         Likewise.
4242         [__LINUX_KERNEL_VERSION >= 0x040300]
4243         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4244         [__LINUX_KERNEL_VERSION >= 0x040300]
4245         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4246         [__LINUX_KERNEL_VERSION >= 0x040300]
4247         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4248         [__LINUX_KERNEL_VERSION >= 0x040300]
4249         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4250         [__LINUX_KERNEL_VERSION >= 0x040300]
4251         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4252         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4253         Likewise.
4254         [__LINUX_KERNEL_VERSION >= 0x040300]
4255         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4256         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4257         Likewise.
4258         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4259         Likewise.
4260         [__LINUX_KERNEL_VERSION >= 0x040300]
4261         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4263         Likewise.
4264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4265         Likewise.
4266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4267         (__ASSUME_SOCKET_SYSCALL): Likewise.
4268         (__ASSUME_BIND_SYSCALL): Likewise.
4269         (__ASSUME_CONNECT_SYSCALL): Likewise.
4270         (__ASSUME_LISTEN_SYSCALL): Likewise.
4271         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4272         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4273         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4274         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4275         (__ASSUME_SEND_SYSCALL): Likewise.
4276         (__ASSUME_SENDTO_SYSCALL): Likewise.
4277         (__ASSUME_RECV_SYSCALL): Likewise.
4278         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4279         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4280         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4281         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4282         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4283         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4284         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4285         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4286         Likewise.
4287         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4288         Likewise.
4289         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4290         Likewise.
4291         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4292         Likewise.
4293         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4294         Likewise.
4295         [__LINUX_KERNEL_VERSION >= 0x020625]
4296         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4297         [__LINUX_KERNEL_VERSION >= 0x020625]
4298         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4299         [__LINUX_KERNEL_VERSION >= 0x020625]
4300         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4301         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4302         Likewise.
4303         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4304         Likewise.
4305         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4306         Likewise.
4307         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4308         Likewise.
4309         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4310         Likewise.
4311         [__LINUX_KERNEL_VERSION >= 0x020625]
4312         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4313         [__LINUX_KERNEL_VERSION >= 0x020625]
4314         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4315         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4316         Likewise.
4317         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4318         Likewise.
4320 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4322         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4323         record the current if the current ABI and CPU support the FP64
4324         extension.
4325         (has-modd-spreg): Define to record the current if the current ABI and
4326         CPU support 32-bit floating point values in odd FPU registers.
4327         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4328         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4329         $(has-modd-spreg) equals yes.
4330         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4331         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4332         $(has-modd-spreg) equal yes.
4334 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4336         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4337         basename.
4339 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4341         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4342         (bench-string): ... here.
4343         (bench): Add bench-string.
4344         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4345         to *-benchset to reflect what they are.
4346         (benchset): Adjust.
4348         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4349         cos-inputs.
4351 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4353         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4354         __attribute__ ((__simd__)) for vector math function declarations.
4356 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4358         Fix typo in strncat, wcsncat manual entries
4359         * manual/string.texi (Copying and Concatenation): Fix typos in
4360         sample implementations of strncat and wcsncat, by having them use
4361         the old value of the destination length, not the new one.
4363 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4365         [BZ #16961]
4366         [BZ #16962]
4367         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4368         string on the stack for strtod.
4369         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4370         a string on the stack for strtof.
4371         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4372         constructing a string on the stack for strtold.
4373         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4374         __strtold_nan to GLIBC_PRIVATE.
4375         * math/test-nan-overflow.c: New file.
4376         * math/test-nan-payload.c: Likewise.
4377         * math/Makefile (tests): Add test-nan-overflow and
4378         test-nan-payload.
4380 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4382         Consistency about byte vs character in string.texi
4383         * manual/string.texi (String and Array Utilities):
4384         Distinguish more carefully among bytes, multibyte characters,
4385         and wide characters.  Use "byte" when talking about C 'char',
4386         to distinguish it more clearly from multibyte characters.
4387         Say "wide character" or "multibyte character" instead of
4388         "character", when a wide or multibyte character is intended.
4389         Similarly for "multibyte string" versus "string".
4390         Define these terms more carefully.
4392 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4394         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4395         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4396         Likewise.
4397         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4398         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4399         * sysdeps/sh/math_private.h: New file.
4400         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4401         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4402         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4403         long double function name.
4404         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4405         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4406         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
4410         Remove __finitel, __isinfl, and __isnanl.
4411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4412         Likewise.
4413         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4415         Remove __finitel.
4416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4417         Likewise.
4418         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4420 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
4422         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
4423         installed libmvec_nonshared.a.
4425 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4427         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
4428         (sysdep_routines): Likewise.
4429         (sysdep-rtld-routines): Likewise.
4430         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
4431         [$(subdir) = nptl](tests-static): test-get_hwcap-static
4432         * sysdeps/powerpc/Versions: Added new
4433         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
4434         * sysdeps/powerpc/hwcapinfo.c: New file.
4435         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
4436         and parse hwcap, hwcap2 and platform number information.
4437         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
4438         to store HWCAP+HWCAP2 and platform number.
4439         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
4440         for HWCAP+HWCAP2 and platform number in the TCB.
4441         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
4442         the HWCAP, HWCAP2 and platform number in the TCB.
4443         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
4444         (TLS_INIT_TP): Included calls to add the hwcap and
4445         at_platform values in the TCB in TP initialization.
4446         (TLS_DEFINE_INIT_TP): Likewise.
4447         (THREAD_GET_HWCAP): New macro.
4448         (THREAD_SET_HWCAP): Likewise.
4449         (THREAD_GET_AT_PLATFORM): Likewise.
4450         (THREAD_SET_AT_PLATFORM): Likewise.
4451         * sysdeps/powerpc/powerpc32/dl-machine.h:
4452         (dl_platform_init): New function that calls
4453         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
4454         powerpc32.
4455         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
4456         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
4457         this functionality, static linking case.
4458         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
4459         linking case.
4460         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
4461         __parse_hwcap_and_convert_at_platform for the static linking case.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
4463         Included the new __parse_hwcap_and_convert_at_platform symbol in the
4464         ABI list for GLIBC 2.23.
4465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
4466         Likewise.
4467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
4468         Likewise.
4470 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
4472         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
4473         * configure: Regenerate.
4474         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
4475         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
4477 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
4479         * iconvdata/ibm930.c: Add comment explaining encoding uses.
4480         * iconvdata/ibm933.c: Likewise.
4481         * iconvdata/ibm935.c: Likewise.
4482         * iconvdata/ibm937.c: Likewise.
4483         * iconvdata/ibm939.c: Likewise.
4485 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4487         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
4488         pthread_join.
4489         * nptl/tst-cancel21.c (tf): Likewise.
4491 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
4493         [BZ #19313]
4494         * bits/typesizes.h (__CPU_MASK_TYPE): New.
4495         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4496         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
4497         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
4498         Likewise.
4499         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
4500         Likewise.
4501         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
4502         Likewise.
4503         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
4504         Likewise.
4505         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
4506         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
4507         unsigned long int with __CPU_MASK_TYPE.
4509 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4511         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4513 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
4515         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
4516         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
4517         t512.x.
4518         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
4520 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
4522         [BZ #19214]
4523         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
4524         argument to return extended model.  Update family and model
4525         with extended family and model when family == 0x0f.
4526         (init_cpu_features): Updated.
4528 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4530         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
4531         signed off_t, so 32bit bigger than 2GiB values are fine actually.
4533         * sysdeps/mach/hurd/mmap64.c: New file.
4535 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
4537         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
4538         rights for its main user thread in NEWTASK.
4540 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
4542         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
4543         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
4545 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
4547         [BZ #14259]
4548         * Makeconfig: Rename localedir to complocaledir.
4549         Rename inst_localedir to inst_complocaledir.
4550         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
4551         * config.make.in: Use complocaledir and libc_cv_complocaledir.
4552         * configure.ac: Use libc_cv_complocaledir.
4553         * configure: Regenerate.
4554         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
4555         -DCOMPLOCALEDIR.
4556         * locale/findlocale.c: Use COMPLOCALEDIR.
4557         * locale/loadarchive.c: Likewise.
4558         * locale/programs/locale.c: Likewise.
4559         * locale/programs/localedef.c: Likewise.
4560         * locale/programs/locarchive.c: Likewise.
4561         * localedata/Makefile: Use inst_complocaledir.
4562         * sysdeps/gnu/configure: Regenerate.
4563         * sysdeps/hppa/configure: Regenerate.
4564         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
4565         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4567         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
4568         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
4569         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
4570         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
4572 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
4574         [BZ #19058]
4575         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
4576         AS_NEEDED.
4577         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
4578         workaround.
4579         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
4580         libmvec-static-only-routines): Added new file.
4581         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
4583 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4585         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
4586         of interrupted RPC instead of restoring it.
4588         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
4589         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
4590         libc_hidden_def.
4591         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
4592         into initialized data instead of common. Define rtld_hidden_data_def.
4593         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
4594         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
4595         libc_hidden_def.
4596         (if_freenameindex): Add libc_hidden_weak.
4597         (if_nameindex): Add libc_hidden_weak.
4598         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
4599         __open64.
4600         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
4601         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
4602         * sysdeps/mach/nanosleep.c: Include <time.h>
4603         (__nanosleep): Rename to __libc_nanosleep.
4604         (__nanosleep): Add weak_alias.
4605         (nanosleep): Update alias.
4607 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
4609         * stdlib/strtod_nan.c: New file.
4610         * stdlib/strtod_nan_double.h: Likewise.
4611         * stdlib/strtod_nan_float.h: Likewise.
4612         * stdlib/strtod_nan_main.c: Likewise.
4613         * stdlib/strtod_nan_narrow.h: Likewise.
4614         * stdlib/strtod_nan_wide.h: Likewise.
4615         * stdlib/strtof_nan.c: Likewise.
4616         * stdlib/strtold_nan.c: Likewise.
4617         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
4618         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
4619         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
4620         * wcsmbs/wcstod_nan.c: Likewise.
4621         * wcsmbs/wcstof_nan.c: Likewise.
4622         * wcsmbs/wcstold_nan.c: Likewise.
4623         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
4624         strtold_nan.
4625         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
4626         wcstof_nan.
4627         * include/stdlib.h (__strtof_nan): Declare and use
4628         libc_hidden_proto.
4629         (__strtod_nan): Likewise.
4630         (__strtold_nan): Likewise.
4631         (__wcstof_nan): Likewise.
4632         (__wcstod_nan): Likewise.
4633         (__wcstold_nan): Likewise.
4634         * include/wchar.h (____wcstoull_l_internal): Declare.
4635         * stdlib/strtod_l.c: Do not include <ieee754.h>.
4636         (____strtoull_l_internal): Remove declaration.
4637         (STRTOF_NAN): Define macro.
4638         (SET_MANTISSA): Remove macro.
4639         (STRTOULL): Likewise.
4640         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
4641         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
4642         (STRTOF_NAN): Define macro.
4643         (SET_MANTISSA): Remove macro.
4644         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
4645         (SET_MANTISSA): Remove macro.
4646         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
4647         macro.
4648         (SET_MANTISSA): Remove macro.
4649         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
4650         macro.
4651         (SET_MANTISSA): Remove macro.
4652         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
4653         (SET_MANTISSA): Remove macro.
4654         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
4655         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
4656         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
4658         [BZ #19266]
4659         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
4660         upper case and lower case letters inside NAN(), not using TOLOWER.
4661         * stdlib/tst-strtod-nan-locale-main.c: New file.
4662         * stdlib/tst-strtod-nan-locale.c: Likewise.
4663         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
4664         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
4665         Depend on $(gen-locales).
4666         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
4667         * wcsmbs/tst-wcstod-nan-locale.c: New file.
4668         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
4669         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
4670         Depend on $(gen-locales).
4671         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
4673 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
4675         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
4677         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
4679         __finitel, __isinfl, and __isnanl.
4680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4681         Likewise.
4682         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
4684         __finitel.
4685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4686         Likewise.
4687         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4689 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
4691         * malloc/memusage.c (me): Remove redundant getenv call.
4693 2015-10-24  Florian Weimer  <fweimer@redhat.com>
4695         [BZ #19143]
4696         [BZ #19164]
4697         * nptl/check-cpuset.h: Remove.
4698         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
4699         Remove CPU set size check.
4700         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
4701         Likewise.
4702         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
4703         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4704         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
4705         (__pthread_setaffinity_new): Remove CPU set size check.
4706         * sysdeps/unix/sysv/linux/sched_setaffinity.c
4707         (__kernel_cpumask_size): Remove.
4708         (__sched_setaffinity_new): Remove CPU set size check.
4709         * manual/threads.texi (Default Thread Attributes): Remove stale
4710         reference to check_cpuset_attr, determine_cpumask_size in comment.
4711         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
4712         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
4713         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
4714         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
4715         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
4716         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
4717         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
4718         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
4719         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
4720         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
4721         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
4722         skeleton test file.
4723         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
4724         tst-affinity-pid.
4726 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4728         * scripts/update-abilist.sh: New file.
4729         * Makefile (+subdir_targets): Add subdir_update-all-abi.
4730         * Makerules (update-all-abi-%, update-all-abi)
4731         (subdir_update-all-abi): New targets.
4732         * elf/Makefile (update-all-abi): New target.
4734 2015-11-24  Florian Weimer  <fweimer@redhat.com>
4736         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
4737         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
4738         (__libc_lock_define_initialized): Use it.
4739         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
4740         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
4741         * malloc/malloc.c (main_arena): Likewise.
4742         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4743         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
4745 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
4747         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4748         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
4749         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4750         (PTRACE_O_MASK): Update value.
4751         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
4752         New value in enum __ptrace_setoptions.
4753         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4754         (PTRACE_O_MASK): Update value.
4755         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4756         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4757         (PTRACE_O_MASK): Update value.
4758         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
4759         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4760         (PTRACE_O_MASK): Update value.
4761         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
4762         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
4763         (PTRACE_O_MASK): Update value.
4764         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
4765         New value in enum __ptrace_setoptions.
4766         (PTRACE_O_MASK): Update value.
4767         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
4768         New value in enum __ptrace_setoptions.
4769         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
4770         (PTRACE_O_MASK): Update value.
4772         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
4773         New macro.
4774         (PACKET_AUXDATA): Likewise.
4775         (PACKET_ORIGDEV): Likewise.
4776         (PACKET_VERSION): Likewise.
4777         (PACKET_HDRLEN): Likewise.
4778         (PACKET_RESERVE): Likewise.
4779         (PACKET_TX_RING): Likewise.
4780         (PACKET_LOSS): Likewise.
4781         (PACKET_VNET_HDR): Likewise.
4782         (PACKET_TX_TIMESTAMP): Likewise.
4783         (PACKET_TIMESTAMP): Likewise.
4784         (PACKET_FANOUT): Likewise.
4785         (PACKET_TX_HAS_OFF): Likewise.
4786         (PACKET_QDISC_BYPASS): Likewise.
4787         (PACKET_ROLLOVER_STATS): Likewise.
4788         (PACKET_FANOUT_DATA): Likewise.
4789         (PACKET_MR_UNICAST): Likewise.
4791         [BZ #19242]
4792         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
4793         (TOUPPER): Likewise.
4794         * stdlib/tst-strtol-locale-main.c: New file.
4795         * stdlib/tst-strtol-locale.c: Likewise.
4796         * stdlib/Makefile (tests): Add tst-strtol-locale.
4797         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
4798         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
4799         Depend on $(gen-locales).
4800         * wcsmbs/tst-wcstol-locale.c: New file.
4801         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
4802         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
4803         tr_TR.ISO-8859-9.
4804         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
4805         Depend on $(gen-locales).
4807 2015-11-20  Roland McGrath  <roland@hack.frob.com>
4809         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
4810         __glibc_likely instead of __builtin_expect.  After falling back to
4811         dyncode_create in a non-ET_DYN case, use the allocate_code_data
4812         system interface to register the code pages as occupied.
4814 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
4816         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4817         [!ARM_MATH_PRIVATE_H].
4818         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
4819         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4820         [!HPPA_MATH_PRIVATE_H].
4821         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
4822         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
4823         to [!I386_MATH_PRIVATE_H].
4824         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
4825         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
4826         Change guard to [!M68K_MATH_PRIVATE_H].
4827         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
4828         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
4829         guard to [!MICROBLAZE_MATH_PRIVATE_H].
4830         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
4831         macro.
4832         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4833         [!MIPS_MATH_PRIVATE_H].
4834         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
4835         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4836         [!NIO2_MATH_PRIVATE_H].
4837         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
4838         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
4839         [!TILE_MATH_PRIVATE_H].
4840         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
4842         [BZ #15421]
4843         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
4844         initialize with 0 and define as weak alias of __signgam.
4845         * include/math.h [!_ISOMAC] (__signgam): Declare.
4846         * math/Makefile (libm-calls): Add w_lgamma_compat.
4847         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
4848         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
4849         test-signgam-ullong-init.
4850         (tests-static): Add test-signgam-uchar-static,
4851         test-signgam-uchar-init-static, test-signgam-uint-static,
4852         test-signgam-uint-init-static, test-signgam-ullong-static and
4853         test-signgam-ullong-init-static.
4854         (CFLAGS-test-signgam-uchar.c): New variable.
4855         (CFLAGS-test-signgam-uchar-init.c): Likewise.
4856         (CFLAGS-test-signgam-uchar-static.c): Likewise.
4857         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
4858         (CFLAGS-test-signgam-uint.c): Likewise.
4859         (CFLAGS-test-signgam-uint-init.c): Likewise.
4860         (CFLAGS-test-signgam-uint-static.c): Likewise.
4861         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
4862         (CFLAGS-test-signgam-ullong.c): Likewise.
4863         (CFLAGS-test-signgam-ullong-init.c): Likewise.
4864         (CFLAGS-test-signgam-ullong-static.c): Likewise.
4865         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
4866         * math/Versions (libm): Add GLIBC_2.23.
4867         * math/lgamma-compat.h: New file.
4868         * math/test-signgam-main.c: Likewise.
4869         * math/test-signgam-uchar-init-static.c: Likewise.
4870         * math/test-signgam-uchar-init.c: Likewise.
4871         * math/test-signgam-uchar-static.c: Likewise.
4872         * math/test-signgam-uchar.c: Likewise.
4873         * math/test-signgam-uint-init-static.c: Likewise.
4874         * math/test-signgam-uint-init.c: Likewise.
4875         * math/test-signgam-uint-static.c: Likewise.
4876         * math/test-signgam-uint.c: Likewise.
4877         * math/test-signgam-ullong-init-static.c: Likewise.
4878         * math/test-signgam-ullong-init.c: Likewise.
4879         * math/test-signgam-ullong-static.c: Likewise.
4880         * math/test-signgam-ullong.c: Likewise.
4881         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
4882         wrapper of w_lgamma_main.c.
4883         * math/w_lgamma_compat.c: New file.
4884         * math/w_lgamma_compatf.c: Likewise.
4885         * math/w_lgamma_compatl.c: Likewise.
4886         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
4887         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4888         defining compatibility symbols.
4889         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
4890         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
4891         wrapper of w_lgammaf_main.c.
4892         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
4893         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4894         defining compatibility symbols.
4895         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
4896         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
4897         wrapper of w_lgammal_main.c.
4898         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
4899         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
4900         defining compatibility symbols.
4901         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
4902         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
4903         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
4904         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
4905         <lgamma-compat.h>.
4906         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
4907         (__ieee754_gamma): Define as alias.
4908         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
4909         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
4910         <lgamma-compat.h>.
4911         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
4912         (__ieee754_gammaf): Define as alias.
4913         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
4914         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
4915         <lgamma-compat.h>.
4916         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
4917         (__ieee754_gammal): Define as alias.
4918         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
4919         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
4920         <math/w_lgamma_compat.c>.
4921         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
4922         Define as alias of __lgamma_compat and use in defining lgammal.
4923         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
4924         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
4925         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
4926         (USE_AS_COMPAT): New macro.
4927         (LGAMMA_OLD_VER): Undefine and redefine.
4928         (lgammal): Do not define here.
4929         (gammal): Only define here if [GAMMA_ALIAS].
4930         * conform/linknamespace.pl (@whitelist): Remove signgam.
4931         * sysdeps/nacl/libm.abilist: Update.
4932         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4937         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4938         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4942         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4943         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4945         Likewise.
4946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4947         Likewise.
4948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4949         Likewise.
4950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4951         Likewise.
4952         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4953         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4954         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4955         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4956         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4958         Likewise.
4959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4960         Likewise.
4961         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4962         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4963         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4965 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4967         [BZ #16364]
4968         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
4969         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
4971 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4973         * sysdeps/s390/fpu/bits/mathinline.h:
4974         Use __asm__ [__volatile__] instead of asm [volatile].
4975         * sysdeps/s390/abort-instr.h: Likewise.
4976         * sysdeps/s390/atomic-machine.h: Likewise.
4977         * sysdeps/s390/bits/string.h: Likewise.
4978         * sysdeps/s390/dl-tls.h: Likewise.
4979         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
4980         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
4981         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
4982         * sysdeps/s390/fpu/fesetround.c: Likewise.
4983         * sysdeps/s390/fpu/fpu_control.h: Likewise.
4984         * sysdeps/s390/fpu/s_fma.c: Likewise.
4985         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
4986         * sysdeps/s390/memusage.h: Likewise.
4987         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
4988         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
4989         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
4990         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
4991         * sysdeps/s390/nptl/tls.h: Likewise.
4992         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
4993         * sysdeps/s390/s390-32/backtrace.c: Likewise.
4994         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4995         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4996         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4997         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
4998         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
4999         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5000         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5001         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5002         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5003         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5004         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5005         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5006         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5007         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5008         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5009         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5010         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5012         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5014         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5016 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5017             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5019         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5020         Add lwarx hint, and use macro for acquire instruction.
5021         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5022         Likewise.
5023         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5024         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5025         update to use new atomic macros.
5027 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5029         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5030         (__lll_trylock_elision): Fix setting of adapt_count.
5031         * sysdeps/unix/sysv/linux/powerpc/htm.h
5032         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5033         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5034         (_ABORT_SYSCALL): Renumber, and clarify definition.
5035         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5037 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5039         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5040         after system headers to prevent MIN/MAX redefinition.  Define
5041         HAVE_ALLOCA to preserve builtin alloca usage.
5043 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5045         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5046         static and don't set or restore rounding.
5047         (__cos)[IN_SINCOS]: Likewise.
5048         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5049         (__sincos): Set and restore rounding mode.  Remove check for infinite
5050         or NaN input.
5052         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5054         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5055         as used.
5057 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5059         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5061 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5063         * config.make.in (have-glob-dat-reloc): New.
5064         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5065         target supports GLOB_DAT relocaton. AC_SUBST.
5066         * configure: Regenerated.
5067         * elf/Makefile (tests): Add tst-prelink.
5068         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5069         (tst-prelink-ENV): New.
5070         ($(objpfx)tst-prelink-conflict.out): Likewise.
5071         ($(objpfx)tst-prelink-cmp.out): Likewise.
5072         * sysdeps/x86/tst-prelink.c: Moved to ...
5073         * elf/tst-prelink.c: Here.
5074         * sysdeps/x86/tst-prelink.exp: Moved to ...
5075         * elf/tst-prelink.exp: Here.
5076         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5077         (tst-prelink-ENV): Removed.
5078         ($(objpfx)tst-prelink-conflict.out): Likewise.
5079         ($(objpfx)tst-prelink-cmp.out): Likewise.
5080         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5082 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5084         [BZ #14551]
5085         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5086         (__mpn_construct_long_double): If high part overflows to infinity,
5087         set errno and recompute overflowed result of the correct sign.
5088         * sysdeps/ieee754/ldbl-128ibm/Makefile
5089         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5090         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5091         $(libm).
5092         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5094 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5096         [BZ #15479]
5097         [BZ #19238]
5098         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5099         floating-point state after first operation on input.  Restore full
5100         state rather than just rounding mode.
5101         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5102         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5103         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5105         [BZ #19235]
5106         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5107         add 0.5 to integer arguments.
5108         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5109         Likewise.
5110         (.LC2): New object.
5112 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5114         * scripts/pylintrc (reports): Set to no.
5116 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5118         * elf/dl-load.c (open_verify): Take new argument FD.
5119         Skip __open call if passed FD is not -1.
5120         (_dl_map_object, open_path): Update callers.
5121         * elf/dl-sysdep-open.h: New file.
5122         * elf/dl-load.c: Include it.
5123         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5124         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5125         * sysdeps/nacl/dl-sysdep-open.h: New file.
5126         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5127         from libc to rtld.
5129 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5131         [BZ #19228]
5132         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5133         and restore full floating-point state.
5134         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5135         Likewise.
5136         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5137         Likewise.
5138         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5139         Likewise.
5140         * math/test-nearbyint-except-2.c: New file.
5141         * math/Makefile (tests): Add test-nearbyint-except-2.
5143 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5145         [BZ #19178]
5146         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5147         (tst-prelink-ENV): New.
5148         ($(objpfx)tst-prelink-conflict.out): Likewise.
5149         ($(objpfx)tst-prelink-cmp.out): Likewise.
5150         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5151         * sysdeps/x86/tst-prelink.c: New file.
5152         * sysdeps/x86/tst-prelink.exp: Likewise.
5154 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5156         * math/auto-libm-test-in: Add another test of pow.
5157         * math/auto-libm-test-out: Regenerated.
5158         * math/libm-test.inc (pow_test_data): Add another test.
5160 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5162         [BZ #19219]
5163         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5164         weak_alias to nearbyintl.
5166 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5168         * sysdeps/aarch64/bits/string.h: New file.
5169         (_STRING_ARCH_unaligned): Define.
5171 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5173         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5174         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5175         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5176         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5179 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5181         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5182         for original name of the DSO.  Add it to the name list of the DSO
5183         if it is actually given.
5184         (_dl_map_object): Keep track of whether an audit module rewrote
5185         the file name.  If yes, pass the original name to
5186         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5187         debugging is enabled, log the change of the file name.
5188         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5189         _dl_map_object_from_fd.
5190         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5191         * elf/tst-audit11.c: New file
5192         * elf/tst-auditmod11.c: New file.
5193         * elf/tst-audit11mod1.c: New file.
5194         * elf/tst-audit11mod2.c: New file.
5195         * elf/tst-audit11mod2.map: New file.
5196         * elf/tst-audit12.c: New file
5197         * elf/tst-auditmod12.c: New file.
5198         * elf/tst-audit12mod1.c: New file.
5199         * elf/tst-audit12mod2.c: New file.
5200         * elf/tst-audit12mod2.map: New file.
5201         * elf/tst-audit12mod3.c: New file.
5203 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5205         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5206         Don't create weak aliases,
5207         because versioned symbols are created later.
5208         * sysdeps/s390/s390-32/setjmp.S
5209         (setjmp, _setjmp): Remove weak and rename to an unique name
5210         in SHARED case due to existing versioned symbols.
5211         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5213         (getcontext): Create weak alias only in non SHARED case.
5214         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5216 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5218         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5219         (__ASSUME_*_SYSCALL) Define new macros.
5220         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5221         Remove socketcall syscalls.
5222         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5223         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5224         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5225         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5226         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5227         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5229 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5231         [BZ #12926]
5232         Terminate process on invalid netlink response.
5233         * sysdeps/unix/sysv/linux/netlinkaccess.h
5234         (__netlink_assert_response): Declare.
5235         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5236         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5237         (sysdep_routines): Add netlink_assert_response.
5238         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5239         __netlink_assert_response.
5240         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5241         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5242         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5243         __netlink_assert_response.
5245 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5247         [BZ #19178]
5248         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5249         (RTYPE_CLASS_PLT): Likewise.
5250         (RTYPE_CLASS_COPY): Likewise.
5251         (RTYPE_CLASS_TLS): Likewise.
5252         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5253         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5254         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5255         DL_DEBUG_PRELINK.
5257 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5259         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5260         calls with argument -0.5.
5261         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5263         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5264         (libc_cv_z_nodlopen): Likewise.
5265         (libc_cv_z_initfirst): Likewise.
5266         * configure: Regenerated.
5268 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5270         Simplify abilist format to be line-based.
5271         * scripts/abilist.awk: Collect descriptors in the descs variable.
5272         (emit): Write descs variable and sort it
5273         externally, with sort.
5274         * sysdeps/**/*.abilist: Convert to new format.
5276 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5278         [BZ #11460]
5279         * io/Makefile (routines): Add fts64.
5280         (tests): Add tst-fts and tst-fts-lfs.
5281         (CFLAGS-fts64.c): New.
5282         * io/Versions (GLIBC_2.23): New.
5283         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5284         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5285         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5286         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5287         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5288         (FTSENT64): Likewise.
5289         (fts64_children): Likewise.
5290         (fts64_close): Likewise.
5291         (fts64_open): Likewise.
5292         (fts64_read): Likewise.
5293         (fts64_set): Likewise.
5294         * io/fts64.c: New file.
5295         * io/tst-fts.c: New test.
5296         * io/tst-fts-lfs.c: Likewise.
5297         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5298         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5299         fts64_set.
5300         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5301         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5302         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5303         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5304         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5305         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5306         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5307         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5308         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5309         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5310         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5312         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5314         Likewise.
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5316         Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5319         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5320         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5321         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5322         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5323         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5326         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5327         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5328         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5329         * sysdeps/wordsize-64/fts.c: New file.
5330         * sysdeps/wordsize-64/fts64.c: Likewise.
5331         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5332         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5333         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5334         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5336 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5338         * math/libm-test.inc (NON_FINITE): New macro.
5339         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5340         * math/gen-libm-test.pl (show_exceptions): Add argument
5341         $non_finite.
5342         (parse_args): Update call to show_exceptions.
5343         * math/test-math-finite.h: New file.
5344         * math/test-math-no-finite.h: Likewise.
5345         * math/test-double-finite.c: Likewise.
5346         * math/test-float-finite.c: Likewise.
5347         * math/test-ldouble-finite.c: Likewise.
5348         * math/test-double.c: Include "test-math-no-finite.h".
5349         * math/test-float.c: Include "test-math-no-finite.h".
5350         * math/test-ldouble.c: Include "test-math-no-finite.h".
5351         * math/test-math-inline.h (TEST_FINITE): New macro.
5352         * math/test-math-vector.h (TEST_FINITE): Likewise.
5353         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5354         (libm-tests): Add test-float-finite and test-double-finite.
5355         ($(objpfx)test-float-finite.o): New dependency on
5356         $(objpfx)libm-test.stmp.
5357         ($(objpfx)test-double-finite.o): Likewise.
5358         ($(objpfx)test-ldouble-finite.o): Likewise.
5359         (libm-test-no-inline-cflags): New variable.
5360         (libm-test-finite-cflags): Likewise.
5361         (CFLAGS-test-float-finite.c): Likewise.
5362         (CFLAGS-test-double-finite.c): Likewise.
5363         (CFLAGS-test-ldouble-finite.c): Likewise.
5364         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5365         (CFLAGS-test-double.c): Likewise.
5366         (CFLAGS-test-ldouble.c): Likewise.
5368 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5370         * io/fcntl.c (__fcntl): Add ... to prototype.
5371         * misc/ioctl.c (__ioctl): Likewise.
5372         * misc/syscall.c (syscall): Likewise.
5374 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5376         * scripts/list-fixed-bugs.py: New file.
5378         [BZ #19213]
5379         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5380         returned for argument 1.
5381         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5382         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5383         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5384         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5385         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5386         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5388         [BZ #19211]
5389         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5390         __USE_XOPEN], not if [!__USE_ISOC99].
5391         (lgammaf): Likewise.
5392         (lgammal): Likewise.
5393         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5394         (gammaf): Likewise.
5395         (gammal): Likewise.
5396         * math/test-signgam-finite-c11.c: New file.
5397         * math/test-signgam-finite-c99.c: Likewise.
5398         * math/test-signgam-finite.c: Likewise.
5399         * math/Makefile (tests): Add test-signgam-finite,
5400         test-signgam-finite-c99 and test-signgam-finite-c11.
5401         (CFLAGS-test-signgam-finite.c): New variable.
5402         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5403         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5405         [BZ #19212]
5406         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
5407         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
5408         500].
5409         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
5410         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
5411         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
5412         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
5413         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
5414         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
5415         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
5416         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
5417         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
5418         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
5420         [BZ #19209]
5421         * math/bits/math-finite.h (ldexp): Remove declaration.
5422         (ldexpf): Likewise.
5423         (ldexpl): Likewise.
5425         [BZ #19205]
5426         * math/bits/math-finite.h (acosf): Condition declaration on
5427         [__USE_ISOC99].
5428         (acosl): Likewise.
5429         (acoshf): Likewise.
5430         (acoshl): Likewise.
5431         (asinf): Likewise.
5432         (asinl): Likewise.
5433         (atan2f): Likewise.
5434         (atan2l): Likewise.
5435         (atanhf): Likewise.
5436         (atanhl): Likewise.
5437         (coshf): Likewise.
5438         (coshl): Likewise.
5439         (expf): Likewise.
5440         (expl): Likewise.
5441         (fmodf): Likewise.
5442         (fmodl): Likewise.
5443         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
5444         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
5445         (j0l): Likewise.
5446         (y0f): Likewise.
5447         (y0l): Likewise.
5448         (j1f): Likewise.
5449         (j1l): Likewise.
5450         (y1f): Likewise.
5451         (y1l): Likewise.
5452         (jnf): Likewise.
5453         (jnl): Likewise.
5454         (ynf): Likewise.
5455         (ynl): Likewise.
5456         (lgammaf_r): Condition declaration on [__USE_ISOC99].
5457         (lgammal_r): Likewise.
5458         (__lgamma_r_finite): New declaration.
5459         (__lgammaf_r_finite): Likewise.
5460         (__lgammal_r_finite): Likewise.
5461         (lgamma): Use __lgamma_r_finite.
5462         (lgammaf): Condition definition on [__USE_ISOC99].  Use
5463         __lgammaf_r_finite.
5464         (lgammal): Condition definition on [__USE_ISOC99].  Use
5465         __lgammal_r_finite.
5466         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
5467         __lgamma_r_finite.
5468         (gammaf): Condition definition on [__USE_ISOC99].  Use
5469         __lgammaf_r_finite.
5470         (gammal): Condition definition on [__USE_ISOC99].  Use
5471         __lgammal_r_finite.
5472         (logf): Condition declaration on [__USE_ISOC99].
5473         (logl): Likewise.
5474         (log10f): Likewise.
5475         (log10l): Likewise.
5476         (ldexpf): Likewise.
5477         (ldexpl): Likewise.
5478         (powf): Likewise.
5479         (powl): Likewise.
5480         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
5481         __USE_ISOC99].
5482         (remainderf): Condition declaration on [__USE_ISOC99].
5483         (remainderl): Likewise.
5484         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
5485         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
5486         (scalbl): Likewise.
5487         (sinhf): Condition declaration on [__USE_ISOC99].
5488         (sinhl): Likewise.
5489         (sqrtf): Likewise.
5490         (sqrtl): Likewise.
5492 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5494         * sysdeps/arm/atomic-machine.h
5495         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5496         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5497         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
5498         Remove conditional code.
5499         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
5500         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
5501         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
5502         Change conditional to [__ASSEMBLER__].
5503         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5504         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
5505         [!__ASSEMBLER__].
5506         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
5507         code.
5508         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
5509         conditional macro definitions.
5510         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
5511         (__arch_compare_and_exchange_val_16_acq): Likewise.
5512         (__arch_compare_and_exchange_val_32_acq): Likewise.
5513         (atomic_exchange_and_add): Likewise.
5514         (atomic_add): Likewise.
5515         (atomic_add_negative): Likewise.
5516         (atomic_add_zero): Likewise.
5517         (atomic_bit_set): Likewise.
5518         (atomic_bit_test_set): Likewise.
5519         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
5520         code unconditional.
5521         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5523         * math/test-math-errno.h: New file.
5524         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
5525         empty.
5526         (TEST_ERRNO): New macro.
5527         (TEST_EXCEPTIONS): Likewise.
5528         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
5529         (TEST_EXCEPTIONS): Likewise.
5530         * math/test-math-vector.h (TEST_ERRNO): Likewise.
5531         * math/test-double.c: Include "test-math-errno.h".
5532         * math/test-float.c: Likewise.
5533         * math/test-ldouble.c: Likewise.
5534         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
5535         code unconditional.
5536         (test_exceptions): Only run code if TEST_EXCEPTIONS.
5537         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
5538         unconditional.
5539         (test_errno): Only run code if TEST_ERRNO.
5540         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
5542 2015-11-04  Florian Weimer  <fweimer@redhat.com>
5544         * nptl/tst-once5.cc: Remove attribution.
5546 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
5548         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
5549         sqrt, tan, tanh, y0, y1 and yn.
5550         * math/auto-libm-test-out: Regenerated.
5551         * math/libm-test.inc (scalb_test_data): Add more tests.
5552         (scalbn_test_data): Likewise.
5553         (scalbln_test_data): Likewise.
5554         (signbit_test_data): Likewise.
5555         (sin_test_data): Likewise.
5556         (sincos_test_data): Likewise.
5557         (sinh_test_data): Likewise.
5558         (sqrt_test_data): Likewise.
5559         (tan_test_data): Likewise.
5560         (tanh_test_data): Likewise.
5561         (tgamma_test_data): Likewise.
5562         (y0_test_data): Likewise.
5563         (y1_test_data): Likewise.
5564         (yn_test_data): Likewise.
5565         (significand_test_data): Likewise.
5566         * sysdeps/i386/fpu/libm-test-ulps: Update.
5568 2015-11-03  David Kastrup  <dak@gnu.org>
5570         [BZ #18604]
5571         * assert/assert.h (assert): Don't macro-expand failed assertion
5572         expression in error message.
5573         * malloc/malloc.c (assert): Likewise.
5575 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
5577         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
5578         test.
5579         * configure: Regenerated.
5581 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
5583         * math/libm-test.inc (modf_test_data): Add more tests.
5584         (nearbyint_test_data): Likewise.
5585         (nextafter_test_data): Likewise.
5586         (nexttoward_test_data): Likewise.
5587         (pow_test_data): Likewise.
5588         (remainder_test_data): Likewise.
5589         (remquo_test_data): Likewise.
5590         (rint_test_data): Likewise.
5592         [BZ #19201]
5593         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5594         Check for zero remainder in case of large exponents and ensure
5595         correct sign of result in that case.
5596         * math/libm-test.inc (remainder_test_data): Add more tests.
5598         [BZ #6799]
5599         * math/s_nextafter.c: Include <errno.h>.
5600         (__nextafter): Set errno on overflow and underflow.
5601         * math/s_nexttowardf.c: Include <errno.h>.
5602         (__nexttowardf): Set errno on overflow and underflow.
5603         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
5604         (__nextafterl): Set errno on overflow and underflow.
5605         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
5606         (__nexttoward): Set errno on overflow and underflow.
5607         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
5608         (__nexttowardf): Set errno on overflow and underflow.
5609         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
5610         (__nextafterf): Set errno on overflow and underflow.
5611         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
5612         (__nextafterl): Set errno on overflow and underflow.
5613         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
5614         (__nexttoward): Set errno on overflow and underflow.
5615         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
5616         (__nexttowardf): Set errno on overflow and underflow.
5617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
5618         (__nextafterl): Set errno on overflow and underflow.
5619         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
5620         (__nexttoward): Set errno on overflow and underflow.
5621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
5622         (__nexttowardf): Set errno on overflow and underflow.
5623         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
5624         (__nexttoward): Set errno on overflow and underflow.
5625         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
5626         (__nexttowardf): Set errno on overflow and underflow.
5627         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
5628         (__nldbl_nexttowardf): Set errno on overflow and underflow.
5629         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
5630         (__nextafterl): Set errno on overflow and underflow.
5631         * math/libm-test.inc (nextafter_test_data): Do not allow errno
5632         setting to be missing on overflow.  Add more tests.
5633         (nexttoward_test_data): Likewise.
5635         * configure.ac (libc_cv_initfini_array): Remove configure test.
5636         * configure: Regenerated.
5638 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
5640         [BZ #19189]
5641         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
5642         non-finite argument handle arguments with negative sign.
5644         * math/libm-test.inc (j0_test_data): Do not test sign of zero
5645         result from infinite argument.
5646         (j1_test_data): Likewise.
5647         (jn_test_data): Likewise.
5648         (y0_test_data): Likewise.
5649         (y1_test_data): Likewise.
5650         (yn_test_data): Likewise.
5652         [BZ #16171]
5653         * math/w_remainder.c (drem): Define as weak alias of __remainder.
5654         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
5655         * math/w_remainderf.c (dremf): Define as weak alias of
5656         __remainderf.
5657         * math/w_remainderl.c (dreml): Define as weak alias of
5658         __remainderl.
5659         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
5660         __remainder.
5661         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
5662         __remainderf.
5663         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
5664         __remainderl.
5665         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
5666         weak alias of remainderl.
5667         * sysdeps/ieee754/ldbl-opt/w_remainder.c
5668         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
5669         alias of __remainder.
5670         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
5671         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
5672         strong alias of __remainderl.
5673         (dreml): Use long_double_symbol.
5674         * math/Makefile (libm-calls): Remove w_drem.
5675         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
5676         (CFLAGS-nldbl-drem.c): Remove variable.
5677         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
5678         * math/w_drem.c: Remove file.
5679         * math/w_dremf.c: Likewise.
5680         * math/w_dreml.c: Likewise.
5681         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
5682         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
5683         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
5685         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
5686         * sysdeps/i386/configure: Regenerated.
5687         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
5688         * sysdeps/x86_64/configure: Regenerated.
5690         * configure.ac (libc_cv_asm_protected_directive): Remove configure
5691         test.
5692         (libc_cv_visibility_attribute): Likewise.
5693         (libc_cv_protected_data): Test unconditionally.
5694         (libc_cv_broken_visibility_attribute): Remove configure test.
5695         (libc_cv_have_sdata_section): Test unconditionally.
5696         * configure: Regenerated.
5698         * include/libc-internal.h (libc_max_align_t): Remove typedef.
5699         * include/scratch_buffer.h: Include <stddef.h> instead of
5700         <libc-internal.h>.
5701         (struct scratch_buffer): Use max_align_t instead of
5702         libc_max_align_t.
5704 2015-10-29  Florian Weimer  <fweimer@redhat.com>
5706         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
5707         instead of extend_alloca.  Change control flow to avoid a goto.
5708         Remove assert which is trivially always true.
5710 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5712         [BZ #16068]
5713         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
5714         (FE_ALL_EXCEPT_X86): New macro.
5715         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5716         FE_ALL_EXCEPT.  Ensure precision control is included in
5717         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5718         handle "denormal operand exception" and clear FZ and DAZ bits.
5719         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
5720         (FE_ALL_EXCEPT_X86): New macro.
5721         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
5722         FE_ALL_EXCEPT.  Ensure precision control is included in
5723         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
5724         handle "denormal operand exception" and clear FZ and DAZ bits.
5725         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
5726         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
5727         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5728         test-fenv-x87 and test-fenv-sse-2.
5729         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
5731         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
5732         * math/test-double.h (BUILD_COMPLEX): New macro.
5733         * math/test-float.h (BUILD_COMPLEX): Likewise.
5734         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
5736         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
5737         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
5738         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
5739         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
5740         instead of DBL_DENORM_MIN in comment.
5741         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
5742         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5743         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
5744         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
5745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
5746         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
5748 2015-10-28  Florian Weimer  <fweimer@redhat.com>
5750         [BZ# 19048]
5751         * malloc/malloc.c (struct malloc_state): Update comment.  Add
5752         attached_threads member.
5753         (main_arena): Initialize attached_threads.
5754         * malloc/arena.c (list_lock): Update comment.
5755         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
5756         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
5757         (deattach_arena): New function.
5758         (_int_new_arena): Initialize arena reference count and deattach
5759         replaced arena.
5760         (get_free_list, reused_arena): Update reference count and deattach
5761         replaced arena.
5762         (arena_thread_freeres): Update arena reference count and only put
5763         unreferenced arenas on the free list.
5765 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5767         [BZ #19181]
5768         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
5769         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
5770         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
5771         * math/test-fenv-clear-main.c: New file.
5772         * math/test-fenv-clear.c: Likewise.
5773         * math/Makefile (tests): Add test-fenv-clear.
5774         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
5775         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
5776         test-fenv-clear-sse.
5777         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
5779         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
5780         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
5781         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
5783 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5785         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
5786         static libc.
5788 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
5790         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
5791         test.
5792         * sysdeps/i386/configure: Regenerated.
5793         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
5794         test.
5795         * sysdeps/x86_64/configure: Regenerated.
5796         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
5797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5798         memset-avx2 unconditionally instead of conditionally on
5799         [$(config-cflags-avx2) = yes].
5800         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5801         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
5802         unconditional.
5803         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
5804         * sysdeps/x86_64/multiarch/memset_chk.S
5805         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
5806         to [IS_IN (libc) && SHARED].
5808 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5810         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
5811         configure test.
5812         * sysdeps/arm/configure: Regenerated.
5813         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
5814         Define variable if not already defined.
5816         [BZ #17404]
5817         * sysdeps/mips/atomic-machine.h
5818         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
5819         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
5820         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
5822         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
5823         unconditional.
5824         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
5825         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5826         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
5827         unconditional.
5828         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5829         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
5830         unconditional.
5831         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5832         * stdlib/setenv.c
5833         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
5834         code unconditional.
5835         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
5836         Remove conditional code.
5837         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5838         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
5839         unconditional.
5840         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5841         code.
5842         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5843         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
5844         unconditional.
5845         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5846         code.
5847         * sysdeps/ieee754/ldbl-128/k_tanl.c
5848         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5849         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5850         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5851         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5852         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5853         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5854         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
5855         unconditional.
5856         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
5857         code.
5858         * sysdeps/ieee754/ldbl-96/k_tanl.c
5859         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
5860         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
5862         * nptl/tst-initializers1-c11.c: New file.
5863         * nptl/tst-initializers1-gnu11.c: Likewise.
5864         * nptl/Makefile (tests): Add these new tests.
5865         (CFLAGS-tst-initializers1-c11.c): New variable.
5866         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
5868         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
5869         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
5870         instead of -std=gnu99.
5871         * configure.ac (systemtap): Test with -std=gnu11 instead of
5872         -std=gnu99.
5873         * configure: Regenerated.
5874         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
5875         in compilation command in comment.
5877         * sysdeps/nptl/configure.ac: Remove file.
5878         * sysdeps/nptl/configure: Remove generated file.
5879         * configure.ac (libc_cv_forced_unwind): Do not substitute.
5880         * configure: Regenerated.
5881         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
5882         * config.make.in (have-forced-unwind): Remove variable.
5883         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5884         unconditional.
5885         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
5886         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
5887         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
5888         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
5889         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
5890         unconditional.
5892 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5894         [BZ #19174]
5895         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
5896         .skip_lock_out_of_tbegin_retries.
5897         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5898         (__lll_lock_elision): Likewise, and respect a value of
5899         try_tbegin <= 0.
5901 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5903         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
5904         statement.
5906 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5908         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
5909         variable.
5910         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5911         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5913         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
5914         of -std=c1x -D_ISOC11_SOURCE.
5916         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
5917         * configure: Regenerated.
5918         * manual/install.texi (Tools for Compilation): Document
5919         requirement for GCC 4.7 or later.
5920         * INSTALL: Regenerated.
5922 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
5924         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
5925         on CNT to a conditional jump to 'puntdata'.
5927 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
5929         * configure.ac (libc_cv_gcc___thread): Remove configure test.
5930         (libc_cv_gcc_tls_model_attr): Likewise.
5931         * configure: Regenerated.
5933         * configure.ac (libc_cv_need_minus_P): Remove configure test.
5934         * configure: Regenerated.
5935         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
5937 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
5939         * configure.ac (old_glibc_headers): Remove configure test.
5940         * configure: Regenerated.
5941         * config.make.in (old-glibc-headers): Remove variable.
5942         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
5943         (install): Remove dependency on remove-old-headers.
5944         (headers2_0): Remove variable.
5945         (remove-old-headers): Remove rule.
5947         * configure.ac (libc_cv_dot_text): Remove configure test.
5948         (libc_cv_asm_set_directive): Use .text instead of
5949         ${libc_cv_dot_text} in configure test.
5950         * configure: Regenerated.
5952 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5954         [BZ #19168]
5955         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5957 2015-10-26  Florian Weimer  <fweimer@redhat.com>
5959         * configure.ac (CXX): Clear the variable if the C++ toolchain does
5960         not support static linking.
5961         * configure: Regenerate.
5963 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
5965         * math/libm-test.inc (check_float_internal): Do not special-case
5966         errors up to 0.5 ulp.
5968         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5969         log2.
5970         * math/auto-libm-test-out: Regenerated.
5971         * math/libm-test.inc (MAX_EXP): New macro.
5972         (ilogb_test_data): Add more tests.
5973         (isfinite_test_data): Likewise.
5974         (isgreater_test_data): Likewise.
5975         (isgreaterequal_test_data): Likewise.
5976         (isinf_test_data): Likewise.
5977         (isless_test_data): Likewise.
5978         (islessequal_test_data): Likewise.
5979         (islessgreater_test_data): Likewise.
5980         (isnan_test_data): Likewise.
5981         (isnormal_test_data): Likewise.
5982         (issignaling_test_data): Likewise.
5983         (isunordered_test_data): Likewise.
5984         (j0_test_data): Likewise.
5985         (j1_test_data): Likewise.
5986         (jn_test_data): Likewise.
5987         (lgamma_test_data): Likewise.
5988         (log_test_data): Likewise.
5989         (log10_test_data): Likewise.
5990         (log1p_test_data): Likewise.
5991         (log2_test_data): Likewise.
5992         (logb_test_data): Likewise.
5993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5995         [BZ #18611]
5996         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
5997         avoid excess range and precision on underflow.
5998         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5999         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6000         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6001         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6002         underflow.
6003         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6004         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6005         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6006         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6007         * math/auto-libm-test-in: Do not allow missing errno setting for
6008         tests of j1 and jn.
6009         * math/auto-libm-test-out: Regenerated.
6011 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6013         [BZ #15491]
6014         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6015         floating-point environment instead of clearing all exceptions.
6016         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6017         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6018         merging in "invalid" exceptions from frndint.
6019         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6020         * math/test-nearbyint-except.c: New file.
6021         * math/Makefile (tests): Add test-nearbyint-except.
6023 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6025         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6027         * sysdeps/tile/libm-test-ulps: Regenerated.
6029 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6032         (__NR_sync_file_range2): Assume it is always defined.
6033         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6034         (__NR_sync_file_range): Assume it is always defined.
6036 2015-10-22  Andreas Schwab  <schwab@suse.de>
6038         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6039         INTERNAL_SYSCALL_ERRNO.
6040         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6041         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6042         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6043         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6044         Likewise.
6045         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6047 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6049         * io/tst-fcntl.c (fd): New static variable.
6050         (do_prepare): Open temporary file here....
6051         (do_test): ...not here.
6053         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6055 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6057         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6058         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6059         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6060         Moved before "#ifdef __ASSEMBLER__".
6062 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6064         [BZ #19156]
6065         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6066         arguments very close to 0.
6068 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6070         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6071         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6073 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6075         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6076         New.  Defined for GCC 5 and above when not compiling for
6077         profiling.
6078         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6080         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6081         Renamed to ...
6082         (CFLAGS-epoll_pwait.o): This.
6083         (CFLAGS-mmap.c): Renamed to ...
6084         (CFLAGS-mmap.o): This.
6085         (CFLAGS-mmap64.c): Renamed to ...
6086         (CFLAGS-mmap64.o): This.
6087         (CFLAGS-epoll_pwait.os): New.
6088         (CFLAGS-mmap.os): Likewise.
6089         (CFLAGS-mmap64.os): Likewise.
6090         (CFLAGS-semtimedop.os): Likewise.
6091         (CFLAGS-semtimedop.c): Renamed to ...
6092         (CFLAGS-semtimedop.o): This.
6094 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6096         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6097         warning message.
6099 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6101         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6102         * Makefile ($(objpfx)c++-types-check.out): Filter out
6103         $(+gccwarn-c) instead of -Wstrict-prototypes.
6105         * io/fts.c (fts_open): Convert to prototype-style function
6106         definition.
6107         * malloc/mcheck.c (mcheck): Likewise.
6108         (mcheck_pedantic): Likewise.
6109         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6110         internal_function.
6111         (re_search_internal): Likewise.
6112         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6113         prototype-style function definition.
6114         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6115         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6116         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6117         (xdr_utmpptr): Likewise.
6118         (xdr_utmparr): Likewise.
6119         (xdr_utmpidle): Likewise.
6120         (xdr_utmpidleptr): Likewise.
6121         (xdr_utmpidlearr): Likewise.
6123         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6124         log, log10 and log2.
6125         * math/auto-libm-test-out: Regenerated.
6126         * math/libm-test.inc (fmod_test_data): Add more tests.
6127         (fpclassify_test_data): Likewise.
6128         (frexp_test_data): Likewise.
6129         (hypot_test_data): Likewise.
6130         (ilogb_test_data): Likewise.
6132 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6134         * debug/fortify_fail.c (__fortify_fail): Convert to
6135         prototype-style function definition.  Use internal_function.
6136         * libio/genops.c (save_for_backup): Convert to prototype-style
6137         function definition.
6138         * libio/wgenops.c (save_for_wbackup): Likewise.
6139         * login/grantpt.c (grantpt): Likewise.
6140         * login/ptsname.c (ptsname): Likewise.
6141         (__ptsname_r): Likewise.
6142         * login/unlockpt.c (unlockpt): Likewise.
6143         * mach/msgserver.c (__mach_msg_server): Likewise.
6144         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6145         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6146         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6147         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6148         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6149         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6150         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6151         Likewise.
6152         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6153         internal_function.
6154         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6155         prototype-style function definition.
6156         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6157         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6158         (__pthread_create_2_0): Likewise.
6159         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6160         * nptl/register-atfork.c (__register_atfork): Likewise.
6161         * posix/glob.c (glob): Likewise.
6162         * posix/regcomp.c (re_comp): Likewise.
6163         * posix/regexec.c (re_exec): Likewise.
6164         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6165         [!__STDC__]: Remove conditional code.
6166         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6167         [!__STDC__]: Remove conditional code.
6168         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6169         [!__STDC__]: Remove conditional code.
6170         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6171         [!__STDC__]: Remove conditional code.
6172         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6173         [!__STDC__]: Remove conditional code.
6174         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6175         [!__STDC__]: Remove conditional code.
6176         * stdlib/mul.c [__STDC__]: Make code unconditional.
6177         [!__STDC__]: Remove conditional code.
6178         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6179         [!__STDC__]: Remove conditional code.
6180         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6181         [!__STDC__]: Remove conditional code.
6182         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6183         function definition.
6184         (STRTOF): Likewise.
6185         * stdlib/strtod_l.c (__STRTOF): Likewise.
6186         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6187         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6188         (__strtol_l): Likewise.
6189         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6190         [!__STDC__]: Remove conditional code.
6191         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6192         definition.
6193         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6194         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6195         type.
6196         (__strcasecmp): Convert to prototype-style function definition.
6197         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6198         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6199         type.
6200         (__strncasecmp): Convert to prototype-style function definition.
6201         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6202         * sunrpc/xdr.c (xdr_union): Likewise.
6203         * sunrpc/xdr_array.c (xdr_array): Likewise.
6204         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6205         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6206         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6207         Likewise.
6208         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6209         Likewise.
6210         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6211         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6212         Likewise.
6213         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6214         (LOCALE_PARAM_PROTO): Likewise.
6215         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6216         argument type.
6217         (ut_argument_spec): Remove macro.
6218         (ut_argument_spec_iso): Rename to ut_argument_spec.
6219         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6220         prototype-style function definition.
6221         (memcpy_uppcase): Likewise.
6222         (__strftime_internal): Likewise.
6223         (my_strftime): Likewise.
6224         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6225         (LOCALE_PARAM_DECL): Likewise.
6226         [_LIBC] (LOCALE_PARAM): Include argument type.
6227         (__strptime_internal): Convert to prototype-style function
6228         definition.
6229         (strptime): Likewise.
6230         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6231         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6232         type.
6233         (__wcscasecmp): Convert to prototype-style function definition.
6234         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6235         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6236         type.
6237         (__wcsncasecmp): Convert to prototype-style function definition.
6239         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6240         function definition.
6241         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6242         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6243         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6244         * elf/dl-minimal.c (_itoa): Likewise.
6245         * hurd/hurdmalloc.c (malloc): Likewise.
6246         (free): Likewise.
6247         (realloc): Likewise.
6248         * inet/inet6_option.c (inet6_option_space): Likewise.
6249         (inet6_option_init): Likewise.
6250         (inet6_option_append): Likewise.
6251         (inet6_option_alloc): Likewise.
6252         (inet6_option_next): Likewise.
6253         (inet6_option_find): Likewise.
6254         * io/ftw.c (FTW_NAME): Likewise.
6255         (NFTW_NAME): Likewise.
6256         (NFTW_NEW_NAME): Likewise.
6257         (NFTW_OLD_NAME): Likewise.
6258         * libio/iofwide.c (_IO_fwide): Likewise.
6259         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6260         (_IO_str_init_static): Likewise.
6261         (_IO_str_init_readonly): Likewise.
6262         (_IO_str_overflow): Likewise.
6263         (_IO_str_underflow): Likewise.
6264         (_IO_str_count): Likewise.
6265         (_IO_str_seekoff): Likewise.
6266         (_IO_str_pbackfail): Likewise.
6267         (_IO_str_finish): Likewise.
6268         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6269         (_IO_wstr_overflow): Likewise.
6270         (_IO_wstr_underflow): Likewise.
6271         (_IO_wstr_count): Likewise.
6272         (_IO_wstr_seekoff): Likewise.
6273         (_IO_wstr_pbackfail): Likewise.
6274         (_IO_wstr_finish): Likewise.
6275         * locale/programs/localedef.c (normalize_codeset): Likewise.
6276         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6277         (add_locales_to_archive): Likewise.
6278         (delete_locales_from_archive): Likewise.
6279         * malloc/malloc.c (__libc_mallinfo): Likewise.
6280         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6281         * misc/tsearch.c (__tfind): Likewise.
6282         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6283         * nptl/pthread_attr_getdetachstate.c
6284         (__pthread_attr_getdetachstate): Likewise.
6285         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6286         Likewise.
6287         * nptl/pthread_attr_getinheritsched.c
6288         (__pthread_attr_getinheritsched): Likewise.
6289         * nptl/pthread_attr_getschedparam.c
6290         (__pthread_attr_getschedparam): Likewise.
6291         * nptl/pthread_attr_getschedpolicy.c
6292         (__pthread_attr_getschedpolicy): Likewise.
6293         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6294         Likewise.
6295         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6296         Likewise.
6297         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6298         Likewise.
6299         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6300         Likewise.
6301         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6302         (__pthread_attr_init_2_0): Likewise.
6303         * nptl/pthread_attr_setdetachstate.c
6304         (__pthread_attr_setdetachstate): Likewise.
6305         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6306         Likewise.
6307         * nptl/pthread_attr_setinheritsched.c
6308         (__pthread_attr_setinheritsched): Likewise.
6309         * nptl/pthread_attr_setschedparam.c
6310         (__pthread_attr_setschedparam): Likewise.
6311         * nptl/pthread_attr_setschedpolicy.c
6312         (__pthread_attr_setschedpolicy): Likewise.
6313         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6314         Likewise.
6315         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6316         Likewise.
6317         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6318         Likewise.
6319         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6320         Likewise.
6321         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6322         Likewise.
6323         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6324         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6325         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6326         use internal_function.
6327         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6328         prototype-style function definition.
6329         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6330         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6331         internal_function.
6332         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6333         Convert to prototype-style function definition.
6334         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6335         Likewise.
6336         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6337         Likewise.
6338         (__pthread_mutex_unlock): Likewise.
6339         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6340         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6341         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6342         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6343         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6344         * nss/makedb.c (process_input): Likewise.
6345         * posix/fnmatch.c (__strchrnul): Likewise.
6346         (__wcschrnul): Likewise.
6347         (fnmatch): Likewise.
6348         * posix/fnmatch_loop.c (FCT): Likewise.
6349         * posix/glob.c (globfree): Likewise.
6350         (__glob_pattern_type): Likewise.
6351         (__glob_pattern_p): Likewise.
6352         * posix/regcomp.c (re_compile_pattern): Likewise.
6353         (re_set_syntax): Likewise.
6354         (re_compile_fastmap): Likewise.
6355         (regcomp): Likewise.
6356         (regerror): Likewise.
6357         (regfree): Likewise.
6358         * posix/regexec.c (regexec): Likewise.
6359         (re_match): Likewise.
6360         (re_search): Likewise.
6361         (re_match_2): Likewise.
6362         (re_search_2): Likewise.
6363         (re_search_stub): Likewise.  Use internal_function
6364         (re_copy_regs): Likewise.
6365         (re_set_registers): Convert to prototype-style function
6366         definition.
6367         (prune_impossible_nodes): Likewise.  Use internal_function.
6368         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6369         prototype-style function definition.
6370         (inet_net_pton_ipv4): Likewise.
6371         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6372         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6373         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6374         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6375         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6376         Make variadic.
6377         * time/strptime_l.c (localtime_r): Convert to prototype-style
6378         function definition.
6379         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6380         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6381         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6382         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6384         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6385         definition.
6386         (_ufc_doit_r): Likewise.
6387         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6388         (_ufc_output_conversion_r): Likewise.
6389         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6390         * inet/rcmd.c (rcmd_af): Likewise.
6391         (rcmd): Likewise.
6392         (ruserok_af): Likewise.
6393         (ruserok): Likewise.
6394         (ruserok2_sa): Likewise.
6395         (ruserok_sa): Likewise.
6396         (iruserok_af): Likewise.
6397         (iruserok): Likewise.
6398         (__ivaliduser): Likewise.
6399         (__validuser2_sa): Likewise.
6400         * inet/rexec.c (rexec_af): Likewise.
6401         (rexec): Likewise.
6402         * inet/ruserpass.c (ruserpass): Likewise.
6403         * locale/programs/xmalloc.c (xcalloc): Likewise.
6404         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6405         * math/w_drem.c (__drem): Likewise.
6406         * math/w_dremf.c (__dremf): Likewise.
6407         * math/w_dreml.c (__dreml): Likewise.
6408         * misc/daemon.c (daemon): Likewise.
6409         * resolv/res_debug.c (p_fqnname): Likewise.
6410         * stdlib/div.c (div): Likewise.
6411         * string/memcmp.c (memcmp_bytes): Likewise.
6412         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
6413         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
6415         * crypt/cert.c (main): Convert to prototype-style function
6416         definition.
6417         * io/pipe.c (__pipe): Likewise.
6418         * io/pipe2.c (__pipe2): Likewise.
6419         * misc/futimesat.c (futimesat): Likewise.
6420         * misc/utimes.c (__utimes): Likewise.
6421         * posix/execve.c (__execve): Likewise.
6422         * posix/execvp.c (execvp): Likewise.
6423         * posix/execvpe.c (__execvpe): Likewise.
6424         * posix/fexecve.c (fexecve): Likewise.
6425         * socket/socketpair.c (socketpair): Likewise.
6426         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
6427         * stdlib/erand48.c (erand48): Likewise.
6428         * stdlib/erand48_r.c (__erand48_r): Likewise.
6429         * stdlib/jrand48.c (jrand48): Likewise.
6430         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
6431         * stdlib/lcong48.c (lcong48): Likewise.
6432         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
6433         * stdlib/nrand48.c (nrand48): Likewise.
6434         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
6435         * stdlib/seed48.c (seed48): Likewise.
6436         * stdlib/seed48_r.c (__seed48_r): Likewise.
6437         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
6438         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
6439         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
6441 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6443         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
6444         * configure: Regenerated.
6445         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
6446         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
6447         unconditional.
6448         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6449         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6450         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6451         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
6452         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
6453         unconditional.
6454         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
6456         * posix/Makefile (CFLAGS-regex.c): Remove variable.
6457         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
6459         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
6460         function definition.
6461         * crypt/crypt_util.c (__encrypt_r): Likewise.
6462         * libio/genops.c (_IO_no_init): Likewise.
6463         * libio/iofopncook.c (_IO_fopencookie): Likewise.
6464         (_IO_old_fopencookie): Likewise.
6465         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
6466         * libio/iogetline.c (_IO_getline): Likewise.
6467         (_IO_getline_info): Likewise.
6468         * libio/iogetwline.c (_IO_getwline): Likewise.
6469         (_IO_getwline_info): Likewise.
6470         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
6471         * libio/vswprintf.c (_IO_vswprintf): Likewise.
6472         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
6473         (find_entry): Likewise.
6474         (iterate_table): Likewise.
6475         (lookup): Likewise.
6476         * login/forkpty.c (forkpty): Likewise.
6477         * misc/hsearch_r.c (__hsearch_r): Likewise.
6478         * misc/select.c (__select): Likewise.
6479         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
6480         Likewise.
6481         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
6482         Likewise.
6483         * nptl/old_pthread_cond_timedwait.c
6484         (__pthread_cond_timedwait_2_0): Likewise.
6485         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
6486         * nptl/pthread_barrierattr_getpshared.c
6487         (pthread_barrierattr_getpshared): Likewise.
6488         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
6489         Likewise.
6490         * nptl/pthread_mutex_setprioceiling.c
6491         (pthread_mutex_setprioceiling): Likewise.
6492         * nptl/pthread_mutexattr_getprioceiling.c
6493         (pthread_mutexattr_getprioceiling): Likewise.
6494         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
6495         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6496         Likewise.
6497         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6498         Likewise.
6499         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
6500         Likewise.
6501         * socket/recvfrom.c (__recvfrom): Likewise.
6502         * socket/sendto.c (__sendto): Likewise.
6503         * socket/setsockopt.c (__setsockopt): Likewise.
6504         * stdio-common/_itoa.c (_itoa): Likewise.
6505         * stdio-common/_itowa.c (_itowa): Likewise.
6506         * stdio-common/reg-printf.c (__register_printf_specifier):
6507         Likewise.
6508         (__register_printf_function): Likewise.
6509         * stdio-common/tempname.c (__path_search): Likewise.
6510         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
6511         * stdlib/mul_1.c (mpn_mul_1): Likewise.
6512         * stdlib/random_r.c (__initstate_r): Likewise.
6513         * stdlib/setenv.c (__add_to_environ): Likewise.
6514         * stdlib/submul_1.c (mpn_submul_1): Likewise.
6515         * streams/getpmsg.c (getpmsg): Likewise.
6516         * streams/putmsg.c (putmsg): Likewise.
6517         * streams/putpmsg.c (putpmsg): Likewise.
6518         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
6519         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
6520         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
6521         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
6522         * sunrpc/pm_getport.c (pmap_getport): Likewise.
6523         * sunrpc/svc_udp.c (cache_get): Likewise.
6524         * sunrpc/xdr_array.c (xdr_vector): Likewise.
6525         * sysdeps/mach/hurd/getcwd.c
6526         (__canonicalize_directory_name_internal): Likewise.
6527         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
6528         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
6529         * sysdeps/mach/hurd/select.c (__select): Likewise.
6530         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
6531         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
6532         * sysdeps/sparc/nptl/pthread_barrier_init.c
6533         (__pthread_barrier_init): Likewise.
6534         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
6535         (__pthread_cond_timedwait): Likewise.
6536         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
6537         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
6538         Likewise.
6539         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
6540         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
6541         Likewise.
6542         * sysvipc/semtimedop.c (semtimedop): Likewise.
6543         * time/setitimer.c (__setitimer): Likewise.
6544         * time/strftime_l.c (emacs_strftime): Likewise.
6546 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6548         * config.make.in (have-ssp): Delete.
6549         (stack-protector): New variable.
6550         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
6551         cache test for -fstack-protector-strong.  Export stack_protector to
6552         the best ssp flag.
6553         * configure: Regenerated.
6554         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
6555         * nscd/Makefile (CFLAGS-nscd): Likewise.
6556         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6558 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6560         [BZ #19122]
6561         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
6562         attribute_hidden.
6564 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6566         [BZ #18743]
6567         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
6568         code to...
6569         (ELIDE_LOCK): ...here.
6570         (__get_new_count): New function with part of the code from
6571         __elide_lock that updates the value of adapt_count after a
6572         transaction abort.
6573         (__elided_trylock): Moved this code to...
6574         (ELIDE_TRYLOCK): ...here.
6576 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
6578         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
6579         * configure: Regenerate.
6580         * INSTALL: Regenerate.
6581         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
6582         and tweak grammar.
6584 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
6586         * login/programs/pt_chown.c: Include signal.h
6587         (main): Clear any signal mask from the parent process.
6589 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
6591         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
6592         * configure: Regenerated.
6593         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
6594         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
6595         $(gnu89-inline-CFLAGS).
6597         * configure.ac (libc_cv_asm_weak_directive): Remove configure
6598         test.
6599         (libc_cv_asm_weakext_directive): Likewise.
6600         * configure: Regenerated.
6601         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
6602         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
6603         * include/libc-symbols.h
6604         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
6605         #error.
6606         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
6607         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
6609         * sysdeps/arm/backtrace.c (__backtrace): Convert to
6610         prototype-style function definition.
6611         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
6612         * sysdeps/i386/ffs.c (__ffs): Likewise.
6613         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
6614         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
6615         Likewise.
6616         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6617         Likewise.
6618         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
6619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6620         Likewise.
6621         * sysdeps/m68k/ffs.c (__ffs): Likewise.
6622         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
6623         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
6624         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
6625         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
6626         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
6627         * sysdeps/mach/hurd/access.c (__access): Likewise.
6628         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
6629         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
6630         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
6631         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
6632         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
6633         (cthread_getspecific): Likewise.
6634         (cthread_setspecific): Likewise.
6635         (__libc_getspecific): Likewise.
6636         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
6637         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
6638         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
6639         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
6640         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
6641         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
6642         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
6643         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
6644         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
6645         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
6646         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
6647         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
6648         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
6649         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
6650         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
6651         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
6652         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
6653         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
6654         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
6655         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
6656         * sysdeps/mach/hurd/link.c (__link): Likewise.
6657         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
6658         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
6659         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
6660         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
6661         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
6662         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
6663         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
6664         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
6665         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6666         * sysdeps/mach/hurd/rename.c (rename): Likewise.
6667         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
6668         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
6669         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
6670         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
6671         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
6672         * sysdeps/mach/hurd/send.c (__send): Likewise.
6673         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
6674         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
6675         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
6676         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
6677         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
6678         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
6679         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
6680         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
6681         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
6682         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
6683         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
6684         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
6685         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
6686         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
6687         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
6688         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
6689         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
6690         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
6691         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
6692         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6693         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
6694         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
6695         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
6696         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
6697         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
6698         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
6699         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
6700         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
6701         * sysdeps/posix/alarm.c (alarm): Likewise.
6702         * sysdeps/posix/cuserid.c (cuserid): Likewise.
6703         * sysdeps/posix/dirfd.c (dirfd): Likewise.
6704         * sysdeps/posix/dup.c (__dup): Likewise.
6705         * sysdeps/posix/dup2.c (__dup2): Likewise.
6706         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
6707         (main): Likewise.
6708         * sysdeps/posix/flock.c (__flock): Likewise.
6709         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
6710         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
6711         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
6712         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
6713         * sysdeps/posix/isatty.c (__isatty): Likewise.
6714         * sysdeps/posix/killpg.c (killpg): Likewise.
6715         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6716         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
6717         * sysdeps/posix/raise.c (raise): Likewise.
6718         * sysdeps/posix/remove.c (remove): Likewise.
6719         * sysdeps/posix/rename.c (rename): Likewise.
6720         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
6721         * sysdeps/posix/seekdir.c (seekdir): Likewise.
6722         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
6723         * sysdeps/posix/sigignore.c (sigignore): Likewise.
6724         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
6725         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
6726         * sysdeps/posix/sigset.c (sigset): Likewise.
6727         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
6728         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
6729         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
6730         * sysdeps/posix/time.c (time): Likewise.
6731         * sysdeps/posix/ttyname.c (getttyname): Likewise.
6732         (ttyname): Likewise.
6733         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
6734         * sysdeps/posix/utime.c (utime): Likewise.
6735         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
6736         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
6737         Likewise.
6738         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
6739         (pthread_spin_trylock): Likewise.
6740         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
6741         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
6742         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
6743         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
6744         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
6745         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
6746         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
6747         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
6748         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
6749         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
6750         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
6751         * sysdeps/s390/ffs.c (__ffs): Likewise.
6752         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
6753         Likewise.
6754         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
6755         Likewise.
6756         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
6757         Likewise.
6758         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
6759         (pthread_barrier_destroy): Likewise.
6760         * sysdeps/sparc/nptl/pthread_barrier_wait.c
6761         (__pthread_barrier_wait): Likewise.
6762         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
6763         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6764         (__pthread_barrier_wait): Likewise.
6765         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
6766         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
6767         (memcmp_not_common_alignment): Likewise.
6768         (MEMCMP): Likewise.
6769         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
6770         (_wordcopy_fwd_dest_aligned): Likewise.
6771         (_wordcopy_bwd_aligned): Likewise.
6772         (_wordcopy_bwd_dest_aligned): Likewise.
6773         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
6774         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
6775         * sysdeps/unix/bsd/stty.c (stty): Likewise.
6776         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
6777         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
6778         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
6779         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
6780         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
6781         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
6782         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
6783         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
6784         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
6785         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
6786         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
6787         * sysdeps/unix/stime.c (stime): Likewise.
6788         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
6789         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
6790         Likewise.  Use internal_function.
6791         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
6792         Convert to prototype-style function definition.
6793         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6794         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6795         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
6796         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6797         Likewise.  Use internal_function.
6798         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
6799         prototype-style function definition
6800         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
6801         Likewise.
6802         (__getlogin_r): Likewise.
6803         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
6804         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
6805         (__pthread_cond_broadcast): Likewise.
6806         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
6807         (__pthread_cond_destroy): Likewise.
6808         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
6809         (__pthread_cond_init): Likewise.
6810         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
6811         (__pthread_cond_signal): Likewise.
6812         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6813         (__pthread_cond_wait): Likewise.
6814         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
6815         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6816         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
6817         Likewise.
6818         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
6819         Likewise.
6820         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
6821         Likewise.
6822         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
6823         Likewise.
6824         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
6826         (__ftruncate64): Likewise.
6827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
6828         (truncate64): Likewise.
6829         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
6830         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
6831         (pthread_getcpuclockid): Likewise.
6832         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
6833         Likewise.
6834         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
6835         Likewise.
6836         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
6837         Likewise.
6838         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6839         Likewise.
6840         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
6841         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
6842         (__libc_sigaction): Likewise.
6843         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
6844         Likewise.
6845         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
6846         (__sigprocmask): Likewise.
6847         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
6848         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
6849         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
6850         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6851         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6852         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
6853         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6854         Likewise.
6855         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
6856         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
6857         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6858         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
6859         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
6860         Likewise.
6861         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
6862         (__sigprocmask): Likewise.
6863         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
6864         (cfgetispeed): Likewise.
6865         (cfsetospeed): Likewise.
6866         (cfsetispeed): Likewise.
6867         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
6868         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
6869         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6870         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6871         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
6872         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
6873         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
6874         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
6875         Likewise.
6876         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
6877         Likewise.
6878         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
6879         Likewise.
6880         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
6881         Likewise.
6882         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
6884 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6886         sunrpc: Rewrite with explicit TLS access using __thread.
6887         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
6888         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
6889         directly.
6890         (__rpc_thread_variables): Access thread_rpc_vars directly.
6891         Eliminate redundant assignment of the tvp variable.
6893 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6895         malloc: Rewrite with explicit TLS access using __thread.
6896         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
6897         (tsd_setspecific, tsd_getspecific): Remove.
6898         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
6899         (tsd_setspecific, tsd_getspecific): Likewise.
6900         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
6901         (tsd_setspecific, tsd_getspecific): Likewise.
6902         * malloc/arena.c (thread_arena): New TLS variable.
6903         (arena_key): Remove variable.
6904         (arena_get): Use thread_arena.
6905         (arena_lookup): Remove macro.
6906         (malloc_atfork, free_atfork, ptmalloc_lock_all)
6907         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
6908         (_int_new_arena, get_free_list, reused_arena)
6909         (arena_thread_freeres): Use thread_arena.
6910         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
6911         tsd_getspecific, tsd_setspecific from safety annotations.
6912         (Allocating Cleared Space): Remove arena_lookup from safety
6913         annotations.
6915 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6917         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
6918         struct scratch_buffer instead of extend_alloca.
6920 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6922         * sysdeps/unix/sysv/linux/kernel-features.h
6923         (__ASSUME_SOCK_CLOEXEC): Remove.
6924         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
6925         (__have_paccept): Remove unused macro.
6926         * include/unistd.h (__have_sock_cloexec): Remove declaration.
6927         * misc/syslog.c (openlog_internal): Remove fallback code for
6928         !__ASSUME_SOCK_CLOEXEC.
6929         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
6930         missing SOCK_CLOEXEC.
6931         * nscd/connections.c (have_sock_cloexec): Remove definition.
6932         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6933         * nscd/nscd_helper.c (open_socket): Remove fallback code for
6934         !__ASSUME_SOCK_CLOEXEC.
6935         * resolv/res_send.c (__have_o_nonblock): Remove definition.
6936         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
6937         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
6938         definition.
6939         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
6940         code for !__ASSUME_SOCK_CLOEXEC.
6942 2015-10-17  Florian Weimer  <fweimer@redhat.com>
6944         [BZ #18982]
6945         * manual/stdio.texi (Variable Arguments Output): Add portability
6946         note, explaining that vfprintf clobbers the va_list pointer.
6948 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6950         * math/libm-test.inc (fabs_test_data): Add more tests.
6951         (fdim_test_data): Likewise.
6952         (fma_test_data): Likewise.
6953         (fmax_test_data): Likewise.
6954         (fmin_test_data): Likewise.
6955         (fmod_test_data): Likewise.
6957 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
6959         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
6960         data.
6962 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
6964         * math/libm-test.inc (ceil_test_data): Add more tests and more
6965         expectations for "inexact".
6966         (floor_test_data): Add more tests.
6967         (round_test_data): Likewise.
6968         (trunc_test_data): Likewise.
6970         * crypt/cert.c (good_bye): Convert to prototype-style function
6971         definition.
6972         (get8): Likewise.
6973         (put8): Likewise.
6974         * crypt/crypt-entry.c (crypt): Likewise.
6975         (__fcrypt): Likewise.
6976         * crypt/crypt_util.c (_ufc_prbits): Likewise.
6977         (_ufc_set_bits): Likewise.
6978         (_ufc_clearmem): Likewise.
6979         (__init_des_r): Likewise.
6980         (shuffle_sb): Likewise.
6981         (shuffle_sb): Likewise.
6982         (_ufc_setup_salt_r): Likewise.
6983         (_ufc_mk_keytab_r): Likewise.
6984         (_ufc_dofinalperm_r): Likewise.
6985         (encrypt): Likewise.
6986         (__setkey_r): Likewise.
6987         (setkey): Likewise.
6988         * crypt/md5.c (md5_init_ctx): Likewise.
6989         (md5_read_ctx): Likewise.
6990         (md5_finish_ctx): Likewise.
6991         (md5_stream): Likewise.
6992         (md5_buffer): Likewise.
6993         (md5_process_bytes): Likewise.
6994         * crypt/sha256.c (__sha256_init_ctx): Likewise.
6995         (__sha256_finish_ctx): Likewise.
6996         (__sha256_process_bytes): Likewise.
6997         * crypt/sha512.c (__sha512_init_ctx): Likewise.
6998         (__sha512_finish_ctx): Likewise.
6999         (__sha512_process_bytes): Likewise.
7000         * ctype/isctype.c (__isctype): Likewise.
7001         * debug/backtrace.c (__backtrace): Likewise.
7002         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7003         * debug/fgets_chk.c (__fgets_chk): Likewise.
7004         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7005         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7006         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7007         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7008         * debug/memset_chk.c (__memset_chk): Likewise.
7009         * debug/strcat_chk.c (__strcat_chk): Likewise.
7010         * debug/strncat_chk.c (__strncat_chk): Likewise.
7011         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7012         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7013         * dirent/dirfd.c (dirfd): Likewise.
7014         * dirent/getdents.c (__getdirentries): Likewise.
7015         * dirent/getdents64.c (getdirentries64): Likewise.
7016         * dirent/rewinddir.c (__rewinddir): Likewise.
7017         * dirent/seekdir.c (seekdir): Likewise.
7018         * dirent/telldir.c (telldir): Likewise.
7019         * elf/sln.c (makesymlinks): Likewise.
7020         (makesymlink): Likewise.
7021         * gmon/gmon.c (__moncontrol): Likewise.
7022         (__monstartup): Likewise.
7023         (write_hist): Likewise.
7024         (write_call_graph): Likewise.
7025         (write_bb_counts): Likewise.
7026         * grp/setgroups.c (setgroups): Likewise.
7027         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7028         * inet/inet_net.c (inet_network): Likewise.
7029         * inet/inet_netof.c (inet_netof): Likewise.
7030         * inet/rcmd.c (rresvport_af): Likewise.
7031         (rresvport): Likewise.
7032         * io/access.c (__access): Likewise.
7033         * io/chdir.c (__chdir): Likewise.
7034         * io/chmod.c (__chmod): Likewise.
7035         * io/chown.c (__chown): Likewise.
7036         * io/close.c (__close): Likewise.
7037         * io/creat.c (creat): Likewise.
7038         * io/creat64.c (creat64): Likewise.
7039         * io/dup.c (__dup): Likewise.
7040         * io/dup2.c (__dup2): Likewise.
7041         * io/dup3.c (__dup3): Likewise.
7042         * io/euidaccess.c (__euidaccess): Likewise.
7043         * io/faccessat.c (faccessat): Likewise.
7044         * io/fchmod.c (__fchmod): Likewise.
7045         * io/fchmodat.c (fchmodat): Likewise.
7046         * io/fchown.c (__fchown): Likewise.
7047         * io/fchownat.c (fchownat): Likewise.
7048         * io/fcntl.c (__fcntl): Likewise.
7049         * io/flock.c (__flock): Likewise.
7050         * io/fts.c (fts_load): Likewise.
7051         (fts_close): Likewise.
7052         (fts_read): Likewise.
7053         (fts_set): Likewise.
7054         (fts_children): Likewise.
7055         (fts_build): Likewise.
7056         (fts_stat): Likewise.
7057         (fts_sort): Likewise.
7058         (fts_alloc): Likewise.
7059         (fts_lfree): Likewise.
7060         (fts_palloc): Likewise.
7061         (fts_padjust): Likewise.
7062         (fts_maxarglen): Likewise.
7063         (fts_safe_changedir): Likewise.
7064         * io/getwd.c (getwd): Likewise.
7065         * io/isatty.c (__isatty): Likewise.
7066         * io/lchown.c (__lchown): Likewise.
7067         * io/link.c (__link): Likewise.
7068         * io/linkat.c (linkat): Likewise.
7069         * io/lseek.c (__libc_lseek): Likewise.
7070         * io/mkdir.c (__mkdir): Likewise.
7071         * io/mkdirat.c (mkdirat): Likewise.
7072         * io/mkfifo.c (mkfifo): Likewise.
7073         * io/mkfifoat.c (mkfifoat): Likewise.
7074         * io/open.c (__libc_open): Likewise.
7075         * io/open64.c (__libc_open64): Likewise.
7076         * io/readlink.c (__readlink): Likewise.
7077         * io/readlinkat.c (readlinkat): Likewise.
7078         * io/rmdir.c (__rmdir): Likewise.
7079         * io/symlink.c (__symlink): Likewise.
7080         * io/symlinkat.c (symlinkat): Likewise.
7081         * io/ttyname.c (ttyname): Likewise.
7082         * io/ttyname_r.c (__ttyname_r): Likewise.
7083         * io/umask.c (__umask): Likewise.
7084         * io/unlink.c (__unlink): Likewise.
7085         * io/unlinkat.c (unlinkat): Likewise.
7086         * io/utime.c (utime): Likewise.
7087         * libio/clearerr.c (clearerr): Likewise.
7088         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7089         * libio/feof.c (_IO_feof): Likewise.
7090         * libio/feof_u.c (feof_unlocked): Likewise.
7091         * libio/ferror.c (_IO_ferror): Likewise.
7092         * libio/ferror_u.c (ferror_unlocked): Likewise.
7093         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7094         * libio/fileno.c (__fileno): Likewise.
7095         * libio/fputc.c (fputc): Likewise.
7096         * libio/fputc_u.c (fputc_unlocked): Likewise.
7097         * libio/fputwc.c (fputwc): Likewise.
7098         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7099         * libio/freopen.c (freopen): Likewise.
7100         * libio/freopen64.c (freopen64): Likewise.
7101         * libio/fseek.c (fseek): Likewise.
7102         * libio/fseeko.c (fseeko): Likewise.
7103         * libio/fseeko64.c (fseeko64): Likewise.
7104         * libio/ftello.c (__ftello): Likewise.
7105         * libio/ftello64.c (ftello64): Likewise.
7106         * libio/fwide.c (fwide): Likewise.
7107         * libio/genops.c (_IO_un_link): Likewise.
7108         (_IO_link_in): Likewise.
7109         (_IO_least_marker): Likewise.
7110         (_IO_switch_to_main_get_area): Likewise.
7111         (_IO_switch_to_backup_area): Likewise.
7112         (_IO_switch_to_get_mode): Likewise.
7113         (_IO_free_backup_area): Likewise.
7114         (_IO_switch_to_put_mode): Likewise.
7115         (__overflow): Likewise.
7116         (__underflow): Likewise.
7117         (__uflow): Likewise.
7118         (_IO_setb): Likewise.
7119         (_IO_doallocbuf): Likewise.
7120         (_IO_default_underflow): Likewise.
7121         (_IO_default_uflow): Likewise.
7122         (_IO_default_xsputn): Likewise.
7123         (_IO_sgetn): Likewise.
7124         (_IO_default_xsgetn): Likewise.
7125         (_IO_sync): Likewise.
7126         (_IO_default_setbuf): Likewise.
7127         (_IO_default_seekpos): Likewise.
7128         (_IO_default_doallocate): Likewise.
7129         (_IO_init): Likewise.
7130         (_IO_old_init): Likewise.
7131         (_IO_default_sync): Likewise.
7132         (_IO_default_finish): Likewise.
7133         (_IO_default_seekoff): Likewise.
7134         (_IO_sputbackc): Likewise.
7135         (_IO_sungetc): Likewise.
7136         (_IO_set_column): Likewise.
7137         (_IO_set_column): Likewise.
7138         (_IO_adjust_column): Likewise.
7139         (_IO_get_column): Likewise.
7140         (_IO_init_marker): Likewise.
7141         (_IO_remove_marker): Likewise.
7142         (_IO_marker_difference): Likewise.
7143         (_IO_marker_delta): Likewise.
7144         (_IO_seekmark): Likewise.
7145         (_IO_unsave_markers): Likewise.
7146         (_IO_nobackup_pbackfail): Likewise.
7147         (_IO_default_pbackfail): Likewise.
7148         (_IO_default_seek): Likewise.
7149         (_IO_default_stat): Likewise.
7150         (_IO_default_read): Likewise.
7151         (_IO_default_write): Likewise.
7152         (_IO_default_showmanyc): Likewise.
7153         (_IO_default_imbue): Likewise.
7154         (_IO_iter_next): Likewise.
7155         (_IO_iter_file): Likewise.
7156         * libio/getc.c (_IO_getc): Likewise.
7157         * libio/getwc.c (_IO_getwc): Likewise.
7158         * libio/iofclose.c (_IO_new_fclose): Likewise.
7159         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7160         * libio/iofflush.c (_IO_fflush): Likewise.
7161         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7162         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7163         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7164         * libio/iofgets.c (_IO_fgets): Likewise.
7165         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7166         * libio/iofgetws.c (fgetws): Likewise.
7167         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7168         * libio/iofopen64.c (_IO_fopen64): Likewise.
7169         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7170         (_IO_cookie_write): Likewise.
7171         (_IO_cookie_seek): Likewise.
7172         (_IO_cookie_close): Likewise.
7173         (_IO_cookie_seekoff): Likewise.
7174         (_IO_old_cookie_seek): Likewise.
7175         * libio/iofputs.c (_IO_fputs): Likewise.
7176         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7177         * libio/iofputws.c (fputws): Likewise.
7178         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7179         * libio/iofread.c (_IO_fread): Likewise.
7180         * libio/iofread_u.c (__fread_unlocked): Likewise.
7181         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7182         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7183         * libio/ioftell.c (_IO_ftell): Likewise.
7184         * libio/iofwrite.c (_IO_fwrite): Likewise.
7185         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7186         * libio/iogets.c (_IO_gets): Likewise.
7187         * libio/iopadn.c (_IO_padn): Likewise.
7188         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7189         (_IO_new_popen): Likewise.
7190         (_IO_new_proc_close): Likewise.
7191         * libio/ioputs.c (_IO_puts): Likewise.
7192         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7193         (_IO_seekoff): Likewise.
7194         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7195         (_IO_seekpos): Likewise.
7196         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7197         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7198         * libio/ioungetc.c (_IO_ungetc): Likewise.
7199         * libio/ioungetwc.c (ungetwc): Likewise.
7200         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7201         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7202         * libio/iowpadn.c (_IO_wpadn): Likewise.
7203         * libio/libc_fatal.c (__libc_fatal): Likewise.
7204         * libio/memstream.c (__open_memstream): Likewise.
7205         (_IO_mem_sync): Likewise.
7206         (_IO_mem_finish): Likewise.
7207         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7208         (_IO_old_file_close_it): Likewise.
7209         (_IO_old_file_finish): Likewise.
7210         (_IO_old_file_fopen): Likewise.
7211         (_IO_old_file_attach): Likewise.
7212         (_IO_old_file_setbuf): Likewise.
7213         (_IO_old_do_write): Likewise.
7214         (old_do_write): Likewise.
7215         (_IO_old_file_underflow): Likewise.
7216         (_IO_old_file_overflow): Likewise.
7217         (_IO_old_file_sync): Likewise.
7218         (_IO_old_file_seekoff): Likewise.
7219         (_IO_old_file_write): Likewise.
7220         (_IO_old_file_xsputn): Likewise.
7221         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7222         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7223         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7224         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7225         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7226         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7227         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7228         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7229         (_IO_old_popen): Likewise.
7230         (_IO_old_proc_close): Likewise.
7231         * libio/oldpclose.c (__old_pclose): Likewise.
7232         * libio/pclose.c (__new_pclose): Likewise.
7233         * libio/peekc.c (_IO_peekc_locked): Likewise.
7234         * libio/putc.c (_IO_putc): Likewise.
7235         * libio/putc_u.c (putc_unlocked): Likewise.
7236         * libio/putchar.c (putchar): Likewise.
7237         * libio/putchar_u.c (putchar_unlocked): Likewise.
7238         * libio/putwc.c (putwc): Likewise.
7239         * libio/putwc_u.c (putwc_unlocked): Likewise.
7240         * libio/putwchar.c (putwchar): Likewise.
7241         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7242         * libio/rewind.c (rewind): Likewise.
7243         * libio/setbuf.c (setbuf): Likewise.
7244         * libio/setlinebuf.c (setlinebuf): Likewise.
7245         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7246         * libio/vscanf.c (_IO_vscanf): Likewise.
7247         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7248         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7249         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7250         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7251         (_IO_switch_to_main_wget_area): Likewise.
7252         (_IO_switch_to_wbackup_area): Likewise.
7253         (_IO_wsetb): Likewise.
7254         (_IO_wdefault_pbackfail): Likewise.
7255         (_IO_wdefault_finish): Likewise.
7256         (_IO_wdefault_uflow): Likewise.
7257         (__woverflow): Likewise.
7258         (__wuflow): Likewise.
7259         (__wunderflow): Likewise.
7260         (_IO_wdefault_xsputn): Likewise.
7261         (_IO_wdefault_xsgetn): Likewise.
7262         (_IO_wdoallocbuf): Likewise.
7263         (_IO_wdefault_doallocate): Likewise.
7264         (_IO_switch_to_wget_mode): Likewise.
7265         (_IO_free_wbackup_area): Likewise.
7266         (_IO_switch_to_wput_mode): Likewise.
7267         (_IO_sputbackwc): Likewise.
7268         (_IO_sungetwc): Likewise.
7269         (_IO_adjust_wcolumn): Likewise.
7270         (_IO_init_wmarker): Likewise.
7271         (_IO_wmarker_delta): Likewise.
7272         (_IO_seekwmark): Likewise.
7273         (_IO_unsave_wmarkers): Likewise.
7274         * libio/wmemstream.c (open_wmemstream): Likewise.
7275         (_IO_wmem_sync): Likewise.
7276         (_IO_wmem_finish): Likewise.
7277         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7278         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7279         * locale/programs/simple-hash.c (init_hash): Likewise.
7280         (delete_hash): Likewise.
7281         (insert_entry): Likewise.
7282         (set_entry): Likewise.
7283         (next_prime): Likewise.
7284         (is_prime): Likewise.
7285         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7286         (xmalloc): Likewise.
7287         (xrealloc): Likewise.
7288         * locale/programs/xstrdup.c (xstrdup): Likewise.
7289         * localedata/collate-test.c (xstrcoll): Likewise.
7290         * localedata/xfrm-test.c (xstrcmp): Likewise.
7291         * login/getlogin_r.c (__getlogin_r): Likewise.
7292         * login/getpt.c (__posix_openpt): Likewise.
7293         * login/login_tty.c (login_tty): Likewise.
7294         * login/setlogin.c (setlogin): Likewise.
7295         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7296         (mach_msg_destroy_port): Likewise.
7297         (mach_msg_destroy_memory): Likewise.
7298         * malloc/mcheck.c (flood): Likewise.
7299         * misc/acct.c (acct): Likewise.
7300         * misc/brk.c (__brk): Likewise.
7301         * misc/chflags.c (chflags): Likewise.
7302         * misc/chroot.c (chroot): Likewise.
7303         * misc/fchflags.c (fchflags): Likewise.
7304         * misc/fstab.c (getfsspec): Likewise.
7305         (getfsfile): Likewise.
7306         * misc/fsync.c (fsync): Likewise.
7307         * misc/ftruncate.c (__ftruncate): Likewise.
7308         * misc/ftruncate64.c (__ftruncate64): Likewise.
7309         * misc/getdomain.c (getdomainname): Likewise.
7310         (getdomainname): Likewise.
7311         * misc/gethostname.c (__gethostname): Likewise.
7312         * misc/getpass.c (getpass): Likewise.
7313         * misc/getttyent.c (skip): Likewise.
7314         (value): Likewise.
7315         * misc/gtty.c (gtty): Likewise.
7316         * misc/hsearch.c (hsearch): Likewise.
7317         (hcreate): Likewise.
7318         * misc/hsearch_r.c (__hcreate_r): Likewise.
7319         (__hdestroy_r): Likewise.
7320         * misc/ioctl.c (__ioctl): Likewise.
7321         * misc/mkdtemp.c (mkdtemp): Likewise.
7322         * misc/mkostemp.c (mkostemp): Likewise.
7323         * misc/mkostemp64.c (mkostemp64): Likewise.
7324         * misc/mkostemps.c (mkostemps): Likewise.
7325         * misc/mkostemps64.c (mkostemps64): Likewise.
7326         * misc/mkstemp.c (mkstemp): Likewise.
7327         * misc/mkstemp64.c (mkstemp64): Likewise.
7328         * misc/mkstemps.c (mkstemps): Likewise.
7329         * misc/mkstemps64.c (mkstemps64): Likewise.
7330         * misc/mktemp.c (__mktemp): Likewise.
7331         * misc/preadv.c (preadv): Likewise.
7332         * misc/preadv64.c (preadv64): Likewise.
7333         * misc/pwritev.c (pwritev): Likewise.
7334         * misc/pwritev64.c (pwritev64): Likewise.
7335         * misc/readv.c (__readv): Likewise.
7336         * misc/revoke.c (revoke): Likewise.
7337         * misc/setdomain.c (setdomainname): Likewise.
7338         * misc/setegid.c (setegid): Likewise.
7339         * misc/seteuid.c (seteuid): Likewise.
7340         * misc/sethostid.c (sethostid): Likewise.
7341         * misc/sethostname.c (sethostname): Likewise.
7342         * misc/setregid.c (__setregid): Likewise.
7343         * misc/setreuid.c (__setreuid): Likewise.
7344         * misc/sstk.c (sstk): Likewise.
7345         * misc/stty.c (stty): Likewise.
7346         * misc/syscall.c (syscall): Likewise.
7347         * misc/syslog.c (setlogmask): Likewise.
7348         * misc/truncate.c (__truncate): Likewise.
7349         * misc/truncate64.c (truncate64): Likewise.
7350         * misc/ualarm.c (ualarm): Likewise.
7351         * misc/usleep.c (usleep): Likewise.
7352         * misc/ustat.c (ustat): Likewise.
7353         * misc/writev.c (__writev): Likewise.
7354         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7355         * nptl/old_pthread_cond_broadcast.c
7356         (__pthread_cond_broadcast_2_0): Likewise.
7357         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7358         Likewise.
7359         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7360         Likewise.
7361         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7362         Likewise.
7363         * nptl/pt-raise.c (raise): Likewise.
7364         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7365         Likewise.
7366         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7367         * nptl/pthread_barrierattr_destroy.c
7368         (pthread_barrierattr_destroy): Likewise.
7369         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7370         Likewise.
7371         * nptl/pthread_barrierattr_setpshared.c
7372         (pthread_barrierattr_setpshared): Likewise.
7373         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7374         Likewise.
7375         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7376         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7377         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7378         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7379         Likewise.
7380         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7381         Likewise.
7382         * nptl/pthread_condattr_getpshared.c
7383         (pthread_condattr_getpshared): Likewise.
7384         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7385         Likewise.
7386         * nptl/pthread_condattr_setpshared.c
7387         (pthread_condattr_setpshared): Likewise.
7388         * nptl/pthread_detach.c (pthread_detach): Likewise.
7389         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7390         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7391         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7392         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7393         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7394         Likewise.
7395         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7396         Likewise.
7397         * nptl/pthread_mutex_getprioceiling.c
7398         (pthread_mutex_getprioceiling): Likewise.
7399         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7400         Likewise.
7401         * nptl/pthread_mutexattr_getprotocol.c
7402         (pthread_mutexattr_getprotocol): Likewise.
7403         * nptl/pthread_mutexattr_getpshared.c
7404         (pthread_mutexattr_getpshared): Likewise.
7405         * nptl/pthread_mutexattr_getrobust.c
7406         (pthread_mutexattr_getrobust): Likewise.
7407         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
7408         Likewise.
7409         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
7410         Likewise.
7411         * nptl/pthread_mutexattr_setprioceiling.c
7412         (pthread_mutexattr_setprioceiling): Likewise.
7413         * nptl/pthread_mutexattr_setprotocol.c
7414         (pthread_mutexattr_setprotocol): Likewise.
7415         * nptl/pthread_mutexattr_setpshared.c
7416         (pthread_mutexattr_setpshared): Likewise.
7417         * nptl/pthread_mutexattr_setrobust.c
7418         (pthread_mutexattr_setrobust): Likewise.
7419         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
7420         Likewise.
7421         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
7422         Likewise.
7423         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
7424         Likewise.
7425         * nptl/pthread_rwlockattr_getkind_np.c
7426         (pthread_rwlockattr_getkind_np): Likewise.
7427         * nptl/pthread_rwlockattr_getpshared.c
7428         (pthread_rwlockattr_getpshared): Likewise.
7429         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
7430         Likewise.
7431         * nptl/pthread_rwlockattr_setkind_np.c
7432         (pthread_rwlockattr_setkind_np): Likewise.
7433         * nptl/pthread_rwlockattr_setpshared.c
7434         (pthread_rwlockattr_setpshared): Likewise.
7435         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
7436         Likewise.
7437         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
7438         Likewise.
7439         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
7440         Likewise.
7441         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7442         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
7443         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
7444         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
7445         * nptl/sem_close.c (sem_close): Likewise.
7446         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
7447         * nptl/sem_init.c (__old_sem_init): Likewise.
7448         * nptl/sigaction.c (__sigaction): Likewise.
7449         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
7450         * posix/_exit.c (_exit): Likewise.
7451         * posix/alarm.c (alarm): Likewise.
7452         * posix/confstr.c (confstr): Likewise.
7453         * posix/fpathconf.c (__fpathconf): Likewise.
7454         * posix/getgroups.c (__getgroups): Likewise.
7455         * posix/getpgid.c (__getpgid): Likewise.
7456         * posix/group_member.c (__group_member): Likewise.
7457         * posix/pathconf.c (__pathconf): Likewise.
7458         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
7459         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
7460         * posix/setgid.c (__setgid): Likewise.
7461         * posix/setpgid.c (__setpgid): Likewise.
7462         * posix/setuid.c (__setuid): Likewise.
7463         * posix/sleep.c (__sleep): Likewise.
7464         * posix/sysconf.c (__sysconf): Likewise.
7465         * posix/times.c (__times): Likewise.
7466         * posix/uname.c (__uname): Likewise.
7467         * posix/waitid.c (__waitid): Likewise.
7468         * pwd/getpw.c (__getpw): Likewise.
7469         * resolv/base64.c (b64_pton): Likewise.
7470         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
7471         * resolv/gethnamaddr.c (Dprintf): Likewise.
7472         (gethostbyname): Likewise.
7473         (gethostbyname2): Likewise.
7474         (gethostbyaddr): Likewise.
7475         (_sethtent): Likewise.
7476         (_gethtbyname): Likewise.
7477         (_gethtbyname2): Likewise.
7478         (_gethtbyaddr): Likewise.
7479         (map_v4v6_address): Likewise.
7480         (map_v4v6_hostent): Likewise.
7481         (addrsort): Likewise.
7482         (ht_sethostent): Likewise.
7483         (ht_gethostbyname): Likewise.
7484         (ht_gethostbyaddr): Likewise.
7485         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
7486         (inet_net_ntop_ipv4): Likewise.
7487         * resolv/inet_neta.c (inet_neta): Likewise.
7488         * resolv/inet_ntop.c (inet_ntop): Likewise.
7489         (inet_ntop4): Likewise.
7490         (inet_ntop6): Likewise.
7491         * resolv/inet_pton.c (__inet_pton): Likewise.
7492         (inet_pton4): Likewise.
7493         (inet_pton6): Likewise.
7494         * resolv/res_debug.c (loc_aton): Likewise.
7495         (loc_ntoa): Likewise.
7496         * resource/getpriority.c (__getpriority): Likewise.
7497         * resource/getrusage.c (__getrusage): Likewise.
7498         * resource/nice.c (nice): Likewise.
7499         * resource/setpriority.c (__setpriority): Likewise.
7500         * resource/setrlimit64.c (setrlimit64): Likewise.
7501         * resource/vlimit.c (vlimit): Likewise.
7502         * resource/vtimes.c (vtimes): Likewise.
7503         * rt/aio_error.c (aio_error): Likewise.
7504         * rt/aio_return.c (aio_return): Likewise.
7505         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
7506         * signal/kill.c (__kill): Likewise.
7507         * signal/killpg.c (killpg): Likewise.
7508         * signal/raise.c (raise): Likewise.
7509         * signal/sigaction.c (__sigaction): Likewise.
7510         * signal/sigaddset.c (sigaddset): Likewise.
7511         * signal/sigaltstack.c (sigaltstack): Likewise.
7512         * signal/sigandset.c (sigandset): Likewise.
7513         * signal/sigblock.c (__sigblock): Likewise.
7514         * signal/sigdelset.c (sigdelset): Likewise.
7515         * signal/sigempty.c (sigemptyset): Likewise.
7516         * signal/sigfillset.c (sigfillset): Likewise.
7517         * signal/sighold.c (sighold): Likewise.
7518         * signal/sigignore.c (sigignore): Likewise.
7519         * signal/sigintr.c (siginterrupt): Likewise.
7520         * signal/sigisempty.c (sigisemptyset): Likewise.
7521         * signal/sigismem.c (sigismember): Likewise.
7522         * signal/signal.c (signal): Likewise.
7523         * signal/sigorset.c (sigorset): Likewise.
7524         * signal/sigpause.c (__sigpause): Likewise.
7525         * signal/sigpending.c (sigpending): Likewise.
7526         * signal/sigprocmask.c (__sigprocmask): Likewise.
7527         * signal/sigrelse.c (sigrelse): Likewise.
7528         * signal/sigreturn.c (__sigreturn): Likewise.
7529         * signal/sigset.c (sigset): Likewise.
7530         * signal/sigsetmask.c (__sigsetmask): Likewise.
7531         * signal/sigstack.c (sigstack): Likewise.
7532         * signal/sigsuspend.c (__sigsuspend): Likewise.
7533         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
7534         * signal/sysv_signal.c (__sysv_signal): Likewise.
7535         * socket/accept.c (accept): Likewise.
7536         * socket/accept4.c (__libc_accept4): Likewise.
7537         * socket/bind.c (__bind): Likewise.
7538         * socket/connect.c (__connect): Likewise.
7539         * socket/getpeername.c (getpeername): Likewise.
7540         * socket/getsockname.c (__getsockname): Likewise.
7541         * socket/getsockopt.c (getsockopt): Likewise.
7542         * socket/listen.c (__listen): Likewise.
7543         * socket/recv.c (__recv): Likewise.
7544         * socket/recvmsg.c (__recvmsg): Likewise.
7545         * socket/send.c (__send): Likewise.
7546         * socket/sendmsg.c (__sendmsg): Likewise.
7547         * socket/shutdown.c (shutdown): Likewise.
7548         * socket/sockatmark.c (sockatmark): Likewise.
7549         * socket/socket.c (__socket): Likewise.
7550         * stdio-common/ctermid.c (ctermid): Likewise.
7551         * stdio-common/cuserid.c (cuserid): Likewise.
7552         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
7553         * stdio-common/remove.c (remove): Likewise.
7554         * stdio-common/rename.c (rename): Likewise.
7555         * stdio-common/renameat.c (renameat): Likewise.
7556         * stdio-common/tempname.c (__gen_tempname): Likewise.
7557         * stdio-common/xbug.c (InitBuffer): Likewise.
7558         (AppendToBuffer): Likewise.
7559         (ReadFile): Likewise.
7560         * stdlib/a64l.c (a64l): Likewise.
7561         * stdlib/drand48_r.c (drand48_r): Likewise.
7562         * stdlib/getcontext.c (getcontext): Likewise.
7563         * stdlib/getenv.c (getenv): Likewise.
7564         * stdlib/l64a.c (l64a): Likewise.
7565         * stdlib/llabs.c (llabs): Likewise.
7566         * stdlib/lldiv.c (lldiv): Likewise.
7567         * stdlib/lrand48_r.c (lrand48_r): Likewise.
7568         * stdlib/mrand48_r.c (mrand48_r): Likewise.
7569         * stdlib/putenv.c (putenv): Likewise.
7570         * stdlib/random.c (__srandom): Likewise.
7571         (__initstate): Likewise.
7572         (__setstate): Likewise.
7573         * stdlib/random_r.c (__srandom_r): Likewise.
7574         (__setstate_r): Likewise.
7575         (__random_r): Likewise.
7576         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
7577         * stdlib/setcontext.c (setcontext): Likewise.
7578         * stdlib/setenv.c (setenv): Likewise.
7579         (unsetenv): Likewise.
7580         * stdlib/srand48.c (srand48): Likewise.
7581         * stdlib/srand48_r.c (__srand48_r): Likewise.
7582         * stdlib/swapcontext.c (swapcontext): Likewise.
7583         * stdlib/system.c (__libc_system): Likewise.
7584         * stdlib/tst-strtod.c (expand): Likewise.
7585         * stdlib/tst-strtol.c (expand): Likewise.
7586         * stdlib/tst-strtoll.c (expand): Likewise.
7587         * streams/fattach.c (fattach): Likewise.
7588         * streams/fdetach.c (fdetach): Likewise.
7589         * streams/getmsg.c (getmsg): Likewise.
7590         * streams/isastream.c (isastream): Likewise.
7591         * string/ffs.c (__ffs): Likewise.
7592         * string/ffsll.c (ffsll): Likewise.
7593         * string/memcmp.c (memcmp_common_alignment): Likewise.
7594         (memcmp_not_common_alignment): Likewise.
7595         (MEMCMP): Likewise.
7596         * string/memcpy.c (memcpy): Likewise.
7597         * string/memmove.c (MEMMOVE): Likewise.
7598         * string/memset.c (memset): Likewise.
7599         * string/rawmemchr.c (RAWMEMCHR): Likewise.
7600         * string/strchrnul.c (STRCHRNUL): Likewise.
7601         * string/strerror.c (strerror): Likewise.
7602         * string/strndup.c (__strndup): Likewise.
7603         * string/strverscmp.c (__strverscmp): Likewise.
7604         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
7605         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
7606         (clnttcp_freeres): Likewise.
7607         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
7608         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
7609         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
7610         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
7611         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
7612         (xdr_callhdr): Likewise.
7613         * sunrpc/rpcinfo.c (udpping): Likewise.
7614         (tcpping): Likewise.
7615         (pstatus): Likewise.
7616         (pmapdump): Likewise.
7617         (brdcst): Likewise.
7618         (deletereg): Likewise.
7619         (getprognum): Likewise.
7620         (getvers): Likewise.
7621         (get_inet_address): Likewise.
7622         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
7623         * sunrpc/svc_udp.c (svcudp_create): Likewise.
7624         (svcudp_stat): Likewise.
7625         (svcudp_recv): Likewise.
7626         (svcudp_reply): Likewise.
7627         (svcudp_getargs): Likewise.
7628         (svcudp_freeargs): Likewise.
7629         (svcudp_destroy): Likewise.
7630         * sunrpc/xdr.c (xdr_bytes): Likewise.
7631         (xdr_netobj): Likewise.
7632         (xdr_string): Likewise.
7633         (xdr_wrapstring): Likewise.
7634         * sunrpc/xdr_float.c (xdr_float): Likewise.
7635         (xdr_double): Likewise.
7636         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
7637         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
7638         * sysvipc/ftok.c (ftok): Likewise.
7639         * sysvipc/msgctl.c (msgctl): Likewise.
7640         * sysvipc/msgget.c (msgget): Likewise.
7641         * sysvipc/msgrcv.c (msgrcv): Likewise.
7642         * sysvipc/msgsnd.c (msgsnd): Likewise.
7643         * sysvipc/semget.c (semget): Likewise.
7644         * sysvipc/semop.c (semop): Likewise.
7645         * sysvipc/shmat.c (shmat): Likewise.
7646         * sysvipc/shmctl.c (shmctl): Likewise.
7647         * sysvipc/shmdt.c (shmdt): Likewise.
7648         * sysvipc/shmget.c (shmget): Likewise.
7649         * termios/cfmakeraw.c (cfmakeraw): Likewise.
7650         * termios/speed.c (cfgetospeed): Likewise.
7651         (cfgetispeed): Likewise.
7652         (cfsetospeed): Likewise.
7653         (cfsetispeed): Likewise.
7654         * termios/tcflow.c (tcflow): Likewise.
7655         * termios/tcflush.c (tcflush): Likewise.
7656         * termios/tcgetattr.c (__tcgetattr): Likewise.
7657         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
7658         * termios/tcgetsid.c (tcgetsid): Likewise.
7659         * termios/tcsendbrk.c (tcsendbreak): Likewise.
7660         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
7661         * time/adjtime.c (__adjtime): Likewise.
7662         * time/dysize.c (dysize): Likewise.
7663         * time/ftime.c (ftime): Likewise.
7664         * time/getitimer.c (__getitimer): Likewise.
7665         * time/gettimeofday.c (__gettimeofday): Likewise.
7666         * time/gmtime.c (__gmtime_r): Likewise.
7667         (gmtime): Likewise.
7668         * time/localtime.c (__localtime_r): Likewise.
7669         (localtime): Likewise.
7670         * time/offtime.c (__offtime): Likewise.
7671         * time/settimeofday.c (__settimeofday): Likewise.
7672         * time/stime.c (stime): Likewise.
7673         * time/strftime_l.c (tm_diff): Likewise.
7674         (iso_week_days): Likewise.
7675         * time/strptime.c (strptime): Likewise.
7676         * time/time.c (time): Likewise.
7677         * time/timespec_get.c (timespec_get): Likewise.
7678         * time/tzset.c (tzset_internal): Likewise.
7679         (compute_change): Likewise.
7680         (__tz_compute): Likewise.
7681         * wcsmbs/btowc.c (__btowc): Likewise.
7682         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
7683         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
7684         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
7685         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
7686         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
7687         * wcsmbs/wcscat.c (__wcscat): Likewise.
7688         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7689         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
7690         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
7691         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7692         * wcsmbs/wcsdup.c (wcsdup): Likewise.
7693         * wcsmbs/wcslen.c (__wcslen): Likewise.
7694         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
7695         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
7696         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
7697         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
7698         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7699         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
7700         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7701         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7702         * wcsmbs/wcstok.c (wcstok): Likewise.
7703         * wcsmbs/wctob.c (wctob): Likewise.
7704         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
7705         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7706         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
7707         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
7708         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
7709         * wcsmbs/wmemset.c (__wmemset): Likewise.
7710         * wctype/wcfuncs.c (__towlower): Likewise.
7711         (__towupper): Likewise.
7713         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
7714         (lll_unlock_elision): Add adapt_count parameter.
7716 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7718         * sysdeps/nptl/configure.ac: Do not give errors based on the
7719         results of top-level configure tests.
7720         * sysdeps/nptl/configure: Regenerated.
7722         * configure.ac (libc_cv_Bgroup): Remove configure test.
7723         * configure: Regenerated.
7724         * config.make.in (have-Bgroup): Remove variable.
7726         * configure.ac (sizeof_long_double): Remove configure test.
7727         * configure: Regenerated.
7728         * config.make.in (sizeof-long-double): Remove variable.
7730         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
7731         * configure: Regenerated.
7732         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
7733         variable.
7734         (exceptions): Likewise.
7735         * sysdeps/arm/configure: Regenerated.
7736         * config.make.in (exceptions): Remove variable.
7737         * Makeconfig (uses-callbacks): Use -fexceptions instead of
7738         $(exceptions).
7739         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
7740         (CFLAGS-vdprintf_chk.c): Likewise.
7741         (CFLAGS-printf_chk.c): Likewise.
7742         (CFLAGS-fprintf_chk.c): Likewise.
7743         (CFLAGS-vprintf_chk.c): Likewise.
7744         (CFLAGS-vfprintf_chk.c): Likewise.
7745         (CFLAGS-gets_chk.c): Likewise.
7746         (CFLAGS-fgets_chk.c): Likewise.
7747         (CFLAGS-fgets_u_chk.c): Likewise.
7748         (CFLAGS-fread_chk.c): Likewise.
7749         (CFLAGS-fread_u_chk.c): Likewise.
7750         (CFLAGS-wprintf_chk.c): Likewise.
7751         (CFLAGS-fwprintf_chk.c): Likewise.
7752         (CFLAGS-vwprintf_chk.c): Likewise.
7753         (CFLAGS-vfwprintf_chk.c): Likewise.
7754         (CFLAGS-fgetws_chk.c): Likewise.
7755         (CFLAGS-fgetws_u_chk.c): Likewise.
7756         * libio/Makefile (CFLAGS-fileops.c): Likewise.
7757         (CFLAGS-fputc.c): Likewise.
7758         (CFLAGS-fputwc.c): Likewise.
7759         (CFLAGS-freopen64.c): Likewise.
7760         (CFLAGS-freopen.c): Likewise.
7761         (CFLAGS-fseek.c): Likewise.
7762         (CFLAGS-fseeko64.c): Likewise.
7763         (CFLAGS-fseeko.c): Likewise.
7764         (CFLAGS-ftello64.c): Likewise.
7765         (CFLAGS-ftello.c): Likewise.
7766         (CFLAGS-fwide.c): Likewise.
7767         (CFLAGS-genops.c): Likewise.
7768         (CFLAGS-getc.c): Likewise.
7769         (CFLAGS-getchar.c): Likewise.
7770         (CFLAGS-getwc.c): Likewise.
7771         (CFLAGS-getwchar.c): Likewise.
7772         (CFLAGS-iofclose.c): Likewise.
7773         (CFLAGS-iofflush.c): Likewise.
7774         (CFLAGS-iofgetpos64.c): Likewise.
7775         (CFLAGS-iofgetpos.c): Likewise.
7776         (CFLAGS-iofgets.c): Likewise.
7777         (CFLAGS-iofgetws.c): Likewise.
7778         (CFLAGS-iofputs.c): Likewise.
7779         (CFLAGS-iofputws.c): Likewise.
7780         (CFLAGS-iofread.c): Likewise.
7781         (CFLAGS-iofsetpos64.c): Likewise.
7782         (CFLAGS-iofsetpos.c): Likewise.
7783         (CFLAGS-ioftell.c): Likewise.
7784         (CFLAGS-iofwrite.c): Likewise.
7785         (CFLAGS-iogetdelim.c): Likewise.
7786         (CFLAGS-iogetline.c): Likewise.
7787         (CFLAGS-iogets.c): Likewise.
7788         (CFLAGS-iogetwline.c): Likewise.
7789         (CFLAGS-ioputs.c): Likewise.
7790         (CFLAGS-ioseekoff.c): Likewise.
7791         (CFLAGS-ioseekpos.c): Likewise.
7792         (CFLAGS-iosetbuffer.c): Likewise.
7793         (CFLAGS-iosetvbuf.c): Likewise.
7794         (CFLAGS-ioungetc.c): Likewise.
7795         (CFLAGS-ioungetwc.c): Likewise.
7796         (CFLAGS-oldfileops.c): Likewise.
7797         (CFLAGS-oldiofclose.c): Likewise.
7798         (CFLAGS-oldiofgetpos64.c): Likewise.
7799         (CFLAGS-oldiofgetpos.c): Likewise.
7800         (CFLAGS-oldiofsetpos64.c): Likewise.
7801         (CFLAGS-oldiofsetpos.c): Likewise.
7802         (CFLAGS-peekc.c): Likewise.
7803         (CFLAGS-putc.c): Likewise.
7804         (CFLAGS-putchar.c): Likewise.
7805         (CFLAGS-putwc.c): Likewise.
7806         (CFLAGS-putwchar.c): Likewise.
7807         (CFLAGS-rewind.c): Likewise.
7808         (CFLAGS-wfileops.c): Likewise.
7809         (CFLAGS-wgenops.c): Likewise.
7810         (CFLAGS-oldiofopen.c): Likewise.
7811         (CFLAGS-iofopen.c): Likewise.
7812         (CFLAGS-iofopen64.c): Likewise.
7813         (CFLAGS-oldtmpfile.c): Likewise.
7814         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
7815         (CFLAGS-fprintf.c): Likewise.
7816         (CFLAGS-printf.c): Likewise.
7817         (CFLAGS-vfwprintf.c): Likewise.
7818         (CFLAGS-vfscanf.c): Likewise.
7819         (CFLAGS-vfwscanf.c): Likewise.
7820         (CFLAGS-fscanf.c): Likewise.
7821         (CFLAGS-scanf.c): Likewise.
7822         (CFLAGS-isoc99_vfscanf.c): Likewise.
7823         (CFLAGS-isoc99_vscanf.c): Likewise.
7824         (CFLAGS-isoc99_fscanf.c): Likewise.
7825         (CFLAGS-isoc99_scanf.c): Likewise.
7826         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
7827         (CFLAGS-isoc99_fwscanf.c): Likewise.
7828         (CFLAGS-isoc99_vwscanf.c): Likewise.
7829         (CFLAGS-isoc99_vfwscanf.c): Likewise.
7831         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
7832         after mkstemp64.
7833         * login/tst-utmp.c (do_prepare): Likewise.
7834         * rt/tst-aio.c (do_prepare): Likewise.
7835         * rt/tst-aio64.c (do_prepare): Likewise.
7837 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7839         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
7840         (__lll_lock_elision): Remove adapt_count decrement...
7841         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
7842         (__lll_trylock_elision): Likewise.
7843         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7844         (__lll_unlock_elision): ... to here. And utilize
7845         new adapt_count parameter.
7846         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7847         (__lll_unlock_elision): Update to include adapt_count
7848         parameter.
7849         (lll_unlock_elision): Pass pointer to adapt_count
7850         variable.
7852 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7854         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
7855         Add elision adapt_count parameter to list of arguments.
7856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
7857         (lll_unlock_elision): Update with new parameter list
7858         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
7859         (lll_unlock_elision): Likewise.
7860         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
7861         (lll_unlock_elision): Likewise.
7863 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7865         [BZ #19122]
7866         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
7867         attribute_hidden.
7869         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
7870         attribute_hidden.
7871         [IS_IN (rtld)] (__strdup): Likewise.
7872         [IS_IN (rtld)] (__strerror_r): Likewise.
7873         [IS_IN (rtld)] (__strsep_g): Likewise.
7874         [IS_IN (rtld)] (memchr): Likewise.
7875         [IS_IN (rtld)] (memcmp): Likewise.
7876         [IS_IN (rtld)] (memcpy): Likewise.
7877         [IS_IN (rtld)] (memmove): Likewise.
7878         [IS_IN (rtld)] (memset): Likewise.
7879         [IS_IN (rtld)] (rawmemchr): Likewise.
7880         [IS_IN (rtld)] (stpcpy): Likewise.
7881         [IS_IN (rtld)] (strchr): Likewise.
7882         [IS_IN (rtld)] (strcmp): Likewise.
7883         [IS_IN (rtld)] (strlen): Likewise.
7884         [IS_IN (rtld)] (strnlen): Likewise.
7885         [IS_IN (rtld)] (strsep): Likewise.
7887         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
7888         attribute_hidden.
7889         [IS_IN (rtld)] (__strtoul_internal): Likewise.
7891         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
7892         attribute_hidden.
7893         [IS_IN (rtld)] (__libc_sigaction): Likewise.
7895         * include/setjmp.h (__longjmp): Add attribute_hidden.
7896         [IS_IN (rtld)] (__sigsetjmp): Likewise.
7898         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
7899         Add attribute_hidden.
7901         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
7902         [IS_IN (rtld)] (__open): Likewise.
7903         [IS_IN (rtld)] (__fcntl): Likewise.
7905         * include/dirent.h (__opendirat): Add attribute_hidden.
7906         (__getdents): Likewise.
7907         (__getdents64): Likewise.
7908         (__alloc_dir): Likewise.
7909         [IS_IN (rtld)] (__closedir): Likewise.
7910         [IS_IN (rtld)] (__fdopendir): Likewise.
7911         [IS_IN (rtld)] (__readdir): Likewise.
7912         [IS_IN (rtld)] (__readdir64): Likewise.
7913         [IS_IN (rtld)] (__rewinddir): Likewise.
7915         * include/dlfcn.h (_dl_catch_error): Moved to ...
7916         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
7917         attribute_hidden.
7919         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
7920         (_itoa_word): Likewise.
7922         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
7923         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
7924         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
7925         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
7926         (_dl_higher_prime_number): Likewise.
7927         (_dl_debug_printf_c): Likewise.
7928         (_dl_signal_cerror): Likewise.
7929         (_dl_receive_error): Likewise.
7930         (_dl_reloc_bad_type): Likewise.
7931         (_dl_resolve_conflicts): Likewise.
7932         (_dl_check_all_versions): Likewise.
7933         (_dl_check_map_versions): Likewise.
7934         (_dl_sort_fini): Likewise.
7935         (_dl_debug_initialize): Likewise.
7936         (_dl_init_paths): Likewise.
7937         (_dl_show_auxv): Likewise.
7938         (_dl_next_ld_env_entry): Likewise.
7939         (_dl_important_hwcaps): Likewise.
7940         (_dl_load_cache_lookup): Likewise.
7941         (_dl_update_slotinfo): Likewise.
7942         (_dl_show_scope): Likewise.
7944         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
7945         attribute_hidden.
7946         (_wordcopy_fwd_dest_aligned): Likewise.
7947         (_wordcopy_bwd_aligned): Likewise.
7948         (_wordcopy_bwd_dest_aligned): Likewise.
7950         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
7951         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7952         Likewise.
7953         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
7954         Likewise.
7955         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
7957 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
7959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
7960         GCC 5 requirement.
7962 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
7964         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
7965         test.
7966         * sysdeps/i386/configure: Regenerated.
7967         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
7968         code unconditional.
7970         * configure.ac (libc_cv_asm_previous_directive): Remove configure
7971         test.
7972         (libc_cv_asm_popsection_directive): Likewise.
7973         * configure: Regenerated.
7974         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
7975         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
7976         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
7977         (__make_section_unallocated): Make definition unconditional.
7978         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
7979         Remove conditional definition.
7980         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
7981         (__make_section_unallocated): Likewise.
7983         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
7984         * configure: Regenerated.
7985         * config.make.in (static-libgcc): Remove variable.
7986         * Makerules (build-shlib-helper): Use -static-libgcc instead of
7987         $(static-libgcc).
7988         (build-module-helper): Likewise.
7990         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
7991         * configure: Regenerated.
7993 2015-10-15  Florian Weimer  <fweimer@redhat.com>
7995         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
7996         (struct char_buffer): New type.
7997         (char_buffer_start, char_buffer_size, char_buffer_error)
7998         (char_buffer_rewind, char_buffer_add): New functions.
7999         (ADDW): Remove macro, replaced by the char_buffer_add function.
8000         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8001         of extend_alloca.  Make control flow more explicit.
8003 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8005         [BZ #19137]
8006         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8007         Add -fomit-frame-pointer.
8008         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8010 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8012         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8013         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8015         only if !__GNUC_PREREQ (5,0).
8016         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8017         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8018         (INTERNAL_SYSCALL_NCS): Likewise.
8019         (LOADREGS_0): New macro for GCC 5.
8020         (ASMARGS_0): Likewise.
8021         (LOADREGS_1): Likewise.
8022         (ASMARGS_1): Likewise.
8023         (LOADREGS_2): Likewise.
8024         (ASMARGS_2): Likewise.
8025         (LOADREGS_3): Likewise.
8026         (ASMARGS_3): Likewise.
8027         (LOADREGS_4): Likewise.
8028         (ASMARGS_4): Likewise.
8029         (LOADREGS_5): Likewise.
8030         (ASMARGS_5): Likewise.
8031         (LOADREGS_6): Likewise.
8032         (ASMARGS_6): Likewise.
8034 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8036         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8037         -fomit-frame-pointer.
8038         (CFLAGS-mmap64.c): Likewise.
8039         (CFLAGS-semtimedop.c): Likewise.
8040         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8041         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8042         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8043         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8045 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8047         [BZ #18928]
8048         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8049         _dl_pointer_guard member.
8050         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8051         initializer.
8052         (security_init): Always set up pointer guard.
8053         (process_envvars): Do not process LD_POINTER_GUARD.
8055 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8057         [BZ #19134]
8058         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8059         (.LC2): Likewise.
8060         (.LC3): Likewise.
8061         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8063 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8065         [BZ #19129]
8066         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8067         r0 and r1.
8069 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8071         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8073 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8075         * include/stap-probe.h: Fix macro definition formatting.
8077 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8079         [BZ #19074]
8080         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8081         load and store num_ifs.
8083 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8085         [BZ #18822]
8086         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8087         (__sched_getaffinity_new): Add libc_hidden_proto and
8088         libc_hidden_def.
8090 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8092         [BZ #19007]
8093         * scripts/localplt.awk: Also allow GOT references.
8094         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8095         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8096         with "+ REL R_386_GLOB_DAT".
8097         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8098         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8100 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8102         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8103         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8104         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8105         Likewise.
8106         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8107         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8108         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8109         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8110         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8111         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8112         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8113         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8114         Likewise.
8115         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8117 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8119         [BZ #19125]
8120         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8121         <math_private.h> and <stdint.h>.
8122         (__llround): Avoid conversions to and from long long int, and
8123         subtractions, where those might raise spurious exceptions.
8124         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8125         <math_private.h> and <stdint.h>.
8126         (__llroundf): Avoid conversions to and from long long int, and
8127         subtractions, where those might raise spurious exceptions.
8129 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8131         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8132         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8133         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8134         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8135         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8136         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8137         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8138         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8139         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8140         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8141         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8142         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8143         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8144         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8145         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8146         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8147         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8148         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8149         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8150         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8151         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8152         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8153         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8154         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8155         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8156         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8157         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8158         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8159         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8160         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8161         (__xstat64_conv): Likewise.
8162         (__xstat32_conv): Likewise.
8164 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8166         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8167         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8168         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8169         <sysdeps/unix/sysv/linux/sysdep.h>.
8170         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8171         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8172         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8173         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8174         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8175         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8176         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8177         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8178         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8181         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8182         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8183         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8184         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8185         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8186         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8187         (sysdep-dl-routines): Add sysdep.
8188         [$(subdir) == nptl] (libpthread-routines): Likewise.
8189         [$(subdir) == rt] (librt-routines): Likewise.
8190         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8191         PIC when branching to SYSCALL_ERROR_LABEL.
8192         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8194         <sysdeps/unix/sysv/linux/sysdep.h>.
8195         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8196         (SYSCALL_ERROR_ERRNO): Removed.
8197         (SYSCALL_ERROR_HANDLER): Changed to empty.
8198         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8199         (__syscall_error): New prototype.
8200         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8201         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8203 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8205         [BZ #19124]
8206         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8207         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8208         _dl_runtime_resolve_avx.
8209         (_dl_runtime_profile_avx512): Make it a hidden alias of
8210         _dl_runtime_profile_avx.
8212 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8214         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8215         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8216         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8217         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8219         [BZ #16422]
8220         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8221         New configure test.
8222         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8223         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8224         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8225         <math_private.h> and <stdint.h>.
8226         (__llrint): Avoid conversions to long long int where those might
8227         raise spurious exceptions.
8228         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8229         <math_private.h> and <stdint.h>.
8230         (__llrintf): Avoid conversions to long long int where those might
8231         raise spurious exceptions.
8233 2015-10-12  Andreas Schwab  <schwab@suse.de>
8235         [BZ #18969]
8236         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8237         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8238         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8239         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8240         $(gen-locales).
8241         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8242         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8243         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8244         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8245         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8246         $(gen-locales).
8247         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8248         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8249         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8250         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8251         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8252         ($(objpfx)tst-ftell-active-handler.out)
8253         ($(objpfx)tst-ftell-append.out)
8254         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8255         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8256         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8257         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8258         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8259         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8260         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8261         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8262         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8263         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8264         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8265         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8266         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8267         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8268         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8269         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8270         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8271         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8272         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8273         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8274         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8275         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8276         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8277         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8278         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8279         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8280         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8281         $(gen-locales).
8282         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8283         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8284         $(gen-locales).
8285         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8286         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8287         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8288         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8289         $(gen-locales).
8290         * libio/tst_wprintf2.c (main): Use explicit locale.
8291         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8293 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8295         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8296         __msg_sig_post.
8297         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8299 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8301         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8302         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8304         * sysdeps/arm/libm-test-ulps: Regenerated.
8306         [BZ #15470]
8307         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8309         [BZ #16399]
8310         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8311         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8312         and <fix-fp-int-convert-overflow.h>.
8313         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8314         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8315         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8316         and <fix-fp-int-convert-overflow.h>.
8317         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8318         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8319         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8320         <fix-fp-int-convert-overflow.h>.
8321         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8322         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8323         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8324         <fix-fp-int-convert-overflow.h>.
8325         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8326         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8327         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8328         and <fix-fp-int-convert-overflow.h>.
8329         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8330         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8331         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8332         <limits.h> and <fix-fp-int-convert-overflow.h>.
8333         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8334         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8335         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8336         and <fix-fp-int-convert-overflow.h>.
8337         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8338         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8339         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8340         and <fix-fp-int-convert-overflow.h>.
8341         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8342         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8343         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8345 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8347         [BZ #18589]
8348         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8349         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8350         $(gen-locales).
8352 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8353             Phil Blundell <pb@pbcl.net>
8355         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8356         * nptl/tst-cancel26.c: New file.
8357         * nptl/tst-cancel27.c: Likewise.
8359 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8361         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8362         __ILP32__ isn't defined.
8363         (lrint): Likewise.
8364         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8365         (lrintf): Likewise.
8366         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8367         (lrintl): Likewise.
8368         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8369         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8370         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8372 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8375         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8377         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8378         file.
8379         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8380         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8382 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8384         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8385         configure test.
8386         * sysdeps/i386/configure: Regenerated.
8387         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8388         configure test.
8389         * sysdeps/x86_64/configure: Regenerated.
8390         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8391         Make code unconditional.
8393         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8394         test.
8395         * sysdeps/i386/configure: Regenerated.
8396         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8397         test.
8398         * sysdeps/x86_64/configure: Regenerated.
8399         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8400         Make code unconditional.
8401         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8402         Likewise.
8403         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8404         Likewise.
8405         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8406         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
8407         code unconditional.
8408         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8409         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
8410         code unconditional.
8411         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8412         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
8413         code unconditional.
8414         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
8415         code unconditional.
8416         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8417         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
8418         code unconditional.
8419         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8420         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
8421         code unconditional.
8422         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8423         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
8424         code unconditional.
8425         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8426         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
8427         code unconditional.
8428         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
8429         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
8431         [BZ #19095]
8432         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
8433         mantissa to long int before shifting left.
8435 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8437         [BZ #19094]
8438         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
8439         <limits.h>.
8440         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8441         when result overflows but exception would not result from cast.
8442         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
8443         <limits.h>.
8444         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8445         when result overflows but exception would not result from cast.
8446         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
8447         <limits.h>.
8448         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8449         when result overflows but exception would not result from cast.
8450         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
8451         <limits.h>.
8452         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8453         when result overflows but exception would not result from cast.
8454         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
8455         <limits.h>.
8456         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
8457         when result overflows but exception would not result from cast.
8458         * math/libm-test.inc (lrint_test_data): Add more tests.
8459         (llrint_test_data): Likewise.
8461 2015-10-08  Roland McGrath  <roland@hack.frob.com>
8463         [BZ #18872]
8464         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
8465         Move out from under [$(run-built-tests) = yes] conditional.
8466         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
8467         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
8469 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
8471         [BZ #18589]
8472         * string/Makefile (tests): Add bug-strcoll2.
8473         (LOCALES): Add cs_CZ.UTF-8.
8474         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
8476         [BZ #18589]
8477         * string/bug-strcoll2.c: New file.
8478         * locale/categories.def: Revert commit
8479         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
8480         * locale/langinfo.h: Likewise.
8481         * locale/localeinfo.h: Likewise.
8482         * locale/C-collate.c: Likewise.
8483         * locale/programs/ld-collate.c (collate_output): Likewise.
8484         * string/strcoll_l.c (STRDIFF): Likewise.
8485         (STRCOLL): Likewise.
8486         * wcsmbs/wcscoll_l.c: Likewise.
8488 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
8490         * math/libm-test.inc (lround_test_data): Do not expect the absence
8491         of "inexact" for some tests with non-integer arguments.
8492         (llround_test_data): Likewise.
8494         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
8495         test.
8496         (libc_cv_cc_sse2avx): Likewise.
8497         * sysdeps/i386/configure: Regenerated.
8498         * sysdeps/i386/i686/multiarch/Makefile
8499         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
8500         [$(subdir) = math].
8501         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
8502         code unconditional.
8503         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8504         Likewise.
8505         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
8506         Likewise.
8507         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8508         Likewise.
8509         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
8510         test.
8511         (libc_cv_cc_sse2avx): Likewise.
8512         * sysdeps/x86_64/configure: Regenerated.
8513         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
8514         unconditional.
8515         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
8516         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
8517         unconditional.
8518         (_dl_runtime_profile)
8519         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
8520         conditional code.
8521         * sysdeps/x86_64/fpu/multiarch/Makefile
8522         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
8523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8524         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8525         * sysdeps/x86_64/fpu/multiarch/e_exp.c
8526         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8527         * sysdeps/x86_64/fpu/multiarch/e_log.c
8528         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8529         * sysdeps/x86_64/fpu/multiarch/s_atan.c
8530         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8531         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
8532         Likewise.
8533         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
8534         Likewise.
8535         * sysdeps/x86_64/fpu/multiarch/s_sin.c
8536         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8537         * sysdeps/x86_64/fpu/multiarch/s_tan.c
8538         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
8539         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
8540         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
8541         (HAVE_SSE2AVX_SUPPORT): Likewise.
8543 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
8545         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
8546         instead of #pragma optimize.
8548 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8550         [BZ #17195]
8551         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
8552         as is similarly done in systrim and _int_free already.
8554 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8556         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
8558 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8560         [BZ #19088]
8561         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
8562         <limits.h>.
8563         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8564         overflows but exception would not result from cast.
8565         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
8566         and <limits.h>.
8567         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
8568         overflows but exception would not result from cast.
8569         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
8570         <limits.h>.
8571         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8572         overflows but exception would not result from cast.
8573         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
8574         <limits.h>.
8575         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8576         overflows but exception would not result from cast.
8577         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
8578         <limits.h>.
8579         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
8580         overflows but exception would not result from cast.
8581         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
8582         <limits.h>.
8583         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
8584         overflows but exception would not result from cast.
8585         * math/libm-test.inc (lround_test_data): Add more tests.
8586         (llround_test_data): Likewise.
8588 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
8590         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
8591         (CFLAGS-ialloc.c): Ditto.
8592         (CFLAGS-scheck.c): Ditto.
8594 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
8596         [BZ #19086]
8597         * manual/filesys.texi (Storage Allocation): Fix argument order for
8598         posix_fallocate64.
8600 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8602         [BZ #19085]
8603         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
8604         exponent below 48 inside case for non-overflowing exponent.
8605         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
8607 2015-10-07  Florian Weimer  <fweimer@redhat.com>
8609         * iconvdata/cp737.h (from_idx): Add const.
8610         * iconvdata/cp775.h (from_idx): Likewise.
8612 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
8614         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
8615         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
8616         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
8618         [BZ #19079]
8619         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
8620         file, conditioned on [!_LP64].
8621         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
8622         [!_LP64] (__lround): Do not define as function or alias.
8623         [!_LP64] (lround): Likewise.
8624         [!_LP64] (__lroundl): Likewise.
8625         [!_LP64] (lroundl): Likewise.
8626         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
8627         macro.
8628         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
8629         Likewise.
8631 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8633         * math/libm-test.inc (lrint_test_data): Add more tests.
8634         (llrint_test_data): Likewise.
8635         (lround_test_data): Likewise.
8636         (llround_test_data): Likewise.
8638         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
8639         (llrint_test_data): Add tests used for lrint.
8641         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
8642         test.
8643         * sysdeps/i386/configure: Regenerated.
8644         * sysdeps/i386/i686/multiarch/Makefile
8645         [$(config-cflags-sse4) = yes]: Make code unconditional.
8646         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8647         Likewise.
8648         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
8649         Likewise.
8650         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
8651         test.
8652         * sysdeps/x86_64/configure: Regenerated.
8653         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
8654         Make code unconditional.
8655         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
8656         Likewise.
8657         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
8658         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
8660         * scripts/rpm2dynsym.sh: Remove file.
8662 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8664         * configure.ac (libc_cv_cxx_thread_local): Define.
8665         * configure: Regenerate.
8666         * config.make.in (have-cxx-thread_local): Define.
8667         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
8668         (LDLIBS-tst-thread_local1): Define.
8669         (tests): Add tst-thread_local1.
8670         [have-cxx-thread_local != yes] (tests-unsupported): Add
8671         tst-thread_local1.
8672         * nptl/tst-thread_local1.cc: New file.
8674 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
8676         [BZ #19078]
8677         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
8678         (u_thres): Likewise.
8679         (__expl): Determine whether to call __kernel_standard_l based on
8680         value of result, not argument.
8682         * math/libm-test.inc (scalb_test_data): Add more expectations for
8683         the "inexact" exception.
8685         [BZ #19077]
8686         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
8687         0.0L for argument 1.0L.
8689         [BZ #19076]
8690         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
8691         constant 0.0L when computing infinite result.
8693 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8695         [BZ #10432]
8696         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
8697         malloc_usable_size.
8699 2015-10-06  Florian Weimer  <fweimer@redhat.com>
8701         [BZ #19018]
8702         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
8703         Mangle function pointer before storing it.
8704         (__call_tls_dtors): Demangle function pointer before calling it.
8706 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
8708         [BZ #19012]
8709         * iconv/gconv_db.c (gen_steps): Check for additional errors.
8710         Clean up on failure.
8712 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
8714         [BZ #19071]
8715         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
8716         long int variable to store possibly incremented high part of
8717         mantissa.
8718         * math/libm-test.inc (lround_test_data): Add tests used for
8719         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
8720         for tests requiring 64-bit long.  Do not condition tests on
8721         [TEST_FLOAT] unnecessarily.
8722         (llround_test_data): Add tests used for lround.  Add another
8723         expectation for the "inexact" exception.  Do not condition tests
8724         on [TEST_FLOAT] unnecessarily.
8726         [BZ #887]
8727         [BZ #19049]
8728         [BZ #19050]
8729         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
8730         * sysdeps/ieee754/dbl-64/e_log10.c: Include
8731         <fix-int-fp-convert-zero.h>.
8732         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8733         * sysdeps/ieee754/dbl-64/e_log2.c: Include
8734         <fix-int-fp-convert-zero.h>.
8735         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8736         * sysdeps/ieee754/dbl-64/s_erf.c: Include
8737         <fix-int-fp-convert-zero.h>.
8738         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8739         * sysdeps/ieee754/dbl-64/s_logb.c: Include
8740         <fix-int-fp-convert-zero.h>.
8741         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8742         * sysdeps/ieee754/flt-32/e_log10f.c: Include
8743         <fix-int-fp-convert-zero.h>.
8744         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8745         * sysdeps/ieee754/flt-32/e_log2f.c: Include
8746         <fix-int-fp-convert-zero.h>.
8747         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8748         * sysdeps/ieee754/flt-32/s_erff.c: Include
8749         <fix-int-fp-convert-zero.h>.
8750         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8751         * sysdeps/ieee754/flt-32/s_logbf.c: Include
8752         <fix-int-fp-convert-zero.h>.
8753         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8754         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
8755         <fix-int-fp-convert-zero.h>.
8756         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8757         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
8758         <fix-int-fp-convert-zero.h>.
8759         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
8760         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
8761         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
8762         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
8763         file.
8764         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
8766 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
8770 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
8772         [BZ #19059]
8773         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
8774         overflowing computation.
8775         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8776         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
8777         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
8778         Likewise.
8779         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
8780         Likewise.
8781         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
8782         Likewise.
8783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8784         Likewise.
8785         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
8786         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
8787         Likewise.
8788         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
8789         Likewise.
8790         * math/libm-test.inc (nexttoward_test_data): Add more tests.
8792         * nss/rewrite_field.c (__nss_rewrite_field): Use
8793         internal_function.
8794         * nss/valid_field.c (__nss_valid_field): Likewise.
8795         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
8797 2015-10-02  Florian Weimer  <fweimer@redhat.com>
8799         [BZ #18724]
8800         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
8801         (__nss_invalid_field_characters, __nss_valid_field)
8802         (__nss_valid_list_field, __nss_rewrite_field): Declare.
8803         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
8804         tst-field.c: New file.
8805         * nss/Makefile (routines): Add valid_field, rewrite_field.
8806         (tests-static): Define unconditionally.
8807         (tests): Include tests-static.
8808         [build-static-nss] (tests-static): Use append.
8809         [build-static-nss] (tests): Remove modification.
8810         * nss/getent.c (print_group): Call putgrent.  Report error.
8811         (print_gshadow): Call putsgent.  Report error.
8812         (print_passwd): Call putpwent.  Report error.
8813         (print_shadow): Call putspent.  Report error.
8814         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
8815         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
8816         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
8817         name, password, directory, shell fields for valid syntax.  Rewrite
8818         GECOS field to match syntax.
8819         * pwd/Makefile (tests): Add tst-putpwent.
8820         * pwd/tst-putpwent.c: New file.
8821         * grp/putgrent.c (putgrent): Convert to ISO function definition.
8822         Check grName, grpasswd, gr_mem fields for valid syntax.
8823         Change loop variable i to size_t.
8824         * grp/Makefile (tests): Add tst-putgrent.
8825         * grp/tst-putgrent.c: New file.
8826         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
8827         valid syntax.
8828         * shadow/Makefile (tests): Add tst-putspent.
8829         * shadow/tst-putspent.c: New file.
8830         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
8831         sg_mem fields for valid syntax.
8832         * gshadow/Makefile (tests): Add tst-putsgent.
8833         * gshadow/tst-putsgent.c: New file.
8835 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8837         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
8838         assembly instructions.
8840 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8842         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
8843         prefix from operands.
8845 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
8847         [BZ #16347]
8848         [BZ #19046]
8849         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
8850         <libc-internal.h>.
8851         (MAXLGM): Do not use diagnostic control macros.
8852         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
8853         threshold for ldbl-128ibm.
8854         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
8855         instead of multiplying by log then subtracting.
8856         * math/auto-libm-test-in: Add more tests of lgamma.
8857         * math/auto-libm-test-out: Regenerated.
8859         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
8860         (TYPE_HEX_DIG): Likewise.
8861         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
8862         precisions when printing floating-point numbers.
8863         (check_float_internal): Likewise.
8865 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8867         [BZ #16620]
8868         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
8869         of log (10) rounded downward to 48 bits.
8870         (log10_low): Use corresponding low part of log (10).
8872         [BZ #19032]
8873         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
8874         compute result as (x - x) / (x - x) not as 0 / 0.
8875         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8876         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
8878         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8879         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
8880         and expm1.
8881         * math/auto-libm-test-out: Regenerated.
8882         * math/libm-test.inc (acos_test_data): Add more tests.
8883         (asin_test_data): Likewise.
8884         (asinh_test_data): Likewise.
8885         (atan_test_data): Likewise.
8886         (atanh_test_data): Likewise.
8887         (atan2_test_data): Likewise.
8888         (cbrt_test_data): Likewise.
8889         (ceil_test_data): Likewise.
8890         (copysign_test_data): Likewise.
8891         (cos_test_data): Likewise.
8892         (cosh_test_data): Likewise.
8893         (erf_test_data): Likewise.
8894         (erfc_test_data): Likewise.
8895         (exp_test_data): Likewise.
8896         (exp10_test_data): Likewise.
8897         (exp2_test_data): Likewise.
8898         (expm1_test_data): Likewise.
8899         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8901 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
8903         [BZ #19006]
8904         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
8905         to ...
8906         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
8907         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
8908         to ...
8909         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
8910         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
8911         to ...
8912         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
8913         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
8914         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
8915         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
8916         to ...
8917         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
8918         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8919         Moved to ...
8920         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
8921         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8922         Moved to ...
8923         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
8924         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
8925         to ...
8926         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
8927         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8928         Moved to ...
8929         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
8930         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
8931         to ...
8932         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
8933         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
8934         Removed.
8935         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
8936         Likewise.
8937         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
8938         Likewise.
8939         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
8940         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8943         Likewise.
8944         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8947         Likewise.
8948         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8949         Likewise.
8950         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
8951         Likewise.
8952         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
8953         Likewise.
8954         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
8955         Likewise.
8956         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
8957         Likewise.
8958         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
8959         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
8960         Likewise.
8961         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8962         Likewise.
8963         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8964         Likewise.
8965         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
8968         Likewise.
8969         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8970         Replace ../i486/pthread_cond_timedwait.S with
8971         ../pthread_cond_timedwait.S.
8973 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
8975         * math/libm-test.inc (acos_test_data): Refine expectations for
8976         errno and "inexact" exceptions.
8977         (acosh_test_data): Likewise.
8978         (asin_test_data): Likewise.
8979         (asinh_test_data): Likewise.
8980         (atan_test_data): Likewise.
8981         (atanh_test_data): Likewise.
8982         (atan2_test_data): Likewise.
8983         (cbrt_test_data): Likewise.
8984         (ceil_test_data): Likewise.
8985         (copysign_test_data): Likewise.
8986         (cosh_test_data): Likewise.
8987         (erf_test_data): Likewise.
8988         (erfc_test_data): Likewise.
8989         (exp_test_data): Likewise.
8990         (exp10_test_data): Likewise.
8991         (exp2_test_data): Likewise.
8992         (expm1_test_data): Likewise.
8993         (fabs_test_data): Likewise.
8994         (floor_test_data): Likewise.
8995         (fma_test_data): Likewise.
8996         (fmax_test_data): Likewise.
8997         (fmin_test_data): Likewise.
8998         (fmod_test_data): Likewise.
8999         (fpclassify_test_data): Likewise.
9000         (frexp_test_data): Likewise.
9001         (hypot_test_data): Likewise.
9002         (ilogb_test_data): Likewise.
9003         (isgreater_test_data): Likewise.
9004         (isgreaterequal_test_data): Likewise.
9005         (isinf_test_data): Likewise.
9006         (isless_test_data): Likewise.
9007         (islessequal_test_data): Likewise.
9008         (islessgreater_test_data): Likewise.
9009         (isnan_test_data): Likewise.
9010         (isnormal_test_data): Likewise.
9011         (issignaling_test_data): Likewise.
9012         (isunordered_test_data): Likewise.
9013         (j0_test_data): Likewise.
9014         (j1_test_data): Likewise.
9015         (jn_test_data): Likewise.
9016         (lgamma_test_data): Likewise.
9017         (lrint_test_data): Likewise.
9018         (llrint_test_data): Likewise.
9019         (log_test_data): Likewise.
9020         (log10_test_data): Likewise.
9021         (log1p_test_data): Likewise.
9022         (log2_test_data): Likewise.
9023         (logb_test_data): Likewise.
9024         (lround_test_data): Likewise.
9025         (llround_test_data): Likewise.
9026         (modf_test_data): Likewise.
9027         (nearbyint_test_data): Likewise.
9028         (nextafter_test_data): Likewise.
9029         (nexttoward_test_data): Likewise.
9030         (pow_test_data): Likewise.
9031         (remainder_test_data): Likewise.
9032         (remquo_test_data): Likewise.
9033         (rint_test_data): Likewise.
9034         (round_test_data): Likewise.
9035         (signbit_test_data): Likewise.
9036         (sinh_test_data): Likewise.
9037         (sqrt_test_data): Likewise.
9038         (tanh_test_data): Likewise.
9039         (tgamma_test_data): Likewise.
9040         (trunc_test_data): Likewise.
9041         (y0_test_data): Likewise.
9042         (y1_test_data): Likewise.
9043         (yn_test_data): Likewise.
9044         (significand_test_data): Likewise.
9046 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9048         * manual/filesys.texi (Storage Allocation): Document that
9049         posix_fallocate emulation fails when fd is open with O_WRONLY.
9051 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9053         [BZ #19016]
9054         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9055         allow more cases with X^2 + Y^2 >= 0.5.
9056         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9057         normal element in sum instead of special-casing based on values of
9058         arguments.
9059         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9060         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9061         -1 as normal element in sum instead of special-casing based on
9062         values of arguments.
9063         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9064         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9065         (__x2y2m1): Update comment.
9066         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9067         as normal element in sum instead of special-casing based on values
9068         of arguments.
9069         * math/s_clog.c (__clog): Handle more cases using log1p without
9070         hypot.
9071         * math/s_clog10.c (__clog10): Likewise.
9072         * math/s_clog10f.c (__clog10f): Likewise.
9073         * math/s_clog10l.c (__clog10l): Likewise.
9074         * math/s_clogf.c (__clogf): Likewise.
9075         * math/s_clogl.c (__clogl): Likewise.
9076         * math/auto-libm-test-in: Add more tests of clog and clog10.
9077         * math/auto-libm-test-out: Regenerated.
9078         * sysdeps/i386/fpu/libm-test-ulps: Update.
9079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9081 2015-09-28  Martin Sebor  <msebor@redhat.com>
9083         [BZ #18969]
9084         * string/Makefile (LOCALES): Define.
9085         (gen-locales.mk): Include.
9086         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9087         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9088         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9089         on setlocale failure.
9091 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9093         [BZ #18985]
9094         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9095         (__strftime_internal): Likewise.
9096         * time/tst-strftime.c (do_bz18985): New test.
9097         (do_test): Call it.
9099 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9101         [BZ #18956]
9102         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9103         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9104         extracting high part.
9105         * math/auto-libm-test-in: Add another test of pow.
9106         * math/auto-libm-test-out: Regenerated.
9107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9109 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9111         [BZ #18825]
9112         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9113         New macro.
9114         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9115         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9116         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9117         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9118         DBL_NARROW_EVAL, reloading the PIC register as needed.
9119         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9120         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9121         FLT_NARROW_EVAL.  Use separate return path for case when first
9122         argument is NaN.
9123         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9124         DEFINE_LDBL_MIN.
9125         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9126         PIC register.
9127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9128         math_check_force_underflow_nonneg.
9129         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9130         underflow for subnormal result.
9131         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9132         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9133         math_check_force_underflow_nonneg.
9134         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9135         math_check_force_underflow.
9136         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9137         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9138         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9139         DEFINE_LDBL_MIN.
9140         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9141         * math/auto-libm-test-in: Add more tests of pow.
9142         * math/auto-libm-test-out: Regenerated.
9144 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9146         * nss/bug17079.c (init_test_items): Add diagnostic for
9147         inconsistent entries.
9148         (test_buffer_size): Skip inconsistent entries.
9150 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9152         [BZ #13304]
9153         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9154         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9155         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9157         [BZ #13304]
9158         * sysdeps/microblaze/s_fma.c: New file.
9159         * sysdeps/microblaze/s_fmaf.c: Likewise.
9160         * sysdeps/microblaze/sfp-machine.h: Likewise.
9162 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9164         [BZ #17250]
9165         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9166         member.
9168 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9170         [BZ #18803]
9171         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9172         (MO): New macro.
9173         (__ieee754_hypot) [PIC]: Load PIC register.
9174         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9175         DBL_NARROW_EVAL.
9176         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9177         math_check_force_underflow_nonneg in case where result might be
9178         tiny.
9179         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9180         Likewise.
9181         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9182         Likewise.
9183         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9184         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9185         * math/auto-libm-test-in: Add more tests of hypot.
9186         * math/auto-libm-test-out: Regenerated.
9188 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9190         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9192 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9194         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9195         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9196         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9197         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9198         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9199         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9200         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9202         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9203         LOAD_PIC_REG.
9205         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9206         (FLT_CHECK_FORCE_UFLOW): Likewise.
9207         (DBL_CHECK_FORCE_UFLOW): Likewise.
9208         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9209         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9210         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9211         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9212         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9213         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9214         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9215         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9216         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9217         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9218         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9219         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9220         (flt_min): Replace with use of DEFINE_FLT_MIN.
9221         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9222         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9223         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9224         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9225         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9226         (flt_min): Replace with use of DEFINE_FLT_MIN.
9227         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9228         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9229         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9230         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9231         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9232         (flt_min): Replace with use of DEFINE_FLT_MIN.
9233         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9234         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-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/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9238         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9239         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9240         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9241         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9242         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9243         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9244         (flt_min): Replace with use of DEFINE_FLT_MIN.
9245         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9246         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9247         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9248         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9249         main computation.
9250         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9251         (flt_min): Replace with use of DEFINE_FLT_MIN.
9252         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9253         main computation.
9254         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9255         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9256         (MO): New macro.
9257         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9258         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9259         (flt_min): Replace with use of DEFINE_FLT_MIN.
9260         (MO): New macro.
9261         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9262         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9263         (__log1pl): Use MO.
9265         [BZ #19003]
9266         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9267         $(config-cflags-nofma).
9269 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9271         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9273 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9275         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9276         (TWO127): Likewise.
9278         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9279         (min_of_type): Likewise.
9280         (math_check_force_underflow): Likewise.
9281         (math_check_force_underflow_nonneg): Likewise.
9282         (math_check_force_underflow_complex): Likewise.
9283         * math/e_exp2l.c (__ieee754_exp2l): Use
9284         math_check_force_underflow_nonneg.
9285         * math/k_casinh.c (__kernel_casinh): Likewise.
9286         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9287         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9288         * math/s_catan.c (__catan): Use
9289         math_check_force_underflow_complex.
9290         * math/s_catanf.c (__catanf): Likewise.
9291         * math/s_catanh.c (__catanh): Likewise.
9292         * math/s_catanhf.c (__catanhf): Likewise.
9293         * math/s_catanhl.c (__catanhl): Likewise.
9294         * math/s_catanl.c (__catanl): Likewise.
9295         * math/s_ccosh.c (__ccosh): Likewise.
9296         * math/s_ccoshf.c (__ccoshf): Likewise.
9297         * math/s_ccoshl.c (__ccoshl): Likewise.
9298         * math/s_cexp.c (__cexp): Likewise.
9299         * math/s_cexpf.c (__cexpf): Likewise.
9300         * math/s_cexpl.c (__cexpl): Likewise.
9301         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9302         * math/s_clog10.c (__clog10): Likewise.
9303         * math/s_clog10f.c (__clog10f): Likewise.
9304         * math/s_clog10l.c (__clog10l): Likewise.
9305         * math/s_clogf.c (__clogf): Likewise.
9306         * math/s_clogl.c (__clogl): Likewise.
9307         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9308         * math/s_csinf.c (__csinf): Likewise.
9309         * math/s_csinh.c (__csinh): Likewise.
9310         * math/s_csinhf.c (__csinhf): Likewise.
9311         * math/s_csinhl.c (__csinhl): Likewise.
9312         * math/s_csinl.c (__csinl): Likewise.
9313         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9314         * math/s_csqrtf.c (__csqrtf): Likewise.
9315         * math/s_csqrtl.c (__csqrtl): Likewise.
9316         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9317         * math/s_ctanf.c (__ctanf): Likewise.
9318         * math/s_ctanh.c (__ctanh): Likewise.
9319         * math/s_ctanhf.c (__ctanhf): Likewise.
9320         * math/s_ctanhl.c (__ctanhl): Likewise.
9321         * math/s_ctanl.c (__ctanl): Likewise.
9322         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9323         instead of volatile.
9324         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9325         math_check_force_underflow.
9326         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9327         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9328         volatile when forcing underflow.
9329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9330         math_check_force_underflow_nonneg.
9331         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9332         Likewise.
9333         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9334         math_check_force_underflow.
9335         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9336         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9337         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9338         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9339         math_check_force_underflow_nonneg.
9340         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9341         math_check_force_underflow.
9342         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9344         instead of volatile.
9345         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9346         math_check_force_underflow.
9347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9348         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9349         math_check_force_underflow_nonneg.
9350         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9351         math_check_force_underflow.
9352         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9353         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9354         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9355         math_check_force_underflow_nonneg.
9356         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9357         Likewise.
9358         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9359         math_check_force_underflow.
9360         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9361         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9362         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9363         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9364         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9365         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9366         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9367         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9368         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9369         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9370         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9371         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9372         Likewise.
9373         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9374         math_check_force_underflow_nonneg.
9375         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9376         Likewise.
9377         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9378         math_check_force_underflow.
9379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9380         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9381         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9382         Likewise.
9383         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9384         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9385         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9386         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9387         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9388         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9389         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9390         instead of volatile.
9391         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9392         math_check_force_underflow.
9393         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9394         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9395         math_check_force_underflow.
9396         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9397         Likewise.
9398         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9399         Use math_check_force_underflow_nonneg.
9400         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9401         math_check_force_underflow.
9402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9403         Likewise.
9404         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9405         Likewise.
9406         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9407         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9408         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9409         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9410         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
9411         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9412         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
9413         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
9414         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
9415         math_check_force_underflow_nonneg.
9416         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
9417         math_check_force_underflow.
9418         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9419         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
9420         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
9421         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
9422         math_check_force_underflow_nonneg.
9423         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
9424         math_check_force_underflow.
9425         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
9426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
9427         instead of volatile.
9428         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
9429         math_check_force_underflow.
9431         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
9432         * stdlib/strtod_l.c: Include <math_private.h>.
9433         (overflow_value): Use math_narrow_eval.
9434         (underflow_value): Likewise.
9435         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9436         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9437         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
9438         (__ieee754_gamma_r): Likewise.
9439         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
9440         Likewise.
9441         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9442         Likewise.
9443         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9444         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
9445         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
9446         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
9447         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9448         (__ieee754_gammaf_r): Likewise.
9449         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
9450         Likewise.
9451         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9452         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
9453         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
9454         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
9455         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
9456         volatile.
9457         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
9458         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
9459         math_narrow_eval.
9460         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9461         Likewise.
9462         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9463         Likewise.
9464         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
9465         Likewise.
9466         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
9467         volatile.
9468         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
9469         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
9470         math_narrow_eval.
9471         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9472         Likewise.
9473         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9474         Likewise.
9476 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
9478         * nptl/Versions: Remove ignored symbols.
9480 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9482         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
9483         * nss/Makefile (tests): Update.
9485 2015-09-22  Florian Weimer  <fweimer@redhat.com>
9487         * nss/bug18287.c: New file.
9488         * nss/Makefile (tests): Add bug18287.
9490 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9492         * mach/Versions (__mach_host_self_): Add symbol.
9494 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9496         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
9497         vm_page_size.
9499 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9501         Really fix sysdeps/i386/fpu/s_scalbn.S build
9503         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
9504         (libc: GLIBC_2_22): Remove unused version set.
9506 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9508         * config.make.in (enable-timezone-tools): New variable.
9509         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
9510         (enable_timezone_tools): Export to generated files.
9511         * configure: Regenerate.
9512         * INSTALL: Regenerate.
9513         * manual/install.texi (--disable-timezone-tools): Document new flag.
9514         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
9515         ifeq ($(enable-timezone-tools),yes) check.
9517 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9519         * timezone/Makefile: Revert previous change.
9521         [BZ #18980]
9522         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
9523         (DEFINE_DBL_MIN): Likewise.
9524         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9525         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
9526         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9527         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
9528         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
9529         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9530         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9531         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
9532         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
9533         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9534         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9535         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
9536         (flt_min): Replace with use of DEFINE_FLT_MIN.
9537         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9538         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
9539         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9540         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
9541         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
9542         (flt_min): Replace with use of DEFINE_FLT_MIN.
9543         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9544         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
9545         (flt_min): Replace with use of DEFINE_FLT_MIN.
9546         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
9547         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
9548         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
9549         (__ieee754_hypot): Use DBL_NARROW_EVAL.
9550         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
9551         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
9552         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
9553         (__ieee754_pow): Use DBL_NARROW_EVAL.
9554         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
9555         (__ieee754_powf): Use FLT_NARROW_EVAL.
9556         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
9557         (__ieee754_expf_sse2): Convert double-precision result to single
9558         precision.
9559         * sysdeps/i386/fpu/libm-test-ulps: Update.
9561 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9563         * timezone/Makefile: Ignore unused variable errors due to private.h
9564         (time_t_min) and (time_t_max).
9565         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
9566         Likewise.
9568 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9570         [BZ #18981]
9571         * sysdeps/i386/fpu/i386-math-asm.h: New file.
9572         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
9573         (__ieee754_scalb): Use DBL_NARROW_EVAL.
9574         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
9575         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9576         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
9577         (__scalbn): Use DBL_NARROW_EVAL.
9578         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
9579         (__scalbnf): Use FLT_NARROW_EVAL.
9581 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9583         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
9584         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
9585         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
9586         * stdio-common/printf_fp.c (___printf_fp):
9587         Use signbit to get the sign. Use isinf macro to allow inlining.
9588         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
9589         * stdio-common/printf_size.c (__printf_size): Likewise.
9591 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
9593         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
9595 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
9597         [BZ #18980]
9598         * sysdeps/generic/math_private.h: Include <float.h>.
9599         (math_narrow_eval): New macro.
9600         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
9601         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
9602         math_narrow_eval on overflowing return value.
9603         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
9604         Likewise.
9605         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9606         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
9607         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
9608         Likewise.
9609         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9611 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9613         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
9614         * math/Makefile: Remove isinf_ns.c.
9615         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
9616         * math/multc3.c (__multc3): Likewise.
9617         * math/s_casin.c (__casin): Likewise.
9618         * math/s_casinf.c (__casinf): Likewise.
9619         * math/s_casinl.c (__casinl): Likewise.
9620         * math/s_cproj.c (__cproj): Likewise.
9621         * math/s_cprojf.c (__cprojf): Likewise.
9622         * math/s_cprojl.c (__cprofl): Likewise.
9623         * math/s_ctan.c (__ctan): Likewise.
9624         * math/s_ctanf.c (__ctanf): Likewise.
9625         * math/s_ctanh.c (__ctanh): Likewise.
9626         * math/s_ctanhf.c (__ctanhf): Likewise.
9627         * math/s_ctanhl.c (__ctanhl): Likewise.
9628         * math/s_ctanl.c (__ctanl): Likewise.
9629         * math/w_fmod.c (__fmod): Likewise.
9630         * math/w_fmodf.c (__fmodf): Likewise.
9631         * math/w_fmodl.c (_fmodl): Likewise.
9632         * math/w_remainder.c (__remainder): Likewise.
9633         * math/w_remainderf.c (__remainderf): Likewise.
9634         * math/w_remainderl.c (__remainderl): Likewise.
9635         * math/w_scalb.c (__scalb): Likewise.
9636         * math/w_scalbf.c (__scalbf): Likewise.
9637         * math/w_scalbl.c (__scalbl): Likewise.
9638         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
9639         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
9640         with isinf.
9641         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
9642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
9643         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
9644         __isinf_nsf with isinf.
9645         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
9646         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
9647         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
9648         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
9649         with isinf.
9650         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
9651         __isinf_nsl with isinf.
9652         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
9653         with isinf.
9654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
9655         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
9656         __isinf_nsl with isinf.
9657         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
9658         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
9659         with isinf.
9661 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9663         * resolv/base64.c (rcsid): Remove unused static.
9664         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
9665         static.  (tqpi1): Likewise.
9666         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
9667         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
9668         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
9669         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
9670         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
9671         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
9672         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
9673         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
9674         Likewise.
9676 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
9678         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
9679         <nptl/pthreadP.h>.
9680         (_longjmp_unwind): Use __libc_ptf_call.
9681         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
9683 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
9685         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
9686         * sysdeps/arm/__longjmp.S: Likewise.
9688 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9690         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
9691         Use __builtin_signbit.
9692         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
9693         Use __builtin_signbitf.
9694         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
9695         Use __builtin_signbitl.
9696         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9697         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
9699 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9701         [BZ #15367]
9702         [BZ #17441]
9704         * math/Makefile: Build test-snan.c with -fsignaling-nans.
9705         * math/math.h (fpclassify): Use __builtin_fpclassify when
9706         available.  (signbit): Use __builtin_signbit(f/l).
9707         (isfinite): Use__builtin_isfinite.  (isnormal): Use
9708         __builtin_isnormal.  (isnan): Use __builtin_isnan.
9709         (isinf): Use __builtin_isinf_sign.
9711 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
9713         * benchtests/Makefile: Add bench-math-inlines, link with libm.
9714         * benchtests/bench-math-inlines.c: New benchmark.
9715         * benchtests/bench-util.h: New file.
9716         * benchtests/bench-util.c: New file.
9717         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
9719 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
9721         * elf/tst-dlmopen1.c: Define TEST_SO.
9722         (do_test): Use TEST_SO.
9724         * elf/dl-load.c: Include libc-internal.h.
9725         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
9727 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9729         [BZ #17887]
9730         * time/strptime_l.c (__strptime_internal): Make %z accept
9731         [+-]HH:MM time zones.
9733 2015-09-18  Vincent Bernat  <vincent@bernat.im>
9735         [BZ #17886]
9736         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
9737         valid time zone.
9739 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
9741         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
9742         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
9743         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9744         (__ASSUME_FDATASYNC): Delete.
9746 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9748         * conform/linknamespace.pl: Require weak undefined symbols to be
9749         in the standard namespace.
9750         (%strong_syms): Rename to %seen_syms.
9751         (%strong_seen): Rename to %seen_where.
9753 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
9755         [BZ #18970]
9756         * misc/error.c (error): Replace pthread_setcancelstate with
9757         __pthread_setcancelstate.
9758         (error_at_line): Likewise.
9759         * posix/wordexp.c (parse_comm): Likewise.
9760         * stdlib/fmtmsg.c (fmtmsg): Likewise.
9761         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
9762         (__pthread_setcancelstate): This.
9763         (pthread_setcancelstate): Add an alias.
9764         * nptl/nptl-init.c (pthread_functions): Replace
9765         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
9766         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
9767         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
9768         hidden_proto.
9769         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
9770         it with hidden_def.
9771         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
9772         (pthread_setcancelstate): Renamed to ...
9773         (__pthread_setcancelstate): This.
9774         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
9775         __libc_ptf_call with __pthread_setcancelstate.
9777 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9778             Andreas Schwab  <schwab@suse.de>
9780         [BZ #17118]
9781         * math/s_ctan.c (__ctan): Determine sign of zero real part of
9782         result when imaginary part of argument is infinite using sine and
9783         cosine.
9784         * math/s_ctanf.c (__ctanf): Likewise.
9785         * math/s_ctanl.c (__ctanl): Likewise.
9786         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
9787         of result when real part of argument is infinite using sine and
9788         cosine.
9789         * math/s_ctanhf.c (__ctanhf): Likewise.
9790         * math/s_ctanhl.c (__ctanhl): Likewise.
9791         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
9792         (ctanh_test_data): Add more tests of ctanh.
9794 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
9796         [BZ #15384]
9797         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
9798         bit-mask as in subtraction.
9799         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
9800         Likewise.
9801         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
9802         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
9803         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
9805         [BZ #18951]
9806         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
9807         underflow exception for small results.
9808         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9809         Likewise.
9810         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9811         Likewise.
9812         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9813         Likewise.
9814         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9815         Likewise.
9816         * math/auto-libm-test-in: Add more tests of tgamma.
9817         * math/auto-libm-test-out: Regenerated.
9819 2015-09-17  Andreas Schwab  <schwab@suse.de>
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
9823 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9825         [BZ #18977]
9826         * math/bits/mathcalls.h
9827         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
9828         not declare.
9829         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
9830         Likewise.
9831         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
9832         Likewise.
9833         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
9834         Likewise.
9835         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
9836         Likewise.
9837         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
9838         Likewise.
9839         * conform/data/math.h-data
9840         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
9841         function.
9842         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
9843         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
9844         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
9845         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
9846         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
9847         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
9848         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
9849         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
9850         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
9851         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
9852         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
9854         [BZ #6803]
9855         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
9856         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
9857         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
9858         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
9859         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
9860         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
9861         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
9862         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
9863         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
9865         Likewise.
9866         [NO_LONG_DOUBLE] (scalbnl): Likewise.
9867         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
9868         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
9869         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
9870         long_double_symbol calls.
9871         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
9872         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
9873         strong alias of __ldexpl.
9874         (scalbnl): Define using long_double_symbol.
9875         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
9876         Remove alias.
9877         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
9878         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
9879         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
9880         (scalbln_test_data): Add more errno expectations.
9882 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
9884         Cache the host port like we cache the task port.  This way we do not
9885         need to call the kernel just to get the port.  Furthermore, we no
9886         longer increase the reference count on every invocation of
9887         `mach_host_self'.
9889         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
9890         Protect declarations against the macro expansion.
9891         * mach/mach_init.c (__mach_host_self_): New variable.
9892         (mach_init): Initialize `__mach_host_self_'.
9893         * mach/mach_init.h (__mach_host_self_): New declaration.
9894         (__mach_host_self, mach_host_self): New macros.
9895         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
9896         Release reference.
9898 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
9900         [BZ #4404]
9901         * po/de.po: Update from Translation Project.
9903         [BZ #16415]
9904         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
9905         (__expm1l): Remove code to handle positive infinity and overflow.
9906         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
9907         variable.
9908         (__expm1l): Remove code to handle positive infinity and overflow.
9910 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
9911             Paul Pluzhnikov  <ppluzhnikov@google.com>
9913         [BZ #18872]
9914         * stdio-common/Makefile (tst-printf-bz18872): New test.
9915         (tst-printf-bz18872-mem.out): Likewise.
9916         * stdio-common/tst-printf-bz18872.sh: Generate new test.
9917         * stdio-common/vfprintf.c: Fix memory leaks.
9919 2015-09-16  Andreas Schwab  <schwab@suse.de>
9921         [BZ #17244]
9922         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
9923         Remove extra va_start/va_end calls.
9925         [BZ #17243]
9926         * posix/execl.c (execl): Add missing va_end.
9927         * posix/execle.c (execle): Likewise.
9928         * posix/execlp.c (execlp): Likewise.
9930 2015-09-15  Roland McGrath  <roland@hack.frob.com>
9932         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
9933         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
9935 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
9937         [BZ #18967]
9938         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
9939         undefine around includes of <bits/mathcalls.h>.
9940         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
9941         not declare function.
9942         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
9943         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
9944         (scalb): Likewise.
9945         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
9946         not define macro.
9947         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
9948         variable.
9949         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
9950         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
9951         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
9953         [BZ #18857]
9954         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
9955         return non-finite argument without doing ordered comparisons on
9956         it.
9958         [BZ #16296]
9959         * math/fenv.h (fegetround): Use __attribute_pure__.
9960         * include/fenv.h (__fegetround): Likewise.
9962         [BZ #18595]
9963         * math/s_ctan.c (__ctan): Force underflow exception for results
9964         whose real or imaginary part has small absolute value.
9965         * math/s_ctanf.c (__ctanf): Likewise.
9966         * math/s_ctanh.c (__ctanh): Likewise.
9967         * math/s_ctanhf.c (__ctanhf): Likewise.
9968         * math/s_ctanhl.c (__ctanhl): Likewise.
9969         * math/s_ctanl.c (__ctanl): Likewise.
9970         * math/auto-libm-test-in: Do not allow missing underflow for ctan
9971         and ctanh.  Add more tests of ctan and ctanh.
9973         [BZ #15918]
9974         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
9975         handling of cases where one argument is an infinity.
9977         [BZ #18875]
9978         [BZ #18966]
9979         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
9980         (MO): New macro.
9981         (__ieee754_exp10): For small results, force underflow exception
9982         and remove excess range and precision from return value.
9983         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
9984         (MO): New macro.
9985         (__ieee754_exp10f): For small results, force underflow exception
9986         and remove excess range and precision from return value.
9987         * math/auto-libm-test-in: Add more tests of exp10.
9988         * math/auto-libm-test-out: Regenerated.
9990 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
9992         [BZ #18875]
9993         [BZ #18961]
9994         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
9995         (MO): New macro.
9996         (__ieee754_exp): For small results, force underflow exception and
9997         remove excess range and precision from return value.
9998         (__exp_finite): Likewise.
9999         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10000         (MO): New macro.
10001         (__ieee754_expf): For small results, force underflow exception and
10002         remove excess range and precision from return value.
10003         (__expf_finite): Likewise.
10004         * math/auto-libm-test-in: Add more tests of exp.
10005         * math/auto-libm-test-out: Regenerated.
10007         [BZ #16521]
10008         [BZ #18875]
10009         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10010         small results.
10011         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10012         (MO): New macro.
10013         (__ieee754_exp2): For small results, force underflow exception and
10014         remove excess range and precision from return value.
10015         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10016         (MO): New macro.
10017         (__ieee754_exp2f): For small results, force underflow exception
10018         and remove excess range and precision from return value.
10019         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10020         (MO): New macro.
10021         (__ieee754_exp2l): Force underflow exception for small results.
10022         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10023         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10024         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10025         (MO): New macro.
10026         (__ieee754_exp2l): Force underflow exception for small results.
10027         * math/auto-libm-test-in: Add more tests or exp2.
10028         * math/auto-libm-test-out: Regenerated.
10030 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10032         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10034         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10035         /dev/null.
10037 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10039         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10040         io fs process)): Drop spurious backslash.
10042 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10044         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10045         Use sysinfo system call instead of parsing /proc/meminfo.
10046         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10047         Likewise.
10049 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10051         [BZ #16985]
10052         * programs/localedef.c (main): Display argv[remaining] when
10053         output_path is NULL.
10055 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10057         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10058         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10059         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10060         tanh.
10061         * math/auto-libm-test-out: Regenerated.
10062         * sysdeps/i386/fpu/libm-test-ulps: Update.
10063         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10064         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10067 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10069         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10070         Use 'override' keyword to freeze the value here, preventing
10071         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10073 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10075         [BZ #14912]
10076         * sysdeps/aarch64/bits/atomic.h: Move to ...
10077         * sysdeps/aarch64/atomic-machine.h: ...here.
10078         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10079         _AARCH64_ATOMIC_MACHINE_H.
10080         * sysdeps/alpha/bits/atomic.h: Move to ...
10081         * sysdeps/alpha/atomic-machine.h: ...here.
10082         * sysdeps/arm/bits/atomic.h: Move to ...
10083         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10084         * bits/atomic.h: Move to ...
10085         * sysdeps/generic/atomic-machine.h: ...here.
10086         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10087         * sysdeps/i386/bits/atomic.h: Move to ...
10088         * sysdeps/i386/atomic-machine.h: ...here.
10089         * sysdeps/ia64/bits/atomic.h: Move to ...
10090         * sysdeps/ia64/atomic-machine.h: ...here.
10091         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10092         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10093         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10094         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10095         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10096         * sysdeps/microblaze/bits/atomic.h: Move to ...
10097         * sysdeps/microblaze/atomic-machine.h: ...here.
10098         * sysdeps/mips/bits/atomic.h: Move to ...
10099         * sysdeps/mips/atomic-machine.h: ...here.
10100         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10101         * sysdeps/powerpc/bits/atomic.h: Move to ...
10102         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10103         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10104         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10105         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10106         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10107         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10108         <atomic-machine.h> instead of <bits/atomic.h>.
10109         * sysdeps/s390/bits/atomic.h: Move to ...
10110         * sysdeps/s390/atomic-machine.h: ...here.
10111         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10112         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10113         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10114         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10115         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10116         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10117         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10118         * sysdeps/tile/bits/atomic.h: Move to ...
10119         * sysdeps/tile/atomic-machine.h: ...here.
10120         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10121         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10122         <sysdeps/tile/atomic-machine.h> instead of
10123         <sysdeps/tile/bits/atomic.h>.
10124         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10125         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10126         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10127         <sysdeps/tile/atomic-machine.h> instead of
10128         <sysdeps/tile/bits/atomic.h>.
10129         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10130         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10131         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10132         <sysdeps/arm/atomic-machine.h> instead of
10133         <sysdeps/arm/bits/atomic.h>.
10134         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10135         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10136         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10137         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10138         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10139         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10140         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10141         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10142         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10143         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10144         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10145         * sysdeps/x86_64/bits/atomic.h: Move to ...
10146         * sysdeps/x86_64/atomic-machine.h: ...here.
10147         * include/atomic.h: Include <atomic-machine.h> instead of
10148         <bits/atomic.h>.
10150         * sysdeps/mips/mips32/libm-test-ulps: Update.
10151         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10153         [BZ #18952]
10154         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10155         not convert non-integer negative arguments to int to determine the
10156         value of signgam.
10157         * math/auto-libm-test-in: Add more tests of lgamma.
10158         * math/auto-libm-test-out: Regenerated.
10160         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10161         cosh, csqrt, erfc, expm1 and lgamma.
10162         * math/auto-libm-test-out: Regenerated.
10163         * sysdeps/i386/fpu/libm-test-ulps: Update.
10164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10166 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10168         [BZ #2542]
10169         [BZ #2543]
10170         [BZ #2558]
10171         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10172         __lgamma_neg for arguments from -28.0 to -2.0.
10173         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10174         __lgamma_negf for arguments from -15.0 to -2.0.
10175         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10176         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10177         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10178         Call __lgamma_negl for arguments from -33.0 to -2.0.
10179         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10180         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10181         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10182         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10189         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10190         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10191         (__lgamma_neg): Likewise.
10192         (__lgamma_negl): Likewise.
10193         (__lgamma_product): Likewise.
10194         (__lgamma_productl): Likewise.
10195         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10196         * math/auto-libm-test-in: Add more tests of lgamma.
10197         * math/auto-libm-test-out: Regenerated.
10198         * sysdeps/i386/fpu/libm-test-ulps: Update.
10199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10201 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10203         [BZ #18675]
10204         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10206 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10208         [BZ #14912]
10209         * bits/libc-lock.h: Move to ...
10210         * sysdeps/generic/libc-lock.h: ...here.
10211         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10212         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10213         * sysdeps/mach/hurd/libc-lock.h: ...here.
10214         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10215         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10216         * sysdeps/mach/bits/libc-lock.h: Move to ...
10217         * sysdeps/mach/libc-lock.h: ...here.
10218         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10219         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10220         * sysdeps/nptl/libc-lock.h: ...here.
10221         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10222         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10223         * sysdeps/nptl/libc-lockP.h: ...here.
10224         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10225         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10226         <bits/libc-lock.h>.
10227         * dirent/scandir-tail.c: Likewise.
10228         * dlfcn/dlerror.c: Likewise.
10229         * elf/dl-close.c: Likewise.
10230         * elf/dl-iteratephdr.c: Likewise.
10231         * elf/dl-lookup.c: Likewise.
10232         * elf/dl-open.c: Likewise.
10233         * elf/dl-support.c: Likewise.
10234         * elf/dl-writev.h: Likewise.
10235         * elf/rtld.c: Likewise.
10236         * grp/fgetgrent.c: Likewise.
10237         * gshadow/fgetsgent.c: Likewise.
10238         * gshadow/sgetsgent.c: Likewise.
10239         * iconv/gconv_conf.c: Likewise.
10240         * iconv/gconv_db.c: Likewise.
10241         * iconv/gconv_dl.c: Likewise.
10242         * iconv/gconv_int.h: Likewise.
10243         * iconv/gconv_trans.c: Likewise.
10244         * include/link.h: Likewise.
10245         * inet/getnameinfo.c: Likewise.
10246         * inet/getnetgrent.c: Likewise.
10247         * inet/getnetgrent_r.c: Likewise.
10248         * intl/bindtextdom.c: Likewise.
10249         * intl/dcigettext.c: Likewise.
10250         * intl/finddomain.c: Likewise.
10251         * intl/gettextP.h: Likewise.
10252         * intl/loadmsgcat.c: Likewise.
10253         * intl/localealias.c: Likewise.
10254         * intl/textdomain.c: Likewise.
10255         * libidn/idn-stub.c: Likewise.
10256         * libio/libioP.h: Likewise.
10257         * locale/duplocale.c: Likewise.
10258         * locale/freelocale.c: Likewise.
10259         * locale/newlocale.c: Likewise.
10260         * locale/setlocale.c: Likewise.
10261         * login/getutent_r.c: Likewise.
10262         * login/getutid_r.c: Likewise.
10263         * login/getutline_r.c: Likewise.
10264         * login/utmp-private.h: Likewise.
10265         * login/utmpname.c: Likewise.
10266         * malloc/mtrace.c: Likewise.
10267         * misc/efgcvt.c: Likewise.
10268         * misc/error.c: Likewise.
10269         * misc/fstab.c: Likewise.
10270         * misc/getpass.c: Likewise.
10271         * misc/mntent.c: Likewise.
10272         * misc/syslog.c: Likewise.
10273         * nis/nis_call.c: Likewise.
10274         * nis/nis_callback.c: Likewise.
10275         * nis/nss-default.c: Likewise.
10276         * nis/nss_compat/compat-grp.c: Likewise.
10277         * nis/nss_compat/compat-initgroups.c: Likewise.
10278         * nis/nss_compat/compat-pwd.c: Likewise.
10279         * nis/nss_compat/compat-spwd.c: Likewise.
10280         * nis/nss_nis/nis-alias.c: Likewise.
10281         * nis/nss_nis/nis-ethers.c: Likewise.
10282         * nis/nss_nis/nis-grp.c: Likewise.
10283         * nis/nss_nis/nis-hosts.c: Likewise.
10284         * nis/nss_nis/nis-network.c: Likewise.
10285         * nis/nss_nis/nis-proto.c: Likewise.
10286         * nis/nss_nis/nis-pwd.c: Likewise.
10287         * nis/nss_nis/nis-rpc.c: Likewise.
10288         * nis/nss_nis/nis-service.c: Likewise.
10289         * nis/nss_nis/nis-spwd.c: Likewise.
10290         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10291         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10292         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10293         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10294         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10295         * nis/nss_nisplus/nisplus-network.c: Likewise.
10296         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10297         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10298         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10299         * nis/nss_nisplus/nisplus-service.c: Likewise.
10300         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10301         * nis/ypclnt.c: Likewise.
10302         * nptl/libc_pthread_init.c: Likewise.
10303         * nss/getXXbyYY.c: Likewise.
10304         * nss/getXXent.c: Likewise.
10305         * nss/getXXent_r.c: Likewise.
10306         * nss/nss_db/db-XXX.c: Likewise.
10307         * nss/nss_db/db-netgrp.c: Likewise.
10308         * nss/nss_db/nss_db.h: Likewise.
10309         * nss/nss_files/files-XXX.c: Likewise.
10310         * nss/nss_files/files-alias.c: Likewise.
10311         * nss/nsswitch.c: Likewise.
10312         * posix/regex_internal.h: Likewise.
10313         * posix/wordexp.c: Likewise.
10314         * pwd/fgetpwent.c: Likewise.
10315         * resolv/res_hconf.c: Likewise.
10316         * resolv/res_libc.c: Likewise.
10317         * shadow/fgetspent.c: Likewise.
10318         * shadow/lckpwdf.c: Likewise.
10319         * shadow/sgetspent.c: Likewise.
10320         * socket/opensock.c: Likewise.
10321         * stdio-common/reg-modifier.c: Likewise.
10322         * stdio-common/reg-printf.c: Likewise.
10323         * stdio-common/reg-type.c: Likewise.
10324         * stdio-common/vfprintf.c: Likewise.
10325         * stdio-common/vfscanf.c: Likewise.
10326         * stdlib/abort.c: Likewise.
10327         * stdlib/cxa_atexit.c: Likewise.
10328         * stdlib/fmtmsg.c: Likewise.
10329         * stdlib/random.c: Likewise.
10330         * stdlib/setenv.c: Likewise.
10331         * string/strsignal.c: Likewise.
10332         * sunrpc/auth_none.c: Likewise.
10333         * sunrpc/bindrsvprt.c: Likewise.
10334         * sunrpc/create_xid.c: Likewise.
10335         * sunrpc/key_call.c: Likewise.
10336         * sunrpc/rpc_thread.c: Likewise.
10337         * sysdeps/arm/backtrace.c: Likewise.
10338         * sysdeps/generic/ldsodefs.h: Likewise.
10339         * sysdeps/generic/stdio-lock.h: Likewise.
10340         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10341         * sysdeps/i386/backtrace.c: Likewise.
10342         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10343         * sysdeps/m68k/backtrace.c: Likewise.
10344         * sysdeps/mach/hurd/cthreads.c: Likewise.
10345         * sysdeps/mach/hurd/dirstream.h: Likewise.
10346         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10347         * sysdeps/nptl/malloc-machine.h: Likewise.
10348         * sysdeps/nptl/stdio-lock.h: Likewise.
10349         * sysdeps/posix/dirstream.h: Likewise.
10350         * sysdeps/posix/getaddrinfo.c: Likewise.
10351         * sysdeps/posix/system.c: Likewise.
10352         * sysdeps/pthread/aio_suspend.c: Likewise.
10353         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10354         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10355         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10356         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10357         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10358         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10359         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10360         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10361         * sysdeps/unix/sysv/linux/system.c: Likewise.
10362         * sysdeps/x86_64/backtrace.c: Likewise.
10363         * time/alt_digit.c: Likewise.
10364         * time/era.c: Likewise.
10365         * time/tzset.c: Likewise.
10366         * wcsmbs/wcsmbsload.c: Likewise.
10367         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10368         instead of <bits/libc-lock.h> in comment.
10370 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10372         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10373         Only use .set mips2 if the current ISA is below mips2.
10374         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10375         Likewise.
10376         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10377         mips32r2 if the current ISA is below mips32r2.
10378         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10379         (TLS_IE): Updated to use the TLD_RDHWR macro.
10380         (TLS_LE): Likewise.
10381         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10382         __ASSEMBLER__ condition.
10384 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10386         Fix parallel build of before-compile targets.
10388         * sysdeps/mach/Makefile ($(patsubst
10389         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10390         mach-before-compile target.
10391         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10392         io fs process)): Move rule to dedicated hurd-before-compile target.
10394 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10396         Fix rules generating headers in hurd/ and mach/ when initial make call
10397         has subdir= explicitly set.
10399         * sysdeps/mach/Makefile ($(patsubst
10400         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10401         calling $(MAKE).
10402         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10403         io fs process)): Force subdir to hurd when calling $(MAKE).
10404         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10405         subdir to mach when calling $(MAKE).
10407 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
10409         Check sysheaders when looking for Mach and Hurd headers
10411         * sysdeps/mach/configure.ac: Add sysheaders check.
10412         * sysdeps/mach/configure: Regenerate.
10413         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
10414         * sysdeps/mach/hurd/configure: Regenerate.
10416 2015-09-04  Roland McGrath  <roland@hack.frob.com>
10418         [BZ #18921]
10419         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
10420         Fix inverted sense of test of 'o_directory_works' value.
10421         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
10422         Bernhard Voelker <mail@bernhard-voelker.de>.
10424 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10426         [BZ #14912]
10427         * bits/linkmap.h: Move to ...
10428         * sysdeps/generic/linkmap.h: ...here.
10429         * sysdeps/aarch64/bits/linkmap.h: Move to ...
10430         * sysdeps/aarch64/linkmap.h: ...here.
10431         * sysdeps/arm/bits/linkmap.h: Move to ...
10432         * sysdeps/arm/linkmap.h: ...here.
10433         * sysdeps/hppa/bits/linkmap.h: Move to ...
10434         * sysdeps/hppa/linkmap.h: ...here.
10435         * sysdeps/ia64/bits/linkmap.h: Move to ...
10436         * sysdeps/ia64/linkmap.h: ...here.
10437         * sysdeps/mips/bits/linkmap.h: Move to ...
10438         * sysdeps/mips/linkmap.h: ...here.
10439         * sysdeps/s390/bits/linkmap.h: Move to ...
10440         * sysdeps/s390/linkmap.h: ...here.
10441         * sysdeps/sh/bits/linkmap.h: Move to ...
10442         * sysdeps/sh/linkmap.h: ...here.
10443         * sysdeps/x86/bits/linkmap.h: Move to ...
10444         * sysdeps/x86/linkmap.h: ...here.
10445         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
10447 2015-09-04  Andreas Schwab  <schwab@suse.de>
10449         [BZ #18635]
10450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
10451         (__makecontext): Terminate FDE before return label.
10452         (__novec_makecontext): Likewise.
10454 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10456         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
10457         first member of struct sv in syscall macro.
10459 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
10461         [BZ #14912]
10462         * bits/stdio-lock.h: Move to ...
10463         * sysdeps/generic/stdio-lock.h: ...here.
10464         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10465         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
10466         * sysdeps/nptl/stdio-lock.h: ...here.
10467         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
10468         * include/libio.h: Include <stdio-lock.h> instead of
10469         <bits/stdio-lock.h>.
10470         * sysdeps/nptl/fork.c: Likewise.
10471         * sysdeps/pthread/flockfile.c: Likewise.
10472         * sysdeps/pthread/ftrylockfile.c: Likewise.
10473         * sysdeps/pthread/funlockfile.c: Likewise.
10475         [BZ #14912]
10476         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
10477         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
10478         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
10479         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
10480         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
10481         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
10482         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
10484 2015-09-03  Roland McGrath  <roland@hack.frob.com>
10486         * elf/Makefile (test-xfail-tst-protected1a): New variable.
10487         (test-xfail-tst-protected1b): New variable.
10489 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
10491         [BZ #14912]
10492         * bits/libc-tsd.h: Move to ...
10493         * sysdeps/generic/libc-tsd.h: ...here.
10494         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
10495         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
10496         * sysdeps/mach/hurd/libc-tsd.h: ...here.
10497         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
10498         * include/ctype.h: Include <libc-tsd.h> instead of
10499         <bits/libc-tsd.h>.
10500         * include/rpc/rpc.h: Likewise.
10501         * locale/localeinfo.h: Likewise.
10502         * sunrpc/rpc_thread.c: Likewise.
10503         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10504         * sysdeps/nptl/malloc-machine.h: Likewise.
10506         * Makefile (headers): Remove bits/libc-lock.h.
10507         * libio/Makefile (headers): Remove bits/stdio-lock.h.
10509         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
10510         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
10511         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
10512         <bits/stdio-lock.h>.
10513         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
10514         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
10516 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10518         [BZ #18757]
10519         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
10520         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
10521         BZ #18757.
10523 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
10525         * malloc/mtrace.pl: Filter out NULL entries.
10527 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
10529         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
10530         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
10531         macro.
10533         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
10534         (TCP_CC_INFO): Likewise.
10535         (TCP_SAVE_SYN): Likewise.
10536         (TCP_SAVED_SYN): Likewise.
10538 2015-08-31  Brett Neumeier <brett@neumeier.us>
10540         [BZ #18870]
10541         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
10543 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
10545         [BZ #18873]
10546         Fix broken overflow check in posix_fallocate
10547         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
10548         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
10549         Fix parenthesization typo.
10551 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
10553         [BZ #18887]
10554         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
10555         tst-mntent-blank-passno.
10556         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
10557         * misc/tst-mntent-blank-corrupt.c: New test.
10558         * misc/tst-mntent-blank-passno.c: New test ripped from ...
10559         * misc/tst-mntent.c (do_test): ... here.
10561 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
10563         [BZ #4404]
10564         * po/de.po: Fix SIGALRM typo.
10566 2015-08-28  James Perkins  <james@loowit.net>
10568         * time/tst-strptime2.c (tests): Replace short list of test
10569         strings for strptime %z specifier with code which exhaustively
10570         tests every combination of sign and 0 to 5 digits. Tests for
10571         rejection of invalid strings.
10573 2015-08-28  James Perkins  <james@loowit.net>
10575         [BZ #16141]
10576         * time/strptime_l.c (__strptime_internal): Fix %z minutes
10577         calculation, removing incorrect decimal time rounding, so that
10578         all minute values result in a valid seconds value.
10579         * time/strptime_l.c (__strptime_internal): Extend %z time zone
10580         offset range limits to UTC-99:59 through UTC+99:59 to parse
10581         current and historical use cases.
10582         * time/tst-strptime2.c (tests): Modify and add tests for the
10583         strptime %z input field descriptor, specifically conversion of
10584         minutes to seconds and validating an offset range of -9959 to
10585         +9959.
10587 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10588             Dmitry V. Levin  <ldv@altlinux.org>
10590         [BZ #18877]
10591         * posix/Makefile (tests): Add tst-mmap-offset.
10592         * posix/tst-mmap.c: New file.
10593         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
10594         offset calculation for negative values.
10596 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10598         * sysdeps/i386/init-arch.h: New file.
10599         * sysdeps/i386/i586/init-arch.h: Likewise.
10600         * sysdeps/i386/i686/init-arch.h: Likewise.
10601         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
10602         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
10603         * sysdeps/x86/cpu-features.h (bit_I586): New.
10604         (bit_I686): Likewise.
10605         (bit_CX8): Likewise.
10606         (bit_CMOV): Likewise.
10607         (index_CX8): Likewise.
10608         (index_CMOV): Likewise.
10609         (index_I586): Likewise.
10610         (index_I686): Likewise.
10611         (reg_CX8): Likewise.
10612         (reg_CMOV): Likewise.
10613         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
10614         available at compile-time.
10615         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
10616         available at compile-time.
10617         * sysdeps/x86/init-arch.h (USE_I586): New macro.
10618         (USE_I686): Likewise.
10620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10622         * sysdeps/i386/bcopy.S: New file.
10623         * sysdeps/i386/bzero.S: Likewise.
10624         * sysdeps/i386/memcpy.S: Likewise.
10625         * sysdeps/i386/memmove.S: Likewise.
10626         * sysdeps/i386/mempcpy.S: Likewise.
10627         * sysdeps/i386/memset.S: Likewise.
10628         * sysdeps/i386/bzero.c: Removed.
10629         * sysdeps/i386/memset.c: Likewise.
10630         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
10631         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
10632         * sysdeps/i386/i586/memset_chk.S: Likewise.
10633         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
10634         * sysdeps/i386/memcpy_chk.S: Here.
10635         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
10636         * sysdeps/i386/memmove_chk.S: Here.
10637         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
10638         * sysdeps/i386/mempcpy_chk.S: Likewise.
10639         * sysdeps/i386/i686/memset_chk.S: Moved to ...
10640         * sysdeps/i386/memset_chk.S: Likewise.
10642 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
10644         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
10645         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
10646         file, move DIAG_POP_NEEDS_COMMENT to end of file.
10647         * soft-fp/fmadf4.c: Ditto.
10648         * soft-fp/fmatf4.c: Ditto.
10650 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10652         * sysdeps/i386/i586/Implies: Removed.
10653         * sysdeps/i386/i686/Implies: Likewise.
10655 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10657         * sysdeps/i386/i486/strlen.S: Moved to ...
10658         * sysdeps/i386/strlen.S: Here.
10660 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10662         * sysdeps/i386/i486/strcat.S: Moved to ...
10663         * sysdeps/i386/strcat.S: Here.
10665 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10667         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
10668         * sysdeps/i386/pthread_spin_trylock.S: Here.
10669         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
10670         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
10672 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10674         * sysdeps/i386/i486/string-inlines.c: Moved to ...
10675         * sysdeps/i386/string-inlines.c: Here.
10677 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10679         * sysdeps/i386/i486/htonl.S: Moved ...
10680         * sysdeps/i386/htonl.S: here.
10682 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10684         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
10685         * sysdeps/i386/bits/atomic.h: Here.
10687 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
10689         * sysdeps/i386/i486/Versions: Removed.
10691 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10693         [BZ #2898]
10694         * misc/mktemp.c: Add mkdtemp to the link_warning message.
10695         Based on patch by Aurelien Jarno.
10697 2015-08-26  Stan Shebs  <stanshebs@google.com>
10699         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
10700         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
10702 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10704         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
10705         * sysdeps/powerpc/dl-procinfo.c:
10706         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
10707         feature so it shows when LD_SHOW_AUXV=1.
10709 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10711         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10712         (__arch_compare_and_exchange_val_32_acq): Remove and use common
10713         definition.  ISA 2.07B no longer requires full sync.
10715 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
10717         [BZ #18863]
10718         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
10719         (si_call_addr): Define.
10720         (si_syscall): Define.
10721         (si_arch): Define.
10723 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10725         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
10726         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
10727         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
10728         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10729         (__memset_zero_constant_len_parameter): New.
10730         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
10731         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
10732         (__memset_zero_constant_len_parameter): Don't define if
10733         __memset_chk or USE_AS_BZERO are defined.
10735         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
10736         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
10737         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
10739         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
10740         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
10741         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
10742         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
10743         comments.
10744         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
10745         -mno-mmx for $(all-rtld-routines).
10746         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
10747         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
10748         i386.
10750 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
10752         * sysdeps/generic/unwind.h
10753         (_Unwind_Word): Use __mode__(__unwind_word__)
10754         instead of __mode__(__word__).
10755         (_Unwind_Sword): Likewise.
10757         * sysdeps/s390/s390-64/utf8-utf16-z9.c
10758         (MAX_NEEDED_INPUT): New define.
10759         (MAX_NEEDED_OUTPUT): New define.
10761         * NEWS: New item for IBM z13 string optimizations.
10763         * sysdeps/s390/multiarch/memrchr-c.c: New File.
10764         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
10765         * sysdeps/s390/multiarch/memrchr.c: Likewise.
10766         * sysdeps/s390/multiarch/Makefile
10767         (sysdep_routines): Add memrchr functions.
10768         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10769         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
10771         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
10772         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
10773         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
10774         * sysdeps/s390/multiarch/Makefile
10775         (sysdep_routines): Add wmemcmp functions.
10776         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10777         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
10778         * benchtests/bench-wmemcmp.c: New File.
10779         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
10781         * sysdeps/s390/multiarch/wmemset-c.c: New File.
10782         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
10783         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10784         * sysdeps/s390/multiarch/Makefile
10785         (sysdep_routines): Add wmemset functions.
10786         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10787         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
10788         * wcsmbs/wmemset.c: Use WMEMSET if defined.
10789         * string/test-memset.c: Add wmemset support.
10790         * wcsmbs/test-wmemset.c: New File.
10791         * wcsmbs/Makefile (strop-tests): Add wmemset.
10792         * benchtests/bench-memset.c: Add wmemset support.
10793         * benchtests/bench-wmemset.c: New File.
10794         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
10796         * sysdeps/s390/multiarch/memccpy-c.c: New File.
10797         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
10798         * sysdeps/s390/multiarch/memccpy.c: Likewise.
10799         * sysdeps/s390/multiarch/Makefile
10800         (sysdep_routines): Add memccpy functions.
10801         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10802         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
10803         * string/memccpy.c: Use MEMCCPY if defined.
10805         * sysdeps/s390/multiarch/memchr-vx.S: New File.
10806         * sysdeps/s390/multiarch/memchr.c: Likewise.
10807         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
10808         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
10809         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10810         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
10811         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
10812         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10813         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
10814         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
10815         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
10816         and rawmemchr functions.
10817         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
10818         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
10819         and wmemchr.
10820         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
10821         * string/test-memchr.c: Add wmemchr support.
10822         * wcsmbs/test-wmemchr.c: New File.
10823         * wcsmbs/Makefile (strop-tests): Add wmemchr.
10824         * benchtests/bench-memchr.c: Add wmemchr support.
10825         * benchtests/bench-wmemchr.c: New File.
10826         * benchtests/Makefile (wcsmbs-bench): wmemchr.
10828         * sysdeps/s390/multiarch/strcspn-c.c: New File.
10829         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
10830         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10831         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
10832         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
10833         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
10834         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
10835         wcscspn functions.
10836         * sysdeps/s390/multiarch/ifunc-impl-list.c
10837         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
10838         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
10839         * string/test-strcspn.c: Add wcscspn support.
10840         * wcsmbs/test-wcscspn.c: New File.
10841         * wcsmbs/Makefile (strop-tests): Add wcscspn.
10842         * benchtests/bench-strcspn.c: Add wcscspn support.
10843         * benchtests/bench-wcscspn.c: New File.
10844         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
10846         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
10847         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
10848         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10849         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
10850         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
10851         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10852         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
10853         wcspbrk functions.
10854         * sysdeps/s390/multiarch/ifunc-impl-list.c
10855         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
10856         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
10857         * string/test-strpbrk.c: Add wcspbrk support.
10858         * wcsmbs/test-wcspbrk.c: New File.
10859         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
10860         * benchtests/bench-strpbrk.c: Add wcspbrk support.
10861         * benchtests/bench-wcspbrk.c: New File.
10862         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
10864         * sysdeps/s390/multiarch/strspn-c.c: New File.
10865         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
10866         * sysdeps/s390/multiarch/strspn.c: Likewise.
10867         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
10868         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
10869         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10870         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
10871         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
10872         wcsspn functions.
10873         * sysdeps/s390/multiarch/ifunc-impl-list.c
10874         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
10875         * string/test-strspn.c: Add wcsspn support.
10876         * wcsmbs/test-wcsspn.c: New File.
10877         * wcsmbs/Makefile (strop-tests): Add wcsspn.
10878         * benchtests/bench-strspn.c: Add wcsspn support.
10879         * benchtests/bench-wcsspn.c: New File.
10880         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
10882         * sysdeps/s390/multiarch/strrchr-c.c: New File.
10883         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
10884         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10885         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
10886         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
10887         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
10888         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
10889         wcsrchr functions.
10890         * sysdeps/s390/multiarch/ifunc-impl-list.c
10891         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
10892         * benchtests/bench-wcsrchr.c: New File.
10893         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
10895         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
10896         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
10897         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
10898         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
10899         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
10900         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
10901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
10902         wcschrnul functions.
10903         * sysdeps/s390/multiarch/ifunc-impl-list.c
10904         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
10905         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
10906         * string/test-strchr.c: Add wcschrnul support.
10907         * wcsmbs/test-wcschrnul.c: New File.
10908         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
10909         * benchtests/bench-strchr.c: Add wcschrnul support.
10910         * benchtests/bench-wcschrnul.c: New File.
10911         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
10913         * sysdeps/s390/multiarch/strchr-c.c: New File.
10914         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
10915         * sysdeps/s390/multiarch/strchr.c: Likewise.
10916         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
10917         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
10918         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
10920         wcschr functions.
10921         * sysdeps/s390/multiarch/ifunc-impl-list.c
10922         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
10923         * string/strchr.c (STRCHR): Define and use macro.
10924         * benchtests/bench-wcschr.c: New File.
10925         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
10927         * sysdeps/s390/multiarch/strncmp-c.c: New File.
10928         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
10929         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10930         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
10931         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
10932         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
10933         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
10934         wcsncmp functions.
10935         * sysdeps/s390/multiarch/ifunc-impl-list.c
10936         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
10937         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
10938         * benchtests/bench-strncmp.c: Add wcsncmp support.
10939         * benchtests/bench-wcsncmp.c: New File.
10940         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
10942         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
10943         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10944         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
10945         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
10946         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10947         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
10948         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
10949         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
10950         wcscmp functions.
10951         * sysdeps/s390/multiarch/ifunc-impl-list.c
10952         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
10953         * string/strcmp.c (STRCMP): Define and use macro.
10954         * benchtests/bench-wcscmp.c: New File.
10955         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
10956         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
10957         instead of _HAVE_STRING_ARCH_memchr.
10959         * sysdeps/s390/multiarch/strncat-c.c: New File.
10960         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
10961         * sysdeps/s390/multiarch/strncat.c: Likewise.
10962         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
10963         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
10964         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
10965         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
10966         wcsncat functions.
10967         * sysdeps/s390/multiarch/ifunc-impl-list.c
10968         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
10969         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
10970         * string/test-strncat.c: Add wcsncat support.
10971         * wcsmbs/test-wcsncat.c: New File.
10972         * wcsmbs/Makefile (strop-tests): Add wcsncat.
10973         * benchtests/bench-strncat.c: Add wcsncat support.
10974         * benchtests/bench-wcsncat.c: New File.
10975         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
10977         * sysdeps/s390/multiarch/strcat-c.c: New File.
10978         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
10979         * sysdeps/s390/multiarch/strcat.c: Likewise.
10980         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
10981         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
10982         * sysdeps/s390/multiarch/wcscat.c: Likewise.
10983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
10984         wcscat functions.
10985         * sysdeps/s390/multiarch/ifunc-impl-list.c
10986         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
10987         * string/strcat.c (STRCAT): Define and use macro.
10988         * wcsmbs/wcscat.c: Use WCSCAT if defined.
10989         * string/test-strcat.c: Add wcscat support.
10990         * wcsmbs/test-wcscat.c: New File.
10991         * wcsmbs/Makefile (strop-tests): Add wcscat.
10992         * benchtests/bench-strcat.c: Add wcscat support.
10993         * benchtests/bench-wcscat.c: New File.
10994         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
10996         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
10997         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
10998         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10999         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11000         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11001         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11002         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11003         wcpncpy functions.
11004         * sysdeps/s390/multiarch/ifunc-impl-list.c
11005         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11006         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11007         * string/test-stpncpy.c: Add wcpncpy support.
11008         * wcsmbs/test-wcpncpy.c: New File.
11009         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11010         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11011         * benchtests/bench-wcpncpy.c: New File.
11012         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11014         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11015         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11016         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11017         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11018         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11019         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11020         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11021         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11022         wcsncpy functions.
11023         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11024         * sysdeps/s390/multiarch/ifunc-impl-list.c
11025         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11026         * string/test-strncpy.c: Add wcsncpy support.
11027         * wcsmbs/test-wcsncpy.c: New File.
11028         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11029         * benchtests/bench-strncpy.c: Add wcsncpy support.
11030         * benchtests/bench-wcsncpy.c: New File.
11031         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11033         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11034         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11035         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11036         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11037         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11038         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11039         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11040         wcpcpy functions.
11041         * string/stpcpy.c: Use STPCPY if defined.
11042         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11043         * sysdeps/s390/multiarch/ifunc-impl-list.c
11044         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11045         * string/test-stpcpy.c: Add wcpcpy support.
11046         * wcsmbs/test-wcpcpy.c: New File.
11047         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11048         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11049         * benchtests/bench-wcpcpy.c: New File.
11050         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11052         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11053         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11054         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11055         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11056         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11057         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11058         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11059         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11060         wcscpy functions.
11061         * sysdeps/s390/multiarch/ifunc-impl-list.c
11062         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11063         * benchtests/bench-wcscpy.c: New File.
11064         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11066         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11067         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11068         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11069         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11070         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11071         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11072         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11073         wcsnlen functions.
11074         * sysdeps/s390/multiarch/ifunc-impl-list.c
11075         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11076         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11077         * string/test-strnlen.c: Add wcsnlen support.
11078         * wcsmbs/test-wcsnlen.c: New File.
11079         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11080         * benchtests/bench-strnlen.c: Add wcsnlen support.
11081         * benchtests/bench-wcsnlen.c: New File.
11082         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11084         * sysdeps/s390/multiarch/Makefile: New File.
11085         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11086         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11087         * sysdeps/s390/multiarch/strlen.c: Likewise.
11088         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11089         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11090         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11091         * string/strlen.c (STRLEN): Define and use macro.
11092         * sysdeps/s390/multiarch/ifunc-impl-list.c
11093         (IFUNC_VX_IMPL): New macro function.
11094         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11095         * benchtests/Makefile (wcsmbs-bench): New variable.
11096         (string-bench-all): Added wcsmbs-bench.
11097         * benchtests/bench-wcslen.c: New File.
11099         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11100         s390_vx_libc_ifunc2): New macro function.
11102         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11103         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11104         assembler support.
11105         * sysdeps/s390/configure: Regenerated.
11107         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11108         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11110         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11111         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11112         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11114         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11115         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11116         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11117         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11118         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11119         (memcmp, bcmp): Use __memcmp_default as alias source.
11120         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11121         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11122         Rename to __memcmp_default.
11123         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11124         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11125         (memcpy): Use __memcpy_default as alias source.
11126         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11127         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11128         Rename to __memcpy_default.
11129         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11130         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11131         (memset): Use __memset_default as alias source.
11132         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11133         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11134         Rename to __memset_default.
11135         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11136         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11137         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11138         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11139         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11140         (memcmp, bcmp): Use __memcmp_default as alias source.
11141         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11142         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11143         Rename to __memcmp_default.
11144         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11145         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11146         (memcpy): Use __memcpy_default as alias source.
11147         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11148         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11149         Rename to __memcpy_default.
11150         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11151         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11152         (memset): Use __memset_default as alias source.
11153         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11154         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11155         Rename to __memset_default.
11156         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11157         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11159         [BZ #18610]
11160         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11161         __ieee_instruction_pointer to __unused.
11162         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11163         __ieee_instruction_pointer.
11164         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11165         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11166         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11167         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11168         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11169         Mark dxc-field as reserved.
11171 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11173         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11174         if the weak reference is not null.
11176 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11178         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11180         [BZ #11214]
11181         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11183 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11185         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11186         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11187         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11188         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11189         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11190         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11191         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11192         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11193         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11194         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11195         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11196         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11197         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11198         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11199         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11200         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11201         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11202         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11204 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11206         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11207         register other than r0 for tabort, it has special meaning.
11208         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11209         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11210         transaction before starting syscall.
11212 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11214         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11216 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11218         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11220         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11221         * sysdeps/x86_64/rtld-memset.S: Likewise.
11222         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11223         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11224         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11225         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11227         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11229 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11231         * debug/strcpy_chk.c: Improve performance.
11232         * debug/stpcpy_chk.c: Likewise.
11233         * sysdeps/x86_64/strcpy_chk.S: Remove.
11234         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11236         [BZ #18240]
11237         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11239 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11241         [BZ #15128]
11242         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11243         ifuncmain8.
11244         (modules-names): Add ifuncmod8.
11245         ($(objpfx)ifuncmain8): New rule.
11246         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11247         <cpuid.h>.
11248         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11249         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11250         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11251         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11252         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11253         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11254         * sysdeps/x86_64/ifuncmain8.c: New file.
11255         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11256         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11257         Removed.
11258         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11259         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11260         Change rtld_savespace_sse to __glibc_unused2.
11261         (RTLD_CHECK_FOREIGN_CALL): Removed.
11262         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11263         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11264         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11266 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11268         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11270 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11272         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11273         Unconditionally set __fpcr to avoid uninialized warning.
11274         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11276 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11278         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11279         is corrupt.
11281         * malloc/arena.c (arena_get2): Drop unused argument.
11282         (arena_lock): Adjust.
11283         (arena_get_retry): Likewise.
11285 2015-08-24  Andreas Schwab  <schwab@suse.de>
11287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11288         Don't define.
11289         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11290         (__ASSUME_IPC64): Don't undef.
11291         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11292         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11293         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11294         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11295         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11296         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11297         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11298         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11299         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11300         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11301         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11302         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11303         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11304         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11305         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11306         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11307         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11308         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11309         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11310         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11311         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11313 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11315         * manual/Makefile (install): Only build manual when perl is available.
11317 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11319         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11320         '#undef memcpy' by '#undef memchr'.
11322 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11324         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11325         memchr not point to the internal __GI_memchr implementation.
11327 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11329         * timezone/Makefile (CFLAGS-zdump.c): Remove
11330         -Wno-strict-prototypes.
11331         (CFLAGS-zic.c): Likewise.
11332         (CFLAGS-ialloc.c): Likewise.
11333         (CFLAGS-scheck.c): Likewise.
11335         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11336         -Wno-error=undef.
11338 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11340         * i386/i686/multiarch/strcasestr-c.c: Removed.
11341         * x86_64/multiarch/strcasestr.c: Likewise.
11342         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11343         Remove strcasestr.
11345 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11347         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11349         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11350         variables for high and low parts before possibly modifying them.
11352 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11354         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11355         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11356         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11357         of "multiarch/init-arch.h".
11358         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11359         * sysdeps/x86/init-arch.h: This.
11361 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11363         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11364         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11366 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11368         [BZ #17787]
11369         * manual/macros.texi: Add twoexp macro.
11370         * manual/filesys.texi: Fix exponents.
11371         * manual/llio.texi: Likewise.
11372         * manual/stdio.texi: Likewise.
11374 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11376         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11377         incorrect use.
11379 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11381         [BZ #18370]
11382         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11383         whose real or imaginary part has small absolute value.
11384         * math/s_csqrtf.c (__csqrtf): Likewise.
11385         * math/s_csqrtl.c (__csqrtl): Likewise.
11386         * math/auto-libm-test-in: Add more tests of csqrt.
11387         * math/auto-libm-test-out: Regenerated.
11388         * sysdeps/i386/fpu/libm-test-ulps: Update.
11390 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11392         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11393         __ppc_set_ppr_very_low): New functions.
11394         * manual/platform.texi: Add documentation about
11395         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11397 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11399         * string/stpncpy.c (stpncpy): Improve performance using
11400         __strnlen/memcpy/memset.
11402 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11404         [BZ #18796]
11405         * scripts/test-installation.pl: Don't add -lmvec to build options if
11406         libmvec wasn't built.
11408 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11410         [BZ #14341]
11411         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
11412         case when there is a gap between DT_REL and DT_JMPREL sections.
11413         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
11414         (LDFLAGS-tst-split-dynreloc): New.
11415         (tst-split-dynreloc-ENV): Likewise.
11416         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
11417         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
11419 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11421         [BZ #18822]
11422         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
11423         attribute_hidden.
11424         (__xstat64_conv): Likewise.
11425         (__xstat32_conv): Likewise.
11427 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11429         [BZ #18822]
11430         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
11431         Don't load %ebx when calling __setcontext.  Call __setcontext
11432         with HIDDEN_JUMPTARGET.
11433         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
11434         libc_hidden_def.
11436 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11438         * sysdeps/i386/i686/Makefile
11439         [$(subdir) == string] (sysdep_routines): Moved to ...
11440         * sysdeps/i386/Makefile: Here.
11441         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
11442         * sysdeps/i386/cacheinfo.c: Here.
11443         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
11444         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
11445         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
11446         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
11448 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11450         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
11451         __i586__ is defined.
11452         (HAS_I686): Defined to 1 if __i686__ is defined.
11454 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11456         * elf/Makefile [$(have-z-execstack) = yes]
11457         (CPPFLAGS-tst-execstack.c): New variable.
11459         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
11460         conditional to [defined UTMPX || _HAVE_UT_TYPE].
11461         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
11462         UTMPX || _HAVE_UT_TV].
11463         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
11464         UTMPX || _HAVE_UT_TV - 0].
11466 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
11468         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
11469         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
11470         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
11472 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11474         * sysdeps/powerpc/dl-procinfo.c:
11475         (_dl_powerpc_cap_flags): Added missing strings for some
11476         hwcap features.
11477         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
11479 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
11481         Port the 0x7efe...feff pattern to GCC 6.
11482         See Steve Ellcey's bug report in:
11483         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
11484         * string/memrchr.c (MEMRCHR):
11485         * string/rawmemchr.c (RAWMEMCHR):
11486         * string/strchr.c (strchr):
11487         * string/strchrnul.c (STRCHRNUL):
11488         Rewrite code to avoid issues with signed shift overflow.
11490 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
11492         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
11493         whether cpuid is available only if HAS_CPUID is 0.
11494         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
11495         (HAS_I586): Likewise.
11496         (HAS_I686): Likewise.
11498 2015-08-18  Zack Weinberg  <zackw@panix.com>
11500         * misc/Versions (libc): Add GLIBC_2.23.
11502 2015-08-18  Alan Modra  <amodra@gmail.com>
11504         [BZ #18421]
11505         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
11506         .Lp__global.
11507         (_start): Load %dp via .Lp__global.
11508         [!SHARED]: Use .section .rodata.
11510 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11512         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
11513         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
11515 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11517         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
11518         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
11520 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11522         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
11523         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
11525 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11527         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
11528         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
11530 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11532         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
11533         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
11535 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11537         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
11538         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
11540 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11542         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
11544 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11546         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
11547         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
11548         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11549         (__ASSUME_LWS_CAS): Delete.
11551 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
11553         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
11554         * sysdeps/hppa/configure: Regenerated.
11555         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
11556         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
11557         * sysdeps/hppa/nptl/tls.h: Likewise.
11559 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
11561         [BZ #18823]
11562         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
11563         for scaling up small arguments.
11564         * math/s_csqrtf.c (__csqrtf): Likewise.
11565         * math/s_csqrtl.c (__csqrtl): Likewise.
11566         * math/auto-libm-test-in: Add more tests of csqrt.
11567         * math/auto-libm-test-out: Regenerated.
11569 2015-08-17  Andreas Schwab  <schwab@suse.de>
11571         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
11572         version set GLIBC_2.19.
11574 2015-08-16  Zack Weinberg  <zackw@panix.com>
11576         [BZ #18681]
11577         * misc/regexp.h: This interface is no longer supported.
11578         Remove all contents, leaving only an #error directive.
11579         * misc/regexp.c (loc1, loc2, locs, step, advance):
11580         Demote to compatibility symbols.
11582 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
11584         [BZ #18084]
11585         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
11586         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
11587         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11588         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
11589         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
11590         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
11591         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
11592         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
11593         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11595 2015-08-15  Zack Weinberg  <zackw@panix.com>
11597         [BZ #18795]
11598         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
11599         buffer length is known to be too large, not if it's known to be
11600         small enough.
11601         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
11602         overflow at runtime, involving a length parameter, twice: once
11603         with a compile-time constant length parameter, once without.
11605 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
11607         [BZ #18824]
11608         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
11609         scaling x * y up instead of down.
11610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11611         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11612         * math/auto-libm-test-in: Add more tests of fma.
11613         * math/auto-libm-test-out: Regenerated.
11615 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11617         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
11619 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11621         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
11622         unnecessary movq.
11623         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
11624         Likewise.
11626 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
11628         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11629         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
11630         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
11631         and tgamma.
11632         * math/auto-libm-test-out: Regenerated.
11633         * sysdeps/i386/fpu/libm-test-ulps: Update.
11634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11636         [BZ #16520]
11637         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
11638         (__tanh): Force underflow exception for arguments with small
11639         absolute value.
11640         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
11641         (__tanhf): Force underflow exception for arguments with small
11642         absolute value.
11643         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
11644         (__tanhl): Force underflow exception for arguments with small
11645         absolute value.
11646         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
11647         (__tanhl): Force underflow exception for arguments with small
11648         absolute value.
11649         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
11650         (__tanhl): Force underflow exception for arguments with small
11651         absolute value.
11652         * math/auto-libm-test-in: Add more tests of tanh.
11653         * math/auto-libm-test-out: Regenerated.
11654         * sysdeps/i386/fpu/libm-test-ulps: Update.
11656 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11658         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
11659         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
11661 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11663         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
11664         <cpuid.h>.
11666 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11668         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
11669         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
11671 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11673         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
11674         Remove $(objpfx)init-arch.o.
11675         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
11676         init-arch.
11677         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
11678         (INIT_ARCH_EXT): Defined as empty.
11679         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
11680         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
11681         __init_cpu_features call.  Replace HAS_XXX with
11682         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11683         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
11684         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
11685         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
11686         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
11687         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
11688         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
11689         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
11690         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
11691         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
11692         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
11693         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
11694         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
11695         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
11696         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
11697         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
11698         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
11699         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
11700         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
11701         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
11702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
11703         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
11704         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
11705         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
11706         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
11707         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
11708         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
11709         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
11710         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
11711         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
11712         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
11713         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
11714         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
11715         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
11716         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
11717         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
11719 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11721         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
11722         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11723         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11724         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
11725         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
11726         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
11727         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
11728         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
11729         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
11730         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
11731         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
11732         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
11733         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11734         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11735         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11736         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11737         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11738         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11739         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11740         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11741         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11742         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11743         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11744         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11745         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11746         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11747         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11748         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11749         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11750         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11751         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11752         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11753         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11754         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11755         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11756         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11757         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11758         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11759         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11760         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11761         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11762         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11763         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11765 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11767         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
11768         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11769         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11770         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11771         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11772         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
11773         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11774         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
11775         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11776         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11777         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11778         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
11779         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
11780         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
11781         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
11782         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
11783         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
11784         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
11785         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
11786         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
11787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11788         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
11789         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
11790         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11791         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11792         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
11793         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
11794         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
11795         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
11796         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11797         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11798         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11799         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11800         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11801         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11802         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11803         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11804         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11805         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11806         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11807         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11808         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11809         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11811 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
11813         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
11814         (dl_platform_init): Call init_cpu_features.
11815         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
11816         * sysdeps/i386/i686/cacheinfo.c
11817         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
11818         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
11819         * sysdeps/i386/i686/multiarch/Versions: Removed.
11820         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
11821         Removed.
11822         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
11823         * sysdeps/unix/sysv/linux/x86/Makefile
11824         (libpthread-sysdep_routines): Remove init-arch.
11825         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
11826         <sysdeps/x86_64/dl-procinfo.c> instead of
11827         sysdeps/generic/dl-procinfo.c>.
11828         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
11829         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
11830         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
11831         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
11832         [$(subdir) == elf] (tests-static): Add
11833         tst-get-cpu-features-static.
11834         * sysdeps/x86/Versions: New file.
11835         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
11836         * sysdeps/x86/cpu-features.c: Likewise.
11837         * sysdeps/x86/cpu-features.h: Likewise.
11838         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
11839         * sysdeps/x86/libc-start.c: Likewise.
11840         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11841         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
11842         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
11843         * sysdeps/x86_64/dl-procinfo.c: Likewise.
11844         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
11845         Assume USE_MULTIARCH is defined and don't check it.
11846         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
11847         (is_amd): Likewise.
11848         (max_cpuid): Likewise.
11849         (intel_check_word): Likewise.
11850         (__cache_sysconf): Don't call __init_cpu_features.
11851         (__x86_preferred_memory_instruction): Removed.
11852         (init_cacheinfo): Don't call __init_cpu_features. Replace
11853         __cpu_features with GLRO(dl_x86_cpu_features).
11854         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
11855         (dl_platform_init): Call init_cpu_features.
11856         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
11857         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
11858         * sysdeps/x86_64/multiarch/Versions: Removed.
11859         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
11860         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
11861         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
11862         Removed.
11863         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
11865 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11867         [BZ #18820]
11868         * libio/Makefile (test-fmemopen-mem): New test.
11869         * libio/test-fmemopen.c (do_bz18820): New test.
11870         * libio/fmemopen.c (__fmemopen): Fix memory leak.
11871         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
11873 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11875         [BZ #16734]
11876         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
11877         (FREE_BUF): Delete.
11878         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
11879         * libio/genops.c (_IO_setb): Use malloc and free directly.
11880         (_IO_default_doallocate, _IO_default_finish): Likewise.
11881         ( _IO_unbuffer_all): Likewise.
11882         ( libc_freeres_fn): Likewise.
11883         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11884         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11885         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
11886         (_IO_wdefault_doallocate): Likewise.
11888 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11890         [BZ #18086]
11891         * sysdeps/posix/nice.c (nice): Restore old errno.
11892         * posix/tst-nice.c (do_test): Add test for BZ #18086.
11894 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
11896         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
11898 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11900         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
11901         __bcopy and add a weak_alias to bcopy.
11902         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
11903         for static build.
11905         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
11906         cleanup macro usage.
11907         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
11908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
11909         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
11910         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
11911         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
11912         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
11913         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
11914         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11915         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11916         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
11917         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11918         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
11919         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
11920         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
11921         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
11923         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
11924         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
11925         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
11927         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
11928         libc_hidden_def.
11929         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
11931         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
11932         (sysdep_routines): Add strstr-ppc64.
11933         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
11935 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
11937         [BZ #18778]
11938         * elf/Makefile (tests): Add Add tst-nodelete2.
11939         (modules-names): Add tst-nodelete2mod.
11940         (tst-nodelete2mod.so-no-z-defs): New.
11941         ($(objpfx)tst-nodelete2): Likewise.
11942         ($(objpfx)tst-nodelete2.out): Likewise.
11943         (LDFLAGS-tst-nodelete2): Likewise.
11944         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
11945         out of loop through all loaded libraries.
11946         * elf/tst-nodelete2.c: New file.
11947         * elf/tst-nodelete2mod.c: Likewise.
11948         * elf/tst-znodelete-zlib.cc: Delete.
11950 2015-08-11  Andreas Schwab  <schwab@suse.de>
11952         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
11953         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
11954         (__openat64_nocancel): Likewise.
11956 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
11958         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
11959         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
11960         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
11961         * math/auto-libm-test-out: Regenerated.
11962         * sysdeps/i386/fpu/libm-test-ulps: Update.
11963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11965 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11967         [BZ #18790]
11968         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
11969         threshold for returning +/- 1.
11970         * math/auto-libm-test-in: Add more tests of tanh.
11971         * math/auto-libm-test-out: Regenerated.
11972         * sysdeps/i386/fpu/libm-test-ulps: Update.
11974 2015-08-10  Andreas Schwab  <schwab@suse.de>
11976         [BZ #18781]
11977         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
11978         MORE_OFLAGS to oflag.
11979         * io/test-lfs.c (do_test): Test openat64.
11981 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
11983         [BZ #18789]
11984         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
11985         smaller threshold for returning the argument.
11986         * math/auto-libm-test-in: Add more tests of sinh.
11987         * math/auto-libm-test-out: Regenerated.
11988         * sysdeps/i386/fpu/libm-test-ulps: Update.
11990 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
11992         [BZ #18674]
11993         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
11994         break.
11996 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
11998         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
11999         (generated): Don't add $(addprefix z.,$(tzfiles)).
12001 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12003         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12004         * scripts/sysd-rules.awk: Likewise.
12006 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12008         * iconvdata/tst-tables.sh: Change echo -n to printf.
12009         * nss/db-Makefile: Likewise.
12010         * posix/tst-getconf.sh: Likewise.
12011         * stdio-common/tst-unbputc.sh: Likewise.
12013 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12015         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12016         MADV_*_PAGES defines behind this feature check.
12018 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12020         [BZ #18480]
12021         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12022         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12023         Define.
12024         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12025         LOAD_REGS_5, LOAD_REGS_6): Update.
12026         (INTERNAL_SYSCALL): Update using new LOAD defines.
12027         (INTERNAL_SYSCALL_NCS): Likewise.
12028         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12030 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12032         [BZ #16734]
12033         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12035 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12037         [BZ #17905]
12038         * catgets/Makefile (tst-catgets-mem): New test.
12039         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12040         * catgets/open_catalog.c (__open_catalog): Likewise.
12041         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12043 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12045         [BZ #18787]
12046         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12047         clobber registers.
12048         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12049         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12050         Cast return to __typeof (oldval).
12052 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12054         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12055         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12056         and delete sys/syscall.h include.
12058 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12060         [BZ #16517]
12061         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12062         (tan): Force underflow exception for arguments with small absolute
12063         value.
12064         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12065         (__kernel_tanf): Force underflow exception for arguments with
12066         small absolute value.
12067         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12068         (__kernel_tanl): Force underflow exception for arguments with
12069         small absolute value.
12070         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12071         (__kernel_tanl): Force underflow exception for arguments with
12072         small absolute value.
12073         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12074         (__kernel_tanl): Force underflow exception for arguments with
12075         small absolute value.
12076         * math/auto-libm-test-in: Add more tests of tan.
12077         * math/auto-libm-test-out: Regenerated.
12079 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12081         Fix sysdeps/i386/fpu/s_scalbn.S build
12083         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12085 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12087         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12089 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12091         Fix gcrt0.o compilation
12093         When static-start-installed-name is different from
12094         start-installed-name, we must not use the shared objects.
12096         * csu/Makefile
12097         (extra-objs): Add gmon-start.o when building shared library and
12098         $(static-start-installed-name) is different from
12099         $(start-installed-name).
12100         $(objpfx)g$(static-start-installed-name): When building shared
12101         library and $(static-start-installed-name) is different from
12102         $(static-start-installed-name), revert to non-shared rule,
12103         i.e. using $(objpfx)% and gmon-start.o.
12105 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12107         [BZ #16519]
12108         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12109         (__ieee754_sinh): Force underflow exception for arguments with
12110         small absolute value.
12111         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12112         (__ieee754_sinhf): Force underflow exception for arguments with
12113         small absolute value.
12114         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12115         (__ieee754_sinhl): Force underflow exception for arguments with
12116         small absolute value.
12117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12118         (__ieee754_sinhl): Force underflow exception for arguments with
12119         small absolute value.
12120         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12121         (__ieee754_sinhl): Force underflow exception for arguments with
12122         small absolute value.
12123         * math/auto-libm-test-in: Add more tests of sinh.
12124         * math/auto-libm-test-out: Regenerated.
12125         * sysdeps/i386/fpu/libm-test-ulps: Update.
12127 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12129         * libio/oldfileops.c: Include unistd.h.
12131 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12133         * stdlib/isomac.c: Include ctype.h.
12135 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12137         * dirent/tst-seekdir.c (main): Converted to ...
12138         (do_test): ... this.
12139         (TEST_FUNCTION): New macro.
12140         Include test-skeleton.c.
12141         * elf/tst-dlmodcount.c (main): Converted to ...
12142         (do_test): ... this.
12143         (TEST_FUNCTION): New macro.
12144         Include test-skeleton.c.
12145         * elf/tst-order-main.c (main): Converted to ...
12146         (do_test): ... this.
12147         (TEST_FUNCTION): New macro.
12148         Include test-skeleton.c.
12149         * elf/tst-pie2.c (main): Converted to ...
12150         (do_test): ... this.
12151         (TEST_FUNCTION): New macro.
12152         Include test-skeleton.c.
12153         * inet/tst-ether_aton.c (main): Converted to ...
12154         (do_test): ... this.
12155         (TEST_FUNCTION): New macro.
12156         Include test-skeleton.c.
12157         * misc/tst-mntent.c (main): Converted to ...
12158         (do_test): ... this.
12159         (TEST_FUNCTION): New macro.
12160         Include test-skeleton.c.
12161         * misc/tst-tsearch.c (main): Converted to ...
12162         (do_test): ... this.
12163         (TEST_FUNCTION): New macro.
12164         Include test-skeleton.c.
12165         * posix/tst-regexloc.c (main): Converted to ...
12166         (do_test): ... this.
12167         (TEST_FUNCTION): New macro.
12168         Include test-skeleton.c.
12169         * resolv/tst-aton.c (main): Converted to ...
12170         (do_test): ... this.
12171         (TEST_FUNCTION): New macro.
12172         Include test-skeleton.c.
12173         * stdio-common/test-fwrite.c (main): Converted to ...
12174         (do_test): ... this.
12175         (TEST_FUNCTION): New macro.
12176         Include test-skeleton.c.
12177         * stdio-common/tst-ferror.c (main): Converted to ...
12178         (do_test): ... this.
12179         (TEST_FUNCTION): New macro.
12180         Include test-skeleton.c.
12181         * stdio-common/tst-printf.c (main): Converted to ...
12182         (do_test): ... this.
12183         (TEST_FUNCTION): New macro.
12184         Include test-skeleton.c.
12185         * stdio-common/tst-printfsz.c (main): Converted to ...
12186         (do_test): ... this.
12187         (TEST_FUNCTION): New macro.
12188         Include test-skeleton.c.
12189         * stdlib/tst-strtod.c (main): Converted to ...
12190         (do_test): ... this.
12191         (TEST_FUNCTION): New macro.
12192         Include test-skeleton.c.
12193         * string/tst-strlen.c (main): Converted to ...
12194         (do_test): ... this.
12195         (TEST_FUNCTION): New macro.
12196         Include test-skeleton.c.
12197         * string/tst-svc.c (main): Converted to ...
12198         (do_test): ... this.
12199         (TEST_FUNCTION): New macro.
12200         Include test-skeleton.c.
12201         * time/tst-strptime.c (main): Converted to ...
12202         (do_test): ... this.
12203         (TEST_FUNCTION): New macro.
12204         Include test-skeleton.c.
12205         * timezone/tst-timezone.c (main): Converted to ...
12206         (do_test): ... this.
12207         (TEST_FUNCTION): New macro.
12208         Include test-skeleton.c.
12210 2015-08-05  Zack Weinberg  <zackw@panix.com>
12212         * misc/regexp.h: Update comments.
12214 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12216         [BZ #18635]
12217         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12218         before return label.
12220 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12222         [BZ #18661]
12223         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12224         when calling __errno_location.
12225         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12226         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12228 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12230         [BZ #18661]
12231         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12232         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12233         __gettimeofday.
12235 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12237         [BZ #18661]
12238         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12239         (__start_context): Don't use pop to restore %rdi so that stack
12240         is aligned to 16 bytes when calling __setcontext.
12242 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12244         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12245         only for libc.
12246         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12248 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12250         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12251         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12252         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12254 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12256         * string/memccpy.c (memccpy):
12257         Improve performance by using memchr/memcpy/__mempcpy.
12259 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12261         * string/strncpy.c (strncpy):
12262         Improve performance by using __strnlen/memcpy.
12264 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12266         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12267         Optimize to avoid an unnecessary FPCR read.
12269 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12271         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12272         Optimize to reduce FPCR/FPSR accesses.
12274 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12276         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12277         dead->data[category] != NULL.
12279 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12281         [BZ #18647]
12282         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12283         and |x| close to 1, use absolute value of x when computing log.
12284         * math/auto-libm-test-in: Add more tests of pow.
12285         * math/auto-libm-test-out: Regenerated.
12287 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12289         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12290         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12291         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12293 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12295         [BZ #18525]
12296         * locales/km_KH: Remove timezone definition.
12297         * locales/lo_LA: Likewise.
12298         * locales/my_MM: Likewise.
12299         * locales/nan_TW@latin: Likewise.
12300         * locales/th_TH: Likewise.
12301         * locales/uk_UA: Likewise.
12303 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12305         [BZ #18265]
12306         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12307         (wcsncat): Likewise.
12308         (wcscmp): Likewise.
12309         (wcsncmp): Likewise.
12311 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12313         * test-skeleton.c (usage): New function.
12314         (main): Call usage when opt is '?'.
12316 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12318         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12319         before first use.
12321 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12323         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12324         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12325         in there too.
12327 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12329         * version.h (RELEASE): Set to "development".
12330         (VERSION): Set to "2.22.90"
12332         * version.h (RELEASE): Set to "stable".
12333         (VERSION): Set to "2.22"
12334         * include/features.h (__GLIBC_MINOR__): Set to 22.
12336 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12338         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12339         Restructure macro to avoid "value computed is not used" warning.
12340         (atomic_compare_and_exchange_val_acq): Likewise.
12342 2015-08-04  Andreas Schwab  <schwab@suse.de>
12344         [BZ #18635]
12345         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12346         ret.
12347         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12349 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12351         * po/pl.po: Updated translation.
12352         * po/uk.po: Likewise.
12353         * po/fi.po: Likewise.
12354         * po/ko.po: Likewise.
12355         * po/ru.po: Likewise.
12356         * po/vi.po: Likewise.
12358 2015-07-31  Zack Weinberg  <zackw@panix.com>
12360         [BZ #18681]
12361         * regexp.h: Add unconditional #warning stating that this header
12362         will be removed soon.  Revise banner comment to match.
12363         (compile): Consistently use ERROR instead of RETURN to report
12364         errors (partial fix for bz#18681).
12365         * regexp.c: Don't include regexp.h. Remove some unnecessary
12366         declarations.
12368 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12370         * po/libc.pot: Regenerated.
12372 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12374         [BZ #18740]
12375         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12376         float-vlen4-arch-ext-cflags): Removed.
12377         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12378         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12380 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12382         [BZ #14113]
12383         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12384         aligned to __aligned__.
12385         (pthread_cond_t, pthread_rwlock_t): Likewise.
12387 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12389         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12391 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12393         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12394         (struct sigaction): Change sa_flags from a long to an int, and add
12395         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12397 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12399         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12400         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12401         sysdeps/generic/sysdep.h include.
12402         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12403         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12404         sysdeps/hppa/sysdep.h.
12405         (ENTRY, PSEUDO): Undefine before defining.
12407 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12409         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
12410         from scratch to use INTERNAL_SYSCALL.
12412 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
12414         [BZ #18078]
12415         * scripts/check-localplt.awk: Support alternate relocations.
12416         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
12417         sections.
12418         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
12419         malloc entries with + REL R_386_GLOB_DAT.
12420         * sysdeps/x86_64/localplt.data: New file.
12422 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
12424         [BZ #18731]
12425         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
12426         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12427         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12429 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12431         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
12433 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12435         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
12436         directly in terms of __sync_fetch_and_add and delete (int) cast.
12438 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12440         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
12441         the -D_ASM_IA64_CURRENT_H flag.
12443 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
12445         [BZ #18641]
12446         * pwd/pwd.h (putpwent): Delete __nonnull markings.
12448 2015-07-27  Andreas Schwab  <schwab@suse.de>
12450         * conform/conformtest.pl (checknamespace): Filter out string
12451         literals while tokenizing.
12453 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12455         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12456         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
12457         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12459 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
12461         * nptl/tst-join7mod.c: Add #include <string.h>.
12463 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12465         * sysdeps/nios2/libm-test-ulps: Update.
12467 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
12469         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
12470         Fix order of arguments to the rt_sigprocmask syscall.
12471         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
12472         Likewise.
12474 2015-07-24  Roland McGrath  <roland@hack.frob.com>
12476         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
12478 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12480         [BZ #18457]
12481         * nptl/Makefile (tests): New test case tst-join7.
12482         (modules-names): New test case module tst-join7mod.
12483         * nptl/tst-join7.c: New file.
12484         * nptl/tst-join7mod.c: New file.
12485         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
12486         all translation units in libc.so, libpthread.so and rtld.
12488 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12492 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12494         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
12495         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12496         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12497         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12498         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12499         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12501         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12502         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12503         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12504         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12505         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12506         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
12507         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
12508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
12509         implementation.
12511 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12513         [BZ #17711]
12514         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12515         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
12516         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12517         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
12518         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
12519         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
12521 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12523         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
12524         instead of just saying load lock in the comments.
12526 2015-07-23  Roland McGrath  <roland@hack.frob.com>
12528         * sysdeps/unix/Subdirs: Moved ...
12529         * sysdeps/posix/Subdirs: ... here.
12530         * login/pty.h (struct termios, struct winsize): Add forward decls.
12531         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
12532         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
12533         * sysdeps/arm/nacl/libc.abilist: Updated.
12534         * sysdeps/nacl/libutil.abilist: New file.
12536         * bits/signum.h: Update comments to mention 1003.1-2013 too.
12537         (SIGWINCH): New macro.
12539         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
12540         * sysdeps/arm/nacl/libc.abilist: Add it.
12542 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12544         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
12546 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
12548         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12549         Swap __glibc_reserved0 and sa_flags order.
12551 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
12553         [BZ #18657]
12554         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
12555         are pending TLS destructor calls.
12556         * include/link.h (struct link_map): Add concurrency note for
12557         L_TLS_DTOR_COUNT.
12558         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12559         Don't touch the link map flag.  Atomically increment
12560         l_tls_dtor_count.
12561         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
12562         Avoid taking the load lock and don't touch the link map flag.
12563         * stdlib/tst-tls-atexit-nodelete.c: New test case.
12564         * stdlib/Makefile (tests): Use it.
12565         * stdlib/tst-tls-atexit.c (do_test): dlopen
12566         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
12567         to allow tst-tls-atexit-nodelete test case to use it.
12569 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12571         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
12572         to bits/types.h.
12573         (msgqnum_t): New typedef.
12574         (msglen_t): Likewise.
12575         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
12576         and msg_qbytes type to msglen_t.
12578 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12580         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
12581         pad0 to __glibc_reserved0.
12582         (struct stat64): Likewise.
12584 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12586         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
12587         Change sa_flags from a long to an int and add __glibc_reserved0 before
12588         it for padding.
12590 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
12592         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
12593         anonymous by deleting "siginfo" name.
12595 2015-07-21  Roland McGrath  <roland@hack.frob.com>
12597         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
12598         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
12599         rather than __nacl_irt_filename.
12600         * sysdeps/nacl/xstat.c (__xstat): Likewise.
12602         * NEWS: New item for arm-nacl port.
12603         * sysdeps/arm/nacl/libc.abilist: New file.
12604         * sysdeps/nacl/ld.abilist: New file.
12605         * sysdeps/nacl/libBrokenLocale.abilist: New file.
12606         * sysdeps/nacl/libanl.abilist: New file.
12607         * sysdeps/nacl/libcrypt.abilist: New file.
12608         * sysdeps/nacl/libdl.abilist: New file.
12609         * sysdeps/nacl/libm.abilist: New file.
12610         * sysdeps/nacl/libpthread.abilist: New file.
12611         * sysdeps/nacl/libresolv.abilist: New file.
12612         * sysdeps/nacl/librt.abilist: New file.
12614 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
12616         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
12617         __startcontext to initialize the new context.
12618         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
12619         up CFI directive to forbid further backtracing.
12621 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
12623         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
12624         reference.
12625         * charmaps/ANSI_X3.4-1968: Likewise.
12626         * charmaps/BS_4730: Likewise.
12627         * charmaps/BS_VIEWDATA: Likewise.
12628         * charmaps/CP1250: Likewise.
12629         * charmaps/CP1251: Likewise.
12630         * charmaps/CP1252: Likewise.
12631         * charmaps/CP1253: Likewise.
12632         * charmaps/CP1254: Likewise.
12633         * charmaps/CP1255: Likewise.
12634         * charmaps/CP1256: Likewise.
12635         * charmaps/CSN_369103: Likewise.
12636         * charmaps/EBCDIC-DK-NO: Likewise.
12637         * charmaps/GB_1988-80: Likewise.
12638         * charmaps/GREEK-CCITT: Likewise.
12639         * charmaps/GREEK7: Likewise.
12640         * charmaps/INIS-8: Likewise.
12641         * charmaps/ISIRI-3342: Likewise.
12642         * charmaps/ISO_2033-1983: Likewise.
12643         * charmaps/ISO_5427-EXT: Likewise.
12644         * locales/POSIX: Likewise.
12645         * locales/ar_SA: Likewise.
12646         * locales/be_BY: Likewise.
12647         * locales/be_BY@latin: Likewise.
12648         * locales/ca_ES: Likewise.
12649         * locales/cs_CZ: Likewise.
12650         * locales/da_DK: Likewise.
12651         * locales/de_BE: Likewise.
12652         * locales/de_CH: Likewise.
12653         * locales/de_LU: Likewise.
12654         * locales/en_AU: Likewise.
12655         * locales/en_BW: Likewise.
12656         * locales/en_CA: Likewise.
12657         * locales/en_DK: Likewise.
12658         * locales/en_GB: Likewise.
12659         * locales/en_IE: Likewise.
12660         * locales/en_NZ: Likewise.
12661         * locales/en_ZA: Likewise.
12662         * locales/en_ZW: Likewise.
12663         * locales/es_AR: Likewise.
12664         * locales/es_BO: Likewise.
12665         * locales/es_CL: Likewise.
12666         * locales/es_CO: Likewise.
12667         * locales/es_DO: Likewise.
12668         * locales/es_EC: Likewise.
12669         * locales/es_ES: Likewise.
12670         * locales/es_HN: Likewise.
12671         * locales/es_MX: Likewise.
12672         * locales/es_PA: Likewise.
12673         * locales/es_PE: Likewise.
12674         * locales/es_PY: Likewise.
12675         * locales/es_SV: Likewise.
12676         * locales/es_US: Likewise.
12677         * locales/es_UY: Likewise.
12678         * locales/es_VE: Likewise.
12679         * locales/et_EE: Likewise.
12680         * locales/fa_IR: Likewise.
12681         * locales/fo_FO: Likewise.
12682         * locales/fr_CA: Likewise.
12683         * locales/fr_CH: Likewise.
12684         * locales/gv_GB: Likewise.
12685         * locales/he_IL: Likewise.
12686         * locales/hr_HR: Likewise.
12687         * locales/id_ID: Likewise.
12688         * locales/is_IS: Likewise.
12689         * locales/it_CH: Likewise.
12690         * locales/iw_IL: Likewise.
12691         * locales/kl_GL: Likewise.
12692         * locales/ko_KR: Likewise.
12693         * locales/kw_GB: Likewise.
12694         * locales/lg_UG: Likewise.
12695         * locales/lt_LT: Likewise.
12696         * locales/lv_LV: Likewise.
12697         * locales/mi_NZ: Likewise.
12698         * locales/nhn_MX: Likewise.
12699         * locales/nl_BE: Likewise.
12700         * locales/pl_PL: Likewise.
12701         * locales/sk_SK: Likewise.
12702         * locales/sl_SI: Likewise.
12703         * locales/sv_FI: Likewise.
12704         * locales/tl_PH: Likewise.
12705         * locales/tr_TR: Likewise.
12706         * locales/vi_VN: Likewise.
12708 2015-07-21  Khem Raj  <raj.khem@gmail.com>
12710         [BZ #17475]
12711         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
12712         of tu_IN and bh_IN.
12714 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
12716         [BZ #18694]
12717         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
12718         bits/wordsize.h.
12719         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
12721 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12723         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
12724         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
12725         (spawn_thread): New function.
12726         (load): Rename to reg_dtor_and_close.  Move dlopen to...
12727         (do_test): ... here.  Use IS_LOADED to test for its
12728         availability.
12730 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
12732         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12734 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
12736         [BZ #18696]
12737         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
12738         si_addr_bnd.
12739         (si_lower): New.
12740         (si_upper): Likewise.
12742 2015-07-16  David S. Miller  <davem@davemloft.net>
12744         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
12746 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12748         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
12749         buffer.
12750         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
12751         fail output information.
12753 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12755         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
12756         and strstr-ppc64..
12757         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12758         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
12759         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
12760         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
12761         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
12763 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12765         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12766         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12767         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
12768         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12770 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
12772         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12773         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
12774         rtld_hidden_proto.
12775         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
12777 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12779         * tst-nodelete-opened.c (do_test): Add comment to clarify how
12780         the test can fail.
12782         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
12784         [BZ #18676]
12785         * elf/tst-nodelete-opened.c: New test case.
12786         * elf/tst-nodelete-opened-lib.c: New test case module.
12787         * elf/Makefile (tests, modules-names): Use them.
12788         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
12789         early.
12791 2015-07-15  David S. Miller  <davem@davemloft.net>
12793         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
12794         futex-intenal.h
12795         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
12796         * sysdeps/sparc/sparc64/Makefile: Likewise.
12797         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
12798         Remove space from macro define.
12799         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
12801 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
12803         [BZ #17475]
12804         * locale/iso-639.def: Update Bhili and Tulu language codes as
12805         per iso639-3.
12807 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
12809         * elf/tst-leaks1.c (main): Converted to ...
12810         (do_test): ... this.
12811         (TEST_FUNCTION): New macro.
12812         Include test-skeleton.c.
12813         * localedata/tst-langinfo.c (main): Converted to ...
12814         (do_test): ... this.
12815         (TEST_FUNCTION): New macro.
12816         Include test-skeleton.c.
12817         * math/test-fpucw.c (main): Converted to ...
12818         (do_test): ... this.
12819         (TEST_FUNCTION): New macro.
12820         Include test-skeleton.c.
12821         * math/test-tgmath.c (main): Converted to ...
12822         (do_test): ... this.
12823         (TEST_FUNCTION): New macro.
12824         Include test-skeleton.c.
12825         * math/test-tgmath2.c (main): Converted to ...
12826         (do_test): ... this.
12827         (TEST_FUNCTION): New macro.
12828         Include test-skeleton.c.
12829         * setjmp/tst-setjmp.c (main): Converted to ...
12830         (do_test): ... this.
12831         (TEST_FUNCTION): New macro.
12832         Include test-skeleton.c.
12833         * stdio-common/tst-sscanf.c (main): Converted to ...
12834         (do_test): ... this.
12835         (TEST_FUNCTION): New macro.
12836         Include test-skeleton.c.
12837         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
12838         (do_test): ... this.
12839         (TEST_FUNCTION): New macro.
12840         Include test-skeleton.c.
12842         * elf/tst-audit9.c (main): Converted to ...
12843         (do_test): ... this.
12844         (TEST_FUNCTION): New macro.
12845         Include test-skeleton.c.
12847 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
12849         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
12851 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12853         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
12854         New variable.
12856 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
12858         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12860 2015-07-14  Roland McGrath  <roland@hack.frob.com>
12862         * sysdeps/generic/dl-fileid.h: New file.
12863         * sysdeps/posix/dl-fileid.h: New file.
12864         * sysdeps/nacl/dl-fileid.h: New file.
12865         * include/link.h: Include <dl-fileid.h>.
12866         (struct link_map): Replace l_dev and l_ino with l_file_id.
12867         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
12868         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
12869         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
12871 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12873         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
12875 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12877         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
12878         Add iff $CXX is set.
12879         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
12880         Likewise.
12881         (tst-nodelete-zmodiff): Likewise.
12882         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
12884 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12886         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
12888 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12890         * sysdeps/aarch64/fpu/math_private.h
12891         (define math_opt_barrier): Add AArch64 version.
12892         (math_force_eval): Likewise.
12894 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
12896         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
12898 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12900         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
12901         %ld with %jd and cast to intmax_t.
12902         (do_test_length_zero): Likewise.
12904 2015-07-10  Roland McGrath  <roland@hack.frob.com>
12906         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
12908 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
12910         * sysdeps/tile/libm-test-ulps: Regenerated.
12912         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
12913         Comment out the whole function, not just its body.
12915 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12917         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
12918         locks.
12920         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
12922 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12924         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
12925         (sem_assume_only_signals_cause_futex_EINTR): Remove.
12927 2015-07-10  Torvald Riegel  <triegel@redhat.com>
12929         * sysdeps/nptl/futex-internal.h: New file.
12930         * sysdeps/nacl/futex-internal.h: New file.
12931         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
12932         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
12933         error checking.
12934         (setxid_unmark_thread): Likewise.
12935         (__nptl_setxid): Likewise.
12936         (__wait_lookup_done): Likewise.
12937         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
12938         * nptl/nptl-init.c (sighandler_setxid): Likewise.
12939         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
12940         * nptl/pthread_once.c (clear_once_control): Likewise.
12941         (__pthread_once_slow): Likewise.
12942         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
12943         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
12944         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
12945         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12946         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
12947         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
12948         Likewise.
12949         (__pthread_rwlock_rdlock): Likewise.
12950         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12951         Likewise.
12952         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12953         Likewise.
12954         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
12955         Likewise.
12956         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
12957         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
12958         Likewise.
12959         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
12960         __ASSUME_PRIVATE_FUTEX check.
12961         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
12962         Check that shared futexes are supported.
12963         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
12964         wrappers with error checking.
12965         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
12966         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
12967         * nptl/pthread_barrierattr_setpshared.c
12968         (pthread_barrierattr_setpshared): Check that shared futexes are
12969         supported.
12970         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
12971         Likewise.
12972         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
12973         Likewise.
12974         * nptl/sem_init.c (futex_private_if_supported): Remove.
12975         (__new_sem_init): Adapt and check that shared futexes are supported.
12976         * nptl/sem_open.c (sem_open): Likewise.
12977         * nptl/sem_post.c (futex_wake): Remove.
12978         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
12979         (do_futex_wait): Use futex wrappers with error checking.
12980         * nptl/sem_wait.c: Include lowlevellock.h.
12981         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
12982         Use futex_supports_pshared.
12983         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
12984         Use futex wrappers with error checking.
12985         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
12986         Likewise.
12987         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
12988         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
12989         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
12990         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
12991         (futex_wake): Likewise.
12992         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
12993         (do_futex_wait): Use futex wrappers with error checking.
12994         (__new_sem_wait_slow): Update EINTR handling.
12995         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
12997 2015-07-09  Martin Sebor  <msebor@redhat.com>
12999         [BZ #18435]
13000         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13001         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13002         * nptl/Makefile (test-xfail-tst-once5): Define.
13004 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13006         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13007         * elf/dl-minimal.c: For readability, reorder some definitions and
13008         introduce more page breaks.  Include <stdio.h>.
13009         (__libc_fatal): New function.
13011         * include/unistd.h: Add rtld_hidden_proto for _exit.
13012         * posix/_exit.c: Add rtld_hidden_def.
13013         * sysdeps/mach/hurd/_exit.c: Likewise.
13014         * sysdeps/nacl/_exit.c: Likewise.
13015         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13016         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13018 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13020         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13021         bndmov encoding with zero displacement.
13023 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13024             H.J. Lu  <hongjiu.lu@intel.com>
13026         [BZ #18134]
13027         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13028         * sysdeps/i386/configure: Regenerated.
13029         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13030         (_dl_runtime_profile): Save and restore Intel MPX return bound
13031         registers when calling _dl_call_pltexit.  Add
13032         PRESERVE_BND_REGS_PREFIX before return.
13033         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13034         (LRV_BND1_OFFSET): Likewise.
13035         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13036         lrv_bnd1.
13037         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13038         typo in bndmov encoding.
13039         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13040         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13041         branch instructions to preserve bounds.
13043 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13046         [GLIBC_2.22]: Add fmemopen.
13048 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13050         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13051         returns an error, also try to use host port from __mach_host_self for
13052         the __vm_wire call.
13053         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13055 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13057         [BZ #18400]
13058         [BZ #18648]
13059         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13060         Fix pr_uid and pr_gid members.
13061         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13062         definition to elf_greg_t.
13064 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13066         [BZ #18383]
13067         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13068         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13069         * sysdeps/arm/configure: Regenerated.
13070         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13071         (test-xfail-tst-tlsalign-static): Variable removed.
13073         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13074         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13075         rather than explicit 'ln -s'.
13077         * resolv/rpc/netdb.h: New file.
13078         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13080 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13082         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13083         length buffers.
13084         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13085         test-skeleton.c.
13087         [BZ #6544]
13088         [BZ #11216]
13089         [BZ #12836]
13090         [BZ #13151]
13091         [BZ #13152]
13092         [BZ #14292]
13093         * include/stdio.h (fmemopen): Remove hidden prototype.
13094         (__fmemopen): Add new hidden prototype.
13095         * libio/Makefile: Add oldfmemopen object.
13096         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13097         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13098         compliance.
13099         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13100         symbol compatibility.
13101         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13102         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13103         fmemopen.
13104         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13105         on append and read mode.
13106         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13107         fmemopen.
13108         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13109         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13110         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13111         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13112         Likewise.
13113         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13114         [GLIBC_2.22]: Likewise.
13115         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13116         Likewise.
13117         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13118         Likewise.
13119         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13120         [GLIBC_2.22]: Likewise.
13121         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13122         [GLIBC_2.22]: Likewise.
13123         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13124         [GLIBC_2.22]: Likewise.
13125         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13126         [GLIBC_2.22]: Likewise.
13127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13128         [GLIBC_2.22]: Likewise.
13129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13130         [GLIBC_2.22]: Likewise.
13131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13132         [GLIBC_2.22]: Likewise.
13133         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13134         Likewise.
13135         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13136         Likewise.
13137         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13138         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13139         [GLIBC_2.22]: Likewise.
13140         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13141         [GLIBC_2.22]: Likewise.
13142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13143         [GLIBC_2.22]: Likewise.
13144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13145         [GLIBC_2.22]: Likewise.
13146         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13147         Likewise.
13148         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13149         Likewise.
13150         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13151         Likewise.
13152         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13153         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13155 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13157         [BZ #18643]
13158         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13159         IPV6_PATHMTU, and IPV6_DONTFRAG.
13161 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13163         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13164         and _IO_UNBUFFERED.
13165         * libio/oldfileops.c: Likewise.
13166         * libio/wfileops.c: Likewise.
13168 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13170         * nscd/selinux.c: Delete selinux/flask.h include.
13172 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13174         [BZ #18641]
13175         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13176         (putpwent): Likewise.
13177         (getpwnam): Likewise.
13178         (getpwent_r): Likewise.
13179         (getpwuid_r): Likewise.
13180         (getpwnam_r): Likewise.
13181         (fgetpwent_r): Likewise.
13183 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13185         [BZ #18557]
13186         * inet/rcmd.c (__validuser2_sa): Check user first to
13187         short-circuit host check.
13189 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13190             Mikhail Ilin  <m.ilin@samsung.com>
13192         [BZ #17833]
13193         * elf/Makefile (tests): Add tst-nodelete.
13194         (modules-names): Add tst-nodelete-uniquemod.
13195         (tst-nodelete-uniquemod.so-no-z-defs): New.
13196         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13197         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13198         ($(objpfx)tst-nodelete): Likewise.
13199         ($(objpfx)tst-nodelete.out): Likewise.
13200         (LDFLAGS-tst-nodelete): Likewise.
13201         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13202         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13203         implement forced object deletion.
13204         (_dl_close): Pass false to _dl_close_worker.
13205         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13206         * elf/tst-nodelete.cc: New file.
13207         * elf/tst-nodeletelib.cc: Likewise.
13208         * elf/tst-znodeletelib.cc: Likewise.
13209         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13211 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13213         [BZ #18508]
13214         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13215         Depend on $(libdl).
13216         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13217         is not called infinitely times.
13218         (backtrace_helper): New function.
13219         (trace_arg): New struct.
13220         (st1): Enlarge stack size.
13221         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13222         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13223         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13224         Likewise.
13226 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13228         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13230 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13232         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13233         Include sys/types.h instead of bits/types.h.
13234         Remove inclusion of bits/wordsize.h.
13236 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13238         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13239         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13240         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13241         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13242         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13243         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13245 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13247         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13248         link-defines.sym.
13249         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13250         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13251         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13252         and LR_SIZE.
13253         * sysdeps/i386/link-defines.sym: New file.
13255 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13257         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13258         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13259         ($(objpfx)tst-audit3): New rule.
13260         ($(objpfx)tst-audit3.out): Likewise.
13261         * sysdeps/i386/tst-audit3.c: New file.
13262         * sysdeps/i386/tst-audit3.h: Likewise.
13263         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13264         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13266 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13268         [BZ #18633]
13269         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13270         pointer in C code.
13271         (__strcat_c): Likewise.
13272         (__strcat_g): Likewise.
13274 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13276         [BZ #18592]
13277         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13279 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13281         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13282         New function.  (__ieee754_sqrtf): New function.
13283         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13284         New function.
13285         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13286         New function.
13288 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13290         * sysdeps/ieee754/support.c: Remove unused file.
13292 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13294         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13295         registers instead of d ones so the layout is kernel abi compatible.
13296         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13297         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13298         Likewise.
13300 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13302         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13304 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13306         [BZ #18619]
13307         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13308         and return argument in case of subnormal argument.
13310 2015-07-01  Martin Sebor  <msebor@redhat.com>
13312         [BZ #18435]
13313         * nptl/Makefile: Add tst-once5.cc.
13314         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13315         Remove macro redefinitions.
13316         * nptl/tst-once5.cc: New test.
13318 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13320         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13322         * sysdeps/arm/libm-test-ulps: Regenerated.
13324         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13325         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13327 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13329         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13330         lll_lock_wait_private and lll_futex_wake probes.
13332         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13333         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13334         Likewise.
13335         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13336         atomic_spin_nop.
13337         * sysdeps/x86_64/bits/atomic.h: Likewise.
13338         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13339         to atomic_spin_nop and move ...
13340         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13341         ... here and ...
13342         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13343         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13344         atomic_spin_nop instead of BUSY_WAIT_NOP.
13345         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13346         Likewise.
13347         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13348         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13349         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13350         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13351         instead of atomic_delay.
13353 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13355         [BZ #18613]
13356         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13357         X_ADJ not X when adjusting exponent.
13358         (__ieee754_gamma_r): Do intermediate computations in
13359         round-to-nearest then adjust overflowing and underflowing results
13360         as needed.
13361         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13362         of X_ADJ not X when adjusting exponent.
13363         (__ieee754_gammaf_r): Do intermediate computations in
13364         round-to-nearest then adjust overflowing and underflowing results
13365         as needed.
13366         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13367         log of X_ADJ not X when adjusting exponent.
13368         (__ieee754_gammal_r): Do intermediate computations in
13369         round-to-nearest then adjust overflowing and underflowing results
13370         as needed.  Use 1.0L not 1.0f as numerator of division.
13371         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13372         log of X_ADJ not X when adjusting exponent.
13373         (__ieee754_gammal_r): Do intermediate computations in
13374         round-to-nearest then adjust overflowing and underflowing results
13375         as needed.  Use 1.0L not 1.0f as numerator of division.
13376         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13377         of X_ADJ not X when adjusting exponent.
13378         (__ieee754_gammal_r): Do intermediate computations in
13379         round-to-nearest then adjust overflowing and underflowing results
13380         as needed.  Use 1.0L not 1.0f as numerator of division.
13381         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13382         to auto-libm-test-in.
13383         (tgamma_test): Use ALL_RM_TEST.
13384         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13385         tests of tgamma with spurious-overflow.
13386         * math/auto-libm-test-out: Regenerated.
13387         * math/gen-libm-have-vector-test.sh: Do not check for START.
13388         * sysdeps/i386/fpu/libm-test-ulps: Update.
13389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13391         [BZ #18612]
13392         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13393         arguments, just return 0.5 times the argument, with underflow
13394         forced as needed.
13395         * math/auto-libm-test-in: Add more tests of j1.
13396         * math/auto-libm-test-out: Regenerated.
13398         [BZ #16559]
13399         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13400         (__ieee754_j1): Force underflow exception for small results.
13401         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13402         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13403         (__ieee754_j1f): Force underflow exception for small results.
13404         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13405         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13406         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13407         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
13408         (__ieee754_j1l): Force underflow exception for small results.
13409         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13410         * math/auto-libm-test-in: Add more tests of j1 and jn.
13411         * math/auto-libm-test-out: Regenerated.
13413         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
13414         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
13415         (PF_MPLS): Likewise.
13416         (AF_IB): Likewise.
13417         (AF_MPLS): Likewise.
13418         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
13419         value and macro.
13420         (MS_RMT_MASK): Include MS_LAZYTIME.
13422 2015-06-26  Mel Gorman  <mgorman@suse.de>
13424         [BZ #18502]
13425         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
13426         already minimal.
13428 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
13430         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
13431         (DT_MIPS_NUM): Update.
13432         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
13433         DT_MIPS_RLD_MAP_REL.
13435 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
13437         [BZ #16559]
13438         [BZ #18602]
13439         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
13440         round-to-nearest internally then recompute results that
13441         underflowed to zero in the original rounding mode.
13442         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13443         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13445         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13446         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
13447         * sysdeps/i386/fpu/libm-test-ulps: Update.
13448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13450 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13452         * NEWS: Fixed description of link with vector math library.
13454 2015-06-25  Andreas Schwab  <schwab@suse.de>
13456         [BZ #18549]
13457         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
13458         * libio/test-fmemopen.c (do_test): Add test for it.
13460 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
13462         [BZ #17841]
13463         * Makeconfig (no-pie-ldflag): New.
13464         (+link): Set to $(+link-pie) if default to PIE.
13465         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
13466         * config.make.in (build-pie-default): New.
13467         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
13468         is default.  AC_SUBST.
13469         * configure: Regenerated.
13470         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
13472 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13474         * nptl/descr.h (struct pthread): Change type of field setxid_futex
13475         to 'unsigned int'.
13477         * resolv/gai_misc.h (struct waitlist): Change type of field
13478         counterp to 'volatile unsigned int *'.
13479         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
13480         FUTEXADDR and OLDVAL.
13481         * resolv/getaddrinfo_a.c (getaddrinfo_a):
13482         Give local variable TOTAL type 'volatile unsigned int'.
13483         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13484         * resolv/gai_suspend.c (gai_suspend):
13485         Give local variable CNTR type 'unsigned int'.
13487         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
13488         counterp to 'volatile unsigned int *'.
13489         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
13490         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
13491         (aio_suspend): Give local variable CNTR type 'unsigned int'.
13492         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
13493         Give local variable TOTAL type 'volatile unsigned int'.
13494         (struct async_waitlist): Change type of field counter to 'unsigned int'.
13496 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13498         [BZ #18383]
13499         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
13500         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
13501         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
13502         comment for i386/x86-64.
13503         (test-xfail-tst-tlsalign-extern-static): Removed.
13505 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13507         * math/test-double.h: New file.
13508         * math/test-float.h: Likewise.
13509         * math/test-ldouble.h: Likewise.
13510         * math/test-math-inline.h: Likewise.
13511         * math/test-math-no-inline.h: Likewise.
13512         * math/test-math-scalar.h: Likewise.
13513         * math/test-math-vector.h: Likewise.
13514         * math/test-vec-loop.h: Remove file.  Contents moved into
13515         test-math-vector.h.
13516         * math/libm-test.inc (MATHCONST): Do not document macro.
13517         * math/test-double.c: Include test-double.h, test-math-no-inline.h
13518         and test-math-scalar.h.
13519         (FUNC): Remove macro.
13520         (FUNC_TEST): Likewise.
13521         (FLOAT): Likewise.
13522         (MATHCONST): Likewise.
13523         (PRINTF_EXPR): Likewise.
13524         (PRINTF_XEXPR): Likewise.
13525         (PRINTF_NEXPR): Likewise.
13526         (TEST_DOUBLE): Likewise.
13527         (TEST_MATHVEC): Likewise.
13528         (__NO_MATH_INLINES): Likewise.
13529         * math/test-float.c: Include test-float.h, test-math-no-inline.h
13530         and test-math-scalar.h.
13531         (FUNC): Remove macro.
13532         (FUNC_TEST): Likewise.
13533         (FLOAT): Likewise.
13534         (MATHCONST): Likewise.
13535         (PRINTF_EXPR): Likewise.
13536         (PRINTF_XEXPR): Likewise.
13537         (PRINTF_NEXPR): Likewise.
13538         (TEST_FLOAT): Likewise.
13539         (TEST_MATHVEC): Likewise.
13540         (__NO_MATH_INLINES): Likewise.
13541         * math/test-idouble.c: Include test-double.h, test-math-inline.h
13542         and test-math-scalar.h.
13543         (FUNC): Remove macro.
13544         (FUNC_TEST): Likewise.
13545         (FLOAT): Likewise.
13546         (MATHCONST): Likewise.
13547         (PRINTF_EXPR): Likewise.
13548         (PRINTF_XEXPR): Likewise.
13549         (PRINTF_NEXPR): Likewise.
13550         (TEST_DOUBLE): Likewise.
13551         (TEST_MATHVEC): Likewise.
13552         (TEST_INLINE): Likewise.
13553         (__NO_MATH_INLINES): Likewise.
13554         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
13555         test-math-scalar.h.
13556         (FUNC): Remove macro.
13557         (FUNC_TEST): Likewise.
13558         (FLOAT): Likewise.
13559         (MATHCONST): Likewise.
13560         (PRINTF_EXPR): Likewise.
13561         (PRINTF_XEXPR): Likewise.
13562         (PRINTF_NEXPR): Likewise.
13563         (TEST_FLOAT): Likewise.
13564         (TEST_MATHVEC): Likewise.
13565         (TEST_INLINE): Likewise.
13566         (__NO_MATH_INLINES): Likewise.
13567         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
13568         and test-math-scalar.h.
13569         (FUNC): Remove macro.
13570         (FUNC_TEST): Likewise.
13571         (FLOAT): Likewise.
13572         (MATHCONST): Likewise.
13573         (PRINTF_EXPR): Likewise.
13574         (PRINTF_XEXPR): Likewise.
13575         (PRINTF_NEXPR): Likewise.
13576         (TEST_LDOUBLE): Likewise.
13577         (TEST_MATHVEC): Likewise.
13578         (TEST_INLINE): Likewise.
13579         (__NO_MATH_INLINES): Likewise.
13580         * math/test-ldouble.c: Include test-ldouble.h,
13581         test-math-no-inline.h 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_LDOUBLE): Likewise.
13590         (TEST_MATHVEC): Likewise.
13591         (__NO_MATH_INLINES): Likewise.
13592         * math/test-double-vlen2.h: Include test-double.h,
13593         test-math-no-inline.h and test-math-vector.h.
13594         (FLOAT): Remove macro.
13595         (FUNC): Likewise.
13596         (MATHCONST): Likewise.
13597         (PRINTF_EXPR): Likewise.
13598         (PRINTF_XEXPR): Likewise.
13599         (PRINTF_NEXPR): Likewise.
13600         (TEST_DOUBLE): Likewise.
13601         (TEST_MATHVEC): Likewise.
13602         (__NO_MATH_INLINES): Likewise.
13603         (CNCT): Likewise.
13604         (CONCAT): Likewise.
13605         (WRAPPER_NAME): Likewise.
13606         (WRAPPER_DECL): Likewise.
13607         (WRAPPER_DECL_ff): Likewise.
13608         (WRAPPER_DECL_fFF): Likewise.
13609         (VECTOR_WRAPPER): Likewise.
13610         (VECTOR_WRAPPER_ff): Likewise.
13611         (VECTOR_WRAPPER_fFF): Likewise.
13612         (VEC_LEN): New macro.
13613         * math/test-double-vlen4.h: Include test-double.h,
13614         test-math-no-inline.h and test-math-vector.h.
13615         (FLOAT): Remove macro.
13616         (FUNC): Likewise.
13617         (MATHCONST): Likewise.
13618         (PRINTF_EXPR): Likewise.
13619         (PRINTF_XEXPR): Likewise.
13620         (PRINTF_NEXPR): Likewise.
13621         (TEST_DOUBLE): Likewise.
13622         (TEST_MATHVEC): Likewise.
13623         (__NO_MATH_INLINES): Likewise.
13624         (CNCT): Likewise.
13625         (CONCAT): Likewise.
13626         (WRAPPER_NAME): Likewise.
13627         (WRAPPER_DECL): Likewise.
13628         (WRAPPER_DECL_ff): Likewise.
13629         (WRAPPER_DECL_fFF): Likewise.
13630         (VECTOR_WRAPPER): Likewise.
13631         (VECTOR_WRAPPER_ff): Likewise.
13632         (VECTOR_WRAPPER_fFF): Likewise.
13633         (VEC_LEN): New macro.
13634         * math/test-double-vlen8.h: Include test-double.h,
13635         test-math-no-inline.h and test-math-vector.h.
13636         (FLOAT): Remove macro.
13637         (FUNC): Likewise.
13638         (MATHCONST): Likewise.
13639         (PRINTF_EXPR): Likewise.
13640         (PRINTF_XEXPR): Likewise.
13641         (PRINTF_NEXPR): Likewise.
13642         (TEST_DOUBLE): Likewise.
13643         (TEST_MATHVEC): Likewise.
13644         (__NO_MATH_INLINES): Likewise.
13645         (CNCT): Likewise.
13646         (CONCAT): Likewise.
13647         (WRAPPER_NAME): Likewise.
13648         (WRAPPER_DECL): Likewise.
13649         (WRAPPER_DECL_ff): Likewise.
13650         (WRAPPER_DECL_fFF): Likewise.
13651         (VECTOR_WRAPPER): Likewise.
13652         (VECTOR_WRAPPER_ff): Likewise.
13653         (VECTOR_WRAPPER_fFF): Likewise.
13654         (VEC_LEN): New macro.
13655         * math/test-float-vlen4.h: Include test-float.h,
13656         test-math-no-inline.h and test-math-vector.h.
13657         (FLOAT): Remove macro.
13658         (FUNC): Likewise.
13659         (MATHCONST): Likewise.
13660         (PRINTF_EXPR): Likewise.
13661         (PRINTF_XEXPR): Likewise.
13662         (PRINTF_NEXPR): Likewise.
13663         (TEST_FLOAT): Likewise.
13664         (TEST_MATHVEC): Likewise.
13665         (__NO_MATH_INLINES): Likewise.
13666         (CNCT): Likewise.
13667         (CONCAT): Likewise.
13668         (WRAPPER_NAME): Likewise.
13669         (WRAPPER_DECL): Likewise.
13670         (WRAPPER_DECL_ff): Likewise.
13671         (WRAPPER_DECL_fFF): Likewise.
13672         (VECTOR_WRAPPER): Likewise.
13673         (VECTOR_WRAPPER_ff): Likewise.
13674         (VECTOR_WRAPPER_fFF): Likewise.
13675         (VEC_LEN): New macro.
13676         * math/test-float-vlen8.h: Include test-float.h,
13677         test-math-no-inline.h and test-math-vector.h.
13678         (FLOAT): Remove macro.
13679         (FUNC): Likewise.
13680         (MATHCONST): Likewise.
13681         (PRINTF_EXPR): Likewise.
13682         (PRINTF_XEXPR): Likewise.
13683         (PRINTF_NEXPR): Likewise.
13684         (TEST_FLOAT): Likewise.
13685         (TEST_MATHVEC): Likewise.
13686         (__NO_MATH_INLINES): Likewise.
13687         (CNCT): Likewise.
13688         (CONCAT): Likewise.
13689         (WRAPPER_NAME): Likewise.
13690         (WRAPPER_DECL): Likewise.
13691         (WRAPPER_DECL_ff): Likewise.
13692         (WRAPPER_DECL_fFF): Likewise.
13693         (VECTOR_WRAPPER): Likewise.
13694         (VECTOR_WRAPPER_ff): Likewise.
13695         (VECTOR_WRAPPER_fFF): Likewise.
13696         (VEC_LEN): New macro.
13697         * math/test-float-vlen16.h: Include test-float.h,
13698         test-math-no-inline.h and test-math-vector.h.
13699         (FLOAT): Remove macro.
13700         (FUNC): Likewise.
13701         (MATHCONST): Likewise.
13702         (PRINTF_EXPR): Likewise.
13703         (PRINTF_XEXPR): Likewise.
13704         (PRINTF_NEXPR): Likewise.
13705         (TEST_FLOAT): Likewise.
13706         (TEST_MATHVEC): Likewise.
13707         (__NO_MATH_INLINES): Likewise.
13708         (CNCT): Likewise.
13709         (CONCAT): Likewise.
13710         (WRAPPER_NAME): Likewise.
13711         (WRAPPER_DECL): Likewise.
13712         (WRAPPER_DECL_ff): Likewise.
13713         (WRAPPER_DECL_fFF): Likewise.
13714         (VECTOR_WRAPPER): Likewise.
13715         (VECTOR_WRAPPER_ff): Likewise.
13716         (VECTOR_WRAPPER_fFF): Likewise.
13717         (VEC_LEN): New macro.
13718         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
13719         test-vec-loop.h.
13720         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13722         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13723         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13724         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13725         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13726         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13728 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13730         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
13731         (__getlogin_r): ... this.
13733 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13735         [BZ #18594]
13736         * math/s_ccosh.c (__ccosh): Compare with least normal value
13737         instead of comparing class with FP_SUBNORMAL.
13738         * math/s_ccoshf.c (__ccoshf): Likewise.
13739         * math/s_ccoshl.c (__ccoshl): Likewise.
13740         * math/s_cexp.c (__cexp): Likewise.
13741         * math/s_cexpf.c (__cexpf): Likewise.
13742         * math/s_cexpl.c (__cexpl): Likewise.
13743         * math/s_csin.c (__csin): Likewise.
13744         * math/s_csinf.c (__csinf): Likewise.
13745         * math/s_csinh.c (__csinh): Likewise.
13746         * math/s_csinhf.c (__csinhf): Likewise.
13747         * math/s_csinhl.c (__csinhl): Likewise.
13748         * math/s_csinl.c (__csinl): Likewise.
13749         * math/s_ctan.c (__ctan): Likewise.
13750         * math/s_ctanf.c (__ctanf): Likewise.
13751         * math/s_ctanh.c (__ctanh): Likewise.
13752         * math/s_ctanhf.c (__ctanhf): Likewise.
13753         * math/s_ctanhl.c (__ctanhl): Likewise.
13754         * math/s_ctanl.c (__ctanl): Likewise.
13755         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
13756         csin, csinh, ctan and ctanh.
13757         * math/auto-libm-test-out: Regenerated.
13758         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
13759         * sysdeps/i386/fpu/libm-test-ulps: Update.
13760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13762 2015-06-24  Roland McGrath  <roland@hack.frob.com>
13764         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
13765         return value is wrong, print the expected value too.
13767 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
13769         [BZ #18585]
13770         * elf/readlib.c (is_gdb_python_file): New.
13771         (process_file): Don't issue errors on filenames with -gdb.py
13772         suffix.
13774 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
13776         * math/auto-libm-test-in: Add more tests of csin and csinh.
13777         * math/auto-libm-test-out: Regenerated.
13778         * math/libm-test.inc (csin_test_data): Remove tests moved to
13779         auto-libm-test-in.
13780         (csinh_test_data): Likewise.
13782         [BZ #18593]
13783         * math/s_csin.c (__csin): Negate before rather than after possibly
13784         overflowing multiplication.
13785         * math/s_csinf.c (__csinf): Likewise.
13786         * math/s_csinh.c (__csinh): Likewise.
13787         * math/s_csinhf.c (__csinhf): Likewise.
13788         * math/s_csinhl.c (__csinhl): Likewise.
13789         * math/s_csinl.c (__csinl): Likewise.
13790         * math/auto-libm-test-in: Add some tests of csin and csinh.
13791         * math/auto-libm-test-out: Regenerated.
13792         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
13793         (csinh_test_data): Likewise.
13794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13796         [BZ #18586]
13797         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
13798         underflow exception for small results.
13800 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13803         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
13804         variable and included header.
13805         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
13806         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
13807         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
13808         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
13809         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
13810         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13811         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
13813         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
13814         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
13815         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
13816         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
13817         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
13818         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
13819         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
13820         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
13822 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13824         [BZ #16526]
13825         [BZ #16538]
13826         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
13827         (__sin): Force underflow exception for arguments with small
13828         absolute value.
13829         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
13830         (__kernel_sinf): Force underflow exception for arguments with
13831         small absolute value.
13832         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
13833         (__kernel_sincosl): Force underflow exception for arguments with
13834         small absolute value.
13835         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
13836         (__kernel_sinl): Force underflow exception for arguments with
13837         small absolute value.
13838         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
13839         (__kernel_sincosl): Force underflow exception for arguments with
13840         small absolute value.
13841         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
13842         (__kernel_sinl): Force underflow exception for arguments with
13843         small absolute value.
13844         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
13845         (__kernel_sinl): Force underflow exception for arguments with
13846         small absolute value.
13847         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
13848         (__kernel_sinf): Force underflow exception for arguments with
13849         small absolute value.
13850         * math/auto-libm-test-in: Add more tests of sin and sincos.
13851         * math/auto-libm-test-out: Regenerated.
13853         [BZ #18245]
13854         [BZ #18583]
13855         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
13856         (__kernel_standard_l): Use feholdexcept and fesetenv around
13857         conversion to double instead of special-casing overflow and
13858         underflow.
13859         * math/libm-test.inc (fmod_test_data): Add more tests.
13860         (remainder_test_data): Likewise.
13861         (sqrt_test_data): Likewise.
13863 2015-06-23  Torvald Riegel  <triegel@redhat.com>
13865         [BZ #17403]
13866         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
13867         atomic_read_barrier, atomic_write_barrier): Define.
13868         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
13869         atomic_read_barrier, atomic_write_barrier): Define.
13871 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13873         * math/Makefile [$(PERL) != no]
13874         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
13875         dependency on libm-test.stmp below the inclusion of Rules.
13877 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
13879         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
13880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
13881         and included header.
13882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
13883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
13884         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
13885         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
13886         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
13887         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
13888         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13890         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
13891         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
13892         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
13893         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
13894         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
13895         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
13896         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
13897         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
13898         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
13899         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
13900         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
13902 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
13904         [BZ #18371]
13905         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
13906         intermediate but not final result might underflow.
13907         * math/s_csqrtf.c (__csqrtf): Likewise.
13908         * math/s_csqrtl.c (__csqrtl): Likewise.
13909         * math/auto-libm-test-in: Add more tests of csqrt.
13910         * math/auto-libm-test-out: Regenerated.
13911         * sysdeps/i386/fpu/libm-test-ulps: Update.
13913         [BZ #18219]
13914         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
13915         threshold on absolute value of exponent for which scaling is used.
13916         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13917         * math/auto-libm-test-in: Add more tests of exp2.
13918         * math/auto-libm-test-out: Regenerated.
13920 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
13922         [BZ #17977]
13923         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
13924         when initializing interface list, based on the bug analysis
13925         and the patch proposed by Eric Newton.
13926         * resolv/tst-res_hconf_reorder.c: New test.
13927         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
13928         tst-res_hconf_reorder.
13929         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
13930         and $(shared-thread-library).
13931         (tst-res_hconf_reorder-ENV): New variable.
13933         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
13934         in comment.
13936 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
13938         [BZ #16353]
13939         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
13940         (__expm1): Force underflow exception for arguments with small
13941         absolute value.
13942         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
13943         (__expm1f): Force underflow exception for arguments with small
13944         absolute value.
13945         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
13946         (__expm1): Force underflow exception for arguments with small
13947         absolute value.
13948         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
13949         (__expm1f): Force underflow exception for arguments with small
13950         absolute value.
13951         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
13952         Check for small arguments before calling __expm1.
13953         * math/auto-libm-test-in: Do not mark underflow exceptions as
13954         possibly missing for bug 16353.
13955         * math/auto-libm-test-out: Regenerated.
13957 2015-06-22  Andreas Schwab  <schwab@suse.de>
13959         [BZ #18513]
13960         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
13961         PTR queries.
13963 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
13965         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
13967         * string/strcoll_l.c: Remove unused struct element idxnow.
13969 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
13971         [BZ #18569]
13972         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
13973         underflow and return argument in case of subnormal argument.
13974         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13975         Likewise.
13976         * math/auto-libm-test-in: Add more tests of expm1.
13977         * math/auto-libm-test-out: Regenerated.
13979         [BZ #16361]
13980         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13981         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13982         tiny results.
13983         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
13984         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
13985         tiny results.
13986         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
13987         mark underflow exceptions as possibly missing for bug 16361.
13988         * math/auto-libm-test-out: Regenerated.
13990 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
13992         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
13993         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
13994         Remove variable.
13995         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13996         (test-xfail-XOPEN2K8/utmpx.h/conform).
13998         * conform/conformtest.pl ($xerrors): New variable.
13999         (note_error): New function.
14000         (compiletest): New argument $xfail.  Use not_error.
14001         (runtest): Likewise.
14002         (top level): Handle xfail- lines.  Update calls to compiletest and
14003         runtest.  Handle xfail- and optional- in headers listed with
14004         allow-header.
14005         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14006         (O_EXEC): Likewise.
14007         (O_SEARCH): Likewise.
14008         * conform/data/stropts.h-data (ioctl): Likewise.
14009         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14010         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14011         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14012         (msghdr.msg_controllen): Likewise.
14013         (cmsghdr.cmsg_len): Likewise.
14014         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14015         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14016         variable.
14017         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14018         (test-xfail-XPG4/stropts.h/conform): Likewise.
14019         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14020         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14021         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14022         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14023         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14024         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14025         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14026         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14027         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14028         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14029         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14030         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14031         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14032         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14033         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14034         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14035         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14036         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14037         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14039 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14041         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14042         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14043         definitions for proper unfolding of __MATHDECL_VEC.
14045 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14047         * benchtests/bench-strcoll.c:
14048         Include string.h.
14049         (main): Remove unused variable res.
14051 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14053         * timezone/Makefile (%/UTC %/Universal):
14054         Generate test-result files for UTC and Universal.
14056 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14058         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14060 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14062         [BZ #16350]
14063         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14064         for arguments with small absolute value.
14065         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14066         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14067         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14068         (__asinh): Force underflow exception for arguments with small
14069         absolute value.
14070         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14071         (__asinhf): Force underflow exception for arguments with small
14072         absolute value.
14073         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14074         (__asinhl): Force underflow exception for arguments with small
14075         absolute value.
14076         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14077         (__asinhl): Force underflow exception for arguments with small
14078         absolute value.
14079         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14080         (__asinhl): Force underflow exception for arguments with small
14081         absolute value.
14082         * math/auto-libm-test-in: Do not mark underflow exceptions as
14083         possibly missing for bug 16350.
14084         * math/auto-libm-test-out: Regenerated.
14086         * include/bits/ipc.h: Remove file.
14087         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14088         variable.
14089         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14090         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14091         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14092         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14093         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14094         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14095         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14096         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14097         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14099         * math/auto-libm-test-in: Remove spurious underflow allowance for
14100         tests of cexp.
14101         * math/auto-libm-test-out: Regenerated.
14103         [BZ #18558]
14104         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14105         unconditional definition.
14106         (MCAST_BLOCK_SOURCE): Likewise.
14107         (MCAST_UNBLOCK_SOURCE): Likewise.
14108         (MCAST_LEAVE_GROUP): Likewise.
14109         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14110         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14111         (MCAST_MSFILTER): Likewise.
14112         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14113         Remove variable.
14114         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14115         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14116         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14117         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14118         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14120 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14122         * NEWS: Mention addition of x86_64 vector sincosf.
14123         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14124         * math/test-float-vlen4.h: Likewise.
14125         * math/test-float-vlen8.h: Likewise.
14126         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14127         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14128         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14129         * sysdeps/x86_64/fpu/Versions: New versions added.
14130         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14131         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14132         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14133         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14134         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14135         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14136         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14137         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14138         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14139         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14140         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14141         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14142         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14143         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14144         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14145         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14146         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14147         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14148         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14149         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14150         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14151         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14152         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14153         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14155         * NEWS: Mention addition of x86_64 vector sincos.
14156         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14157         * math/math.h (__MATHDECL_VEC): New macro.
14158         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14159         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14160         declaration under condition.
14161         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14162         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14163         TEST_VEC_LOOP change.
14164         * math/test-double-vlen4.h: Likewise.
14165         * math/test-double-vlen8.h: Likewise.
14166         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14167         * math/test-float-vlen4.h: Likewise.
14168         * math/test-float-vlen8.h: Likewise.
14169         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14170         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14171         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14172         * sysdeps/x86_64/fpu/Versions: New versions added.
14173         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14174         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14175         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14176         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14177         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14178         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14179         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14180         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14181         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14182         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14183         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14184         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14185         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14186         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14187         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14188         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14189         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14190         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14193         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14194         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14195         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14196         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14198         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14199         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14200         redirections for powf.
14201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14202         * sysdeps/x86_64/fpu/Versions: New versions added.
14203         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14204         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14205         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14206         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14207         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14208         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14209         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14211         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14213         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14214         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14215         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14216         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14217         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14218         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14219         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14220         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14221         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14222         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14223         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14224         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14225         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14226         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14227         * math/test-float-vlen16.h: Fixed 2 argument macro.
14228         * math/test-float-vlen4.h: Likewise.
14229         * math/test-float-vlen8.h: Likewise.
14230         * NEWS: Mention addition of x86_64 vector powf.
14232 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14234         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14235         and redefine.
14236         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14237         and redefine.
14238         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14239         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14240         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14242         [BZ #18553]
14243         * resource/getpriority.c (getpriority): Rename to __getpriority
14244         and define as weak alias of __getpriority.
14245         * resource/setpriority.c (setpriority): Rename to __setpriority
14246         and define as weak alias of __setpriority.
14247         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14248         __getpriority and define as weak alias of __getpriority.
14249         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14250         __setpriority and define as weak alias of __setpriority.
14251         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14252         strong name.
14253         (setpriority): Use __setpriority as strong name.
14254         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14255         __getpriority and define as weak alias of __getpriority.
14256         * include/sys/resource.h (__getpriority): Declare.  Use
14257         libc_hidden_proto.
14258         (__setpriority): Likewise.
14259         (getpriority): Don't use libc_hidden_proto.
14260         (setpriority): Likewise.
14261         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14262         getpriority.  Call __setpriority instead of setpriority.
14263         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14264         Remove variable.
14266         [BZ #18547]
14267         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14268         as weak alias of __getttynam.  Use prototype function definition.
14269         Call __setttyent, __getttyent and __endttyent instead of
14270         setttyent, getttyent and endttyent.
14271         (getttyent): Rename to __getttyent and define as weak alias of
14272         __getttyent.  Call __setttyent instead of setttyent.  Call
14273         __fgets_unlocked instead of fgets_unlocked.
14274         (setttyent): Rename to __setttyent and define as weak alias of
14275         __setttyent.
14276         (endttyent): Rename to __endttyent and define as weak alias of
14277         __endttyent.
14278         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14279         (__setttyent): Likewise.
14280         (__endttyent): Likewise.
14281         (getttyent): Don't use libc_hidden_proto.
14282         (setttyent): Likewise.
14283         (endttyent): Likewise.
14284         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14285         __endttyent instead of setttyent, getttyent and endttyent.
14286         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14287         Remove variable.
14289         [BZ #18546]
14290         * socket/recv.c (__recv): Use libc_hidden_def.
14291         * socket/socket.c (__socket): Likewise.
14292         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14293         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14294         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14295         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14296         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14297         libc_hidden_def.
14298         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14299         libc_hidden_weak.
14300         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14301         Use libc_hidden_proto.
14302         (__recv): Likewise.
14303         * socket/Versions (libc): Export __recv and __socket at version
14304         GLIBC_PRIVATE.
14305         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14306         instead of recv.
14307         (init_mq_netlink): Call __socket instead of socket.
14308         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14309         Remove variable.
14311         [BZ #18545]
14312         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14313         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14314         hidden_weak.
14315         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14316         define as alias of __mq_timedsend.  Use hidden_weak.
14317         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14318         __mq_timedsend as strong name.
14319         (mq_timedreceive): Use __mq_timedreceive as strong name.
14320         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14321         (__mq_timedreceive): Likewise.
14322         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14323         __mq_timedreceive instead of mq_timedreceive.
14324         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14325         instead of mq_timedsend.
14326         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14327         Remove variable.
14329         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14330         hidden_def and hidden_weak instead of libc_hidden_def and
14331         libc_hidden_weak.
14332         (top level): Refer to hidden_def in comment.
14333         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14334         macro.  Use it instead of libc_hidden_def.
14335         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14336         specify __GI_* name explicitly.
14337         (mq_timedreceive): Likewise.
14338         (mq_setattr): Likewise.
14340         [BZ #18544]
14341         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14342         __pthread_barrier_init and define as weak alias of
14343         __pthread_barrier_init.
14344         * sysdeps/sparc/nptl/pthread_barrier_init.c
14345         (pthread_barrier_init): Likewise.
14346         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14347         __pthread_barrier_wait and define as weak alias of
14348         __pthread_barrier_wait.
14349         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14350         (pthread_barrier_wait): Likewise.
14351         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14352         (pthread_barrier_wait): Likewise.
14353         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14354         (pthread_barrier_wait): Likewise.
14355         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14356         (pthread_barrier_wait): Likewise.
14357         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14358         __pthread_barrier_wait at version GLIBC_PRIVATE.
14359         * include/pthread.h (__pthread_barrier_init): Declare.
14360         (__pthread_barrier_wait): Likewise.
14361         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14362         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14363         (helper_thread): Likewise.
14364         (init_mq_netlink): Call __pthread_barrier_init instead of
14365         pthread_barrier_init.
14367         [BZ #18542]
14368         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14369         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14370         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14371         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14372         vswscanf.
14373         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14374         Remove variable.
14376         [BZ #18540]
14377         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14378         strong alias of _IO_fflush.  Use libc_hidden_def.
14379         * libio/iofflush_u.c (fflush_unlocked): Rename to
14380         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14381         Use libc_hidden_weak.
14382         * include/stdio.h (__fflush_unlocked): Declare.  Use
14383         libc_hidden_proto.
14384         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14385         fflush_unlocked.
14386         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14387         Remove variable.
14389         [BZ #18539]
14390         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14391         define as weak alias of __addseverity.
14392         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14393         Remove variable.
14394         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14395         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14396         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14398         [BZ #18536]
14399         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14400         (__tfind): Likewise.
14401         (__tdelete): Likewise.
14402         (__twalk): Likewise.
14403         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14404         __twalk to GLIBC_PRIVATE.
14405         * include/search.h (__tsearch): Use libc_hidden_proto.
14406         (__tfind): Likewise.
14407         (__tdelete): Likewise.
14408         (__twalk): Likewise.
14409         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
14410         Call __tdelete instead of tdelete.
14411         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
14412         tfind.  Call __tsearch instead of tsearch.
14413         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
14414         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
14415         Remove variable.
14416         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14418         [BZ #18534]
14419         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
14420         (dprintf): Define as a weak alias of __dprintf, not a strong
14421         alias.
14422         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
14423         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
14424         dprintf.
14425         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
14426         Remove variable.
14427         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14428         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14430         [BZ #18533]
14431         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
14432         not a strong alias.
14433         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
14434         Remove variable.
14436         [BZ #18532]
14437         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
14438         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
14439         (in6addr_loopback): Rename to __in6addr_loopback and define as
14440         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
14441         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
14442         libc_hidden_proto.
14443         (__in6addr_any): Likewise.
14444         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
14445         in6addr_any.
14446         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
14447         variable.
14448         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14450 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14452         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
14453         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
14454         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14455         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14456         redirections for pow.
14457         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14458         * sysdeps/x86_64/fpu/Versions: New versions added.
14459         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14460         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14461         build of SSE, AVX2 and AVX512 IFUNC versions.
14462         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
14463         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
14464         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
14465         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
14466         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
14467         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
14468         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
14469         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
14470         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
14471         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
14472         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
14473         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
14474         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
14475         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
14476         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14477         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14478         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14479         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14480         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14481         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14482         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14483         * NEWS: Mention addition of x86_64 vector pow.
14485         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14486         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14487         redirections for expf.
14488         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14489         * sysdeps/x86_64/fpu/Versions: New versions added.
14490         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14491         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14492         build of SSE, AVX2 and AVX512 IFUNC versions.
14493         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
14494         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
14495         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
14496         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
14497         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
14498         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
14499         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
14500         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
14501         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
14502         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
14503         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
14504         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
14505         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
14506         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14507         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14508         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14510         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14511         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14512         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14513         * NEWS: Mention addition of x86_64 vector expf.
14515         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
14516         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
14517         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14518         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14519         redirections for exp.
14520         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14521         * sysdeps/x86_64/fpu/Versions: New versions added.
14522         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14523         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14524         build of SSE, AVX2 and AVX512 IFUNC versions.
14525         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
14526         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
14527         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
14528         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
14529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
14530         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
14531         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
14532         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
14533         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
14534         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
14535         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
14536         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
14537         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
14538         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14539         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14541         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14542         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14543         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14544         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14545         * NEWS: Mention addition of x86_64 vector exp.
14547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14548         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14549         redirections for logf.
14550         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14551         * sysdeps/x86_64/fpu/Versions: New versions added.
14552         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14553         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14554         build of SSE, AVX2 and AVX512 IFUNC versions.
14555         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
14556         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
14557         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
14558         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
14559         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
14560         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
14561         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
14562         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
14563         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
14564         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
14565         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
14566         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
14567         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
14568         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14569         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14570         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14571         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14572         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14573         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14574         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14575         * NEWS: Mention addition of x86_64 vector logf.
14577         * bits/libm-simd-decl-stubs.h: Added stubs for log.
14578         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
14579         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14580         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14581         redirections for log.
14582         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14583         * sysdeps/x86_64/fpu/Versions: New versions added.
14584         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14586         build of SSE, AVX2 and AVX512 IFUNC versions.
14587         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
14588         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
14589         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
14590         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
14591         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
14592         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
14593         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
14594         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
14595         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
14596         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
14597         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
14598         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
14599         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
14600         test.
14601         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14602         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14603         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14604         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14605         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14606         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14607         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14608         * NEWS: Mention addition of x86_64 vector log.
14610 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14612         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
14613         cfi_adjust_cfa_offset argument.
14614         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
14615         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
14617         [BZ #18034]
14618         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
14619         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
14620         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
14621         ordering using ldar.
14622         (_dl_tlsdesc_dynamic): Likewise.
14623         (_dl_tlsdesc_return_lazy): Likewise.
14624         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
14625         relaxed atomics instead of volatile and synchronize with release store.
14626         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
14627         volatile.
14628         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
14630 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
14632         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14633         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
14634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14635         * sysdeps/x86_64/fpu/Versions: New versions added.
14636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
14638         build of SSE, AVX2 and AVX512 IFUNC versions.
14639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
14640         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
14641         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
14642         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
14643         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
14644         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
14645         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
14646         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
14647         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
14648         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
14649         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
14650         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
14651         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
14652         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14654         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14657         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14658         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14659         * NEWS: Mention addition of x86_64 vector sinf.
14661 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
14663         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
14664         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
14665         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
14666         Remove variable.
14667         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14668         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
14670 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14672         [BZ #18530]
14673         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
14674         strong alias of _IO_fputs.  Use libc_hidden_def.
14675         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
14676         and define as weak alias of __fputs_unlocked.  Use
14677         libc_hidden_weak.
14678         * include/stdio.h (__fputs_unlocked): Declare.  Use
14679         libc_hidden_proto.
14680         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
14681         fputs_unlocked.
14683         [BZ #18529]
14684         * resolv/netdb.h [__USE_POSIX]: Change condition to
14685         [__USE_XOPEN2K].
14686         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
14687         not expect.
14688         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
14689         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
14690         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
14691         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
14692         [XPG4 || UNIX98] (AI_ALL): Likewise.
14693         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
14694         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
14695         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
14696         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
14697         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
14698         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
14699         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
14700         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
14701         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
14702         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
14703         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
14704         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
14705         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
14706         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
14707         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
14708         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14709         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
14710         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
14711         [XPG4 || UNIX98] (gai_strerror): Likewise.
14712         [XPG4 || UNIX98] (getaddrinfo): Likewise.
14713         [XPG4 || UNIX98] (getnameinfo): Likewise.
14715         [BZ #18528]
14716         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
14717         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
14718         __USE_XOPEN2K8].
14719         (getgrent): Likewise.
14720         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
14721         expect.
14722         [XPG3 || POSIX2008] (endgrent): Likewise.
14723         [XPG3] (setgrent): Likewise.
14724         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
14725         variable.
14726         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14728         [BZ #18527]
14729         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
14730         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
14731         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
14732         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
14733         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
14734         * include/unistd.h (__getlogin_r): Declare.  Use
14735         libc_hidden_proto.
14736         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
14737         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
14738         variable.
14739         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14740         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14741         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14743 2015-06-12  Martin Sebor  <msebor@redhat.com>
14745         [BZ #18512]
14746         * Makerules (check-install-supported): New target.
14747         (install): Add check-install-supported as a dependency.
14748         * manual/install.texi (Installing the C Library): Document
14749         that overriding prefix and exec_prefix is not supported.
14750         Mention DESTDIR.
14751         * INSTALL: Regenerate from the above.
14753 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
14755         [BZ #18519]
14756         * posix/Versions (libc): Export __libc_pread at version
14757         GLIBC_PRIVATE.
14758         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
14759         instead of pread.
14760         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
14761         variable.
14763         [BZ #18522]
14764         * misc/efgcvt_r.c
14765         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
14766         (cvt_symbol): Use weak_alias instead of strong_alias.
14767         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
14768         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
14769         Remove variable.
14770         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14771         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14773         [BZ #18520]
14774         * inet/herrno.c (h_errno): Rename to __h_errno.
14775         (__libc_h_errno): Define as alias of __h_errno not h_errno.
14776         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
14777         to __h_errno instead of h_errno.
14778         * nptl/herrno.c (h_errno): Rename to __h_errno.
14779         (__h_errno_location): Refer to __h_errno not h_errno.
14780         * resolv/Versions (h_errno): Rename to __h_errno.
14781         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
14782         Remove variable.
14783         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
14785 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
14787         * configure.ac: More strict check for AVX512 assembler support.
14788         * configure: Regenerated.
14790         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
14791         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
14792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
14793         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
14794         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14795         * sysdeps/x86_64/fpu/Versions: New versions added.
14796         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14797         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14798         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14799         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
14800         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
14801         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
14802         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
14803         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
14804         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
14805         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
14806         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
14807         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
14808         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
14809         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
14810         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
14811         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
14812         test.
14813         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14814         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14815         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14816         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14817         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14818         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14819         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14820         * NEWS: Mention addition of x86_64 vector sin.
14822 2015-06-11  Florian Weimer  <fweimer@redhat.com>
14824         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
14825         comment.
14827 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14829         [BZ #18479]
14830         * nptl/pt-interp.c: New file.
14831         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
14832         Add pt-interp.
14833         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
14834         $(common-objpfx)runtime-linker.h.
14836 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
14838         * Makeconfig (+interp): Remove unused variable.
14839         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
14840         only.  Depend on $(common-objpfx)runtime-linker.h instead of
14841         $(elf-objpfx)runtime-linker.h.
14842         ($(elf-objpfx)runtime-linker.h): Rename to
14843         $(common-objpfx)runtime-linker.h and move ...
14844         * Makerules [$(build-shared) = yes]: ... here.
14845         * elf/interp.c: Include <runtime-linker.h> instead of
14846         <elf/runtime-linker.h>.
14848 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14850         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
14851         (__gettimeofday_syscall): Remove vsyscall fallback.
14852         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
14853         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
14854         Add syscall fallback function.
14855         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
14856         if vDSO is not present.
14857         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
14858         fallback function.
14859         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
14860         present.
14861         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
14862         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14864 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
14866         [BZ #18497]
14867         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
14868         of wcscmp.
14869         (wcscmp): Define as weak alias of WCSCMP.
14870         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
14871         wcscoll.
14872         (USE_HIDDEN_DEF): Define.
14873         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
14874         __wcscoll.  Don't use libc_hidden_weak.
14875         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
14876         wcscmp.
14877         * sysdeps/i386/i686/multiarch/wcscmp-c.c
14878         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
14879         __GI_wcscmp.
14880         (weak_alias): Undefine and redefine.
14881         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
14882         __wcscmp and define as weak alias of __wcscmp.
14883         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
14884         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
14885         (__wcscoll): Likewise.
14886         (wcscmp): Don't use libc_hidden_proto.
14887         (wcscoll): Likewise.
14888         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
14889         wcscoll.
14890         * posix/regexec.c (check_node_accept_bytes): Likewise.
14891         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
14892         variable.
14893         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14894         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14896         [BZ #18507]
14897         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
14898         __fstatvfs and define as weak alias of __fstatvfs.  Use
14899         libc_hidden_weak.
14900         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
14901         and define as weak alias of __statvfs.  Use libc_hidden_weak.
14902         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
14903         Define as alias of __fstatvfs, not fstatvfs.
14904         (fstatvfs64): Likewise.
14905         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
14906         Define as alias of __statvfs, not statvfs.
14907         (statvfs64): Likewise.
14908         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
14909         Remove variable.
14911 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14914         (HAVE_GETCPU_VSYSCALL): Define.
14915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
14916         (HAVE_GETCPU_VSYSCALL): Likewise.
14917         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
14918         * sysdeps/unix/sysv/linux/sched_getcpu.c
14919         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
14920         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
14921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
14922         prototype.
14923         * sysdeps/unix/sysv/linux/x86_64/init-first.c
14924         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
14925         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
14926         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
14927         Define.
14928         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
14929         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14930         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
14931         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14933 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
14935         * sysdeps/x86_64/fpu/Makefile: New file.
14936         * sysdeps/x86_64/fpu/Versions: New file.
14937         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
14938         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
14939         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
14940         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
14941         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
14942         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
14943         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
14944         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
14945         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
14946         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
14947         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
14948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
14949         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
14950         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14951         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14952         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
14953         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
14954         * sysdeps/x86_64/configure.ac: Options for libmvec build.
14955         * sysdeps/x86_64/configure: Regenerated.
14956         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
14957         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
14958         * manual/install.texi (Configuring and compiling): Document
14959         --disable-mathvec.
14960         * INSTALL: Regenerated.
14961         * NEWS: Mention addition of libmvec and x86_64 vector cos.
14963         * math/Makefile: Added rules for vector tests.
14964         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
14965         declaration under condition.
14966         * math/test-double-vlen2.h: New file.
14967         * math/test-double-vlen4.h: New file.
14968         * math/test-double-vlen8.h: New file.
14969         * math/test-vec-loop.h: Added initialization macro.
14970         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
14971         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
14972         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
14973         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
14974         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
14975         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
14976         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
14977         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
14978         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
14979         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
14980         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
14982         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14983         * sysdeps/x86_64/fpu/Versions: New versions added.
14984         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
14985         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
14986         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
14987         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
14988         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
14989         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
14990         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
14991         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
14992         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
14993         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
14994         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
14995         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
14996         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
14997         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14998         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14999         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15000         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15001         * NEWS: Mention addition of x86_64 vector cosf.
15003         * math/Makefile: Added CFLAGS for new tests.
15004         * math/test-float-vlen16.h: New file.
15005         * math/test-float-vlen4.h: New file.
15006         * math/test-float-vlen8.h: New file.
15007         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15008         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15009         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15010         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15011         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15012         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15013         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15014         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15015         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15016         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15017         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15019 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15021         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15022         * locale/programs/ld-ctype.c: Likewise.
15024 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15026         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15027         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15028         bit_ZMM16_31_state): New macro.
15029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15030         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15032 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15034         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15036 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15038         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15040 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15042         [BZ #18498]
15043         * libio/memstream.c (open_memstream): Rename to __open_memstream
15044         and define as weak alias of __open_memstream.
15045         * include/stdio.h (__open_memstream): Declare.  Use
15046         libc_hidden_proto.
15047         (open_memstream): Don't use libc_hidden_proto.
15048         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15049         open_memstream.
15050         * posix/getopt.c (_getopt_internal_r): Likewise.
15051         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15052         variable.
15053         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15054         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15055         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15057         [BZ #18496]
15058         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15059         instead of wcrtomb.
15061         [BZ #18483]
15062         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15063         [__USE_XOPEN2K8].  Remove redundant #endif.
15064         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15065         Remove redundant #if.
15066         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15067         Remove variable.
15068         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15069         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15071         [BZ #18495]
15072         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15073         (__iswlower): Likewise.
15074         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15075         (__iswlower): Likewise.
15076         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15077         instead of towlower.
15078         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15079         instead of iswlower.  Call __towupper instead of towupper.
15080         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15081         instead of iswalnum.
15083 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15085         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15086         errors to stderr.
15088 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15090         [BZ #15661]
15091         [BZ #17322]
15092         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15093         Check for overflow properly.  Check for O_APPEND.  Ignore large
15094         file system block sizes.  Add comments about problems.
15095         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15096         * manual/filesys.texi (Storage Allocation): New node.
15098 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15100         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15101         cancellable syscalls.
15102         (SYS_ify): Add guard to no redefine it.
15103         (INLINE_SYSCALL): Likewise.
15104         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15105         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15106         SYSCALL_CANCEL instead.
15107         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15108         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15109         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15110         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15111         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15112         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15113         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15114         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15115         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15116         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15117         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15118         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15119         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15120         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15121         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15122         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15123         Likewise.
15124         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15125         (__libc_pread64): Likewise.
15126         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15127         (__libc_preadv): Likewise.
15128         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15129         (__libc_readv64): Likewise.
15130         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15131         (__libc_pwrite): Likewise.
15132         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15133         (__libc_pwrite64): Likewise.
15134         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15135         (__libc_pwritev): Likewise.
15136         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15137         (__libc_pwritev64): Likewise.
15138         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15139         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15140         (sync_file_range): Likewise.
15141         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15142         Likewise.
15143         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15144         Likewise.
15145         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15146         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15147         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15148         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15149         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15150         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15151         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15152         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15154         Likewise.
15155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15156         (__libc_read64): Likewise.
15157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15158         Likewise.
15159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15160         Likewise.
15161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15162         Likewise.
15163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15164         Likewise.
15165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15166         (__libc_pread64): Likewise.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15168         Likewise.
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15170         (__libc_pwrite64): Likewise.
15171         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15172         (sync_file_range): Likewise.
15173         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15174         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15175         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15176         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15177         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15178         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15179         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15180         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15181         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15182         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15183         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15184         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15185         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15186         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15187         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15188         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15189         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15190         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15192         Likewise.
15193         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15194         Likewise.
15195         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15196         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15197         Likewise.
15198         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15199         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15200         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15201         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15202         Likewise.
15203         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15204         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15205         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15206         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15207         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15209 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15211         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15212         Include dl-vdso.
15213         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15214         Use VDSO routines for gettimeofday, clock_gettime if
15215         available.
15216         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15217         Declare VDSO symbols.
15218         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15219         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15220         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15221         * sysdeps/unix/sysv/linux/arm/Versions: Add
15222         __vdso_clock_gettime.
15224 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15226         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15227         be an inline implementation regardless of library is built within.
15228         (open_not_cancel_2): Likewise.
15229         (__read_nocancel): Likewise.
15230         (__write_nocancel): Likewise.
15231         (openat_not_cancel): Likewise.
15232         (openat_not_cancel_3): Likewise.
15233         (openat64_not_cancel): Likewise.
15234         (openat64_not_cancel_3): Likewise.
15235         (__close_nocancel): Likewise.
15236         (pause_not_cancel): Likewise.
15237         (nanosleep_not_cancel): Likewise.
15238         (sigsuspend_not_cancel): Likewise.
15240 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15242         [BZ #14958]
15243         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15244         wake-up.
15245         (__pthread_rwlock_rdlock_slow): Likewise.
15246         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15247         Likewise.
15248         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15249         Likewise.
15250         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15251         * nptl/tst-rwlock16.c: New file.
15252         * nptl/Makefile (tests): Add new test.
15254 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15256         [BZ #18324]
15257         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15258         missing wake-up of readers.
15259         * nptl/tst-rwlock15.c: New file.
15260         * nptl/Makefile (tests): Add new test.
15262 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15264         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15265         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15266         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15267         and __nacl_supply_interface_rtld.
15268         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15269         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15270         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15271         Add __nacl_supply_interface_rtld.
15272         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15274 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15276         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15277         isfinite.
15278         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15279         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15281 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15283         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15284         __signbit* with standard C99 macros.
15285         * math/e_exp10l.c: Likewise.
15286         * math/e_exp2l.c: Likewise.
15287         * math/e_scalb.c: Likewise.
15288         * math/e_scalbf.c: Likewise.
15289         * math/e_scalbl.c: Likewise.
15290         * math/s_ldexp.c: Likewise.
15291         * math/s_ldexpf.c: Likewise.
15292         * math/s_ldexpl.c: Likewise.
15293         * math/w_atan2.c: Likewise.
15294         * math/w_atan2f.c: Likewise.
15295         * math/w_atan2l.c: Likewise.
15296         * math/w_cosh.c: Likewise.
15297         * math/w_coshf.c: Likewise.
15298         * math/w_coshl.c: Likewise.
15299         * math/w_exp10.c: Likewise.
15300         * math/w_exp10f.c: Likewise.
15301         * math/w_exp10l.c: Likewise.
15302         * math/w_exp2.c: Likewise.
15303         * math/w_exp2f.c: Likewise.
15304         * math/w_exp2l.c: Likewise.
15305         * math/w_fmod.c: Likewise.
15306         * math/w_fmodf.c: Likewise.
15307         * math/w_fmodl.c: Likewise.
15308         * math/w_hypot.c: Likewise.
15309         * math/w_hypotf.c: Likewise.
15310         * math/w_hypotl.c: Likewise.
15311         * math/w_jnl.c: Likewise.
15312         * math/w_lgamma.c: Likewise.
15313         * math/w_lgamma_r.c: Likewise.
15314         * math/w_lgammaf.c: Likewise.
15315         * math/w_lgammaf_r.c: Likewise.
15316         * math/w_lgammal.c: Likewise.
15317         * math/w_lgammal_r.c: Likewise.
15318         * math/w_pow.c: Likewise.
15319         * math/w_powf.c: Likewise.
15320         * math/w_powl.c: Likewise.
15321         * math/w_remainder.c: Likewise.
15322         * math/w_remainderf.c: Likewise.
15323         * math/w_remainderl.c: Likewise.
15324         * math/w_scalb.c: Likewise.
15325         * math/w_scalbf.c: Likewise.
15326         * math/w_scalbl.c: Likewise.
15327         * math/w_scalbln.c: Likewise.
15328         * math/w_scalblnf.c: Likewise.
15329         * math/w_scalblnl.c: Likewise.
15330         * math/w_sinh.c: Likewise.
15331         * math/w_sinhf.c: Likewise.
15332         * math/w_sinhl.c: Likewise.
15333         * math/w_tgamma.c: Likewise.
15334         * math/w_tgammaf.c: Likewise.
15335         * math/w_tgammal.c: Likewise.
15336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15337         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15338         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15339         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15340         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15341         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15342         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15343         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15344         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15345         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15346         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15347         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15349         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15350         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15351         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15352         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15353         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15354         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15355         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15356         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15357         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15360         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15361         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15362         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15363         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15364         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15365         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15366         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15367         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15368         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15369         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15370         * stdio-common/printf_fp.c: Likewise.
15371         * stdio-common/printf_fphex.c: Likewise.
15372         * stdio-common/printf_size.c: Likewise.
15374 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15376         [BZ #18470]
15377         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15378         strnlen.
15379         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15380         Remove variable.
15381         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15382         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15383         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15384         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15385         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15386         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15387         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15388         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15389         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15390         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15392         [BZ #18468]
15393         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15394         weak alias of __wmemchr.  Use libc_hidden_weak.
15395         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15396         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15397         instead of wmemchr.
15399 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15401         [BZ #18383]
15402         * elf/tst-tlsalign-extern.c: New file.
15403         * elf/tst-tlsalign-extern-static.c: New file.
15404         * elf/tst-tlsalign-vars.c: New file.
15405         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
15406         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
15407         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
15408         ($(objpfx)tst-tlsalign-extern-static): Likewise.
15409         (test-xfail-tst-tlsalign-extern-static): New variable.
15411 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
15413         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
15414         Use variable name _sc_err instead of err.
15415         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
15416         instead of ret.
15417         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
15418         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
15419         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
15420         (INLINE_SYSCALL): Likewise.
15422         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
15423         * include/string.h (__strnlen): Use libc_hidden_proto.
15424         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
15425         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
15426         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
15427         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
15428         (libc_hidden_def): Undefine and redefine.
15429         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
15430         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
15431         __GI_strnlen.
15432         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
15433         libc_hidden_def.
15434         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
15436         [BZ #18469]
15437         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
15438         weak alias of __towlower.  Use libc_hidden_weak.
15439         (towupper): Rename to __towupper and define as weak alias of
15440         __towupper.  Use libc_hidden_weak.
15441         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
15442         (__towupper): Likewise.
15443         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
15444         __towlower instead of towlower.
15446 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15448         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
15449         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
15451 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15453         * sysdeps/aarch64/libm-test-ulps: Update.
15455 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15457         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
15458         Define.
15459         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15461         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15462         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15463         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
15464         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
15465         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
15467 2015-06-01  Martin Sebor  <msebor@redhat.com>
15469         [BZ #18116]
15470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
15471         (__setcontext): Use extended four-operand version of mtsf whenever
15472         possible.
15473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
15474         (__novec_swapcontext): Likewise.
15476 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15478         * benchtests/scripts/compare_bench.py: New file.
15479         * benchtests/scripts/import_bench.py (mean): New function.
15480         (split_list): Likewise.
15481         (do_for_all_timings): Likewise.
15482         (compress_timings): Likewise.
15484         * benchtests/scripts/import_bench.py: New file.
15485         * benchtests/scripts/validate_benchout.py: Import import_bench
15486         instead of jsonschema.
15487         (validate_bench): Remove function.
15488         (main): Use import_bench.
15490 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
15492         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
15493         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
15495 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15497         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15499 2015-05-28  Roland McGrath  <roland@hack.frob.com>
15501         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
15502         set THREAD_SELF->tid to a magic value and futex-wake it.
15503         Pass its address to the thread_exit system call.
15504         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
15505         bit is clear.
15506         * sysdeps/nacl/lowlevellock.h: New file.
15507         * sysdeps/nacl/lll_timedwait_tid.c: New file.
15509         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
15510         Add TIMEOUT to current time, don't subtract it.
15512 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
15514         [BZ #2981]
15515         [BZ #18422]
15516         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
15517         ($(objpfx)tst-audit2.out): Also depend on
15518         $(objpfx)tst-auditmod9b.so.
15519         * elf/tst-audit2.c: Include <dlfcn.h>.
15520         (calloc_called): New.
15521         (calloc): Allow to be called more than once.
15522         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
15524 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
15526         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
15527         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
15529 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
15531         * stdlib/monetary.h: Fix comment.
15533 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
15535         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
15536         Avoid using variables in #defines that might cause shadowing.
15537         (INTERNAL_VSYSCALL_CALL): Likewise.
15539 2015-05-26  Roland McGrath  <roland@hack.frob.com>
15541         * sysdeps/nacl/lll_timedlock_wait.c: New file.
15543         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
15544         * nptl/lll_timedlock_wait.c: ... to this new file.
15545         * nptl/Makefile (libpthread-routines): Add it.
15546         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
15547         * nptl/lll_timedwait_tid.c: ... to this new file.
15548         * nptl/Makefile (libpthread-routines): Add it.
15549         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
15550         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
15551         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
15552         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
15553         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
15554         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
15555         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
15556         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
15557         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
15558         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
15560 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15562         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
15563         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
15564         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15565         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
15566         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15568         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15569         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15570         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15571         * sysdeps/unix/sysv/linux/tile/sysdep.h
15572         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
15573         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
15574         using vDSO syscall macro.
15576 2015-05-26  Andriy Rysin  <arysin@gmail.com>
15578         [BZ #17293]
15579         * uk_UA: Fix sorting order for Ukrainian locale
15581 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
15583         * stdlib/monetary.h: Fix comment.
15585 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15587         [BZ #18234]
15588         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
15589         st_mtim and st_ctim members.
15590         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
15591         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
15592         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
15593         (struct stat64): Likewise.
15594         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
15595         (struct stat64): Likewise.
15596         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
15597         (struct stat64): Likewise.
15599 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15601         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
15602         Define and include sysdep-vdso.h.
15603         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
15604         Likewise.
15605         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
15606         Likewise.
15607         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
15608         Define with VDSO_SYMBOL and use PTR_MANGLE.
15609         (__vdso_clock_gettime): Likewise.
15610         (__vdso_clock_getres): Likewise.
15611         (_libc_vdso_platform_setup): Likewise.
15612         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
15613         Likewise.
15614         (_libc_vdso_platform_setup): Likewise.
15615         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
15616         Likewise.
15617         (__vdso_clock_gettime): Likewise.
15618         (__vdso_clock_getres): Likewise.
15619         (__vdso_get_tbfreq): Likewise.
15620         (__vdso_getcpu): Likewise.
15621         (__vdso_time): Likewise.
15622         (__vdso_sigtramp_rt64): Likewise.
15623         (__vdso_signtramp32): Likewise.
15624         (__vdso_sigtramp_rt32): Likewise.
15625         (_libc_vdso_platform_setup): Likewise.
15626         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
15627         Likewise.
15628         (__vdso_clock_gettime): Likewise.
15629         (__vdso_clock_getres): Likewise.
15630         (_libc_vdso_platform_setup): Likewise.
15631         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
15632         Likewise.
15633         (__vdso_clock_gettime): Likewise.
15634         (_libc_vdso_platform_setup): Likewise.
15635         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
15636         Likewise.
15637         (__vdso_getcpu): Likewise.
15638         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
15639         Use VDSO_SYMBOL macro to define.
15640         (__vdso_clock_gettime): Likewise.
15641         (__vdso_clock_getres): Likewise.
15642         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
15643         Likewise.
15644         (__vdso_clock_gettime): Likewise.
15645         (__vdso_clock_getres): Likewise.
15646         (__vdso_get_tbfreq): Likewise.
15647         (__vdso_getcpu): Likewise.
15648         (__vdso_time): Likewise.
15649         (__vdso_sigtramp_rt64): Likewise.
15650         (__vdso_signtramp32): Likewise.
15651         (__vdso_sigtramp_rt32): Likewise.
15652         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
15653         Likewise.
15654         (__vdso_clock_gettime): Likewise.
15655         (__vdso_clock_getres): Likewise.
15656         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
15657         Likewise.
15658         (__vdso_clock_gettime): Likewise.
15659         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
15660         Likewise.
15661         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
15662         macro.
15663         (INTERNAL_VSYSCALL): Likewise.
15664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
15665         Remove macro.
15666         (INTERNAL_VSYSCALL): Likewise.
15667         (INTERNAL_VSYSCALL_NCS): Likewise.
15668         (INTERNAL_VSYSCALL_CALL): New macro.
15669         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15670         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
15671         Likewise.
15672         (INTERNAL_VSYSCALL): Likewise.
15673         (INTERNAL_VSYSCALL_NCS): Likewise.
15674         (INTERNAL_VSYSCALL_CALL): New macro.
15675         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
15676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15677         (INLINE_VSYSCALL): Remove macro.
15678         (INTERNAL_VSYSCALL): Remove macro.
15679         (INTERNAL_VSYSCALL_NCS): Remove macro.
15680         (INTERNAL_VSYSCALL_CALL): New macro.
15681         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
15682         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
15683         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15684         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
15685         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15687         (INLINE_VSYSCALL): Remove macro.
15688         (INTERNAL_VSYSCALL): Likewise.
15689         (INTERNAL_VSYSCALL_NCS): Likewise.
15690         (INTERNAL_VSYSCALL_CALL): New macro.
15691         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
15692         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
15693         PTR_DEMANGLE on vDSO pointer.
15694         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
15695         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
15696         macro.
15697         (INTERNAL_SYSCALL): Likewise.
15698         (INTERNAL_VSYSCALL_NCS): Remove macro.
15699         (INTERNAL_VSYSCALL_CALL): New macro.
15700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
15701         Remove macro.
15702         (INTERNAL_VSYSCALL): Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
15704         sysdep-vdso.h instead of libc-vdso.h.
15705         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
15706         definition.
15707         (INLINE_VSYSCALL): Likewise.
15708         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
15709         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
15710         definition.
15711         (INLINE_VSYSCALL): Likewise.
15712         (INTERNAL_VSYSCALL): Likewise.
15713         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15714         * sysdeps/unix/sysv/linux/timespec_get.c
15715         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15716         (timespec_get): Use ANSI prototype.
15717         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
15718         and definition for Linux.
15720 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
15722         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
15723         * include/libc-symbols.h: libmvec_hidden_* macro series added.
15725 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
15727         [BZ #2981]
15728         [BZ #18410]
15729         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
15730         for missing DT_PLTRELSZ.
15732 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
15734         Remove obsolete aliases that broke 'locale -a'
15735         [BZ #18412]
15736         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
15737         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
15738         breaking some applications that use 'locale -a' output.
15739         Change the encoding of this file from Latin-1 to ASCII to avoid
15740         other potential problems with people grepping this file.
15742 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15744         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
15745         -fasynchronous-unwind-tables.
15746         (CFLAGS-sendto.c): Likewise.
15747         (CFLAGS-sendmsg.c): Likewise.
15748         (CFLAGS-connect.c): Likewise.
15749         (CFLAGS-recvmsg.c): Likewise.
15750         (CFLAGS-recvfrom.c): Likewise.
15751         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
15752         (SOCKETCALL): New macro: non-cancellable socketcall.
15753         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
15754         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
15755         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
15756         * sysdeps/unix/sysv/linux/accept.c: New file.
15757         * sysdeps/unix/sysv/linux/bind.c: Likewise.
15758         * sysdeps/unix/sysv/linux/connect.c: Likewise.
15759         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
15760         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
15761         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
15762         * sysdeps/unix/sysv/linux/listen.c: Likewise.
15763         * sysdeps/unix/sysv/linux/recv.c: Likewise.
15764         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
15765         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
15766         * sysdeps/unix/sysv/linux/send.c: Likewise.
15767         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
15768         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
15769         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
15770         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
15771         * sysdeps/unix/sysv/linux/socket.c: Likewise.
15772         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
15773         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
15774         prototype.
15775         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
15776         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15777         instead of __internal_xxx function.
15778         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
15779         prototype.
15780         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
15781         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15782         instead of __internal_xxx function.
15783         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
15784         prototype.
15785         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
15786         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
15787         instead of __internal_xxx function.
15788         * sysdeps/unix/sysv/linux/accept.S: Remove file.
15789         * sysdeps/unix/sysv/linux/bind.S: Likewise.
15790         * sysdeps/unix/sysv/linux/connect.S: Likewise.
15791         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
15792         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
15793         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
15794         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
15795         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
15796         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
15797         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
15798         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
15799         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
15800         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
15801         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
15802         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
15803         * sysdeps/unix/sysv/linux/listen.S: Likewise.
15804         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
15805         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
15806         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
15807         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
15808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
15809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
15810         * sysdeps/unix/sysv/linux/recv.S: Likewise.
15811         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
15812         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
15813         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
15814         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15815         * sysdeps/unix/sysv/linux/send.S: Likewise.
15816         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
15817         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
15818         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
15819         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
15820         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
15821         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
15822         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
15823         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
15824         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
15825         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
15826         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
15827         socketcall is implemented in GLIBC.
15829 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15831         * soft-fp/fmadf4.c: Include <libc-internal.h>.
15832         (__fma): Ignore uninitialized warnings around packing.
15833         * soft-fp/fmasf4.c: Include <libc-internal.h>.
15834         (__fmaf): Ignore uninitialized warnings around packing.
15835         * soft-fp/fmatf4.c: Include <libc-internal.h>.
15836         (__fmal): Ignore uninitialized warnings around packing.
15838         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
15839         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15840         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
15841         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15843         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
15844         switch statement into default case.
15845         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
15847         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
15848         a conditional in forcing "inexact".
15849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15850         Likewise.
15852 2015-05-22  Roland McGrath  <roland@hack.frob.com>
15854         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
15855         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
15856         for each INTERNAL_SYSCALL use.
15858 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
15860         [BZ #438]
15861         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
15862         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
15863         variable.
15865         [BZ #18444]
15866         * string/basename.c (basename): Rename to __basename and define as
15867         weak alias of __basename.  Use libc_hidden_weak.
15868         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
15869         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
15870         __basename instead of basename.
15871         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
15872         Remove variable.
15873         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15875 2015-05-18  Florian Weimer  <fweimer@redhat.com>
15877         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
15878         (_IO_JUMPS_FILE_plus): New.
15879         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
15880         _IO_CAST_FIELD_ACCESS.
15881         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
15882         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
15883         * libio/freopen.c (freopen): Likewise.
15884         * libio/freopen64.c (freopen64): Likewise.
15885         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
15886         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
15887         * libio/iofwide.c (_IO_fwide): Likewise.
15888         * libio/memstream.c (open_memstream): Likewise.
15889         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15890         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15891         * libio/oldiopopen.c (_IO_old_popen): Likewise.
15893 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
15895         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
15896         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
15897         NADJ.
15898         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
15899         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
15900         NADJ.
15901         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
15902         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
15903         NADJ.
15905         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
15906         (p == 4) case.
15908         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
15909         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
15910         Remove variable.
15911         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
15912         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
15913         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15915 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15917         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
15918         Adjust jump table label generation macros.
15920 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15922         * stdio-common/vfprintf.c (vfprintf): Move local variables
15923         args_malloced, specs, specs_malloced, and the code after
15924         do_positional to the printf_positional function.
15925         (printf_positional): New function.
15927 2015-05-21  Florian Weimer  <fweimer@redhat.com>
15929         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
15930         function.
15931         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
15932         STEP4_TABLE, process_arg): Move macro definitions
15933         out of the vfprintf function.  (Cosmetic change only.)
15935 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
15937         * benchtests/Makefile (stdio-common-bench): Define.
15938         (benchset): Add stdio-common-bench.
15939         * sprintf-inputs: New file.
15940         * sprintf-source.c: New file.
15942 2015-05-21  Andreas Schwab  <schwab@suse.de>
15944         [BZ #13028]
15945         [BZ #17053]
15946         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
15947         of struct __res_state.
15948         * resolv/res_send.c (__libc_res_nsend): Likewise.
15949         (get_nsaddr): New function.
15950         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
15951         statp directly.
15953 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
15955         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
15956         -D_POSIX_C_SOURCE=199506L.
15958         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
15960         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
15961         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
15962         Do not mention otherwise.
15963         [POSIX] (_XOPEN_VERSION): Do not expect.
15964         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
15965         [POSIX] (_POSIX2_C_BIND): Likewise.
15966         [POSIX] (_POSIX2_VERSION): Likewise.
15967         [POSIX] (_XOPEN_XPG2): Likewise.
15968         [POSIX] (_XOPEN_XPG3): Likewise.
15969         [POSIX] (_XOPEN_XPG4): Likewise.
15970         [POSIX] (_XOPEN_UNIX): Likewise.
15971         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
15972         [POSIX] (_POSIX_BARRIERS): Likewise.
15973         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
15974         [POSIX] (_POSIX_CPUTIME): Likewise.
15975         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
15976         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
15977         [POSIX] (_POSIX_SHELL): Likewise.
15978         [POSIX] (_POSIX_SPAWN): Likewise.
15979         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
15980         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
15981         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
15982         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
15983         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
15984         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
15985         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
15986         [POSIX] (_XBS5_LP64_OFF64): Likewise.
15987         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
15988         [POSIX] (_POSIX_TIMEOUTS): Likewise.
15989         [POSIX] (_POSIX2_PBS): Likewise.
15990         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
15991         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
15992         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
15993         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
15994         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
15995         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
15996         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
15997         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
15998         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
15999         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16000         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16001         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16002         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16003         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16004         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16005         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16006         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16007         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16008         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16009         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16010         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16011         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16012         [POSIX] (_SC_2_C_BIND): Likewise.
16013         [POSIX] (_SC_2_C_VERSION): Likewise.
16014         [POSIX] (_SC_2_PBS): Likewise.
16015         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16016         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16017         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16018         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16019         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16020         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16021         [POSIX] (_SC_BARRIERS): Likewise.
16022         [POSIX] (_SC_BASE): Likewise.
16023         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16024         [POSIX] (_SC_DEVICE_IO): Likewise.
16025         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16026         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16027         [POSIX] (_SC_FD_MGMT): Likewise.
16028         [POSIX] (_SC_FIFO): Likewise.
16029         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16030         [POSIX] (_SC_FILE_LOCKING): Likewise.
16031         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16032         [POSIX] (_SC_IOV_MAX): Likewise.
16033         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16034         [POSIX] (_SC_NETWORKING): Likewise.
16035         [POSIX] (_SC_PAGE_SIZE): Likewise.
16036         [POSIX] (_SC_PASS_MAX): Likewise.
16037         [POSIX] (_SC_PIPE): Likewise.
16038         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16039         [POSIX] (_SC_REGEXP): Likewise.
16040         [POSIX] (_SC_SHELL): Likewise.
16041         [POSIX] (_SC_SIGNALS): Likewise.
16042         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16043         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16044         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16045         [POSIX] (_SC_USER_GROUPS): Likewise.
16046         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16047         [POSIX] (_SC_STREAMS): Likewise.
16048         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16049         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16050         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16051         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16052         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16053         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16054         [POSIX] (_PC_FILESIZEBITS): Likewise.
16055         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16056         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16057         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16058         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16059         [POSIX] (uid_t): Likewise.
16060         [POSIX] (gid_t): Likewise.
16061         [POSIX] (off_t): Likewise.
16062         [POSIX] (pid_t): Likewise.
16063         [POSIX] (cuserid): Allow.
16064         (_SC_2_CHAR_TERM): Require constant.
16065         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16066         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16067         variable.
16069 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16071         * sysdeps/nacl/pthread-pids.h: New file.
16072         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16073         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16075         * nptl/pthread-pids.h: New file.
16076         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16077         * nptl/nptl-init.c: Include <pthread-pids.h>.
16078         (__pthread_initialize_minimal_internal):
16079         Call __pthread_initialize_pids instead of set_tid_address syscall.
16081         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16082         * sysdeps/posix/usleep.c: ... here.
16084 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16086         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16087         call_pselect6 object.
16088         [$(subdir) = io]: Remove call_sync_file_range object.
16089         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16090         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16091         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16092         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16094 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16096         * math/s_cproj.c: Add include "math_private.h".
16097         * math/s_cprojf.c: Likewise.
16098         * math/s_cprojl.c: Likewise.
16100 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16102         [BZ #18244]
16103         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16104         high mantissa bit when testing whether P is a NaN.
16105         * math/libm-test.inc (remainder_test_data): Add more tests.
16106         (remquo_test_data): Likewise.
16108         [BZ #18049]
16109         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16110         below -32, return the argument, with underflow if subnormal.
16111         * math/auto-libm-test-in: Add more tests of atanh.
16112         * math/auto-libm-test-out: Regenerated.
16114 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16116         [BZ #18434]
16117         * nptl/tst-sem15.c: New file.
16118         * nptl/Makefile (tests): Add it.
16119         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16120         s/<</>>/ to fix typo in EOVERFLOW check.
16121         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16123 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16125         * manual/strings.texi (envz_remove): Fix typo in safety
16126         annotations.
16128 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16129             Steve Ellcey  <sellcey@imgtec.com>
16131         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16132         in order to avoid strict alias warnings.
16133         (iruserok_af): Ditto for ra.
16135 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16137         [BZ #17581]
16138         * malloc/hooks.c
16139         (magicbyte): Convert to a function and avoid returning 0x01.
16140         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16141         (mem2chunk_check): Fix unsigned comparisons to zero.
16142         Hoist defs of sz and magic.
16144 2015-05-19  Richard Henderson  <rth@redhat.com>
16146         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16148         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16150 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16152         [BZ #16159]
16153         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16154         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16155         (reused_arena): Find a non-corrupt arena.
16156         (heap_trim): Pass arena to unlink.
16157         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16158         malloc_printerr.
16159         (top_check): Likewise.
16160         (free_check): Likewise.
16161         (realloc_check): Likewise.
16162         * malloc/malloc.c (malloc_printerr): Add arena argument.
16163         (unlink): Likewise.
16164         (munmap_chunk): Adjust.
16165         (ARENA_CORRUPTION_BIT): New macro.
16166         (arena_is_corrupt): Likewise.
16167         (set_arena_corrupt): Likewise.
16168         (sysmalloc): Use mmap if there are no usable arenas.
16169         (_int_malloc): Likewise.
16170         (__libc_malloc): Don't fail if arena_get returns NULL.
16171         (_mid_memalign): Likewise.
16172         (__libc_calloc): Likewise.
16173         (__libc_realloc): Adjust for additional argument to
16174         malloc_printerr.
16175         (_int_free): Likewise.
16176         (malloc_consolidate): Likewise.
16177         (_int_realloc): Likewise.
16178         (_int_memalign): Don't touch corrupt arenas.
16179         * malloc/tst-malloc-backtrace.c: New test case.
16181         * Makefile (summarize-tests): Fix return value on success.
16183         * manual/string.texi (Envz Functions): Add envz_remove.
16185 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16187         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16188         (invalid_name): New function, broken out of ...
16189         (__opendirat): ... here.  Call it.
16190         (need_isdir_precheck): New function, broken out of ...
16191         (__opendirat): ... here.  Call it.
16192         Use __fxstatat64, not __xstatat64.
16193         (opendir_oflags): New function, broken out of ...
16194         (__opendirat): ... here.  Call it.
16195         (opendir_tail): New function, broken out of ...
16196         (__opendirat): ... here.  Call it.
16197         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16198         opendir_tail, rather than punting to __opendirat.
16199         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16201 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16203         * .gitignore: Ignore generated *.pyc.
16205 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16207         * include/stdio.h: Define __need_wint_t.
16208         * test-skeleton.c: Avoid `for' loop initial declaration.
16209         * nptl/tst-initializers1.c: Use test-skeleton.c.
16211 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16213         [BZ #18418]
16214         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16216 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16218         [BZ #16352]
16219         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16220         (__ieee754_atanh): Force underflow exception for results with
16221         small absolute value.
16222         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16223         (__ieee754_atanhf): Force underflow exception for results with
16224         small absolute value.
16225         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16226         (__ieee754_atanh): Force underflow exception for results with
16227         small absolute value.
16228         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16229         (__ieee754_atanhf): Force underflow exception for results with
16230         small absolute value.
16231         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16232         (__ieee754_atanhl): Force underflow exception for results with
16233         small absolute value.
16234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16235         (__ieee754_atanhl): Force underflow exception for results with
16236         small absolute value.
16237         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16238         (__ieee754_atanhl): Force underflow exception for results with
16239         small absolute value.
16240         * math/auto-libm-test-in: Do not allow missing underflow
16241         exceptions from atanh.
16242         * math/auto-libm-test-out: Regenerated.
16244         [BZ #18221]
16245         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16246         2**-28 as threshold for returning x or +/- 1/x.
16247         * math/auto-libm-test-in: Add more tests of tan.
16248         * math/auto-libm-test-out: Regenerated.
16250         [BZ #18220]
16251         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16252         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16253         * math/auto-libm-test-in: Add another test of lgamma.
16254         * math/auto-libm-test-out: Regenerated.
16256 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16258         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16259         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16260         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16261         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16262         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16263         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16264         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16265         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16266         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16267         (log1): Use fabs.  (my_log2): Use fabs.
16268         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16269         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16270         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16271         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16272         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16273         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16274         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16275         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16276         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16277         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16278         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16280 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16282         [BZ #18217]
16283         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16284         as threshold for returning 1 - x.
16285         * math/auto-libm-test-in: Add more tests of erfc.
16286         * math/auto-libm-test-out: Regenerated.
16288 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16290         [BZ #18196]
16291         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16292         threshold for large arguments.
16293         * math/auto-libm-test-in: Add another test of atan.
16294         * math/auto-libm-test-out: Regenerated.
16296         [BZ #16339]
16297         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16298         (__log1p): Force underflow exception for results with small
16299         absolute value.
16300         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16301         (__log1pf): Force underflow exception for results with small
16302         absolute value.
16303         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16304         (__log1p): Force underflow exception for results with small
16305         absolute value.
16306         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16307         (__log1pf): Force underflow exception for results with small
16308         absolute value.
16309         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16310         (__log1pl): Force underflow exception for results with small
16311         absolute value.
16312         * math/auto-libm-test-in: Do not allow missing underflow
16313         exceptions from log1p.
16314         * math/auto-libm-test-out: Regenerated.
16316 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16317             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16319         [BZ #16704]
16320         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16322 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16324         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16325         (libmvec): New variable.
16326         * configure.ac: Added option for mathvec build.
16327         * configure: Regenerated.
16328         * mathvec/Depend: New file.
16329         * mathvec/Makefile: New file.
16330         * shlib-versions: Added libmvec.
16331         * math/Makefile: Added rule for libm.so installation.
16333         * bits/math-vector.h: New file.
16334         * bits/libm-simd-decl-stubs.h: New header.
16335         * math/Makefile (headers): Added new header
16336         libm-simd-decl-stubs.h.
16337         * math/math.h (__MATHCALL_VEC): New macro.
16339         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16340         for conditions in testing functions.
16341         * math/Makefile: Added call of libm-have-vector-test.sh.
16342         * math/libm-test.inc (HAVE_VECTOR): New macros.
16344         * math/libm-test.inc: START refactored.
16345         * math/test-double.c (TEST_MATHVEC): Add define.
16346         * math/test-float.c: Likewise.
16347         * math/test-idouble.c: Likewise.
16348         * math/test-ifloat.c: Likewise.
16349         * math/test-ildoubl.c: Likewise.
16350         * math/test-ldouble.c: Likewise.
16351         * sysdeps/generic/math-tests-arch.h
16352         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16353         architecture check.
16355         * math/test-double.c (FUNC_TEST): New macro.
16356         * math/test-float.c: Likewise.
16357         * math/test-idouble.c: Likewise.
16358         * math/test-ifloat.c: Likewise.
16359         * math/test-ildoubl.c: Likewise.
16360         * math/test-ldouble.c: Likewise.
16361         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16363 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16365         * sysdeps/nacl/fdopendir.c: New file.
16367         * dirent/scandir-tail.c: New file.
16368         * dirent/scandir64-tail.c: New file.
16369         * dirent/Makefile (routines): Add them.
16370         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16371         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16372         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16373         [!SCANDIR] (SCANDIR_TAIL): New macro.
16374         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16375         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16376         (SCANDIRAT): Macro removed.
16377         (SCANDIR_TAIL): New macro.
16378         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16379         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16380         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16381         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16382         (READDIR): Macro removed.
16383         (SCANDIR_TAIL): New macro.
16384         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16385         (SCANDIR_TAIL): New macro.
16387         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16388         * dirent/scandir-cancel.c: ... to this new file.
16389         * dirent/Makefile (routines): Add it.
16390         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16391         * sysdeps/unix/sysv/linux/i386/scandir64.c
16392         (SKIP_SCANDIR_CANCEL): Macro removed.
16393         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16395         * dirent/tst-scandir.c: New file.
16396         * dirent/tst-scandir64.c: New file.
16397         * dirent/Makefile (tests): Add them.
16399 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16401         [BZ #18409]
16402         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16404 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16406         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
16407         list.
16409 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
16411         * benchtests/bench-strcoll.c: New benchmark.
16412         * benchtests/Makefile: Generate locales and run benchmark.
16413         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
16414         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16415         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
16416         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
16417         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
16418         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
16419         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
16420         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
16421         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
16422         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
16423         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
16424         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
16425         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
16426         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
16427         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
16428         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
16429         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
16430         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
16431         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
16432         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
16433         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
16434         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
16435         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
16436         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
16438 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
16440         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
16441         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16443 2015-05-12  Roland McGrath  <roland@hack.frob.com>
16445         * posix/uname-values.h: New file.
16446         * posix/uname.c: Include that instead of <config-name.h>.
16447         * sysdeps/nacl/uname-values.h: New file.
16448         * sysdeps/arm/nacl/uname-values.h: New file.
16450 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
16452         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
16453         splitting into fields.
16455 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
16457         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
16458         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
16459         * locale/localeinfo.h: Add enum collation_encoding_type.
16460         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
16461         * programs/ld-collate.c (collate_output): Add encoding type info.
16462         * string/strcoll_l.c (STRDIFF): New function.
16463         * (STRCOLL): Use STRDIFF to skip over equal prefix.
16464         * wcsmbs/wcscoll_l.c: Define STRDIFF.
16466 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
16468         [BZ #18397]
16469         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
16470         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
16471         <fpu_control.h> instead of <math/fpu_control.c>.
16472         * sysdeps/mips/mips32/fpu/Makefile: New file.
16474 2015-05-11  Andreas Schwab  <schwab@suse.de>
16476         [BZ #18007]
16477         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
16478         nss_endgrent.
16479         (_nss_compat_endgrent): Call nss_endgrent.
16480         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
16481         nss_endpwent.
16482         (_nss_compat_endpwent): Call nss_endpwent.
16483         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
16484         needent, call nss_setspent only if non-zero.
16485         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
16486         (internal_endspent): Don't call nss_endspent.
16487         (_nss_compat_endspent): Call nss_endspent.
16488         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
16489         Remove.  All uses removed.
16490         (internal_setent): Remove parameter stayopen, add parameter
16491         stream.  Use it instead of global variable.
16492         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
16493         (internal_endent, internal_getent): Add parameter stream.  Use it
16494         instead of global variable.
16495         (CONCAT(_nss_files_end,ENTNAME))
16496         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
16497         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
16498         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
16499         uses removed.
16500         (internal_setent, internal_endent): Add parameter stream.  Use it
16501         instead of global variable.
16502         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
16503         stream.
16504         (get_next_alias): Add parameter stream.
16505         (_nss_files_getaliasent_r): Pass global stream.
16506         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
16507         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
16508         (_nss_files_gethostbyname4_r): Pass local stream to
16509         internal_setent, internal_getent and internal_endent.  Remove
16510         locking.
16512 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16514         * tst-strfmon1.c (tests): Update expected currency symbol.
16516 2015-05-08  Roland McGrath  <roland@hack.frob.com>
16518         * sysdeps/nacl/gethostname.c: New file.
16520 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
16522         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
16523         and sinh.
16524         * math/auto-libm-test-out: Regenerated.
16525         * sysdeps/i386/fpu/libm-test-ulps: Update.
16526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16528 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
16530         [BZ #18125]
16531         * stdlib/tst-setcontext3.c: New file.
16532         * stdlib/tst-setcontext3.sh: New file.
16533         * stdlib/Makefile (tests): Add tst-setcontext3.
16534         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16535         to verify test program created output file.
16536         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
16537         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
16538         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
16539         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
16541 2015-05-06  Roland McGrath  <roland@hack.frob.com>
16543         [BZ #18383]
16544         * elf/tst-tlsalign.c: New file.
16545         * elf/tst-tlsalign-static.c: New file.
16546         * elf/tst-tlsalign-lib.c: New file.
16547         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
16548         (tests-static): Add tst-tlsalign-static.
16549         (modules-names): Add tst-tlsalign-lib.
16550         (test-xfail-tst-tlsalign): New variable.
16551         (test-xfail-tst-tlsalign-static): New variable.
16553         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
16554         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
16556 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
16558         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
16559         csqrt, erfc, sin and sincos.
16560         * math/auto-libm-test-out: Regenerated.
16561         * sysdeps/i386/fpu/libm-test-ulps: Update.
16562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16564 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16566         * sysdeps/aarch64/libm-test-ulps: Update.
16568 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
16570         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
16571         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
16572         * math/auto-libm-test-out: Regenerated.
16573         * sysdeps/i386/fpu/libm-test-ulps: Update.
16574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16576 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16578         [BZ #18265]
16579         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
16580         (wcsncpy): Likewise.
16582 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16584         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16585         Assume __ASSUME_FALLOCATE is always true.
16586         * sysdeps/unix/sysv/linux/posix_fallocate64.c
16587         (__posix_fallocate64_l64): Likweise.
16588         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
16589         (posix_fallocate): Likewise.
16590         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16591         (__posix_fallocate64_l64): Likewise.
16592         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16593         [!__ASSUME_FALLOCATE]: Add comment.
16595 2015-05-05  Florian Weimer  <fweimer@redhat.com>
16597         * sysdeps/unix/sysv/linux/i386/Makefile
16598         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
16599         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
16600         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
16601         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
16602         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
16603         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
16604         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
16606 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
16608         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
16609         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
16610         tgamma.
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-05-01  Joseph Myers  <joseph@codesourcery.com>
16617         * math/auto-libm-test-in: Add more tests of tgamma.
16618         * math/auto-libm-test-out: Regenerated.
16619         * sysdeps/i386/fpu/libm-test-ulps: Update.
16620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16622         * math/auto-libm-test-in: Add more tests of tanh.
16623         * math/auto-libm-test-out: Regenerated.
16624         * sysdeps/i386/fpu/libm-test-ulps: Update.
16625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16627         * math/auto-libm-test-in: Add more tests of tan.
16628         * math/auto-libm-test-out: Regenerated.
16629         * sysdeps/i386/fpu/libm-test-ulps: Update.
16630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16632         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
16633         * math/auto-libm-test-out: Regenerated.
16634         * sysdeps/i386/fpu/libm-test-ulps: Update.
16635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16637         * math/auto-libm-test-in: Add another test of pow.
16638         * math/auto-libm-test-out: Regenerated.
16639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16641         * math/auto-libm-test-in: Add more tests of lgamma.
16642         * math/auto-libm-test-out: Regenerated.
16643         * sysdeps/i386/fpu/libm-test-ulps: Update.
16644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16646         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
16647         log1p.
16648         * math/auto-libm-test-out: Regenerated.
16649         * sysdeps/i386/fpu/libm-test-ulps: Update.
16650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16652 2015-05-01  Mark Wielaard  <mjw@redhat.com>
16654         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
16655         Elf64_Chdr structs and ELFCOMPRESS constants.
16657 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
16659         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
16660         expm1.
16661         * math/auto-libm-test-out: Regenerated.
16662         * sysdeps/i386/fpu/libm-test-ulps: Update.
16663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16665         * math/auto-libm-test-in: Add more tests of erf and erfc.
16666         * math/auto-libm-test-out: Regenerated.
16667         * sysdeps/i386/fpu/libm-test-ulps: Update.
16668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16670 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16672         * config.h.in (HAVE_AARCH64_BE): Add.
16674 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
16676         * math/auto-libm-test-in: Add more tests of csqrt.
16677         * math/auto-libm-test-out: Regenerated.
16678         * sysdeps/i386/fpu/libm-test-ulps: Update.
16679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16681         * math/auto-libm-test-in: Add more tests of cosh and sinh.
16682         * math/auto-libm-test-out: Regenerated.
16683         * sysdeps/i386/fpu/libm-test-ulps: Update.
16684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16686         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
16688 2015-04-29  Roland McGrath  <roland@hack.frob.com>
16690         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
16691         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
16693         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
16694         (euidaccess, eaccess): Define as weak aliases.
16696         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
16697         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
16698         but __suseconds_t is often 'long int' so some sources assume that
16699         type is being used (e.g. they use %ld to print tv_usec).
16701 2015-04-29  Florian Weimer  <fweimer@redhat.com>
16703         [BZ #18007]
16704         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
16705         (CVE-2014-8121)
16706         * nss/tst-nss-getpwent.c: New file.
16707         * nss/Makefile (tests): Add new test.
16709 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
16711         [BZ #18346]
16712         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
16713         exponents less than 48 as cases where high part of mantissa needs
16714         examining to determine whether argument is integral.
16715         * math/libm-test.inc (round_test_data): Add more tests.
16717 2015-04-28  Mark Wielaard  <mjw@redhat.com>
16719         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
16721 2015-04-27  David S. Miller  <davem@davemloft.net>
16723         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
16724         __tls_get_addr.
16725         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
16727 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
16729         [BZ#18333]
16730         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
16732 2015-04-27  Florian Weimer  <fweimer@redhat.com>
16734         [BZ#18333]
16735         * time/tzset.c (parse_tzname): Return error on memory allocation
16736         failure.
16737         * test-skeleton.c (struct temp_name_list): Change type of name
16738         member to non-const.
16739         (add_temp_file): Create a copy of the file name.
16740         (delete_temp_files): Deallocate memory.
16741         (create_temp_file): Add comment.
16743 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16745         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
16746         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
16748 2015-04-24  Roland McGrath  <roland@hack.frob.com>
16750         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
16751         * sysdeps/arm/configure: Regenerated.
16753 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16755         [BZ #17715]
16756         * time/tzfile.c (__tzfile_read): Check for large values of
16757         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
16758         * time/tzset.c (__tzstring_len): New function, based on the old
16759         __tzstring function.
16760         (__tzstring): Call __tzstring_len.
16761         (parse_tzname): New helper function extracted from
16762         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
16763         the input string.
16764         (parse_offset): New helper function extracted from
16765         __tzset_parse_tz.  Replace switch with fallthrough with
16766         initialization before sscanf.
16767         (parse_rule): Likewise.
16768         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
16769         new-style function definition.
16770         * timezone/Makefile (tests): Add tst-tzset.
16771         (tst-tzset.out): Dependencies on time zone files.
16772         (tst-tzset-ENV): Set TZDIR.
16773         (testdata/XT%): Copy crafted time zone files.
16774         * timezone/README: Mention crafted time zone files.
16775         * timezone/testdata/XT1, timezone/testdata/XT2,
16776         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
16777         files.
16778         * timezone/tst-tzset.c: New test.
16780 2015-04-24  Florian Weimer  <fweimer@redhat.com>
16782         * Makeconfig (+gccwarn): Remove -Winline.
16784 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16786         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
16788 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16790         * NEWS: Mention sysconf() cache information support for s390.
16791         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
16793 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
16795         * math/k_casinh.c (__kernel_casinh): Use __copysign.
16796         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
16797         (__nearbyint): Likewise.
16798         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
16799         (copysignl): Likewise.
16801 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
16803         [BZ #18287]
16804         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
16805         based on padding.  (CVE-2015-1781)
16807 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16809         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
16810         libc-vdso.h.
16811         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
16812         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
16813         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
16814         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
16815         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
16816         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
16817         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
16818         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16819         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16820         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
16821         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
16822         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16823         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16824         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
16825         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
16826         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
16827         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
16828         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
16829         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
16830         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
16831         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
16832         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
16833         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
16835 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
16837         * stdlib/setenv.c (__add_to_environ):
16838         Dump core quickly if setenv (..., NULL, ...) is called.
16839         This time, do it the right way, and pacify GCC with a pragma.
16841 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16843         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
16844         IMAP->l_prev cannot be null, and #if out the code for the contrary
16845         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
16846         believe that NS (&_dl_ns[NSID]) could point outside the array.
16848         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
16849         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
16850         before using NSID as an index.
16852 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
16854         [BZ #17825]
16855         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
16856         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
16857         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16859 2015-04-17  Roland McGrath  <roland@hack.frob.com>
16861         Add preliminary port to Google Native Client on ARM.
16862         * abi-tags (.*-.*-nacl.*): New entry.
16863         * sysdeps/arm/nacl: New directory.
16864         * sysdeps/nacl: New directory.
16866 2015-04-16  David S. Miller  <davem@davemloft.net>
16868         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
16869         lowlevellock-futex.h
16871 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
16873         * sysdeps/tile/configure.ac: New file.
16874         * sysdeps/tile/configure: Regenerated.
16876 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16878         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
16879         conditionals for weak_alias and libc_hidden_weak.
16880         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
16881         libc_hidden_weak and weak_alias.
16882         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
16883         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
16884         and weak_alias for static one.
16886 2015-04-15  David S. Miller  <davem@davemloft.net>
16888         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16890 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16892         [BZ #18206]
16893         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
16894           Use signed comparision instead of substraction to avoid
16895           overflow bug.
16896         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
16897           Take the sign of ret.
16898         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
16899           Do not expect precise return values. Only the sign matters.
16900         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
16901         * wcsmbs/test-wcsncmp.c: New File.
16902         * string/test-strncmp.c: Add wcsncmp support.
16904 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
16906         [BZ #6792]
16907         * math/w_log1p.c: New file.
16908         * math/w_log1pf.c: Likewise.
16909         * math/w_log1pl.c: Likewise.
16910         * math/Makefile (libm-calls): Add w_log1p.
16911         * math/s_log1pl.c (log1pl): Remove weak_alias.
16912         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
16913         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
16914         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
16915         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
16916         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
16917         [NO_LONG_DOUBLE] (log1pl): Likewise.
16918         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
16919         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
16920         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
16921         (log1p): Remove long_double_symbol.
16922         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
16923         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
16924         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
16925         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
16926         remove weak_alias for corresponding log1p function.
16927         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
16928         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
16929         * sysdeps/ia64/fpu/w_log1p.c: New file.
16930         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
16931         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
16932         * math/libm-test.inc (log1p_test_data): Add errno expectations.
16934 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
16936         [BZ #18247]
16937         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
16938         decimal exponent by 1.
16939         * stdlib/tst-strtod-round-data: Add more tests.
16940         * stdlib/tst-strtod-round.c (tests): Regenerated.
16942 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
16944         * math/auto-libm-test-in: Add more tests of clog and clog10.
16945         * math/auto-libm-test-out: Regenerated.
16946         * sysdeps/i386/fpu/libm-test-ulps: Update.
16947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16949 2015-04-09  Roland McGrath  <roland@hack.frob.com>
16951         * Makeconfig (module-cppflags): Exclude all .v.i files.
16952         (skip-module-cppflags): Variable removed.
16954         * configure.ac (libc_config_ok): Initialize before reading
16955         preconfigure scripts, not after.
16956         * configure: Regenerated.
16958         * test-skeleton.c (TIMEOUT): Move #define to top level.
16959         (main): Grok environment variable TEST_DIRECT.  If set, print
16960         test expectation details into that file and then behave as if
16961         given --direct.
16963 2015-04-09  Florian Weimer  <fweimer@redhat.com>
16965         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
16966         warning on 32-bit.
16968 2015-04-08  David S. Miller  <davem@davemloft.net>
16970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16972 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
16974         * math/auto-libm-test-in: Add more tests of atanh.
16975         * math/auto-libm-test-out: Regenerated.
16976         * sysdeps/i386/fpu/libm-test-ulps: Update.
16977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16979         * math/auto-libm-test-in: Add more tests of atan.
16980         * math/auto-libm-test-out: Regenerated.
16981         * sysdeps/i386/fpu/libm-test-ulps: Update.
16982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16984 2015-04-08  Florian Weimer  <fweimer@redhat.com>
16986         * elf/pldd.c (main): Rewrite to use struct
16987         scratch_buffer instead of extend_alloca.
16988         * elf/pldd-xx.c (find_maps): Likewise.
16989         * grp/initgroups.c: Include <scratch_buffer.h> instead of
16990         <alloca.h>.
16991         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16992         scratch_buffer instead of extend_alloca.
16993         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
16994         grp/compat-initgroups.c.
16995         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
16996         Rewrite to use struct scratch_buffer instead of extend_alloca.
16997         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
16998         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17000 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17002         * math/auto-libm-test-in: Add more tests of cbrt.
17003         * math/auto-libm-test-out: Regenerated.
17004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17006         * math/auto-libm-test-in: Add more tests of cabs.
17007         * math/auto-libm-test-out: Regenerated.
17008         * sysdeps/i386/fpu/libm-test-ulps: Update.
17009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17011         [BZ #18210]
17012         [BZ #18211]
17013         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17014         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17015         computations.
17016         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17017         clog10.
17018         * math/auto-libm-test-out: Regenerated.
17019         * sysdeps/i386/fpu/libm-test-ulps: Update.
17020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17022         [BZ #18197]
17023         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17024         (atan): Set FE_TONEAREST mode for internal computations.
17025         * math/auto-libm-test-in: Add more tests of atan.
17026         * math/auto-libm-test-out: Regenerated.
17028 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17030         [BZ #17930]
17031         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17033 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17035         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17037 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17039         * include/scratch_buffer.h: New file.
17040         * malloc/scratch_buffer_grow.c: Likewise.
17041         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17042         * malloc/scratch_buffer_set_array_size.c: Likewise.
17043         * malloc/tst-scratch_buffer.c: Likewise.
17044         * malloc/Makefile (routines): Add scratch_buffer_grow.
17045         (tests): Add test case.
17046         * malloc/Versions (GLIBC_PRIVATE): Export
17047         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17048         __libc_scratch_buffer_set_array_size.
17050 2015-04-06  Richard Henderson  <rth@redhat.com>
17052         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17053         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17055         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17056         unsigned int before printing.
17058 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17060         [BZ #17596]
17061         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17062         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17064 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17066         * include/libc-internal.h (libc_max_align_t): Define.
17068 2015-04-02  Andreas Schwab  <schwab@suse.de>
17070         [BZ #16850]
17071         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17073 2015-04-02  Mel Gorman  <mgorman@suse.de>
17075         [BZ #17195]
17076         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17077         as well as the main arena.
17079 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17081         [BZ #18185]
17082         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17083         sharing L2 cache to 2 for Silvermont/Knights Landing.
17085 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17087         [BZ #17711]
17088         * config.make.in (have-protected-data): New.
17089         * configure.ac: Check linker support for protected data symbol.
17090         * configure: Regenerated.
17091         * elf/Makefile (modules-names): Add tst-protected1moda and
17092         tst-protected1modb if $(have-protected-data) is yes.
17093         (tests): Add tst-protected1a and tst-protected1b if
17094         $(have-protected-data) is yes.
17095         ($(objpfx)tst-protected1a): New.
17096         ($(objpfx)tst-protected1b): Likewise.
17097         (tst-protected1modb.so-no-z-defs): Likewise.
17098         * elf/tst-protected1a.c: New file.
17099         * elf/tst-protected1b.c: Likewise.
17100         * elf/tst-protected1mod.h: Likewise.
17101         * elf/tst-protected1moda.c: Likewise.
17102         * elf/tst-protected1modb.c: Likewise.
17104 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17106         [BZ #17711]
17107         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17108         indicates it is called from do_lookup_x on relocation against
17109         protected data, skip the data definion in the executable from
17110         copy reloc.
17111         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17112         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17113         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17114         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17115         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17116         otherwise to 0.
17117         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17118         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17119         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17120         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17121         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17122         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17124 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17126         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17127         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17129 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17131         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17132         THREAD_SETMEM_NC.
17133         * sysdeps/x86_64/nptl/tls.h: Ditto.
17135 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17137         * dlfcn/tststatic.c (main): Converted to ...
17138         (do_test): ... this.
17139         (TEST_FUNCTION): New macro.
17140         Include test-skeleton.c.
17142 2015-03-26  Alan Modra  <amodra@gmail.com>
17144         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17145         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17146         zero for undefined weak.
17147         (elf_machine_plt_conflict): Similarly.
17149 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17151         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17152         atanh.
17153         * math/auto-libm-test-out: Regenerated.
17154         * sysdeps/i386/fpu/libm-test-ulps: Update.
17155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17157         * math/auto-libm-test-in: Add another test of asin.
17158         * math/auto-libm-test-out: Regenerated.
17159         * sysdeps/i386/fpu/libm-test-ulps: Update.
17160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17163         Remove macro.
17164         (LLL_EBX_REG): Likewise.
17165         (LLL_ENTER_KERNEL): Likewise.
17167         * math/auto-libm-test-in: Add more tests of asin.
17168         * math/auto-libm-test-out: Regenerated.
17169         * sysdeps/i386/fpu/libm-test-ulps: Update.
17170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17172         [BZ #18138]
17173         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17174         libc_do_syscall_args): New structure.
17175         (INTERNAL_SYSCALL_MAIN_0): New macro.
17176         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17177         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17178         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17179         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17180         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17181         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17182         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17183         Replace conditional definitions by conditional definitions of ....
17184         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17185         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17186         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17187         (libpthread-sysdep_routines): Add libc-do-syscall.
17188         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17189         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17190         to __NR_futex not 240.
17192 2015-03-25  Alan Modra  <amodra@gmail.com>
17194         * NEWS: Advertise TLS optimization.
17195         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17196         (DT_PPC_NUM): Increment.
17197         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17198         (CHECK_STATIC_TLS): Use here.
17199         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17200         TLS descriptors.
17201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17202         * sysdeps/powerpc/dl-tls.c: New file.
17203         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17204         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17205         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17206         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17211 2015-03-25  Alan Modra  <amodra@gmail.com>
17213         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17214         for overlapping .opd entries" to "support...".
17215         * sysdeps/powerpc/powerpc64/configure: Regenerate
17217 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17219         * math/auto-libm-test-in: Add more tests of acos.
17220         * math/auto-libm-test-out: Regenerated.
17221         * sysdeps/i386/fpu/libm-test-ulps: Update.
17222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17224         * math/auto-libm-test-in: Add more tests of expm1.
17225         * math/auto-libm-test-out: Regenerated.
17226         * sysdeps/i386/fpu/libm-test-ulps: Update.
17227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17229 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17231         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17232         * math/auto-libm-test-out: Regenerated.
17233         * sysdeps/i386/fpu/libm-test-ulps: Update.
17234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17236         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17239         * math/auto-libm-test-in: Add more tests of log2.
17240         * math/auto-libm-test-out: Regenerated.
17241         * sysdeps/i386/fpu/libm-test-ulps: Update.
17242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17244 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17246         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17247         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17248         _IO_IS_APPENDING bit in READ_WRITE instead.
17250 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17252         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17253         (__determine_cpumask_size): Replace extend_alloca with a
17254         variable-length array.  Do not treat res == 0 as an error.
17256 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17258         [BZ #18100]
17259         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17260         and integer overflow.
17261         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17262         (main): Add integer overflow tests.
17263         * manual/pattern.texi (Calling Wordexp): Document additional use
17264         for WRDE_SYNTAX.
17266 2015-03-23  Alan Modra  <amodra@gmail.com>
17268         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17269         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17270         and false branch of conditional.
17271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17272         Likewise.
17274 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17276         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17277         libc-modules.h
17278         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17279         unused declaration of _hurd_intr_rpc_msg_in_trap.
17280         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17281         defined instead of whether it is non-zero.
17282         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17283         input constraint instead of both input and output constraint.  Use ecx
17284         clobber instead of %ecx.
17285         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17286         mutex_unlock): Use a statement expression instead of an expression list.
17287         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17288         type to vm_size_t instead of vm_address_t.
17289         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17290         defined instead of whether it is non-zero.
17291         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17292         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17293         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17294         comparisons with mapaddr.
17295         * nscd/nscd-client.h: Include <time.h>.
17296         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17297         9th parameter to __vm_region instead of int.
17298         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17299         * scripts/check-local-headers.sh (exclude): Add device/,
17300         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17301         cthreads.h.
17303 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17305         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17306         to account for alignment padding.
17307         * sysdeps/arm/memmove.S: Likewise.
17309 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17311         * sysdeps/unix/sysv/linux/generic/README: New file.
17313 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17315         [BZ #18138]
17316         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17317         (futex_abstimed_wait)
17318         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17319         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17320         of lll_futex_timed_wait.
17322 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17324         [BZ #17542]
17325         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17327 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17329         [BZ #17090]
17330         [BZ #17620]
17331         [BZ #17621]
17332         [BZ #17628]
17333         * NEWS: Update.
17334         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17335         entries with Static TLS too.  Skip entries past the end of the
17336         allocated DTV, from Alan Modra.
17337         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17338         Static TLS DTV entry set up from...
17339         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17340         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17341         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17342         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17343         for Static TLS.
17344         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17345         that the slot we find is associated with the given map before
17346         using its generation count.
17347         * nptl_db/db_info.c: Include ldsodefs.h.
17348         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17349         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17350         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17351         (link_map::l_tls_offset): New struct field.
17352         (dtv_t::counter): Likewise.
17353         (rtld_global): New struct.
17354         (_rtld_global): New rtld variable.
17355         (dl_tls_dtv_slotinfo_list): New rtld global field.
17356         (dtv_slotinfo_list): New struct.
17357         (dtv_slotinfo): Likewise.
17358         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17359         (td_lookup): Rename to...
17360         (td_mod_lookup): ... this.  Use new mod parameter instead of
17361         LIBPTHREAD_SO.
17362         * nptl_db/td_thr_tlsbase.c: Include link.h.
17363         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17364         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17365         addresses even if the DTV is out of date or missing them.
17366         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17367         index zero-length arrays.
17368         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17369         (td_lookup): Make it a macro implemented in terms of...
17370         (td_mod_lookup): ... this declaration.
17371         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17372         (DB_MAIN_VARIABLE): Likewise.
17374 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17376         [BZ #18134]
17377         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17379 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17381         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17383 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17385         [BZ #18128]
17386         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17387         (atomic_add, atomic_increment_and_test)
17388         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17390 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17392         * stdlib/setenv.c (__add_to_environ):
17393         Dump core quickly if setenv (..., NULL, ...) is called.
17395 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17397         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17398         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17399         all the necessary asm magic in one place.
17400         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17401         using those.
17403 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17405         [BZ #14906]
17406         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
17407         traced file mtime. Use consistent log message.
17408         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
17409         (register_traced_file): Call install_watches. Always set mtime.
17410         (invalidate_cache): Iterate over all trace files. Call install_watches.
17411         (inotify_check_files): Don't inline. Handle watching parent
17412         directories and configuration file movement in and out.
17413         (handle_inotify_events): New function.
17414         (main_loop_poll): Call handle_inotify_events.
17415         (main_loop_epoll): Likewise.
17416         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
17417         (struct traced_file): Use array of inotify fds. Add parent directory,
17418         and basename.
17419         (struct database_dyn): Remove unused file_mtime.
17420         (init_traced_file): New inline function.
17421         (define_traced_file): New macro.
17422         * nss/nss_db/db-init.c: Use define_traced_file.
17423         (_nss_db_init): Use init_traced_file.
17424         * nss/nss_files/files-init.c: Use define_traced_file.
17425         (_nss_files_init): Use init_traced_file.
17427 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
17429         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
17430         [_LIBC]: Do not include <stdlib.h>.
17431         [!_LIBC] (abort): Remove declaration.
17432         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
17433         _FP_STATIC_ASSERT instead of conditionally calling abort.
17434         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
17435         (_FP_EXTEND_CNAN): Likewise.
17436         (FP_TRUNC): Likewise.
17437         (__FP_CLZ): Likewise.
17438         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
17440 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
17442         * manual/string.texi (XPG basename): Fix prototype.
17444 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17446         [BZ #18080]
17447         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
17448         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17449         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
17450         (__setcontext): Likewise.
17451         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
17452         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
17453         Call rt_sigprocmask syscall one time to set new signal mask
17454         and retrieve the current signal mask instead of two calls.
17455         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
17456         (__swapcontext): Likewise.
17457         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
17458         * stdlib/tst-setcontext2.c: New file.
17460 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
17462         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17464 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
17466         [BZ #18093]
17467         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
17468         the wrong size.
17470 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17472         [BZ #18043]
17473         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
17475 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17477         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
17478         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
17479         Remove define.
17480         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
17481         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
17482         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
17483         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
17484         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
17485         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
17486         define.
17487         * nptl_db/td_symbol_list.c (td_lookup): Remove
17488         HAVE_ASM_GLOBAL_DOT_NAME code.
17489         * sysdeps/powerpc/powerpc64/configure.ac: Remove
17490         HAVE_ASM_GLOBAL_DOT_NAME check.
17491         * sysdeps/powerpc/powerpc64/configure: Regenerate.
17492         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
17493         (DOT_LABEL): Remove define.
17494         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
17495         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
17496         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
17497         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
17498         (__TLS_GET_ADDR): Likewise.
17499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
17500         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
17502 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
17504         [BZ #18111]
17505         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
17506         (_FPU_SETCW): Initialize cw from fpsr before storing.
17507         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
17508         (fesetexceptflag): Rewrite using fpu_control.h.
17509         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
17511 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
17513         [BZ #18110]
17514         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
17515         asms.
17516         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
17518 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
17520         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
17521         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
17522         abort.
17523         (_FP_FMA): Likewise.
17524         (_FP_DIV): Likewise.
17526 2015-03-10  Roland McGrath  <roland@hack.frob.com>
17528         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
17529         with 0 in that case.
17530         * Makefile (summarize-tests): New canned sequence, factored out of
17531         commands for targets tests and xtests.  Display summary lines that
17532         don't start with PASS: or XFAIL: rather than ones that do start with
17533         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
17534         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
17535         do start with ERROR: or FAIL:.
17536         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
17537         (except for [$(build-shared) = yes]).
17538         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
17539         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
17540         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
17541         * nptl/Makefile: Revert 2015-03-04 changes.
17542         [$(CXX) empty] (tests-unsupported): New variable.
17543         * debug/Makefile: Likewise.
17545         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
17546         gnulib file.  Replace __attribute with __attribute__ throughout.
17548 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
17550         * sysdeps/hppa/fpu/libm-test-ulps: Update.
17552 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17554         [BZ #18104]
17555         * math/auto-libm-test-in: Add another test of pow.
17556         * math/auto-libm-test-out: Regenerated.
17558 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17560         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
17561         $(config-cflags-nofma).
17563 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
17565         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
17566         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
17567         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
17568         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
17569         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
17570         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
17571         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
17572         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
17573         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
17574         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
17575         Add comment on closing #endif.
17577 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17579         * posix/wordexp.c (CHAR_IN_SET): New macro.
17580         (parse_param): Use it.
17582 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17584         * sysdeps/powerpc/fpu/libm-test-ulps: update.
17586 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17588         [BZ #18043]
17589         * posix/wordexp.c (parse_param): Fix buffer overflow.
17590         * posix/wordexp-test.c (test_case): Add test case.
17592 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17594         [BZ #18042]
17595         * posix/wordexp.c (parse_backtick): Fix off-by-one.
17596         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
17598 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17600         [BZ #18043]
17601         * posix/wordexp-test.c (test_case): Add test for BZ #18043
17602         (do_bz18043): Delete.
17603         (at_page_end): New.
17604         (testit): Refactor to have words at the edge of unreadable page.
17606 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17608         [BZ #16734]
17609         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
17610         Cleanup read-only streams as well.
17611         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
17613 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17615         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
17616         <bits/libc-lockP.h>
17618 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
17620         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
17621         on [__KERNEL__].
17622         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
17623         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
17624         * soft-fp/op-common.h (_FP_DECL): Likewise.
17626 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17628         * elf/ifuncdep2.c (global): Replace
17629         __attribute__((visibility("protected"))) with
17630         asm (".protected global").
17631         * elf/ifuncmod1.c (global): Likewise.
17632         * elf/ifuncmod5.c (global): Likewise.
17634 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
17636         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
17637         <asm/sfp-machine.h> instead of <sfp-machine.h>.
17639 2015-03-06  Roland McGrath  <roland@hack.frob.com>
17641         * manual/install.texi (Configuring and compiling):
17642         Document test-wrapper-env-only.
17643         * INSTALL: Regenerated.
17645 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17647         [BZ #18043]
17648         * posix/wordexp.c (parse_param): Fix buffer overflow.
17649         * posix/wordexp-test.c (do_bz18043): Add test case.
17651 2015-03-06  Vincent Bernat  <vincent@bernat.im>
17653         * time/tst-strptime2.c (do_test): Ensure failing tests are
17654         reported correctly.
17655         * time/tst-strptime3.c (do_test): Likewise.
17657 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
17659         Fix aio_error thread-safety.
17660         * sysdeps/pthread/aio_error.c: New file
17661         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
17662         synchronization.
17664 2015-03-06  Florian Weimer  <fweimer@redhat.com>
17666         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
17667         (group_number, vfprintf): Use it.
17668         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
17669         (JUMP, REF): Use it.
17670         (WORK_BUFFER_SIZE): New enum constant.
17671         (process_arg, vfprintf): Use it.
17673 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
17675         * manual/errno.texi (Error Messages): Complete example function
17676         by adding missing #define.
17677         (program_invocation_name): Add statement indicating GNU
17678         extension and reference which header file declares the variable.
17679         (program_invocation_short_name): Likewise.
17681 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
17683         * manual/errno.texi (Error Messages): Delete strerror ISO C89
17684         compatibility note.
17686 2015-03-05  Roland McGrath  <roland@hack.frob.com>
17688         * Makeconfig (test-wrapper-env-only): New variable.
17689         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
17690         then use that with $(test-wrapper-env-only) rather than using
17691         $(test-wrapper-env) $(run-program-env) $($*-ENV).
17693 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
17695         [BZ #18082]
17696         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
17697         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
17698         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
17699         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
17700         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
17701         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
17702         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
17703         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
17704         Likewise.
17705         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
17706         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
17707         Likewise.
17708         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
17709         Likewise.
17710         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
17711         Likewise.
17712         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
17713         Likewise.
17714         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
17715         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
17716         Likewise.
17717         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
17718         Likewise.
17719         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
17720         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
17722 2015-03-04  Roland McGrath  <roland@hack.frob.com>
17724         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
17725         (ETH_ALEN): New macro.
17726         (struct ether_addr): Use it for length of ether_addr_octet.
17728         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
17729         (setdb): Don't call __nss_configure_lookup for "rpc".
17730         (do_test): Don't call test_rpc.
17731         (output_rpcent, test_rpc): Functions moved ...
17732         * sunrpc/test-rpcent.c: ... to this new file.
17733         * sunrpc/Makefile (tests): Add it.
17735         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
17736         __xpg_sigpause.
17737         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
17738         * nptl/tst-signal6.c: Likewise.
17739         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
17740         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
17742         * configure.ac (libc_cv_cxx_link_ok): New check.
17743         Reset CXX to empty if it fails to link.
17744         * configure: Regenerated.
17745         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
17746         bug-atexit3-lib only if $(CXX) is nonempty.
17747         * nptl/Makefile (tests): Likewise for tst-cancel24.
17748         (tests, tests-static): Likewise for tst-cancel24-static.
17749         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
17750         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
17751         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
17752         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
17754 2015-03-04  Andreas Schwab  <schwab@suse.de>
17756         [BZ #17631]
17757         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
17758         for non-GCC compilers.
17759         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17760         Likewise.
17762 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17764         [BZ #17776]
17765         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
17766         integer before bitwise and assembly operations.
17767         (feclearexcept): Likewise.
17768         * math/test-fenvinline.c: New file.
17769         * math/Makefile: Add test-fenvinline test.
17771 2015-03-03  Alan Modra  <amodra@gmail.com>
17773         [BZ #16512]
17774         * scripts/localplt.awk: Strip off symbol version.
17775         * NEWS: Mention bug fix.
17777 2015-03-02  Roland McGrath  <roland@hack.frob.com>
17779         * sysdeps/pthread/timer_routines.c
17780         (timer_free_list, thread_free_list, thread_active_list): Make static.
17782 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
17784         [BZ #17779]
17785         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17786         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17787         Undefine.
17788         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17789         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17790         Likewise.
17791         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17792         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
17793         Likewise.
17795 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
17797         [BZ #18036]
17798         * posix/fnmatch_loop.c (END): Detect invalid pattern.
17799         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
17801 2015-03-02  Andreas Schwab  <schwab@suse.de>
17803         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
17804         variable name.
17806 2015-03-02  Florian Weimer  <fweimer@redhat.com>
17808         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
17809         Return error status.
17811 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
17813         [BZ #15969]
17814         * locale/findlocale.c (_nl_find_locale): Introduce const
17815         version of loc_name and drop unsafe type casts.
17817 2015-02-27  Roland McGrath  <roland@hack.frob.com>
17819         * dlfcn/tststatic2.c (main): Converted to ...
17820         (do_test): ... this.
17821         (TEST_FUNCTION): New macro.
17822         Include test-skeleton.c.
17824 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
17826         [BZ #17711]
17827         * elf/Makefile (tests): Add vismain only if PIE is enabled.
17828         (tests-pie): Add vismain.
17829         (CFLAGS-vismain.c): New.
17830         * elf/vismain.c: Add comments for PIE requirement.
17832 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17834         [BZ #18046]
17835         [BZ #18047]
17836         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
17837         0x1p-56L as threshold for just returning the argument.
17838         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
17839         0x1p-32L as threshold for just returning the argument.
17840         * math/auto-libm-test-in: Add more tests of atanh.
17841         * math/auto-libm-test-out: Regenerated.
17842         * sysdeps/i386/fpu/libm-test-ulps: Update.
17843         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
17845 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17847         * string/bcopy.c (bcopy): Call memmove for performance.
17849 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
17851         * string/bzero.c (__bzero): Call memset for performance.
17853 2015-02-27  John David Anglin  <dave.anglin@bell.net>
17855         [BZ #18068]
17856         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
17857         to 00100000.
17859 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
17861         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
17863 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17865         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
17866         (__kernel_standard): Use CSTR macro when setting exc.name.
17867         * sysdeps/ieee754/Makefile [$(subdir) = math]
17868         (CFLAGS-k_standard.c): Remove variable.
17870         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
17871         setting p and q from "else if" to "else".
17872         (qzero): Likewise.
17873         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
17874         (qone): Likewise.
17875         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
17876         (qzerof): Likewise.
17877         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
17878         (qonef): Likewise.
17879         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
17880         (qzero): Likewise.
17881         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
17882         (qone): Likewise.
17884         [BZ #18038]
17885         [BZ #18039]
17886         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
17887         return pi/2 for arguments below 0x1p-113L.
17888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
17889         return pi/2 for arguments below 0x1p-106L.
17890         * math/auto-libm-test-in: Add more tests of acos.
17891         * math/auto-libm-test-out: Regenerated.
17893         [BZ #16351]
17894         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
17895         (MO): New macro.
17896         (__ieee754_asin): Force underflow exception for results with small
17897         absolute value.
17898         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
17899         (MO): New macro.
17900         (__ieee754_asinf): Force underflow exception for results with
17901         small absolute value.
17902         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
17903         (__ieee754_asin): Force underflow exception for results with small
17904         absolute value.
17905         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
17906         (__ieee754_asinf): Force underflow exception for results with
17907         small absolute value.
17908         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
17909         (__ieee754_asinl): Force underflow exception for results with
17910         small absolute value.
17911         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
17912         (__ieee754_asinl): Force underflow exception for results with
17913         small absolute value.
17914         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
17915         (__ieee754_asinl): Force underflow exception for results with
17916         small absolute value.
17917         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
17918         Include <math.h>.
17919         * math/auto-libm-test-in: Do not mark underflow exceptions as
17920         possibly missing for bug 16351.
17921         * math/auto-libm-test-out: Regenerated.
17923         [BZ #18030]
17924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
17925         of power of 2 down when low part has opposite sign.
17926         * math/libm-test.inc (logb_test_data): Add more tests.
17928 2015-02-26  Andreas Schwab  <schwab@suse.de>
17930         [BZ #18032]
17931         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
17932         over collating symbol inside a bracket expression.  Minor cleanup.
17933         * posix/tst-fnmatch3.c (do_test): Add test case.
17935 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
17937         [BZ #18029]
17938         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
17939         Adjust exponent of power of 2 down when low part has opposite
17940         sign.
17941         * math/libm-test.inc (ilogb_test_data): Add more tests.
17943 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
17945         [BZ #15969]
17946         * locale/findlocale.c (_nl_find_locale): Fix constness error in
17947         the previous change.
17949         [BZ #15969]
17950         * locale/findlocale.c (_nl_find_locale): Retry archive search
17951         after alias expansion.
17953 2015-02-25  Roland McGrath  <roland@hack.frob.com>
17955         * iconv/tst-iconv3.c (main): Converted to ...
17956         (do_test): ... this.
17957         (TEST_FUNCTION): New macro.
17958         Include test-skeleton.c.
17960         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
17961         (convert): Make function static.
17962         (test_unalign): Likewise.  Add const to argument pointee types.
17963         (main): Replace with static function do_test.
17964         Print "Succeeded." only if RET is zero.
17965         (TEST_FUNCTION): New macro.
17966         Include test-skeleton.c.
17968         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
17969         returns a null pointer.
17971 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17973         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
17974         to __memcpy_ppc only for static builds.
17976 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
17978         [BZ #18020]
17979         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
17980         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
17981         * math/auto-libm-test-in: Add more tests of asinh.
17982         * math/auto-libm-test-out: Regenerated.
17983         * sysdeps/i386/fpu/libm-test-ulps: Update.
17984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17986 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
17988         [BZ #15850]
17989         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
17990         and ip6_mtuinfo definitions here.
17991         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
17992         in this define too.  Update comment.
17994 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
17996         * elf/sprof.c (load_shobj): Tweak error message to match others.
17998 2015-02-24  Kevin Easton  <kevin@guarana.org>
18000         [BZ #16145] (partial fix)
18001         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18002         to reduce lock contention.
18004 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18006         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18007         (struct timex): Update time comment.
18008         (ADJ_SETOFFSET): Define.
18010 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18012         [BZ #18019]
18013         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18014         2**56 not 2**28 as threshold for log (2x) formula.
18015         * math/auto-libm-test-in: Add more tests of acosh.
18016         * math/auto-libm-test-out: Regenerated.
18017         * sysdeps/i386/fpu/libm-test-ulps: Update.
18018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18020 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18022         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18023         parenthesis around the buf assignment.
18024         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18026 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18028         [BZ #16783]
18029         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18030         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18031         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18032         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18033         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18034         * math/libm-test.inc (scalb_test_data): Add more tests.
18036 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18038         [BZ #17916]
18039         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18040         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18042 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18044         [BZ #17523]
18045         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18046         * io/bits/fcntl2.h (open): Use it.
18047         (openat): Likewise.
18048         * io/open.c (__libc_open): Likewise.
18049         * io/open64.c (__libc_open64): Likewise.
18050         * io/open64_2.c (__open64_2): Likewise.
18051         * io/open_2.c (__open_2): Likewise.
18052         * io/openat.c (__openat): Likewise.
18053         * io/openat64.c (__openat64): Likewise.
18054         * io/openat64_2.c (__openat64_2): Likewise.
18055         * io/openat_2.c (__openat_2): Likewise.
18056         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18057         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18058         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18059         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18060         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18061         (__open_nocancel): Likewise.
18062         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18063         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18064         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18066 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18068         [BZ #14841]
18069         * resolv/gethnamaddr.c (getanswer): Skip logging if
18070         RES_USE_DNSSEC is set.
18071         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18073 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18075         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18077 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18079         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18080         201304L, for Unicode 7.
18082 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18084         [BZ #17836]
18085         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18086         shared library.  Add gmon-start.os otherwise.
18087         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18088         $(objpfx)gmon-start.os if builing shared library.
18089         ($(objpfx)g$(static-start-installed-name)): Likewise.
18091 2015-02-23  Andreas Schwab  <schwab@suse.de>
18093         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18095 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18097         [BZ #17269]
18098         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18099         (enlarge_userbuf): Likewise.
18101 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18103         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18104         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18105         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18106         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18108 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18110         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18111         expression inside statement expression.
18113 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18116         <sysdeps/nptl/lowlevellock.h> and remove macros and
18117         functions that are now defined there.
18118         (SYS_futex): Remove.
18119         (lll_compare_and_swap): Remove.
18120         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18122 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18124         [BZ #17999]
18125         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18126         instead of scandirat.
18127         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18128         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18129         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18130         __scandirat.
18131         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18132         (__scandirat): Declare.  Use libc_hidden_proto.
18133         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18134         Remove variable.
18135         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18137 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18139         [BZ #15319]
18140         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18141         (MO): New macro.
18142         (__ieee754_atan2): For results with small absolute value, force
18143         underflow exception and remove excess range and precision from
18144         return value.
18145         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18146         (MO): New macro.
18147         (__ieee754_atan2f): For results with small absolute value, force
18148         underflow exception and remove excess range and precision from
18149         return value.
18150         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18151         (MO): New macro.
18152         (__atan): For results with small absolute value, force underflow
18153         exception and remove excess range and precision from return value.
18154         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18155         (MO): New macro.
18156         (__atanf): For results with small absolute value, force underflow
18157         exception and remove excess range and precision from return value.
18158         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18159         <math.h>.
18160         (__ieee754_atan2): Force underflow exception for results with
18161         small absolute value.
18162         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18163         <math_private.h>.
18164         (atan): Force underflow exception for results with small absolute
18165         value.
18166         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18167         (__atanf): Force underflow exception for results with small
18168         absolute value.
18169         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18170         <math.h>.
18171         (__atanl): Force underflow exception for results with small
18172         absolute value.
18173         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18174         (__atanl): Force underflow exception for results with small
18175         absolute value.
18176         * sysdeps/x86/fpu/bits/mathinline.h
18177         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18178         (__ieee754_atan2): Only define inline for long double.
18179         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18180         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18181         * math/auto-libm-test-in: Do not mark underflow exceptions as
18182         possibly missing for bug 15319.  Add more tests of atan2.
18183         * math/auto-libm-test-out: Regenerated.
18184         * math/libm-test.inc (casin_test_data): Do not mark underflow
18185         exceptions as possibly missing for bug 15319.
18186         (casinh_test_data): Likewise.
18187         * sysdeps/i386/fpu/libm-test-ulps: Update.
18189 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18191         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18192         * sysdeps/mips/bits/endian.h: Fix comments.
18194 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18196         [BZ #17996]
18197         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18198         (hdestroy_r): Likewise.
18199         (hsearch_r): Likewise.
18200         (__hcreate_r): Declare and use libc_hidden_proto.
18201         (__hdestroy_r): Likewise.
18202         (__hsearch_r): Likewise.
18203         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18204         (hcreate): Call __hcreate_r instead of hcreate_r.
18205         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18206         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18207         as weak alias of __hcreate_r.
18208         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18209         __hdestroy_r.
18210         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18211         __hsearch_r.
18212         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18213         Remove variable.
18214         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18215         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18216         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18217         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18219 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18221         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18222         arena_lock into a single arena_get.
18224 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18226         * dl-reloc.c: Inlucde libc-internal.h.
18227         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18228         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18229         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18230         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18231         (grow_heap): Likewise.
18232         * malloc/malloc.c: Include libc-internal.h.
18233         (do_check_malloc): Call powerof2.
18234         (sysmalloc): Use pagesize. Call ALIGN_UP.
18235         (systrim): Use pagesize.
18236         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18237         (__libc_valloc): Use pagesize.
18238         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18240 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18242         [BZ #17991]
18243         * include/sys/resource.h (__getrlimit64): Declare.  Use
18244         libc_hidden_proto.
18245         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18246         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18247         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18248         getrlimit64.
18249         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18250         __getrlimit64.
18251         [!getrlimit64] (getrlimit64): Define as weak alias of
18252         __getrlimit64.  Use libc_hidden_weak.
18253         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18254         using __getrlimit64 not __new_getrlimit64.
18255         (__GI_getrlimit64): Likewise.
18256         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18257         Likewise.
18258         (__GI_getrlimit64): Likewise.
18259         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18261         (getrlimit): Add __getrlimit64 alias.
18262         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18263         Likewise.
18264         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18265         Remove variable.
18266         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18267         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18269 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18271         * libio/fileops.c: Add missing sys/mman.h
18272         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18274 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18276         * manual/math.texi (Errors in Math Functions): Clarify goals
18277         regarding inexact and underflow exceptions.
18279 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18281         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18282         * sysdeps/mips/memset.S: Ditto.
18284 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18286         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18288 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18290         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18291         (__v1longjmp): Remove versioned symbol.
18292         (__v1siglongjmp): Remove alias and versioned symbol.
18293         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18294         (__v2siglongjmp): Likewise.
18296 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18298         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18300 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18302         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18304 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18306         [BZ #17987]
18307         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18308         zero result does not depend on the sign resulting from
18309         subtraction.
18310         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18311         Likewise.
18312         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18313         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18314         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18315         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18316         * math/libm-test.inc (remquo_test_data): Add more tests.
18318 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18320         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18321         Problem reported by J William Piggott.
18323 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18325         [BZ #17978]
18326         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18327         products 4 * y and 2 * y where those would overflow.
18328         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18329         Likewise.
18330         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18331         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18332         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18333         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18334         * math/libm-test.inc (remquo_test_data): Add more tests.
18336         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18338         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18339         [defined _COMPILING_NEWLIB].
18340         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18341         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18343         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18344         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18346 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18348         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18349         acquired.
18351 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18353         [BZ #17792]
18354         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18355         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18356         HOST_STACK_END_ADDR): Likewise.
18358 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18360         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18361         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18362         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18364 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18366         * sysdeps/generic/c++-types.data: New file.
18367         * sysdeps/generic/ld.abilist: New file.
18368         * sysdeps/generic/libBrokenLocale.abilist: New file.
18369         * sysdeps/generic/libanl.abilist: New file.
18370         * sysdeps/generic/libc.abilist: New file.
18371         * sysdeps/generic/libcrypt.abilist: New file.
18372         * sysdeps/generic/libdl.abilist: New file.
18373         * sysdeps/generic/libm.abilist: New file.
18374         * sysdeps/generic/libpthread.abilist: New file.
18375         * sysdeps/generic/libresolv.abilist: New file.
18376         * sysdeps/generic/librt.abilist: New file.
18378 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18380         [BZ #17569]
18381         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18382         Compute absolute value of x as modified by fmod, not original
18383         value of x.
18384         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18385         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18386         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18387         RUN_TEST_ffI_f1_mod8.
18388         (remquo_test_data): Add more tests.
18390 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18392         * sysdeps/init_array/pt-crti.S: New file.
18394 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18396         [BZ #17967]
18397         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18398         __builtin_fmaf instead of relying on contraction of a * b + c.
18400 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18402         [BZ #17969]
18403         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18404         node.
18406 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18408         [BZ #17964]
18409         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
18410         __builtin_fma instead of relying on contraction of a * b + c.
18412 2015-02-12  Roland McGrath  <roland@hack.frob.com>
18414         * Makeconfig (ASFLAGS): Add -Werror=undef.
18415         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
18416         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
18417         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
18419         * Makeconfig (after-link): New variable.
18420         (+link-pie, +link-pie-tests): Use it.
18421         (+link-static, +link-static-tests): Likewise.
18422         (+link, +link-tests): Likewise.
18423         * Makerules (build-module, build-module-asneeded): Likewise.
18424         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
18425         Likewise.
18426         * elf/Makefile ($(objpfx)ld.so): Likewise.
18428 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
18430         [BZ #17965]
18431         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
18432         both struct timeval and struct timespec.
18434 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
18436         [BZ #16560]
18437         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18438         and redefine.
18439         (__ieee754_exp2l): Do not multiply small fractional parts by
18440         M_LN2l.
18441         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
18442         small argument.
18443         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18444         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18445         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
18446         * math/auto-libm-test-in: Add more tests of exp2.
18447         * math/auto-libm-test-out: Regenerated.
18449 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18451         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
18452         unaligned path.
18454 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18456         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
18457         little endian.
18459 2015-02-12  Andreas Schwab  <schwab@suse.de>
18461         [BZ #15790]
18462         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18463         Filter out elision flags from value returned in kind.
18464         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
18465         * nptl/tst-pthread-mutexattr.c: New file.
18467 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18469         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
18470         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
18471         into gnu-gnu, and update comment to refer to abi-tags.
18473 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
18475         [BZ #15467]
18476         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
18477         (__sincos): Set errno to EDOM for infinite argument.
18478         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
18479         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
18480         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
18481         (__sincosl): Set errno to EDOM for infinite argument.
18482         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
18483         (__sincosl): Set errno to EDOM for infinite argument.
18484         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
18485         (__sincosl): Set errno to EDOM for infinite argument.
18486         * math/libm-test.inc (sincos_test_data): Test errno setting.
18488 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
18490         * string/strxfrm_l.c: Remove #define STRCMP.
18491         * string/strcoll_l.c: Remove #define STRLEN.
18492         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
18493         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
18495 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
18497         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
18498         * sysdeps/mips/mips32/sfp-machine.h: ... here.
18499         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
18500         * sysdeps/mips/mips64/Makefile: ... here.
18501         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
18502         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
18503         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
18504         * sysdeps/mips/mips64/sfp-machine.h: ... here.
18505         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
18506         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
18507         * sysdeps/mips/mips64/n64/Implies: Likewise.
18509 2015-02-10  Roland McGrath  <roland@hack.frob.com>
18511         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
18512         <sys/time.h>, <string.h>, and <errno.h>.
18513         (dest_offset, dest_address, value, zero): Remove unused variables.
18514         (ldouble): Remove typedef.
18515         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
18516         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
18517         1).  Fix code style.
18518         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
18519         (check): Function removed.
18520         (CHECK): New macro.
18521         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
18522         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
18523         Don't call set_sigaction_FP and remove_sigaction_FP here.
18524         (ldouble_test): Just use 'long double' as macro argument, no need for
18525         the 'ldouble' typedef.
18526         (do_test): Set up SIGFPE handler at start, using plain signal rather
18527         than sigaction.  Fix code style.
18529 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
18531         [BZ #17949]
18532         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
18533         jump label.
18535 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18537         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
18538         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18540         * sysdeps/powerpc/configure.ac: Remove file.
18541         * sysdeps/powerpc/configure: Likewise.
18543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18544         [sysdep_routines]: Remove wordcopy-power6 object.
18545         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18546         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
18547         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
18548         (__memmove_ppc32): Likewise.
18549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
18550         file.
18551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
18552         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
18553         Remove preprocessor.
18555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
18556         [sysdep_routines]: Remove wide chars objects.
18557         [wcsmbs]: New rule for wide char objects.
18559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18560         Remove wordcopy-power6 obejct.
18561         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
18562         Use local call for wordcopy and memcpy symbols.
18563         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
18564         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
18565         implementation for loader.
18566         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
18568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18569         Remove wordcopy-power7 object.
18570         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
18571         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
18572         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
18573         (_wordcopy_fwd_dest_aligned): Likewise.
18574         (_wordcopy_bwd_aligned): Likewise.
18575         (_wordcopy_bwd_dest_aligned): Likewise.
18577         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
18578         Rewrite to call __memmove_ppc instead of include default
18579         implementation.
18581         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
18582         Remove wide chars objects.
18583         [wcsmbs]: New rule for wide char objects.
18585 2015-02-09  Andreas Schwab  <schwab@suse.de>
18587         [BZ #17912]
18588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
18589         in terms of __O_DIRECTORY.
18591 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18593         * time/getdate.c: Include <stdbool.h>.
18594         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
18595         call PTR_MANGLE.
18596         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
18597         PTR_DEMANGLE.
18599 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
18601         Add ersatz _Static_assert on older C hosts
18602         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
18603         pre-C11 C platform that is not known to support _Static_assert.
18605 2015-02-07  Richard Braun  <rbraun@sceen.net>
18607         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
18608         sigstate.
18609         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
18611 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18613         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
18614         priority against unexistent AIO_PRIO_DELTA_MAX.
18615         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
18616         instead of int.
18617         * misc/fchflags.c (fchflags): Likewise.
18618         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
18619         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
18620         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
18621         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
18622         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
18623         Declare macros.
18624         [__USE_MISC] (chflags, fchflags): Declare functions.
18625         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
18626         EINVAL when nfds is greater than FD_SETSIZE.
18627         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
18628         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
18629         45.
18630         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
18631         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
18632         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
18633         MACH_RCV_TIMED_OUT.
18634         * hurd/hurd/signal.h (_hurd_self_sigstate,
18635         _hurd_critical_section_lock, _hurd_critical_section_unlock):
18636         Explicit casts from void *.
18637         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
18638         * abi-tags: Rename gnu-gnu os into gnu.
18640         [BZ #4719]
18641         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
18642         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
18643         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
18644         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
18645         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
18646         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
18648         [BZ #17944]
18649         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
18650         duplicates ADDR->sun_path with sockaddr LEN limitation.
18651         * sysdeps/mach/hurd/connect.c: Include <string.h>
18652         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
18653         * sysdeps/mach/hurd/sendmsg.c: Likewise.
18654         * sysdeps/mach/hurd/sendto.c: Likewise.
18655         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
18656         implementing it by hand.
18658 2015-02-06  Roland McGrath  <roland@hack.frob.com>
18660         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
18661         Use sfi_breg on ldr.
18662         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
18663         Likewise.
18665         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
18666         it's defined.
18667         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
18668         Test SIGSETXID only if it's defined.
18670         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
18672         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
18673         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18675         * nptl/tst-align2.c: Moved ...
18676         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
18677         * nptl/Makefile (tests): Remove tst-align2.
18678         * sysdeps/unix/sysv/linux/Makefile
18679         [$(subdir) = nptl] (tests): Add tst-align-clone.
18680         * nptl/tst-getpid1.c: Moved ...
18681         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
18682         * nptl/tst-getpid2.c: Moved ...
18683         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
18684         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
18685         * sysdeps/unix/sysv/linux/Makefile
18686         [$(subdir) = nptl] (tests): ... here.
18687         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
18688         * sysdeps/unix/sysv/linux/Makefile
18689         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
18691         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
18692         Drop trailing \n from perror argument.  Use return rather than exit.
18694         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
18695         on [SA_SIGINFO].
18696         * nptl/tst-cancel21.c (do_test): Likewise.
18697         * debug/tst-backtrace6.c: Include <signal.h> first thing.
18698         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
18699         [!SA_SIGINFO]: Make it a stub test.
18701         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
18702         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
18704         * posix/tst-getlogin.c: Move to ...
18705         * login/tst-getlogin.c: ... here.
18706         * posix/Makefile (tests): Move tst-getlogin to ...
18707         * login/Makefile (tests): ... here.
18709         * libio/tst-atime.c (do_test): Move local variables SV and E
18710         inside [ST_NOATIME] conditional.
18712         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
18714         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
18716         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
18717         (wait_code): New function replaces macro.
18718         Call nanosleep rather than syscall.
18720         * nptl/pt-system.c: Rewritten.  Put everything under
18721         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18722         Use IFUNC to redirect when possible.
18724         * nptl/pt-longjmp.c: Rewritten.  Put everything under
18725         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18726         Use IFUNC to redirect when possible.
18728         * nptl/pt-fork.c: Rewritten.  Put everything under
18729         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
18730         Use IFUNC to redirect when possible.
18731         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
18733         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
18734         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
18735         unconditionally nowadays.  This included the only reference to
18736         __vdso_clock_gettime that appears outside libc proper.
18737         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
18738         Remove version set (containing only __vdso_clock_gettime).
18739         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
18740         Add attribute_hidden.
18741         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
18742         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
18743         libc_hidden_data_def.
18744         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18745         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18747         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
18748         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
18749         setrpcent, and getrpcport to ...
18750         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
18751         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
18752         getrpcbynumber_r, and getrpcent_r to ...
18753         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
18754         * inet/getrpcbyname.c: Moved ...
18755         * sunrpc/getrpcbyname.c: ... here.
18756         * inet/getrpcbyname_r.c: Moved ...
18757         * sunrpc/getrpcbyname_r.c: ... here.
18758         * inet/getrpcbynumber.c: Moved ...
18759         * sunrpc/getrpcbynumber.c: ... here.
18760         * inet/getrpcbynumber_r.c: Moved ...
18761         * sunrpc/getrpcbynumber_r.c: ... here.
18762         * inet/getrpcent.c: Moved ...
18763         * sunrpc/getrpcent.c: ... here.
18764         * inet/getrpcent_r.c: Moved ...
18765         * sunrpc/getrpcent_r.c: ... here.
18766         * inet/Makefile (routines): Move those to ...
18767         * sunrpc/Makefile (routines): ... here.
18768         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
18769         the $(subdirs) list.
18770         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
18771         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
18772         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
18773         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
18775         * elf/Makefile (routines): Include $(all-dl-routines), not just
18776         $(dl-routines).
18777         (rtld-routines): Likewise.  Use = rather than :=.
18778         * sysdeps/aarch64/Makefile [$(subdir) = elf]
18779         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
18780         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
18781         * sysdeps/arm/Makefile: Likewise.
18782         * sysdeps/i386/Makefile: Likewise.
18783         * sysdeps/x86_64/Makefile: Likewise.
18784         * sysdeps/hppa/Makefile [$(subdir) = elf]
18785         (sysdep_routines, sysdep-rtld-routines): Don't add
18786         $(sysdep-dl-routines) to these.
18787         * sysdeps/ia64/Makefile: Likewise.
18788         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
18789         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
18790         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
18791         Don't add dl-static to these; sysdep-dl-routines alone is enough.
18792         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
18793         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
18794         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
18795         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
18796         * sysdeps/powerpc/Makefile [$(subdir) = elf]
18797         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
18798         these; sysdep-dl-routines alone is enough.
18800 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
18802         [BZ #17932]
18803         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
18804         where multiplication results in zero and third argument is finite
18805         and nonzero.
18806         * math/auto-libm-test-in: Add more tests of fma.
18807         * math/auto-libm-test-out: Regenerated.
18809         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
18810         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
18811         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
18812         (_FP_CMP_EQ): Likewise.
18813         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
18815         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
18816         extra argument CHECK_NAN.  Redefine as wrapper around
18817         _FP_EXTEND_CNAN.
18819 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
18821         * version.h (RELEASE): Set to "stable".
18822         (VERSION): Set to "2.21"
18823         * include/features.h (__GLIBC_MINOR__): Set to 21.
18825         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
18827 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18828             Paul Eggert  <eggert@cs.ucla.edu>
18830         [BZ #16618]
18831         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
18832         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
18833         size in bytes. Store needed elements in wpmax. Use needed size
18834         in bytes for extend_alloca.
18836 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
18838         * manual/install.texi: Latest tested versions are GCC 4.9.2,
18839         binutls 2.25, and texinfo 5.2.
18840         * INSTALL: Regenerate.
18841         * sysdeps/nios2/configure: Regenerate.
18842         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
18843         * manual/contrib.texi: Update.
18844         * po/be.po: Update.
18845         * po/bg.po: Update.
18846         * po/ca.po: Update.
18847         * po/cs.po: Update.
18848         * po/da.po: Update.
18849         * po/de.po: Update.
18850         * po/el.po: Update.
18851         * po/eo.po: Update.
18852         * po/es.po: Update.
18853         * po/fi.po: Update.
18854         * po/fr.po: Update.
18855         * po/gl.po: Update.
18856         * po/hr.po: Update.
18857         * po/hu.po: Update.
18858         * po/ia.po: Update.
18859         * po/id.po: Update.
18860         * po/it.po: Update.
18861         * po/ja.po: Update.
18862         * po/ko.po: Update.
18863         * po/lt.po: Update.
18864         * po/nb.po: Update.
18865         * po/nl.po: Update.
18866         * po/pl.po: Update.
18867         * po/pt_BR.po: Update.
18868         * po/ru.po: Update.
18869         * po/rw.po: Update.
18870         * po/sk.po: Update.
18871         * po/sl.po: Update.
18872         * po/sv.po: Update.
18873         * po/tr.po: Update.
18874         * po/uk.po: Update.
18875         * po/vi.po: Update.
18876         * po/zh_CN.po: Update.
18877         * po/zh_TW.po: Update.
18879         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
18880         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
18881         * sysdeps/hppa/dl-irel.h: Remove #warning.
18882         * sysdeps/hppa/entry.h: Provide prototype for
18883         __canonicalize_funcptr_for_compare and cast argument.
18884         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
18885         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
18886         * sysdeps/hppa/sotruss-lib.c: New file.
18887         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
18888         (atomic_compare_and_exchange_val_acq): Use __typeof__.
18889         (atomic_compare_and_exchange_bool_acq): Likewise.
18890         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
18891         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
18893         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
18894         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
18895         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
18897 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
18899         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
18900         called function in non-PIC case.
18902 2015-01-31  David S. Miller  <davem@davemloft.net>
18904         * sysdeps/sparc/sparc32/bits/atomic.h
18905         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
18906         unlock not after it.
18907         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
18908         volatile register usage warnings from the compiler.
18910         * sysdeps/sparc/nptl/sem_init.c: Delete.
18911         * sysdeps/sparc/nptl/sem_post.c: Delete.
18912         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
18913         * sysdeps/sparc/nptl/sem_wait.c: Delete.
18914         * sysdeps/sparc/sparc32/sem_init.c: New file.
18915         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
18916         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
18917         padding explicitly initialized.
18918         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
18919         padding for in-semaphore spinlock.
18920         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
18921         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
18922         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
18923         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
18924         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
18925         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
18926         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
18927         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
18928         version.
18929         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
18930         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
18932 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
18934         [BZ #17801]
18935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18936         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
18937         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
18938         New.
18939         (index_AVX_Fast_Unaligned_Load): Likewise.
18940         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
18941         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
18942         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
18943         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
18944         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
18945         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
18946         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
18947         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
18948         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
18950 2015-01-29  Andreas Schwab  <schwab@suse.de>
18952         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
18954 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
18956         [BZ #17892]
18957         * nscd/nscd_stat.c (send_stats): Initialize DATA.
18959 2015-01-28  Martin Sebor  <msebor@redhat.com>
18961         * math/README.libm-test: Clarify. Add "How to read the test output."
18963 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
18965         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
18966         Define to 0.
18968 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
18970         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
18971         (__HAVE_64B_ATOMICS): Define to 0.
18973 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18975         [BZ #17885]
18976         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
18977         value to set as new flag.
18979         [BZ #16576]
18980         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
18981         and use _ARCH_PPCSQ instead.
18982         (__ieee754_sqrt): Likewise.
18983         (__ieee754_sqrtf): Likewise.
18984         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
18985         _ARCH_PPCSQ is defined.
18986         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
18987         fsqrt instruction.
18988         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
18989         _ARCH_PPCSQ is defined.
18990         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
18991         fsqrts instruction.
18992         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
18994 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18996         * iconv/loop.c: Suppress array out of bound warning caused by GCC
18997         bug (GCC BZ #64739).
18999 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19001         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19002         Mark _retval as used.
19003         (lll_futex_wake_unlock): Likewise.
19004         (lll_futex_timed_wait_requeue_pi): Likewise.
19006         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19007         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19008         register variables.
19010         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19011         libm_hidden_def.
19013         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19014         (__bswap_64): Mark as __always_inline.
19016 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19018         [BZ #15378]
19019         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19020         when none of the search directories exist.
19022 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19024         [BZ #17869]
19025         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19026         power8 in .machine directive.
19028         [BZ #17868]
19029         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19030         set dependency from opd value.
19032 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19034         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19035         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19036         architecture.
19038 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19040         [BZ #17870]
19041         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19042         with uint64_t.
19043         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19044         (uint64_t) 1.
19045         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19046         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19047         Replace 1UL with (uint64_t) 1.
19048         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19049         int with uint64_t.
19051 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19053         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19054         (if_freenameindex): Likewise.
19056         * resource/getrlimit64.c: Add missing libc_hidden_def.
19058 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19060         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19061         __label__.
19062         (_FP_FMA): Likewise.
19063         (_FP_TO_INT_ROUND): Likewise.
19064         (_FP_FROM_INT): Likewise.
19066 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19068         [BZ #16418]
19069         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19070         Make code racy and cancel safe.
19072 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19074         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19075         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19076         attribution.
19078         * pwd/tst-getpw.c: Rewrite.
19080         [BZ #17702]
19081         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19082         (modules-names): Add moddummy1 and moddummy2.
19083         ($(objpfx)tst-rec-dlopen): Define.
19084         * dlfcn/moddummy1.c: New file.
19085         * dlfcn/moddummy2.c: New file.
19086         * dlfcn/tst-rec-dlopen.c: New file.
19087         * elf/dl-cache.c (_dl_load_cache_lookup):
19088         Return char*. Copy result with alloca/strcpy/strdup.
19089         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19090         returns char*. Free cached. If not saving realname
19091         free cached.
19092         * elf/dl-open.c (dl_open_worker): Do not assert that
19093         _r_debug->r_state is RT_CONSISTENT.
19094         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19095         returns char*.
19097 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19098             Carlos O'Donell  <carlos@redhat.com>
19100         [BZ #12674]
19101         * nptl/sem_waitcommon.c: New file.
19102         * nptl/sem_wait.c: Include sem_waitcommon.c.
19103         (__sem_wait_cleanup, do_futex_wait): Remove.
19104         (__new_sem_wait): Adapt.
19105         (__new_sem_trywait): New function.
19106         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19107         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19108         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19109         (sem_timedwait): Adapt.
19110         * nptl/sem_post.c (__new_sem_post): Adapt.
19111         (futex_wake): New function.
19112         (__old_sem_post): Add release MO fence.
19113         * nptl/sem_open.c (sem_open): Adapt.
19114         * nptl/sem_init.c (__new_sem_init): Adapt.
19115         (futex_private_if_supported): New function.
19116         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19117         (__old_sem_getvalue): Add using previous code.
19118         * sysdeps/nptl/internaltypes.h: Adapt.
19119         * nptl/tst-sem13.c (do_test): Adapt.
19120         * nptl/tst-sem11.c (main): Adapt.
19121         * nptl/sem_trywait.c: Remove.
19122         * nptl/DESIGN-sem.txt: Remove.
19123         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19124         (gen-as-const-headers): Remove structsem.sym.
19125         * nptl/structsem.sym: Remove.
19126         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19127         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19128         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19129         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19130         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19131         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19132         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19133         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19134         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19135         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19136         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19137         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19138         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19139         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19140         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19141         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19142         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19143         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19144         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19145         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19146         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19147         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19149 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19151         * INSTALL: Regenerated.
19153         * po/libc.pot: Regenerated.
19155 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19156             Sandra Loosemore  <sandra@codesourcery.com>
19157             Andrew Jenner  <andrew@codesourcery.com>
19158             Joseph Myers  <joseph@codesourcery.com>
19159             Nathan Sidwell  <nathan@codesourcery.com>
19161         * NEWS: Mention new Nios II port.
19162         * sysdeps/nios2/Implies: New file.
19163         * sysdeps/nios2/Makefile: New file.
19164         * sysdeps/nios2/Subdirs: New file.
19165         * sysdeps/nios2/Versions: New file.
19166         * sysdeps/nios2/__longjmp.S: New file.
19167         * sysdeps/nios2/abort-instr.h: New file.
19168         * sysdeps/nios2/backtrace.c: New file.
19169         * sysdeps/nios2/bits/endian.h: New file.
19170         * sysdeps/nios2/bits/fenv.h: New file.
19171         * sysdeps/nios2/bits/link.h: New file.
19172         * sysdeps/nios2/bits/setjmp.h: New file.
19173         * sysdeps/nios2/bsd-_setjmp.S: New file.
19174         * sysdeps/nios2/bsd-setjmp.S: New file.
19175         * sysdeps/nios2/configure: New generated file.
19176         * sysdeps/nios2/configure.ac: New file.
19177         * sysdeps/nios2/crti.S: New file.
19178         * sysdeps/nios2/crtn.S: New file.
19179         * sysdeps/nios2/dl-init.c: New file.
19180         * sysdeps/nios2/dl-machine.h: New file.
19181         * sysdeps/nios2/dl-sysdep.h: New file.
19182         * sysdeps/nios2/dl-tls.h: New file.
19183         * sysdeps/nios2/dl-trampoline.S: New file.
19184         * sysdeps/nios2/gccframe.h: New file.
19185         * sysdeps/nios2/gmp-mparam.h: New file.
19186         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19187         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19188         * sysdeps/nios2/ldsodefs.h: New file.
19189         * sysdeps/nios2/libc-tls.c: New file.
19190         * sysdeps/nios2/libm-test-ulps: New file.
19191         * sysdeps/nios2/machine-gmon.h: New file.
19192         * sysdeps/nios2/math-tests.h: New file.
19193         * sysdeps/nios2/math_private.h: New file.
19194         * sysdeps/nios2/memusage.h: New file.
19195         * sysdeps/nios2/nptl/Makefile: New file.
19196         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19197         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19198         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19199         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19200         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19201         * sysdeps/nios2/nptl/tls.h: New file.
19202         * sysdeps/nios2/preconfigure: New file.
19203         * sysdeps/nios2/s_fma.c: New file.
19204         * sysdeps/nios2/s_fmaf.c: New file.
19205         * sysdeps/nios2/setjmp.S: New file.
19206         * sysdeps/nios2/sfp-machine.h: New file.
19207         * sysdeps/nios2/sotruss-lib.c: New file.
19208         * sysdeps/nios2/stackguard-macros.h: New file.
19209         * sysdeps/nios2/stackinfo.h: New file.
19210         * sysdeps/nios2/start.S: New file.
19211         * sysdeps/nios2/sysdep.h: New file.
19212         * sysdeps/nios2/tls-macros.h: New file.
19213         * sysdeps/nios2/tst-audit.h: New file.
19214         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19215         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19216         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19217         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19218         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19219         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19220         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19221         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19222         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19223         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19224         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19225         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19226         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19227         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19228         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19229         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19230         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19231         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19232         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19233         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19234         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19235         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19236         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19237         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19238         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19239         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19240         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19241         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19242         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19243         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19244         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19245         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19246         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19247         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19248         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19249         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19250         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19251         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19252         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19253         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19254         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19255         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19256         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19257         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19259 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19261         [BZ #17844]
19262         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19263         (getutent): Use weak_alias in non SHARED case
19264         and default_symbol_version in SHARED case.
19265         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19266         (getutent_r, pututline): Likewise.
19267         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19268         (getutid): Likewise.
19269         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19270         (getutid_r): Likewise.
19271         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19272         (getutline): Likewise.
19273         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19274         (getutline_r): Likewise.
19275         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19276         (updwtmp): Likewise.
19278 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19280         [BZ #17848]
19281         * sysdeps/s390/s390-32/memcmp.S
19282         (memcmp_g5): Rename to __memcmp_g5.
19283         * sysdeps/s390/s390-32/memcpy.S
19284         (memcpy_g5): Rename to __memcpy_g5.
19285         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19286         (memcpy_mvcle) Rename to __memcpy_mvcle.
19287         * sysdeps/s390/s390-32/memset.S
19288         (memset_g5): Rename to __memset_g5.
19289         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19290         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19291         and use prefixed functions.
19292         * sysdeps/s390/s390-32/multiarch/memcmp.S
19293         (memcmp_z196): Rename to __memcmp_z196.
19294         (memcmp_z10): Rename to __memcmp_z10.
19295         (memcmp): Set alias to __memcmp_g5.
19296         (bcmp): Set alias to __memcmp_g5.
19297         * sysdeps/s390/s390-32/multiarch/memcpy.S
19298         (memcpy_z196): Rename to __memcpy_z196.
19299         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19300         (memcpy_z10): Rename to __memcpy_z10.
19301         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19302         (memcpy): Set alias to __memcpy_g5.
19303         * sysdeps/s390/s390-32/multiarch/memset.S
19304         (memset_z196): Rename to __memset_z196.
19305         Jump to __memset_mvcle instead of memset_mvcle.
19306         (memset_z10): Rename to __memset_z10.
19307         Jump to __memset_mvcle instead of memset_mvcle.
19308         (memset_mvcle) Rename to __memset_mvcle.
19309         (memset): Set alias to __memset_g5.
19310         * sysdeps/s390/s390-64/memcmp.S
19311         (memcmp_z900): Rename to __memcmp_z900.
19312         * sysdeps/s390/s390-64/memcpy.S
19313         (memcpy_z900): Rename to __memcpy_z900.
19314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19315         (memcpy_mvcle) Rename to __memcpy_mvcle.
19316         * sysdeps/s390/s390-64/memset.S
19317         (memset_z900): Rename to __memset_z900.
19318         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19319         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19320         and use prefixed functions.
19321         * sysdeps/s390/s390-64/multiarch/memcmp.S
19322         (memcmp_z196): Rename to __memcmp_z196.
19323         (memcmp_z10): Rename to __memcmp_z10.
19324         (memcmp): Set alias to __memcmp_z900.
19325         (bcmp): Set alias to __memcmp_z900.
19326         * sysdeps/s390/s390-64/multiarch/memcpy.S
19327         (memcpy_z196): Rename to __memcpy_z196.
19328         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19329         (memcpy_z10): Rename to __memcpy_z10.
19330         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19331         (memcpy): Set alias to __memcpy_z900.
19332         * sysdeps/s390/s390-64/multiarch/memset.S
19333         (memset_z196): Rename to __memset_z196.
19334         Jump to __memset_mvcle instead of memset_mvcle.
19335         (memset_z10): Rename to __memset_z10.
19336         Jump to __memset_mvcle instead of memset_mvcle.
19337         (memset_mvcle) Rename to __memset_mvcle.
19338         (memset): Set alias to __memset_z900.
19340 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19342         [BZ #17748]
19343         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19344         __fesetenv instead of fesetenv.
19346 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19348         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19349         macro.
19351 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19353         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19354         regression on LE.
19356         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19357         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19358         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19359         strncmp-power8 object.
19360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19361         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19362         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19363         * NEWS: Update.
19365 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19366             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19368         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19369         trailing byte check.
19371 2015-01-13  David S. Miller  <davem@davemloft.net>
19373         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19375 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19377         * login/logout.c (logout): Use memset rather than bzero.
19378         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19379         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19380         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19381         (_gethtbyaddr): Likewise.
19382         * locale/programs/simple-hash.c (bcopy): Macro removed.
19384 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19386         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19387         Add strcmp-power8 object.
19388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19389         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19390         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19391         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19392         __strcmp_power8 implementation.
19393         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19394         * NEWS: Update.
19396         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19397         Add strncpy-power8 and stpncpy-power8 objects.
19398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19399         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19400         implementations.
19401         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19402         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19403         __stpncpy_power8 implementation.
19404         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19405         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
19406         __strncpy_power8 implementation.
19407         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
19408         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
19409         * NEWS: Update.
19411         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
19412         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
19413         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
19415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19416         strncat-power8 object.
19417         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
19418         __strcat_power8 implementation.
19419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19420         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
19421         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
19422         optimized strcat for power8.
19424         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19425         strcpy-power8 and stpcpy-power8 objects.
19426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19427         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
19428         implementations.
19429         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
19430         multiarch stpcpy implementation for POWER8.
19431         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
19432         multiarch strcpy implementation for POWER8.
19433         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
19434         __strcpy_power8 function.
19435         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
19436         stpcpy for POWER8.
19437         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
19438         strcpy for POWER8.
19439         * NEWS: Update.
19441 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
19443         [BZ #16009]
19444         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
19445         weights and rules. Use do_xfrm_cached if data fits in cache,
19446         do_xfrm otherwise.  Moved former main loop to...
19447         * (do_xfrm_cached): New function.
19448         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
19449         find_idx, find_position and stack_push.
19450         * (find_idx): New function.
19451         * (find_position): Likewise.
19452         * localedata/sort-test.sh: Added test run for do_xfrm.
19453         * localedata/xfrm-test.c (main): Added command line option
19454         -nocache to run the test with strings that are too large for
19455         the STRXFRM cache.
19457 2015-01-13  Torvald Riegel  <triegel@redhat.com>
19459         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
19460         variable to lll_futex_wake call, not the value itself.
19462 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
19464         [BZ #17803]
19465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
19466         twom64.  Adjust value to 0x1p-64L.
19467         (__scalblnl): Only return standard underflowing result for K <=
19468         -64 not K <= -63; adjust exponent for underflowing result by 64
19469         not 63.
19470         * math/libm-test.inc (scalbn_test_data): Add more tests.
19471         (scalbln_test_data): Likewise.
19473         [BZ #17834]
19474         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
19475         0x1p63L.
19476         (__scalblnl): Get new exponent of adjusted subnormal value from ES
19477         not HX.
19478         * math/libm-test.inc (scalbn_test_data): Add more tests.
19479         (scalbln_test_data): Likewise.
19481 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19482             Stefani Seibold  <stefani@seibold.net>
19484         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
19485         (sysdep_routines): Add dl-vdso here, ...
19486         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
19487         (sysdep_routines): ... not here.
19488         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
19489         fallback when vDSO is not presented.
19490         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19491         Define with libc_hidden_proto/libc_hidden_data_def definitions.
19492         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
19493         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
19494         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
19495         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
19496         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
19497         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
19498         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
19499         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
19500         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
19501         fallback configurable symbol when vDSO is not available.
19502         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
19503         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
19504         be able to redefine fallback symbol when vDSO is not available.
19505         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
19506         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
19508 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19510         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
19511         (TLS_INIT_TP): Add tm_capable initialization.
19512         (TLS_DEFINE_INIT_TP): Likewise.
19513         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
19514         TCB.
19515         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
19516         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
19517         calculation.
19518         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
19519         transactoion is lock elision is built and TCB tm_capable is set.
19520         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
19521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19522         (INTERNAL_SYSCALL_NCS): Likewise.
19523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19524         (INTERNAL_SYSCALL_NCS): Likewise.
19525         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
19527         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
19528         for powerpc.
19529         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19530         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
19531         and remove it for 32 bits case.
19532         [pthread_rwlock_t] (__rwelision): New field for lock elision.
19533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
19534         initialization.
19535         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
19536         Disable lock elision with rdlocks if elision is not available.
19538         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
19539         (sysdep_routines): Add lock elision objects.
19540         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19541         [pthread_mutex_t] (__spins): Rework to add lock elision field.
19542         [pthread_mutex_t] (__elision): Add field.
19543         [__PTHREAD_SPINS]: Adjust to init lock elision field.
19544         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
19545         elision definitions for powerpc.
19546         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
19547         implementation of lock elision for powerpc.
19548         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
19549         implementation of timed lock elision for powerpc.
19550         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
19551         implementation of trylock with lock elision for powerpc.
19552         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
19553         implementaion of unlock for lock elision for powerpc.
19554         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
19555         automatic enable lock elision for mutexes.
19556         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
19557         transaction execution definitions for powerpc.
19558         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
19559         definitions.
19560         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
19561         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
19562         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
19563         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
19564         * NEWS: Update.
19566 2015-01-09  Roland McGrath  <roland@hack.frob.com>
19568         * sysdeps/posix/shm-directory.c: Use <> rather than ""
19569         for #include of <shm-directory.h>.
19571 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
19573         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
19574         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
19576 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
19578         [BZ #17791]
19579         * NEWS: Mention bug fix.
19580         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
19581         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
19582         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
19584 2015-01-09  Torvald Riegel <triegel@redhat.com>
19586         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
19588 2015-01-09  Torvald Riegel <triegel@redhat.com>
19590         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
19592 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19594         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
19595         pointer and cast to uintptr_t.
19597 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19599         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
19600         removed.
19601         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
19603 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
19605         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
19606         of 0.
19608 2015-01-08  Roland McGrath  <roland@hack.frob.com>
19610         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
19611         <nptl/pthreadP.h> instead.
19612         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
19614         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19615         already defined.
19616         [__SIGRTMIN] (init): Function removed.
19617         [__SIGRTMIN] (initialized): Variable removed.
19618         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
19619         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
19620         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
19621         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
19622         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
19623         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
19624         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
19625         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
19626         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
19627         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
19628         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
19629         * sysdeps/nptl/allocrtsig.c: New file.
19630         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
19631         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
19632         * sysdeps/generic/testrtsig.h: File removed.
19634         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
19635         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
19637         * nptl/nptl-init.c (pthread_functions): Conditionalize
19638         .ptr__nptl_setxid initialization on [SIGSETXID].
19640         * sysdeps/nptl/sys/procfs.h: New file.
19641         * nptl_db/Makefile (headers): Add it.
19642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
19644         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
19645         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
19646         * nptl/pthread_attr_setaffinity.c: Include it.
19647         * nptl/pthread_setattr_default_np.c: Likewise.
19648         * nptl/check-cpuset.h: New file.
19650 2015-01-08  Richard Henderson  <rth@redhat.com>
19652         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
19653         (CFLAGS-tst-execstack-prog.c): Likewise.
19654         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
19656 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
19657             Sandra Loosemore  <sandra@codesourcery.com>
19658             Andrew Jenner  <andrew@codesourcery.com>
19659             Joseph Myers  <joseph@codesourcery.com>
19660             Nathan Sidwell  <nathan@codesourcery.com>
19662         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
19663         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
19664         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
19665         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
19666         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
19667         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19668         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
19669         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
19670         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
19671         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
19672         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
19673         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
19674         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
19675         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
19676         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
19677         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
19678         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
19680 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19682         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
19683         timespec struct member in syscall macro.
19684         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19685         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
19686         first timeval struct member in syscall macro.
19687         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
19689 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
19691         [BZ #17748]
19692         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
19693         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
19694         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
19695         __feupdateenv and define as weak alias of __feupdateenv.  Use
19696         libm_hidden_weak.
19697         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
19698         libm_hidden_def.
19699         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
19700         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
19701         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19702         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
19703         libm_hidden_def.
19704         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
19705         __feupdateenv and define as weak alias of __feupdateenv.  Use
19706         libm_hidden_weak.
19707         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
19708         libm_hidden_def.
19709         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
19710         __feupdateenv and define as weak alias of __feupdateenv.  Use
19711         libm_hidden_weak.
19712         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
19713         libm_hidden_def.
19714         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19715         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19716         (__feupdateenv): Likewise.
19717         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
19718         __feupdateenv and define as weak alias of __feupdateenv.  Use
19719         libm_hidden_weak.
19720         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19721         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
19722         libm_hidden_def.
19723         * sysdeps/tile/math_private.h (__feupdateenv): New inline
19724         function.
19725         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
19726         libm_hidden_def.
19727         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
19728         __feupdateenv instead of feupdateenv.
19729         (default_libc_feupdateenv_test): Likewise.
19730         (libc_feresetround_ctx): Likewise.
19732 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19734         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
19735         prototype.
19737 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
19739         * posix/regcomp.c (parse_bracket_exp): Initialize type to
19740         COLL_SYM in a couple of places to avoid uninitialized variable
19741         wanings on tilegx gcc 4.8.2.
19743 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19745         * sysdeps/aarch64/strcpy.S: New file.
19746         * sysdeps/aarch64/stpcpy.S: New file.
19747         * NEWS: Updated.
19749 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
19751         * sysdeps/aarch64/strrchr.S: New file.
19752         * NEWS: Updated.
19754 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
19756         [BZ #17658]
19757         * stdlib/setenv.c: Fix memory leak when setting large,
19758         duplicate string.
19760 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
19762         [BZ #17273]
19763         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
19764         and tabs from buffer before parsing fstab entry.
19765         * misc/tst-mntent.c (main): Add test for mount entry with
19766         trailing spaces and tabs.
19768 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
19770         [BZ #17748]
19771         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
19772         * math/fesetround.c (fesetround): Rename to __fesetround and
19773         define as weak alias of __fesetround.  Use libm_hidden_weak.
19774         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
19775         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
19776         * sysdeps/arm/fesetround.c (fesetround): Likewise.
19777         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
19778         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
19779         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
19780         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
19781         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
19782         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
19783         __fesetround_inline.
19784         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
19785         __fesetround_inline instead of __fesetround.
19786         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
19787         __fesetround and define as weak alias of __fesetround.  Use
19788         libm_hidden_weak.  Call __fesetround_inline instead of
19789         __fesetround.
19790         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
19791         __fesetround and define as weak alias of __fesetround.  Use
19792         libm_hidden_weak.
19793         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
19794         Likewise.
19795         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
19796         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19797         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
19798         * sysdeps/tile/math_private.h (__fesetround): New inline function.
19799         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
19800         __fesetround and define as weak alias of __fesetround.  Use
19801         libm_hidden_weak.
19802         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
19803         __fesetround instead of fesetround.
19804         (default_libc_feholdexcept_setround): Likewise.
19805         (libc_feholdsetround_ctx): Likewise.
19806         (libc_feholdsetround_noex_ctx): Likewise.
19808         [BZ #17748]
19809         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
19810         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
19811         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19812         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19813         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19814         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
19815         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19816         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
19817         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19818         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19819         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19820         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19821         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19822         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19823         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
19824         libm_hidden_def.
19825         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
19826         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
19827         Likewise.
19828         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
19829         define as weak alias of __fesetenv.  Use libm_hidden_weak.
19830         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19831         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
19832         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
19833         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
19834         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
19835         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
19836         __fesetenv instead of fesetenv.
19837         (libc_feresetround_noex_ctx): Likewise.
19838         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
19839         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
19840         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
19841         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
19842         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
19843         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
19844         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19845         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
19846         (__feupdateenv): Likewise.
19847         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
19848         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19849         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19850         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
19852 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19854         [BZ #17806]
19855         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
19856         addresses have been freed.
19858 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
19860         * resolv/res_init.c (__res_vinit): Improve comments about nserv
19861         and nservall.
19863 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
19865         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
19866         Clean up check_pf allocation pattern. addresses
19868 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19870         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
19871         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
19872         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
19873         * nptl/pthread_exit.c (__pthread_exit): Likewise.
19874         * nptl/pthread_join.c (pthread_join): Likewise.
19875         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
19876         * sysdeps/posix/waitid.c (__waitid): Likewise.
19877         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19878         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19879         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19880         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19881         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19882         Likewise.
19883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19884         (__libc_pread64): Likewise.
19885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19886         (__libc_pwrite): Likewise.
19887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19888         (__libc_pwrite64): Likewsie.
19889         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19890         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19891         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19892         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19893         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19894         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19895         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19897         Likewise.
19898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19899         (__libc_pread64): Likewise.
19900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
19901         Likewise.
19902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19903         (__libc_pwrite64): Likewise.
19904         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19905         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19906         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
19907         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
19908         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19909         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19910         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
19911         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19912         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19913         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19914         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
19915         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19916         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19917         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
19918         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19919         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19920         Likewise.
19922 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
19924         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
19925         (CFLAGS-test-double.c): Likewise.
19926         (CFLAGS-test-ldouble.c): Likewise.
19927         (CPPFLAGS-test-ifloat.c): Likewise.
19928         (CPPFLAGS-test-idouble.c): Likewise.
19929         (CPPFLAGS-test-ildoubl.c): Likewise.
19930         (CFLAGS-test-test-fenv.c): Remove variable.
19931         (CFLAGS-test-misc.c): Likewise.
19933 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
19935         [BZ #17797]
19936         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
19937         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
19938         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
19939         CLOCKS_PER_SEC == 1000000.
19940         * time/clocktest.c (main): Replace %ld with %jd and cast to
19941         intmax_t.
19943 2015-01-05  Roland McGrath  <roland@hack.frob.com>
19945         * sysdeps/generic/unwind-resume.h: New file.
19946         * sysdeps/gnu/unwind-resume.c: Include it.
19947         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
19948         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
19949         argument list.
19950         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
19951         global rather than static.
19952         (_Unwind_Resume): Update user.
19953         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
19954         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
19955         rather than static.  Add __attribute__ ((cold)).
19956         (_Unwind_Resume, __gcc_personality_v0): Update callers.
19957         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
19958         * sysdeps/arm/arm-unwind-resume.S: New file.
19959         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
19960         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
19961         * sysdeps/arm/Makefile [$(subdir) = csu]
19962         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
19963         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
19964         Add rt-arm-unwind-resume.
19965         [$(subdir) = nptl]
19966         (libpthread-sysdep_routines, libpthread-shared-only-routines):
19967         Add pt-arm-unwind-resume.
19968         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
19969         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
19971 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
19973         [BZ #17748]
19974         * include/fenv.h (__feholdexcept): Declare.  Use
19975         libm_hidden_proto.
19976         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
19977         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
19978         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19979         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
19980         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
19981         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
19982         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
19983         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19984         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
19985         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
19986         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19987         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
19988         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
19989         (feholdexcept): Likewise.
19990         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
19991         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19992         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
19993         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
19994         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
19995         __feholdexcept instead of feholdexcept.
19996         (default_libc_feholdexcept_setround): Likewise.
19998 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20000         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20001         to avoid using stl/str to align destination.
20003 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20005         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20007 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20009         [BZ #17796]
20010         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20011         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20012         Define as weak alias not strong alias.
20014 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20016         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20017         bltzal with addiupc.
20018         (RTLD_START): Ditto.
20020 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20022         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20023         for __vdso_* functions in declarations.
20024         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20025         definitions.
20026         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20027         INTERNAL_VSYSCALL): Use struct return types to check for error.
20029         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20030         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20031         function with cast from llround().
20032         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20033         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20034         Define.
20036 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20038         [BZ #17793]
20039         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20040         Define as weak alias not strong alias.
20042         [BZ #17635]
20043         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20044         ...
20045         * ctype/ctype-extn.c: ... here.
20046         (__isblank_l): Move to ...
20047         * ctype/ctype-c99_l.c: ... here.  New file.
20048         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20049         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20050         Remove variable.
20051         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20052         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20053         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20054         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20055         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20057         [BZ #17777]
20058         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20059         (posix_fadvise64): Define as weak alias not strong alias.
20060         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20061         (posix_fallocate64): Likewise.
20062         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20063         Remove variable.
20064         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20065         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20066         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20067         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20068         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20070 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20072         [BZ #16191]
20073         * NEWS: Mention bug fix.
20074         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20075         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20076         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20077         (HOST_STACK_END_ADDR): Likewise.
20079 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20081         [BZ #17748]
20082         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20083         * math/fegetround.c (fegetround): Rename to __fegetround and
20084         define as weak alias of __fegetround.  Use libm_hidden_weak.
20085         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20086         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20087         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20088         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20089         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20090         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20091         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20092         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20093         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20094         Undefine after rather than before function definition; use
20095         parentheses around function name in definition.
20096         (__fegetround): Also undefine macro after function definition.
20097         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20098         __fegetround and define as weak alias of __fegetround.  Use
20099         libm_hidden_weak.  Do not undefine as macro.
20100         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20101         Likewise.
20102         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20103         __fegetround and define as weak alias of __fegetround.  Use
20104         libm_hidden_weak.
20105         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20106         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20107         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20108         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20109         __fegetround and define as weak alias of __fegetround.  Use
20110         libm_hidden_weak.
20111         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20112         __fegetround instead of fegetround.
20114         [BZ #17782]
20115         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20116         Condition macro definition on [__USE_MISC].
20118         [BZ #17781]
20119         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20120         (struct sigaction): Change type of sa_flags field to int.
20122         [BZ #17780]
20123         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20124         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20125         __glibc_reserved0.
20127         * nptl/version.c (banner): Use single year in copyright notice.
20129         * NEWS: Update copyright dates.
20130         * catgets/gencat.c (print_version): Likewise.
20131         * csu/version.c (banner): Likewise.
20132         * debug/catchsegv.sh: Likewise.
20133         * debug/pcprofiledump.c (print_version): Likewise.
20134         * debug/xtrace.sh (do_version): Likewise.
20135         * elf/ldconfig.c (print_version): Likewise.
20136         * elf/ldd.bash.in: Likewise.
20137         * elf/pldd.c (print_version): Likewise.
20138         * elf/sotruss.sh: Likewise.
20139         * elf/sprof.c (print_version): Likewise.
20140         * iconv/iconv_prog.c (print_version): Likewise.
20141         * iconv/iconvconfig.c (print_version): Likewise.
20142         * locale/programs/locale.c (print_version): Likewise.
20143         * locale/programs/localedef.c (print_version): Likewise.
20144         * login/programs/pt_chown.c (print_version): Likewise.
20145         * malloc/memusage.sh (do_version): Likewise.
20146         * malloc/memusagestat.c (print_version): Likewise.
20147         * malloc/mtrace.pl: Likewise.
20148         * manual/libc.texinfo: Likewise.
20149         * nptl/version.c (banner): Likewise.
20150         * nscd/nscd.c (print_version): Likewise.
20151         * nss/getent.c (print_version): Likewise.
20152         * nss/makedb.c (print_version): Likewise.
20153         * posix/getconf.c (main): Likewise.
20154         * scripts/test-installation.pl: Likewise.
20155         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20157 2015-01-02  Will Newton  <will.newton@linaro.org>
20159         * sysdeps/arm/armv7/configure: Removed.
20160         * sysdeps/arm/armv7/configure.ac: Likewise.
20162 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20164         * All files with FSF copyright notices: Update copyright dates
20165         using scripts/update-copyrights.
20166         * intl/plural.c: Regenerated.
20167         * locale/programs/charmap-kw.h: Likewise.
20168         * locale/programs/locfile-kw.h: Likewise.
20170 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20172         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20174 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20176         [BZ #17748]
20177         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20178         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20179         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20180         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20181         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20182         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20183         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20184         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20185         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20186         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20187         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20188         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20189         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20190         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20191         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20192         libm_hidden_def.
20193         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20194         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20195         Likewise.
20196         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20197         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20198         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20199         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20200         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20201         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20202         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20203         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20204         __fegetenv instead of fegetenv.
20205         (libc_feholdsetround_noex_ctx): Likewise.
20207 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20209         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20210         (Elf_MIPS_ABIFlags_v0): New structure.
20211         (EF_MIPS_FP64): Define.
20212         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20213         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20214         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20215         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20216         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20217         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20218         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20219         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20220         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20221         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20222         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20223         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20224         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20225         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20226         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20227         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20228         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20229         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20230         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20231         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20232         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20233         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20234         field.
20235         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20236         EF_MIPS_FP64.
20237         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20238         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20239         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20240         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20241         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20242         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20243         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20244         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20245         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20246         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20247         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20248         record the current FP ABI extension.
20249         (mips-mode-switch): Define to show if kernel headers support mode
20250         switching.
20251         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20252         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20253         supported SYSV ABI version to 3.
20254         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20255         feature.
20257 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20258             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20260         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20261         path.
20262         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20264 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20266         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20267         __fegetround and redefine to call __fegetround.  Remove condition
20268         on [!__NO_MATH_INLINES].
20269         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20270         function.
20271         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20272         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20273         Remove macro.
20274         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20275         instead of <fenv_libc.h>.
20276         (__llrintl): Call fegetround instead of __fegetround.
20277         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20278         instead of <fenv_libc.h>.
20279         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20280         (__lrintl): Call fegetround instead of __fegetround.
20281         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20282         instead of <fenv_libc.h>.
20283         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20284         (__rintl): Call fegetround instead of __fegetround.
20286 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20288         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20289         arrays.
20291 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20293         [BZ #17775]
20294         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20295         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20296         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20298 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20300         * sysdeps/i386/tls-macros.h: Include <features.h>.
20301         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20302         (TLS_IE): Likewise.
20303         (TLS_LD): Likewise.
20304         (TLS_GD): Likewise.
20305         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20306         define for GCC >= 5.0.
20308 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20310         * math/test-fenv.c (test_single_exception, set_single_exc,
20311         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20312         feexcp_mask_test, feenable_test, fe_single_test): Add
20313         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20314         case where they are not used.
20315         * math/libm-test.inc: Likewise.
20316         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20317         unused in the absence of FP rounding/exception support.
20318         * stdio-common/tst-printf-round.c: Likewise.
20319         * stdlib/tst-strtod-round.c: Likewise.
20320         * stdlib/tst-strtod-underflow.c: Likewise.
20322 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20324         [BZ #17723]
20325         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20326         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20327         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20328         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20329         libm_hidden_weak.
20330         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20331         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20332         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20333         libm_hidden_def.
20334         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20335         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20336         libm_hidden_weak.
20337         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20338         Likewise.
20339         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20340         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20341         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20342         libm_hidden_weak.
20343         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20344         libm_hidden_def.
20345         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20346         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20347         (__feraiseexcept): Likewise.
20348         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20349         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20350         libm_hidden_weak.
20351         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20352         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20353         libm_hidden_def.
20354         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20355         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20356         Use libm_hidden_def.
20357         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20358         libm_hidden_def.
20359         (feraiseexcept): Define as weak not strong alias.  Use
20360         libm_hidden_weak.
20361         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20362         New inline function.  Factored out of ...
20363         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20364         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20365         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20366         feraiseexcept.
20367         * math/w_acos.c (__acos): Likewise.
20368         * math/w_asin.c (__asin): Likewise.
20369         * math/w_ilogb.c (__ilogb): Likewise.
20370         * math/w_j0.c (y0): Likewise.
20371         * math/w_j1.c (y1): Likewise.
20372         * math/w_jn.c (yn): Likewise.
20373         * math/w_log.c (__log): Likewise.
20374         * math/w_log10.c (__log10): Likewise.
20375         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20376         * sysdeps/aarch64/fpu/math_private.h
20377         (libc_feupdateenv_test_aarch64): Likewise.
20378         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20379         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20380         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20381         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20382         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20383         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20384         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20385         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20386         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20387         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20389 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20391         [BZ #17732]
20392         * io/test-utime.c (main): Replace %ld with %jd and cast to
20393         intmax_t.
20394         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20395         * nptl/tst-mutex5.c: Include <stdint.h>.
20396         (do_test): Replace %ld with %jd and cast to intmax_t.
20397         * posix/tst-regex.c (run_test): Likewise.
20398         (run_test_backwards): Likewise.
20399         * rt/tst-clock.c: Include <stdint.h>.
20400         (clock_test): Replace %ld with %jd and cast to intmax_t.
20401         * rt/tst-cpuclock1.c: Include <stdint.h>.
20402         (do_test): Replace %lu with %ju and cast to uintmax_t.
20403         * rt/tst-cpuclock2.c: Include <stdint.h>.
20404         (do_test): Replace %lu with %ju and cast to uintmax_t.
20405         * rt/tst-mqueue1.c: Include <stdint.h>.
20406         (check_attrs): Replace %ld with %jd and cast to intmax_t.
20407         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
20408         intmax_t.
20409         * rt/tst-mqueue4.c (do_test): Likewise.
20410         * rt/tst-timer4.c: Include <stdint.h>.
20411         (check_ts): Replace %ld with %jd and cast to intmax_t.
20412         (do_test): Likewise.
20413         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
20414         and cast to intmax_t.
20415         * sysdeps/pthread/tst-timer.c (main): Likewise.
20416         * time/clocktest.c (main): Likewise.
20417         * time/tst-posixtz.c (do_test): Likewise.
20418         * timezone/tst-timezone.c (main): Likewise.
20420 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20421             H.J. Lu  <hongjiu.lu@intel.com>
20423         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
20424         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
20425         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
20426         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
20427         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
20428         version if bit_Fast_Unaligned_Load is set.
20429         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20430         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20431         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20432         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20433         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20434         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20435         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20436         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
20437         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
20438         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
20439         to 4.
20440         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
20441         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
20442         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
20443         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
20445 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
20447         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
20448         instead of #if to avoid a Wundef warning.
20449         * stdlib/tst-limits.c (do_test): Likewise.
20451         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
20452         parallel other exception macros.
20453         (fegetenv): Convert from macro to extern inline so that it applies
20454         retroactively to inline functions already seen by the compiler.
20455         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
20457         * posix/Makefile (before-compile): Use $(objpfx) for
20458         posix-conf-vars-def.h.
20460 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20462         * posix/getconf.c (main): Use size_t for type of I.
20463         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
20464         NSPEC.
20466         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
20467         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
20468         * posix/posix-envs.def: Likewise.
20469         * sysdeps/posix/sysconf.c: Likewise.
20470         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
20471         (specs): Remove array.
20472         * scripts/gen-posix-conf-vars.awk: Support generation of specs
20473         array.
20475         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
20476         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
20477         (__sysconf): Use CONF_IS_* macros.
20479         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
20480         ($(objpfx)posix-conf-vars-def.h): New target.
20481         * posix/posix-conf-vars.list: New file.
20482         * posix/posix-conf-vars.h: New file.
20483         * posix/confstr.c: Include posix-conf-vars.h.
20484         (confstr): Use CONF_IS_* macros.
20485         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
20486         CONF_IS_* macros.
20487         * scripts/gen-posix-conf-vars.awk: New file.
20489 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
20491         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
20492         fegetround): Add no-op macros to avoid linknamespace issues.
20494         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
20495         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
20497         * sysdeps/unix/sysv/linux/tile/sysdep.h
20498         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
20499         assembly-specific section to avoid a redefinition warning.
20501         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
20502         long before casting to pointer to avoid a cast warning.
20504 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
20506         * sysdeps/tile/tilegx/Implies: New file.
20508 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
20510         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
20512 2014-12-23  Florian Weimer  <fweimer@redhat.com>
20514         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
20516 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20518         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
20519         not define.
20520         * sysdeps/unix/sysv/linux/utimes.c: Do not include
20521         <kernel-features.h>.
20522         (__utimes) [__NR_utimes]: Make code unconditional.
20523         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
20524         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20525         (__ASSUME_UTIMES): Do not undefine.
20526         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20527         (__ASSUME_UTIMES): Likewise.
20528         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20529         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
20530         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
20531         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
20533 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20535         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
20537 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
20539         [BZ #17747]
20540         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
20541         alias to weak alias for j0l, y0l.
20542         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
20543         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
20545         [BZ #17746]
20546         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
20547         conversion.
20549 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
20551         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
20552         to zero if not already defined.
20554 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20556         [BZ #17724]
20557         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
20558         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
20559         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
20560         (char *) casts added.
20561         * sysdeps/ieee754/k_standardf.c: New file.
20562         * sysdeps/ieee754/k_standardl.c: Likewise.
20563         * math/Makefile (libm-support): Remove k_standard.
20564         (libm-calls): Add k_standard.
20566 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20568         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20569         Optimize to avoid an unnecessary FPCR read.
20571 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20573         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20574         Optimize to reduce FPCR/FPSR accesses.
20576 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20578         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
20579         Call libc_fetestexcept_aarch64.
20581 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
20583         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
20584         Call libc_fesetround_aarch64.
20586 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
20588         [BZ #17733]
20589         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
20590         (__bind): Do not define as weak alias.
20591         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
20592         define.
20593         (__getsockname): Do not define as weak alias.
20595 2014-12-22  Will Newton  <will.newton@linaro.org>
20597         * manual/install.texi: Document that we require bison 2.7
20598         or above.
20599         * INSTALL: Regenerate.
20600         * configure.ac: Use AC_CHECK_PROG_VER instead of
20601         AC_PATH_PROG when checking for bison and check for
20602         version 2.7 or above.
20603         * configure: Regenerate.
20605 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
20607         [BZ #17745]
20608         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
20609         * sysdeps/tile/ffsll.c (ffsll): To here.
20611         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
20613 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20615         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
20616         if not defined.
20617         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
20618         definition.
20619         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20620         hidden ___tls_get_addr.
20621         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
20622         hidden __tls_get_addr.
20623         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
20624         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
20625         Likewise.
20627 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
20629         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
20630         _dl_init call.
20632 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
20634         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
20635         from "call _dl_init@PLT".
20636         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
20638 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
20640         * manual/search.texi: (Array Sort Function): Clarify stable sorting
20641         guarantees.
20643 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
20645         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
20647 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20649         [BZ #17744]
20650         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
20651         strnlen.
20653 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20655         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
20656         of multu on MIPSr6.
20657         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
20658         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
20659         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
20660         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
20661         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
20663 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
20665         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
20666         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
20667         (PTR_SUBU): Use subu for mips32r6/mips64r6.
20668         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
20669         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
20670         mips32r6/mips64r6.
20671         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
20673 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
20675         * string/strncat.c (STRNCAT): Simplify implementation.
20677 2014-12-19  David S. Miller  <davem@davemloft.net>
20679         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
20680         access the quad as both a long double and as a series of 4 words.
20682         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
20683         link_map->l_info array access.
20685 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
20687         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
20689         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
20690         * math/atest-exp2.c (TIMEOUT): Likewise.
20691         * math/atest-sincos.c (TIMEOUT): Likewise.
20693 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20695         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
20696         -Wno-error with -fno-builtin-lround.
20698 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20700         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
20701         Contains futex constants and functions moved over from ...
20702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
20703         <lowlevellock-futex.h>.
20704         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20705         (lll_timedwait_tid): Add comments and parentheses around macro
20706         arguments.
20708 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20710         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
20711         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
20712         (__lll_private_flag): Remove.
20713         (lll_futex_wait): Likewise.
20714         (lll_futex_timed_wait): Likewise.
20715         (lll_futex_wake): Likewise.
20716         (lll_futex_requeue): Likewise.
20717         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
20718         (__lll_timedwait_tid): Spell out argument names.
20719         (lll_timedwait_tid): Add comments and parentheses around macro
20720         arguments.
20721         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
20722         LLL_SHARED and LLL_PRIVATE usable from assembly code.
20724 2014-12-19  Torvald Riegel  <triegel@redhat.com>
20726         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
20727         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20728         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20729         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
20730         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
20731         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
20732         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
20733         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
20734         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
20735         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
20736         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
20737         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
20738         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
20739         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
20740         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
20741         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
20742         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
20743         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
20744         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
20746 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20748         * sysdeps/x86_64/x32/Makefile: New file.
20750 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
20752         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
20753         1L with (mp_limb_t) 1.
20755 2014-12-17  Roland McGrath  <roland@hack.frob.com>
20757         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
20758         * nptl/libc_pthread_init.c: ... here.
20759         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
20760         * nptl/register-atfork.c: ... here.
20762         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
20763         Use pthread_sigmask rather than INTERNAL_SYSCALL.
20764         Use assert_perror to check its return value.
20765         (__gai_create_helper_thread): Likewise.
20767         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
20769         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
20771 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
20773         [BZ #17725]
20774         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
20775         __profil_counter.
20776         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
20777         Likewise.
20778         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
20779         Likewise.
20780         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
20781         Likewise.
20782         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
20783         (profil_counter): Likewise.
20784         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
20785         (profil_counter): Likewise.
20786         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
20787         Likewise.
20788         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
20789         Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
20791         (profil_counter): Likewise.
20792         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
20793         Likewise.
20794         [!__profil_counter] (profil_counter): Define as weak alias of
20795         __profil_counter.
20796         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
20797         (profil_counter): Rename to __profil_counter.
20798         [!__profil_counter] (profil_counter): Define as weak alias of
20799         __profil_counter.
20800         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
20801         (profil_counter): Rename to __profil_counter.
20802         [!__profil_counter] (profil_counter): Define as weak alias of
20803         __profil_counter.
20804         * sysdeps/posix/profil.c: Update comment referring to
20805         profil_counter.
20806         (__profil): Use __profil_counter instead of profil_counter.
20807         * sysdeps/posix/sprofil.c (profil_counter): Rename to
20808         __profil_counter.  Use __profil_counter_ushort and
20809         __profil_counter_uint in definitions.
20810         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
20811         instead of profil_counter_uint and profil_counter_ushort.
20813         [BZ #17722]
20814         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
20815         define as weak alias of __inet_makeaddr.
20816         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
20817         as weak alias of __inet_addr.
20818         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
20819         as weak alias of __inet_pton.  Use libc_hidden_weak.
20820         * include/arpa/inet.h (__inet_pton): Declare.  Use
20821         libc_hidden_proto.
20822         (inet_makeaddr): Don't use libc_hidden_proto.
20823         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
20824         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
20825         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
20826         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
20827         Remove variable.
20828         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
20829         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20831 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
20833         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
20835 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20837         * stdio-common/bug-vfprintf-nargs.c (do_test):
20838         Cast value to intptr_t to avoid format warning
20839         for usage with PRIdPTR printing macro.
20841 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
20843         * libio/tst-widetext.c (do_test):
20844         Use format type %td instead of %Zd for ptrdiff_t
20845         in order to avoid format warning.
20847 2014-12-17  Andreas Schwab  <schwab@suse.de>
20849         * nscd/mem.c (gc): Add size_t cast to match printf format.
20851 2014-12-16  Roland McGrath  <roland@hack.frob.com>
20853         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
20854         (init): Apply PTR_MANGLE to pointers before storing them.
20855         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
20856         before using them.
20858 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
20860         [BZ #17719]
20861         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
20862         define as weak alias of __memrchr.
20863         (__memrchr): Do not define as strong alias of memrchr.
20864         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
20865         Remove variable.
20866         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
20867         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
20868         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
20870         [BZ #17717]
20871         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
20872         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
20873         (if_indextoname): Rename to __if_indextoname and define as weak
20874         alias of __if_indextoname.  Use libc_hidden_weak.
20875         (if_freenameindex): Rename to __if_freenameindex and define as
20876         weak alias of __if_freenameindex.
20877         (if_nameindex): Rename to __if_nameindex and define as weak alias
20878         of __if_nameindex.
20879         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
20880         __if_nametoindex and define as weak alias of __if_nametoindex.
20881         Use libc_hidden_weak.
20882         (if_freenameindex): Rename to __if_freenameindex and define as
20883         weak alias of __if_freenameindex.
20884         (if_nameindex): Rename to __if_nameindex and define as weak alias
20885         of __if_nameindex.
20886         (if_indextoname): Rename to __if_indextoname and define as weak
20887         alias of __if_indextoname.  Use libc_hidden_weak.
20888         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
20889         __if_nametoindex and define as weak alias of __if_nametoindex.
20890         Use libc_hidden_weak.
20891         (if_freenameindex): Rename to __if_freenameindex and define as
20892         weak alias of __if_freenameindex.  Use libc_hidden_weak.
20893         (if_nameindex_netlink): Use __if_freenameindex instead of
20894         if_freenameindex.
20895         (if_nameindex): Rename to __if_nameindex and define as weak alias
20896         of __if_nameindex.  Use libc_hidden_weak.
20897         (if_indextoname): Rename to __if_indextoname and define as weak
20898         alias of __if_indextoname.  Use libc_hidden_weak.
20899         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
20900         libc_hidden_proto.
20901         [!_ISOMAC] (__if_freenameindex): Likewise.
20902         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
20903         if_nametoindex.
20904         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
20905         variable.
20906         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
20907         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
20908         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
20909         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
20910         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
20911         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
20912         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
20914         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
20915         Remove variable.
20916         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
20917         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
20919 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20921         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
20922         subscript above bounds'
20924         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
20925         bounds.
20927 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
20929         * libio/tst-fopenloc.c: Use test-skeleton.c.
20931         * stdlib/tst-bsearch.c: Use test-skeleton.c.
20932         (entry): Rename to ITEM.
20933         (do_test, comp): Adjust.
20935         * stdio-common/tst-fseek.c: Use test-skeleton.c.
20937 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20939         * string/tester.c: Include <libc-internal.h>.
20940         (test_memset): Ignore -Wmemset-transposed-args.
20942 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20944         * misc/tst-mntent2.c (do_test): Fix warning.
20946 2014-12-16  Torvald Riegel  <triegel@redhat.com>
20948         * elf/tst-unique4lib.cc(a): Mark as used.
20950 2014-12-16  Florian Weimer  <fweimer@redhat.com>
20952         [BZ #17630]
20953         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
20954         names.
20956 2014-12-16  Allan McRae  <allan@archlinux.org>
20958         * stdio-common/Makefile (tests): Re-add bug26.
20960 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
20962         [BZ #17657]
20963         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
20964         static array.
20966 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
20968         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
20969         (__lll_lock_wait): Likewise.
20970         (__lll_timedlock_wait): Likewise.
20971         (__lll_timedwait_tid): Likewise.
20972         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
20973         (__lll_robust_timedlock_wait): Likewise.
20974         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
20975         (lll_cond_trylock): Likewise.
20976         (__lll_lock): Likewise.
20977         (__lll_robust_lock): Likewise.
20978         (__lll_cond_lock): Likewise.
20979         (lll_robust_cond_lock): Likewise.
20980         (__lll_timedlock): Likewise.
20981         (__lll_robust_timedlock): Likewise.
20982         (__lll_unlock): Likewise.
20983         (__lll_robust_unlock): Likewise.
20984         (lll_wait_tid): Likewise.
20985         (lll_timedwait_tid): Likewise.
20987 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20989         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
20991 2014-12-15  Torvald Riegel  <triegel@redhat.com>
20993         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
20995 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
20997         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
20998         * stdio-common/tst-sprintf.c: Likewise.
21000 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21002         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21004 2014-12-15  Jeff Law  <law@redhat.com>
21006         [BZ #16617]
21007         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21008         on the heap.  (CVE-2012-3406)
21009         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21010         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21011         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21013 2014-12-15  Will Newton  <will.newton@linaro.org>
21015         * manual/install.texi: Bump required version of texinfo
21016         to 4.7 from 4.5.
21017         * INSTALL: Regenerated.
21018         * configure.ac: Check for makeinfo version 4.7 and above.
21019         * configure: Regenerated.
21021 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21023         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21024         PREFIX, string constant to insert between directory and name.
21025         * sysdeps/posix/shm_open.c: Update caller.
21026         * sysdeps/posix/shm_unlink.c: Likewise.
21027         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21028         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21029         (SEM_SHM_PREFIX): New macro.
21030         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21031         [$(have-thread-library) = no].
21032         * nptl/Makefile (libpthread-routines): Add shm-directory.
21033         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21034         * sysdeps/nptl/shm-directory.h: New file.
21035         * sysdeps/posix/shm-directory.c
21036         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21037         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21038         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21039         INTERNAL_SYSCALL.
21040         (__where_is_shmfs): Function removed.
21041         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21042         Variables removed.
21043         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21044         Use SHM_GET_NAME.
21045         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21047         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21048         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21049         unconditional for use inside libpthread.
21050         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21052 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21054         * nptl/pthread_getaffinity.c: New file.
21055         * nptl/pthread_setaffinity.c: New file.
21056         * nptl/pthread_getname.c: New file.
21057         * nptl/pthread_setname.c: New file.
21059         * nptl/pthread_create.c (START_THREAD_DEFN)
21060         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21062 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21063             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21065         * resolv/res_send.c (send_vc): Disable warning resplen may
21066         be used uninitialized.
21068 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21070         * nptl/tst-mutex6.c
21071         (ATTR_NULL): New define checks ATTR against NULL.
21072         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21073         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21075 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21077         [BZ #17581]
21078         * malloc/hooks.c
21079         (mem2mem_check): Revert my previous change.
21080         (malloc_check_get_size): Revert my previous change.
21081         (mem2chunk_check): Revert my previous change.
21083 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21085         * sysdeps/posix/shm-directory.c: New file.
21086         * sysdeps/posix/shm-directory.h: New file.
21087         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21088         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21089         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21090         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21091         Transmute EPERM to EACCES.
21092         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21093         from ...
21094         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21095         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21097 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21099         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21100         pointer and cast to uintptr_t.
21101         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21103         Add cast to avoid warning.
21104         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21106 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21108         * nptl/semaphore.h: Move to ...
21109         * sysdeps/pthread/semaphore.h: ... here.
21110         * Makefile (installed-headers): Change nptl/semaphore.h to
21111         sysdeps/pthread/semaphore.h.
21113 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21115         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21116         generated error format strings.
21118         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21119         -Wformat-extra-args warnings for scanf formats.
21120         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21121         test of zero-length format (duh).
21122         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21123         corner-case scanf format test.
21124         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21125         generated fprintf format string.
21126         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21127         corner-case sprintf format tests.
21128         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21129         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21130         -Wformat-extra-args warnings throughout.
21131         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21132         (CFLAGS-scanf4.c): Likewise.
21133         (CFLAGS-scanf7.c): Likewise.
21134         (CFLAGS-tst-sprintf.c): Likewise.
21135         (CFLAGS-tst-printf.c): Likewise.
21136         (CFLAGS-tst-printfsz.c): Likewise.
21138 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21140         * include/cpio.h: New file.
21141         * include/fmtmsg.h: Likewise.
21143         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21144         corresponding format argument to size_t.
21145         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21146         arguments.
21147         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21148         corresponding format argument to size_t.
21149         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21150         arguments.
21151         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21152         corresponding format argument to size_t.
21153         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21154         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21155         (CFLAGS-tst-mbswcs2.c): Likewise.
21156         (CFLAGS-tst-mbswcs3.c): Likewise.
21157         (CFLAGS-tst-mbswcs4.c): Likewise.
21158         (CFLAGS-tst-mbswcs5.c): Likewise.
21159         (CFLAGS-tst-trans.c): Likewise.
21161 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21163         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21164         rather than assuming they won't contain any '%'s.
21166 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21168         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21169         inhibit_loop_to_libcall to avoid recursive calls.
21170         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21171         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21173 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21175         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21176         prototype.
21178 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21180         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21181         integer value instead of boolean.
21183 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21185         * malloc/malloc.c: Fix powerof2 check.
21187 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21189         * locale/programs/locfile.h (maybe_swap_uint32):
21190         Remove inline and add unused attribute.
21192 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21194         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21195         Truncating assembler expression to a .long expression.
21197 2014-12-11  Andreas Schwab  <schwab@suse.de>
21199         * elf/rtld.c (struct map_args): Constify str member.
21200         (do_preload): Constify fname argument.
21202 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21204         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21205         constants definition.
21207 2014-12-11  Andreas Schwab  <schwab@suse.de>
21209         [BZ #16657]
21210         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21211         FORCE_ELISION instead of DO_ELISION.
21212         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21213         Remove.
21214         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21215         Likewise.
21217         * iconvdata/gconv-modules: Remove duplicate entry.
21219 2014-12-11  Will Newton  <will.newton@linaro.org>
21221         Merge gettext 0.19.3 into intl/.
21223         This involves a number of cosmetic changes to comments
21224         and ANSI function definitions and prototypes throughout
21225         all the files. The gettext copyright header is used but
21226         with the date ranges taken from the glibc copy.
21228         * NEWS: Add gettext merge to 2.21.
21229         * intl/bindtextdom.c: Switch to gettext copyright.
21230         Use ANSI definitions and prototypes.
21231         Use gl_* locking primitives rather than __libc_* ones.
21232         Use __builtin_expect rather than __glibc_likely/unlikely.
21233         * intl/dcgettext.c: Switch to gettext copyright.
21234         Use ANSI definitions and prototypes.
21235         * intl/dcigettext.c: Switch to gettext copyright.
21236         Use ANSI definitions and prototypes.
21237         (INTDIV0_RAISES_SIGFPE): New define.
21238         Use gl_* locking primitives rather than __libc_* ones.
21239         Include eval-plural.h instead of plural-eval.c.
21240         Use __builtin_expect rather than __glibc_likely/unlikely.
21241         * intl/dcngettext.c: Switch to gettext copyright.
21242         Use ANSI definitions and prototypes.
21243         * intl/dgettext.c: Likewise.
21244         * intl/dngettext.c: Likewise.
21245         * intl/plural-eval.c: Renamed to...
21246         * intl/eval-plural.h: ...this.
21247         * intl/explodename.c: Switch to gettext copyright.
21248         Use ANSI definitions and prototypes.
21249         (_nl_explode_name): Use strchr instead of __rawmemchr.
21250         * intl/finddomain.c: Switch to gettext copyright.
21251         Use ANSI definitions and prototypes.
21252         Use gl_* locking primitives rather than __libc_* ones.
21253         (_nl_find_domain): Use malloc rather than alloca for
21254         allocation of temporary locale name.
21255         * intl/gettext.c: Switch to gettext copyright.
21256         Use ANSI definitions and prototypes.
21257         * intl/gettextP.h: Switch to gettext copyright.
21258         Use ANSI definitions and prototypes.
21259         Use gl_* locking primitives rather than __libc_* ones.
21260         * intl/gmo.h: Switch to gettext copyright.
21261         (struct sysdep_string): Move struct segment_pair outside of
21262         struct definition.
21263         * intl/hash-string.c: Use ANSI definitions and prototypes.
21264         * intl/hash-string.h: Switch to gettext copyright.
21265         Use ANSI definitions and prototypes.
21266         * intl/l10nflist.c: Switch to gettext copyright.
21267         Use ANSI definitions and prototypes.
21268         (_nl_normalize_codeset): Avoid integer overflow.
21269         * intl/loadinfo.h: Switch to gettext copyright.
21270         Use ANSI definitions and prototypes.
21271         (LIBINTL_DLL_EXPORTED): New define.
21272         (PATH_SEPARATOR): New define.
21273         * intl/loadmsgcat.c: Switch to gettext copyright.
21274         * intl/localealias.c: Switch to gettext copyright.
21275         Use ANSI definitions and prototypes.
21276         (_nl_expand_alias): Use PATH_SEPARATOR.
21277         * intl/ngettext.c: Switch to gettext copyright.
21278         Use ANSI definitions and prototypes.
21279         * intl/plural-exp.c: Likewise.
21280         * intl/plural-exp.h: Switch to gettext copyright.
21281         Use ANSI definitions and prototypes.
21282         (struct expression): Move definition of enum operator outside
21283         of struct definition.
21284         * intl/plural.c: Regenerate.
21285         * intl/plural.y: Switch to gettext copyright.
21286         Use ANSI definitions and prototypes.
21287         Port to bison 3.0.
21288         * intl/textdomain.c: Switch to gettext copyright.
21289         Use ANSI definitions and prototypes.
21290         Use gl_* locking primitives rather than __libc_* ones.
21292 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21294         * debug/warning-nop.c: Add used atrribute.
21296 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21298         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21300         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21301         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21302         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21304 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21305             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21307         [BZ #17634]
21308         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21309         Undefine after defining function.  Define as weak alias of
21310         __wcschr.  Use libc_hidden_weak.
21311         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21312         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21313         (libc_hidden_def): Also define __GI___wcschr alias.
21314         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21315         __wcschr and define as weak alias of __wcschr.
21316         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21317         __wcschr.
21318         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21319         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21320         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21321         libc_hidden_weak.  Do not use libc_hidden_def.
21322         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21323         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21324         __GI___wcschr alias.
21325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21326         [IS_IN (libc)] (wcschr): Define as macro expanding to
21327         __redirect_wcschr.
21328         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21329         [IS_IN (libc)] (__wcschr_power6): Likewise.
21330         [IS_IN (libc)] (__wcschr_power7): Likewise.
21331         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21332         instead of wcschr.
21333         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21334         __libc_wcschr.
21335         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21336         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21337         __wcschr and define as weak alias of __wcschr.  Use
21338         libc_hidden_builtin_def.
21339         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21340         as weak alias of __wcschr.  Use libc_hidden_weak.
21341         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21342         wcschr.
21343         * time/era.c (_nl_init_era_entries): Likewise.
21344         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21345         variable.
21346         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21347         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21349 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21351         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21352         format for long int variable.
21354 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21356         [BZ #10672]
21357         * manual/search.texi: (Array Sort Function): Remove claim how to make
21358         qsort stable.
21360 2014-12-10  Andreas Schwab  <schwab@suse.de>
21362         [BZ #12847]
21363         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21364         user-controlled locks.
21366 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21368         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21369         register.
21371 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21373         * configure.ac (--disable-werror): New configure option.
21374         (enable_werror): New AC_SUBST.
21375         * configure: Regenerated.
21376         * config.make.in (enable-werror): New variable.
21377         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21378         -Wno-error=undef.
21379         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21380         * manual/install.texi (Configuring and compiling): Document
21381         --disable-werror.
21382         * INSTALL: Regenerated.
21383         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21384         (CFLAGS-tst-chk2.c): Likewise.
21385         (CFLAGS-tst-chk3.c): Likewise.
21386         (CFLAGS-tst-chk4.cc): Likewise.
21387         (CFLAGS-tst-chk5.cc): Likewise.
21388         (CFLAGS-tst-chk6.cc): Likewise.
21389         (CFLAGS-tst-lfschk1.c): Likewise.
21390         (CFLAGS-tst-lfschk2.c): Likewise.
21391         (CFLAGS-tst-lfschk3.c): Likewise.
21392         (CFLAGS-tst-lfschk4.cc): Likewise.
21393         (CFLAGS-tst-lfschk5.cc): Likewise.
21394         (CFLAGS-tst-lfschk6.cc): Likewise.
21396         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21397         (main): Disable -Wdeprecated-declarations around calls to
21398         register_printf_function.
21400         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21401         (do_test): Disable -Wdiv-by-zero around some calls to
21402         fwrite_unlocked and fread_unlocked.
21404         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21405         (DIAG_POP_NEEDS_COMMENT): Likewise.
21406         (_DIAG_STR1): Likewise.
21407         (_DIAG_STR): Likewise.
21408         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
21409         * stdio-common/bug21.c: Include <libc-internal.h>.
21410         (do_test): Disable -Wformat around call to sscanf.
21411         * stdio-common/scanf14.c: Include <libc-internal.h>.
21412         (main): Disable -Wformat around some calls to scanf functions.
21414 2014-12-09  Torvald Riegel  <triegel@redhat.com>
21416         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
21418 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21420         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
21421         stack variable alignment.
21423 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
21425         [BZ #17682]
21426         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
21427         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
21428         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
21429         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
21430         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
21431         __getrlimit instead of getrlimit.
21432         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
21433         __gettimeofday instead of gettimeofday.
21434         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21435         Likewise.
21436         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21437         Likewise.
21438         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
21439         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
21440         Remove variable.
21441         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21442         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21444 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21446         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
21447         for wide-character tests.
21449 2014-12-04  Roland McGrath  <roland@hack.frob.com>
21451         * io/openat64.c: #include <libc-internal.h>
21452         (__openat64): Prototypify.  Use ignore_value on MODE.
21453         * io/openat.c: Likewise.
21454         * misc/reboot.c: #include <libc-internal.h>
21455         (reboot): Prototypify.  Use ignore_value on HOWTO.
21456         * misc/ptrace.c: #include <libc-internal.h>
21457         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
21459 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
21461         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
21462         XPG4, UNIX98 and XOPEN2K.
21463         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
21464         Remove variable.
21465         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21467 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21469         * libio/fileops.c: Use ISO C style for function definitions.
21470         * libio/iofopen.c: Likewise.
21471         * libio/wfileops.c: Likewise.
21473         [BZ #17653]
21474         * libio/fileops.c (_IO_new_file_underflow): Unset cached
21475         offset on EOF.
21476         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
21477         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
21478         (fgets_func): Function pointer to fgets and fgetws.
21479         (do_ftell_test): Add test to verify ftell value after read
21480         EOF.
21481         (do_test): Set fgets_func.
21483         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
21484         O_TRUNC flag for w and w+ modes.
21485         (do_rewind_test): Likewise.
21486         (do_ftell_test): Likewise.
21487         (do_write_test): Likewise.
21489         [BZ #17647]
21490         * libio/fileops.c (do_ftell): Seek only when there are
21491         unflushed writes.
21492         * libio/wfileops.c (do_ftell_wide): Likewise.
21493         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
21494         test case.
21495         (do_one_test): Call it.
21497 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
21499         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
21500         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
21501         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
21502         Remove variable.
21503         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21504         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21505         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21507 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21509         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
21510         Remove variable.
21511         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21513         [BZ #17668]
21514         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
21515         as weak alias of __getifaddrs.  Use libc_hidden_weak.
21516         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21517         __freeifaddrs.  Use libc_hidden_weak.
21518         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
21519         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
21520         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21521         __freeifaddrs.  Use libc_hidden_weak.
21522         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
21523         __getifaddrs and define as weak alias of __getifaddrs.  Use
21524         libc_hidden_weak.
21525         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
21526         __freeifaddrs.  Use libc_hidden_weak.
21527         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
21528         Remove variable.
21529         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21530         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21532 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21534         [BZ #17601]
21535         * sysdeps/mips/start.S (__start): Use indirect jump to call
21536         __libc_start_main.
21538 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
21540         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
21542         * nptl/tst-mutex1.c: Include <stdbool.h>.
21543         [!ATTR] (ATTR_NULL): New macro.
21544         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
21545         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
21546         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
21548         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
21549         to char *.
21551         [BZ #17665]
21552         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
21553         Change conditional to [__USE_MISC].
21555         [BZ #17664]
21556         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
21557         fgets_unlocked.
21558         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
21559         __fgets_unlocked.
21560         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
21561         fgets_unlocked.
21562         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
21563         Remove variable.
21564         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21565         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21566         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21567         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21568         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21569         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21570         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21571         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21572         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21574         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
21576 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21579         Remove strpbrk objects.
21580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21581         (__libc_ifunc_impl_list): Remove strpbrk implementation.
21582         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
21583         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
21584         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
21585         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
21587         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21588         Remove strcspn objects.
21589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21590         (__libc_ifunc_impl_list): Remove strcspn implementation.
21591         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
21592         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
21593         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
21594         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
21596         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
21597         Remove strspn objetcs.
21598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21599         (__libc_ifunc_impl_list): Remove strspn implementation.
21600         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
21601         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
21602         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
21603         * sysdeps/powerpc/powerpc64/strspn.S: New file.
21605 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
21607         [BZ #17581]
21608         * malloc/hooks.c
21609         (mem2mem_check): Add a terminator to the chain of checking blocks.
21610         (malloc_check_get_size): Use it here.
21611         (mem2chunk_check): Ditto.
21613 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21615         * sysdeps/powerpc/powerpc64/strtok.S: New file.
21616         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
21618 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
21620         * bits/ioctl-types.h: Indent preprocessor directives correctly.
21622         * nptl/nptl-init.c: Include libc-internal.h.
21623         (__pthread_initialize_minimal_internal): Use ROUND_UP.
21625         * elf/ldconfig.c (search_dir): Expand comment.
21627 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
21629         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
21630         variable.
21631         (linknamespace-symlist-stdlibs-tests): Likewise.
21632         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
21633         instead of $(objpfx)symlist-stdlibs.
21634         (linknamespace-libs-isoc): New variable.
21635         (linknamespace-libs): Use $(linknamespace-libs-isoc).
21636         (linknamespace-libs-ISO): New variable.
21637         (linknamespace-libs-ISO99): Likewise.
21638         (linknamespace-libs-ISO11): Likewise.
21639         (linknamespace-libs-XPG3): Likewise.
21640         (linknamespace-libs-XPG4): Likewise.
21641         (linknamespace-libs-POSIX): Likewise.
21642         (linknamespace-libs-UNIX98): Likewise.
21643         (linknamespace-libs-XOPEN2K): Likewise.
21644         (linknamespace-libs-POSIX2008): Likewise.
21645         (linknamespace-libs-XOPEN2K8): Likewise.
21646         ($(objpfx)symlist-stdlibs): Replace by
21647         $(linknamespace-symlist-stdlibs-tests).  Use
21648         $(linknamespace-libs-$*) as set of libraries.
21649         ($(linknamespace-header-tests)): Update dependencies.  Use
21650         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
21651         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
21652         * conform/linknamespace.pl: Remove comment about considering
21653         definitions of symbols from irrelevant libraries.
21655 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
21657         [BZ #13862]
21658         * elf/dl-tls.c: Include <atomic.h>.
21659         (oom): Remove #ifdef SHARED/#endif.
21660         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
21661         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
21662         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
21663         big enough.
21664         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
21665         * nptl/Makefile (tests): Add tst-stack4.
21666         (modules-names): Add tst-stack4mod.
21667         ($(objpfx)tst-stack4): New.
21668         (tst-stack4mod.sos): Likewise.
21669         ($(objpfx)tst-stack4.out): Likewise.
21670         ($(tst-stack4mod.sos)): Likewise.
21671         (clean): Likewise.
21672         * nptl/tst-stack4.c: New file.
21673         * nptl/tst-stack4mod.c: Likewise.
21675 2014-11-27  J. Brown  <jb999@gmx.de>
21677         * sysdeps/x86/bits/string.h: Add recent CPUs.
21679 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21681         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
21682         sigblock.
21684         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
21685         feof.
21687         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
21688         variable.
21690 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21692         * nscd/connections.c: Include libc-internal.h because of macro
21693         usage ignore_value.
21695 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21697         * string/bits/string3.h (__warn_memset_zero_len): Don't
21698         declare for gcc newer than 5.0.
21699         (memset): Don't test for zero-length __LEN for gcc newer than
21700         5.0.
21702 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
21704         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
21705         size_t for %zu format.
21707         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
21708         difference, not %ju.
21710 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21712         * include/libc-internal.h (ignore_value): New macro.
21713         * nscd/connections.c (restart): Wrap calls to setuid and setgid
21714         with ignore_value.
21716         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
21717         definition.
21719         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
21720         pthread_cleanup_push to void *.
21722         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
21723         Undefine.
21725         [BZ #16619]
21726         [BZ #16740]
21727         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
21728         instead of 1L << 52.
21730         * libio/bug-rewind.c (do_test): Check fwscanf return values.
21731         * libio/bug-rewind2.c (do_test): Likewise.
21733         * debug/test-stpcpy_chk-ifunc.c: Remove file.
21734         * debug/test-strcpy_chk-ifunc.c: Likewise.
21735         * wcsmbs/test-wcschr-ifunc.c: Likewise.
21736         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21737         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21738         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21739         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21740         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21741         * Rules [$(multi-arch) = no] (tests): Do not filter out
21742         $(tests-ifunc).
21743         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
21744         * debug/Makefile (tests-ifunc): Remove variable.
21745         (tests): Do not add $(tests-ifunc).
21746         * wcsmbs/Makefile (tests-ifunc): Remove variable.
21747         (tests): Do not add $(tests-ifunc).
21748         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
21749         [TEST_IFUNC]: Remove conditionals.
21750         * string/test-string.h (TEST_IFUNC): Remove macro.
21751         [TEST_IFUNC]: Remove conditionals.
21753         * string/test-strchr.c [!WIDE] (L): New macro.
21754         [WIDE] (L): Likewise.
21755         (check1): Use CHAR instead of char.  Use L on string and character
21756         constants.
21758 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
21760         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
21761         tests.
21762         * sysdeps/powerpc/bits/atomic.h
21763         (__arch_atomic_exchange_and_add_32_acq): Add definition.
21764         (__arch_atomic_exchange_and_add_32_rel): Likewise.
21765         (atomic_exchange_and_add_acq): Likewise.
21766         (atomic_exchange_and_add_rel): Likewise.
21767         * sysdeps/powerpc/powerpc32/bits/atomic.h
21768         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21769         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21770         * sysdeps/powerpc/powerpc64/bits/atomic.h
21771         (__arch_atomic_exchange_and_add_64_acq): Add definition.
21772         (__arch_atomic_exchange_and_add_64_rel): Likewise.
21774 2014-11-26  Torvald Riegel  <triegel@redhat.com>
21776         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
21777         Change synchronization of __sched_fifo_min_prio and
21778         __sched_fifo_max_prio.
21779         * nptl/pthread_mutexattr_getprioceiling.c
21780         (pthread_mutexattr_getprioceiling): Likewise.
21781         * nptl/pthread_mutexattr_setprioceiling.c
21782         (pthread_mutexattr_setprioceiling): Likewise.
21783         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
21784         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
21785         Likewise.
21787 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
21789         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
21790         void.
21792 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21794         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
21795         third argument const.
21797 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
21799         fnmatch: work around GCC compiler warning bug with uninit var
21800         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
21801         This works around a bug with x86-64 GCC 4.9.2 and earlier
21802         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
21803         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
21804         used uninitialized in this function [-Wmaybe-uninitialized]".
21806 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21808         * posix/bug-regex31.c (main): Return RES not 0.
21810 2014-11-25  Anton Blanchard <anton@samba.org>
21812         * sysdeps/powerpc/bits/atomic.h
21813         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
21815 2014-11-24  Sterling Augustine  <saugustine@google.com>
21817         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
21819 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
21821         [BZ #17608]
21822         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
21824 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
21826         [BZ #17633]
21827         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
21828         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
21829         variable.
21830         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21831         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21833 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21835         * string/strncpy.c (strncpy): Improve performance by using memset.
21837 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
21839         * string/strcpy.c (strcpy):
21840         Improve performance by using strlen and memcpy.
21842 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
21844         * string/strcoll_l.c (get_next_seq): __always_inline.
21845         * string/strcoll_l.c (do_compare): __always_inline.
21847 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21849         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
21850         defined.
21851         * include/mqueue.h: Likewise.
21852         * include/stdlib.h: Likewise.
21854         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
21855         (get_null_defines): Adjust.
21856         * sunrpc/Makefile: Adjust comment.
21857         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
21858         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
21859         (CFLAGS-interp.c): Likewise.
21860         (CFLAGS-ldconfig.c): Likewise.
21861         (CPPFLAGS-.os): Likewise.
21862         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21863         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
21864         * extra-modules.mk (extra-modules.mk): Likewise.
21865         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
21866         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
21867         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
21868         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
21869         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
21870         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
21871         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
21872         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
21873         * iconvdata/Makefile (CPPFLAGS): Likewise.
21874         (cpp-srcs-left): Add libof for all iconvdata routines.
21875         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
21876         * include/assert.h: Likewise.
21877         * include/ctype.h: Likewise.
21878         * include/errno.h: Likewise.
21879         * include/libc-symbols.h: Likewise.
21880         * include/math.h: Likewise.
21881         * include/netdb.h: Likewise.
21882         * include/resolv.h: Likewise.
21883         * include/stdio.h: Likewise.
21884         * include/stdlib.h: Likewise.
21885         * include/string.h: Likewise.
21886         * include/sys/stat.h: Likewise.
21887         * include/wctype.h: Likewise.
21888         * intl/l10nflist.c: Likewise.
21889         * libidn/idn-stub.c: Likewise.
21890         * libio/libioP.h: Likewise.
21891         * nptl/libc_multiple_threads.c: Likewise.
21892         * nptl/pthreadP.h: Likewise.
21893         * posix/regex_internal.h: Likewise.
21894         * resolv/res_hconf.c: Likewise.
21895         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
21896         * sysdeps/arm/memmove.S: Likewise.
21897         * sysdeps/arm/sysdep.h: Likewise.
21898         * sysdeps/generic/_itoa.h: Likewise.
21899         * sysdeps/generic/symbol-hacks.h: Likewise.
21900         * sysdeps/gnu/errlist.awk: Likewise.
21901         * sysdeps/gnu/errlist.c: Likewise.
21902         * sysdeps/i386/i586/memcpy.S: Likewise.
21903         * sysdeps/i386/i586/memset.S: Likewise.
21904         * sysdeps/i386/i686/memcpy.S: Likewise.
21905         * sysdeps/i386/i686/memmove.S: Likewise.
21906         * sysdeps/i386/i686/mempcpy.S: Likewise.
21907         * sysdeps/i386/i686/memset.S: Likewise.
21908         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
21909         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21910         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
21911         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
21912         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21913         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21914         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
21915         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21916         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
21917         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21918         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21919         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21920         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21921         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21922         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21923         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21924         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
21925         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
21926         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
21927         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21928         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21929         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21930         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21931         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21932         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21933         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21934         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
21935         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21936         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
21937         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
21938         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21939         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21941         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21942         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21943         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
21944         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21945         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21946         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
21947         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
21948         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21949         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21950         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
21951         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
21952         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21953         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21954         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
21955         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
21956         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21957         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21958         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21959         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
21960         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
21961         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21962         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21963         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
21964         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21965         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
21966         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
21967         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21968         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21969         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21970         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
21971         * sysdeps/nptl/bits/libc-lock.h: Likewise.
21972         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
21973         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
21974         * sysdeps/posix/closedir.c: Likewise.
21975         * sysdeps/posix/opendir.c: Likewise.
21976         * sysdeps/posix/readdir.c: Likewise.
21977         * sysdeps/posix/rewinddir.c: Likewise.
21978         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
21979         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
21980         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21981         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21982         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
21984         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
21985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
21986         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
21987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
21988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
21989         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
21990         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
21991         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
21992         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
21993         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
21994         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
21995         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
21996         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
21997         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
21998         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
21999         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22000         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22001         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22002         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22003         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22005         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22006         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22007         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22008         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22009         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22010         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22013         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22014         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22015         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22016         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22017         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22018         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22019         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22020         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22021         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22022         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22023         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22024         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22025         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22026         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22027         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22028         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22029         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22031         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22032         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22035         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22036         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22037         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22038         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22039         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22040         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22041         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22042         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22043         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22044         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22045         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22046         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22047         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22048         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22049         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22050         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22051         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22052         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22053         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22054         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22055         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22056         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22057         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22058         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22059         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22060         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22062         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22063         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22064         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22065         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22066         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22067         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22068         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22069         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22070         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22073         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22074         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22075         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22076         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22077         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22078         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22079         * sysdeps/unix/alpha/sysdep.S: Likewise.
22080         * sysdeps/unix/alpha/sysdep.h: Likewise.
22081         * sysdeps/unix/make-syscalls.sh: Likewise.
22082         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22083         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22084         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22085         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22086         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22087         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22088         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22089         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22090         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22091         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22092         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22093         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22094         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22095         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22096         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22097         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22098         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22099         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22100         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22101         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22102         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22103         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22104         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22105         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22106         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22107         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22108         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22111         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22112         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22113         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22114         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22115         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22116         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22117         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22120         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22121         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22122         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22123         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22124         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22125         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22126         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22133         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22134         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22135         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22136         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22137         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22138         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22139         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22140         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22141         * sysdeps/x86_64/memcpy.S: Likewise.
22142         * sysdeps/x86_64/memmove.c: Likewise.
22143         * sysdeps/x86_64/memset.S: Likewise.
22144         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22145         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22146         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22147         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22148         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22149         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22150         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22151         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22152         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22153         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22154         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22155         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22156         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22157         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22158         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22159         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22160         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22161         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22163         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22164         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22165         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22166         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22167         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22168         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22169         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22170         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22171         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22172         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22173         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22174         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22175         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22176         * sysdeps/x86_64/strcmp.S: Likewise.
22178         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22180         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22181         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22182         * elf/rtld-Rules: Likewise.
22183         * elf/setup-vdso.h: Likewise.
22184         * include/assert.h: Likewise.
22185         * include/bits/stdlib-float.h: Likewise.
22186         * include/errno.h: Likewise.
22187         * include/sys/stat.h: Likewise.
22188         * include/unistd.h: Likewise.
22189         * sysdeps/aarch64/setjmp.S: Likewise.
22190         * sysdeps/alpha/setjmp.S: Likewise.
22191         * sysdeps/arm/__longjmp.S: Likewise.
22192         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22193         * sysdeps/arm/setjmp.S: Likewise.
22194         * sysdeps/arm/sysdep.h: Likewise.
22195         * sysdeps/generic/_itoa.h: Likewise.
22196         * sysdeps/generic/dl-sysdep.h: Likewise.
22197         * sysdeps/generic/ldsodefs.h: Likewise.
22198         * sysdeps/i386/dl-tls.h: Likewise.
22199         * sysdeps/i386/setjmp.S: Likewise.
22200         * sysdeps/m68k/setjmp.c: Likewise.
22201         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22202         * sysdeps/mach/hurd/opendir.c: Likewise.
22203         * sysdeps/posix/getcwd.c: Likewise.
22204         * sysdeps/posix/opendir.c: Likewise.
22205         * sysdeps/posix/profil.c: Likewise.
22206         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22207         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22208         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22209         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22210         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22211         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22212         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22213         * sysdeps/s390/dl-tls.h: Likewise.
22214         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22215         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22216         * sysdeps/sh/sh3/setjmp.S: Likewise.
22217         * sysdeps/sh/sh4/setjmp.S: Likewise.
22218         * sysdeps/unix/alpha/sysdep.h: Likewise.
22219         * sysdeps/unix/arm/sysdep.S: Likewise.
22220         * sysdeps/unix/i386/sysdep.S: Likewise.
22221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22222         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22223         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22224         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22225         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22226         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22227         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22228         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22229         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22230         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22231         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22232         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22233         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22236         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22237         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22239         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22240         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22241         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22244         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22245         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22246         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22247         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22248         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22249         * sysdeps/x86_64/setjmp.S: Likewise.
22251         * include/math.h: Use IS_IN instead of IS_IN_libm.
22252         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22253         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22254         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22255         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22256         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22257         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22258         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22259         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22260         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22261         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22262         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22263         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22264         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22265         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22266         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22267         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22268         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22269         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22270         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22271         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22272         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22273         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22274         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22275         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22276         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22277         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22278         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22279         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22280         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22281         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22282         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22283         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22284         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22286         Likewise.
22287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22288         Likewise.
22289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22290         Likewise.
22291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22292         Likewise.
22293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22294         Likewise.
22295         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22296         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22297         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22298         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22299         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22300         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22306         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22307         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22308         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22309         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22310         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22311         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22312         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22313         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22314         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22315         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22316         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22317         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22318         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22319         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22321         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22323         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22324         * nptl/pthreadP.h: Likewise.
22325         * nptl_db/structs.def: Likewise.
22326         * sysdeps/arm/sysdep.h: Likewise.
22327         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22328         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22329         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22330         * sysdeps/unix/alpha/sysdep.h: Likewise.
22331         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22333         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22334         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22335         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22336         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22338         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22339         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22340         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22341         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22342         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22343         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22344         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22349         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22352         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22353         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22354         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22355         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22356         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22358         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22359         * nptl/pthreadP.h: Likewise.
22360         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22361         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22362         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22363         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22364         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22365         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22366         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22367         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22368         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22369         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22370         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22371         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22373         Likewise.
22374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22375         Likewise.
22376         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22377         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22378         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22379         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22381         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22382         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22383         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22385         * dlfcn/dladdr.c: Use IS_IN.
22386         * dlfcn/dladdr1.c: Likewise.
22387         * dlfcn/dlclose.c: Likewise.
22388         * dlfcn/dlerror.c: Likewise.
22389         * dlfcn/dlinfo.c: Likewise.
22390         * dlfcn/dlmopen.c: Likewise.
22391         * dlfcn/dlopen.c: Likewise.
22392         * dlfcn/dlsym.c: Likewise.
22393         * dlfcn/dlvsym.c: Likewise.
22395         * include/ifaddrs.h: Use IS_IN.
22396         * inet/check_pf.c: Likewise.
22397         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22398         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22400         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22401         IS_IN_ldconfig.
22402         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22403         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22405         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
22406         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
22407         IS_IN (libc).
22409         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
22411         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
22412         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22413         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22414         * include/libc-symbols.h (IS_IN_LIB): New macro.
22415         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
22416         * include/netdb.h: Likewise.
22417         * include/stap-probe.h: Remove all uses of IN_LIB.
22419         * Makeconfig (module-cppflags-real): Define MODULE_NAME
22420         instead of IN_MODULE.
22421         * include/libc-symbols.h (IN_MODULE): Define using
22422         MODULE_NAME.
22423         (PASTE_NAME, PASTE_NAME1): New macros.
22424         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
22425         of IN_LIB.
22426         (STAP_PROBE_ASM): Likewise.
22428 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22430         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
22431         __mach_init in dlopened libc.
22433 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
22435         * sysdeps/arm/preconfigure.ac: Delete EABI check.
22436         * sysdeps/arm/preconfigure: Regenerate.
22438 2014-11-21  Roland McGrath  <roland@hack.frob.com>
22440         * nptl/pthread_create.c (__pthread_create_2_1): Set
22441         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
22442         when copying values from IATTR into PD.
22444 2014-11-21  Will Newton  <will.newton@linaro.org>
22445             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
22447         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
22448         Refactor inline-asm.  Also add comment.
22450         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
22451         ElfW macro instead of hardcoded Elf64 types.
22452         (la_aarch64_gnu_pltenter): Likewise.
22453         * sysdeps/aarch64/dl-machine.h
22454         (elf_machine_runtime_setup): Use ElfW(Addr).
22456         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
22457         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
22458         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
22459         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
22460         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
22461         (R_AARCH64_TLS_DTPMOD64): Rename to ..
22462         (R_AARCH64_TLS_DTPMOD): This.
22463         (R_AARCH64_TLS_DTPREL64): Rename to ...
22464         (R_AARCH64_TLS_DTPREL): This.
22465         (R_AARCH64_TLS_TPREL64): Rename to ...
22466         (R_AARCH64_TLS_TPREL): This.
22467         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
22468         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
22469         R_AARCH64_TLS_TPREL64.
22470         (elf_machine_rela): Likewise.
22472 2014-11-21  Torvald Riegel  <triegel@redhat.com>
22474         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
22475         by setting it to 0.  64b atomics are not supported currently.
22477 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22479         [BZ #16469]
22480         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
22481         search domain names.
22483 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22485         [BZ #16469]
22486         * NEWS: Update.
22487         * resolv/res_query.c (__libc_res_nquerydomain): Retain
22488         trailing dot.
22489         * posix/tst-getaddrinfo5.c: New.
22490         * posix/Makefile (tests): Add it.
22492 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22494         [BZ #14498]
22495         * NEWS: Fixed.
22496         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
22497         after parsing line but before break_if_match.
22498         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
22499         if there is a protocol mismatch.
22501 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
22503         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
22504         because the potential race is on the user-supplied stream.
22506 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22508         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
22509         string literal if not passed a buffer.
22510         * manual/job.texi (ctermid): Update reasoning, note deviation
22511         from posix, suggest mtasurace when not passed a buffer, for
22512         future non-preliminary safety notes.
22514 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22516         * manual/users.texi (cuserid): Fix MT-Safety note for the case
22517         of not passing it a buffer.
22518         Reported by Peng Haitao.
22520 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
22522         * manual/Makefile ($(objpfx)stamp-summary): Require
22523         check-safety.sh to pass.
22524         * manual/check-safety.sh: Wish for verification that every
22525         @deftypefn and @deftypefun is followed by a @safety remark.
22527 2014-11-20  Roland McGrath  <roland@hack.frob.com>
22529         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
22531         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
22532         PTHREAD_CANCEL_ASYNCHRONOUS.
22533         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
22534         send SIGCANCEL.
22536         * nptl/default-sched.h: New file.
22537         * sysdeps/unix/sysv/linux/default-sched.h: New file.
22538         * nptl/pthread_create.c: Include it.
22539         (__pthread_create_2_1): Use collect_default_sched instead of making
22540         Linux syscalls here directly.
22542 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22544         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
22545         __pthread_once): Use C11 atomics.
22547 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22549         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
22551 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22553         * include/atomic.h (__atomic_link_error, __atomic_check_size,
22554         atomic_thread_fence_acquire, atomic_thread_fence_release,
22555         atomic_thread_fence_seq_cst, atomic_load_relaxed,
22556         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
22557         atomic_compare_exchange_weak_relaxed,
22558         atomic_compare_exchange_weak_acquire,
22559         atomic_compare_exchange_weak_release,
22560         atomic_exchange_acquire, atomic_exchange_release,
22561         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
22562         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
22563         atomic_fetch_and_acquire,
22564         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
22566 2014-11-20  Torvald Riegel  <triegel@redhat.com>
22568         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
22569         USE_ATOMIC_COMPILER_BUILTINS): Define.
22570         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
22571         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22572         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
22573         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22574         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
22575         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22576         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
22577         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22578         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
22579         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22580         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
22581         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22582         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
22583         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22584         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
22585         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22586         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22587         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22588         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22589         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22590         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
22591         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22592         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
22593         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22594         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
22595         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22596         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
22597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22598         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
22599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22600         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
22601         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22602         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
22603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22604         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22605         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22606         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
22607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22608         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
22609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22611 2014-11-19  Roland McGrath  <roland@hack.frob.com>
22613         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
22614         the sched_priority value here.  It was already checked when the user
22615         called pthread_attr_setschedparam.
22617         * nptl/tst-bad-schedattr.c: New file.
22618         * nptl/Makefile (tests): Add it.
22620 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
22621             Florian Weimer  <fweimer@redhat.com>
22622             Joseph Myers  <joseph@codesourcery.com>
22623             Adam Conrad  <adconrad@0c3.net>
22624             Andreas Schwab  <schwab@suse.de>
22625             Brooks  <bmoses@google.com>
22627         [BZ #17625]
22628         * wordexp-test.c (__dso_handle): Add prototype.
22629         (__register_atfork): Likewise.
22630         (__app_register_atfork): New function.
22631         (registered_forks): New global.
22632         (register_fork): New function.
22633         (test_case): Add 3 new tests for WRDE_CMDSUB.
22634         (main): Call __app_register_atfork.
22635         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
22636         fork count is non-zero fail the test.
22637         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
22638         is set.
22639         (parse_dollars): Remove check for WRDE_NOCMD.
22640         (parse_dquote): Likewise.
22642 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22644         * Makeconfig (built-modules): List non-library modules to be
22645         built.
22646         (module-cppflags): Include libc-modules.h for
22647         everything except shlib-versions.v.i.
22648         (CPPFLAGS): Use it.
22649         (before-compile): Add libc-modules.h.
22650         ($(common-objpfx)libc-modules.h,
22651         $(common-objpfx)libc-modules.stmp): New targets.
22652         (common-generated): Add libc-modules.h and libc-modules.stmp.
22653         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
22654         * include/libc-symbols.h: Don't include libc-modules.h.
22655         * include/libc-modules.h: Remove file.
22656         * scripts/gen-libc-modules.awk: New script to generate
22657         libc-modules.h.
22658         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
22659         Depend on libc-modules.stmp.
22661         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
22663         * Makeconfig (in-module): Get value of libof set for the
22664         translation unit.
22665         (CPPFLAGS): Use $(in-module).
22666         * Makerules: Don't suffix routine names for nonlib.
22667         * include/libc-modules.h: New file.
22668         * include/libc-symbols.h: Include libc-modules.h
22669         (IS_IN): New macro to replace IS_IN_* macros.
22670         * elf/Makefile: Set libof-* for each routine.
22671         * elf/rtld-Rules: Likewise.
22672         * extra-modules.mk: Likewise.
22673         * iconv/Makefile: Likewise.
22674         * iconvdata/Makefile: Likewise.
22675         * locale/Makefile: Likewise.
22676         * malloc/Makefile: Likewise.
22677         * nss/Makefile: Likewise.
22678         * sysdeps/gnu/Makefile: Likewise.
22679         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
22680         * sysdeps/unix/sysv/linux/Makefile: Likewise.
22681         * sysdeps/s390/s390-64/Makefile: Likewise.
22682         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
22683         CPPFLAGS for nscd instead of nonlib.
22685 2014-11-18  Roland McGrath  <roland@hack.frob.com>
22687         * nptl/createthread.c: New file.
22689         * nptl/createthread.c: Moved ...
22690         * sysdeps/unix/sysv/linux/createthread.c: ... here.
22692         * nptl/createthread.c: Add proper top-line comment.
22693         (do_clone): Folded into ...
22694         (create_thread): ... here.  Take new arguments STOPPED_START and
22695         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
22696         increment __nptl_threads, do event-reporting logic, do
22697         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
22698         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
22699         resource cleanup if sched_setaffinity or sched_setscheduler fails,
22700         just send SIGCANCEL.
22701         * nptl/pthread_create.c: Forward-declare create_thread before
22702         including createthread.c.
22703         (start_thread): Use new macro START_THREAD_DEFN to replace defining
22704         declaration, and new macro START_THREAD_SELF to replace argument.
22705         Remove return statement.
22706         (report_thread_creation): New function.
22707         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
22708         synchronization logic, and __nptl_nthreads increment here, around
22709         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
22710         PD->parent_cancelhandling here, before create_thread.  When
22711         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
22712         __deallocate_stack, and ENOMEM translation here.
22714 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
22716         [BZ #17616]
22717         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
22718         (mptwo): Rename to __mptwo.
22719         (__inv): Use __mptwo instead of mptwo.
22720         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
22721         (mptwo): Rename to __mptwo.
22722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
22723         of mpone and __mptwo instead of mptwo.
22724         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
22725         instead of mpone.
22726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22727         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
22728         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
22729         of mpone and __mptwo instead of mptwo.
22730         (__mpranred): Use __mpone instead of mpone.
22731         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
22732         variable.
22733         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22734         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22735         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22736         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22737         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22738         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22739         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22740         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22741         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22742         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22743         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
22744         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
22745         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
22746         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
22747         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
22748         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
22749         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
22750         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
22751         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
22753 2014-11-18  Tom de Vries  <tom@codesoucery.com>
22755         * manual/signal.texi (Primitives Interrupted by Signals): In section,
22756         replace BSD Handler xref with BSD Signal Handling.
22758 2014-11-17  Richard Henderson  <rth@redhat.com>
22760         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
22761         (_FP_PACK_RAW_2): Remove.
22762         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
22763         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
22764         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
22765         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
22766         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
22767         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
22768         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
22769         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
22770         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
22771         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
22772         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
22773         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
22774         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
22775         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
22776         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
22777         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
22779 2014-11-14  Roland McGrath  <roland@hack.frob.com>
22781         * signal/signal.h [__USE_MISC]
22782         (struct sigvec): Remove type.
22783         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
22784         (sigvec): Remove declaration.
22785         * sysdeps/posix/sigvec.c: Moved ...
22786         * signal/sigvec.c: ... here, replacing old file.
22787         (struct sigvec): New type, copied from old signal.h definition.
22788         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
22789         (__sigvec): Convert definition to prototype.
22790         (sigvec): Replace weak_alias with compat_symbol.
22791         * signal/Versions (libc: GLIBC_2.21): New version set.
22792         * include/signal.h: Remove __sigvec declaration.
22793         * sysdeps/unix/bsd/sigvec.c: Remove file.
22794         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
22795         * manual/signal.texi (BSD Handler): Remove subsection.
22796         Move siginterrupt up to ...
22797         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
22798         (Blocking in BSD): Fold subsection into its parent.
22799         * NEWS: Mention sigvec removal.
22801 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22803         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
22804         (DLA_FMS): Make definition conditional only on [__FMA4__].
22805         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
22806         definition.
22808         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
22809         Make definition conditional only on [PROF].
22810         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
22811         definition.
22812         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
22813         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
22815         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
22816         !__GNUC__].
22817         * include/signal.h (__sigpause): Move declaration above call to
22818         libc_hidden_proto.
22819         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
22820         variable.
22821         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22822         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22824 2014-11-14  David S. Miller  <davem@davemloft.net>
22826         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
22827         Define before including <string/memcpy.c> and <string/mempcpy.c>.
22829 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
22831         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
22832         * configure: Regenerated.
22833         * manual/install.texi (Tools for Compilation): Document a
22834         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
22835         compiler verified to work.
22836         * INSTALL: Regenerated.
22838         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
22839         redeclare with asm name.
22840         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
22841         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
22842         including <string.h>.
22843         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22844         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
22845         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22846         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
22847         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22848         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22849         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
22851 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
22853         * stdlib/strtol.c (__strtol): Use prototype definition.
22855         [BZ #17594]
22856         * stdlib/strtol.c (SYM__): New macro.
22857         (SYM__1): Likewise.
22858         (__strtol): Likewise.
22859         (strtol): Rename to __strtol and define as weak alias of
22860         __strtol.  Use libc_hidden_weak.
22862 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22864         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
22865         Use numbered labels in inline assembly.
22867 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22869         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
22870         Add setjmp LIBC_PROBE.
22871         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
22872         Likewise.
22873         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
22874         Add longjmp, longjmp_target LIBC_PROBE.
22875         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
22876         Likewise.
22878 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22880         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22881         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
22882         to get rid of unused variable warning.
22884 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
22886         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
22887         Check for unwind_backtrace ==  NULL only in SHARED case.
22888         (__backchain_backtrace): Compile only in SHARED case.
22889         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
22890         Likewise.
22891         (__backchain_backtrace): Declare as static.
22893 2014-11-12  Roland McGrath  <roland@hack.frob.com>
22895         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
22896         (__libc_multiple_threads_ptr): Variable moved ...
22897         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
22899 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
22901         * conform/GlibcConform.pm: New file.
22902         * conform/conformtest.pl: Use GlibcConform module.
22903         * conform/linknamespace.pl: New file.
22904         * conform/list-header-symbols.pl: Likewise.
22905         * conform/Makefile (linknamespace-symlists-base): New variable.
22906         (linknamespace-symlists-tests): Likewise.
22907         (linknamespace-header-base): Likewise.
22908         (linknamespace-header-tests): Likewise.
22909         (tests-special): Add new tests.
22910         ($(linknamespace-symlists-tests)): New rule.
22911         (linknamespace-libs): New variable.
22912         ($(objpfx)symlist-stdlibs): New rule.
22913         ($(linknamespace-header-tests)): Likewise.
22914         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
22915         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
22916         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
22917         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
22918         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
22919         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
22920         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
22921         (test-xfail-ISO/math.h/linknamespace): Likewise.
22922         (test-xfail-ISO/signal.h/linknamespace): Likewise.
22923         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
22924         (test-xfail-ISO/time.h/linknamespace): Likewise.
22925         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
22926         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
22927         (test-xfail-ISO99/math.h/linknamespace): Likewise.
22928         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
22929         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22930         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
22931         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
22932         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
22933         (test-xfail-ISO11/math.h/linknamespace): Likewise.
22934         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
22935         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22936         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
22937         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
22938         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
22939         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
22940         (test-xfail-XPG3/math.h/linknamespace): Likewise.
22941         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
22942         (test-xfail-XPG3/search.h/linknamespace): Likewise.
22943         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
22944         (test-xfail-XPG3/time.h/linknamespace): Likewise.
22945         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
22946         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22947         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
22948         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
22949         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
22950         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22951         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
22952         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
22953         (test-xfail-XPG4/math.h/linknamespace): Likewise.
22954         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
22955         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
22956         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22957         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22958         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
22959         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
22960         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
22961         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
22962         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
22963         (test-xfail-XPG4/time.h/linknamespace): Likewise.
22964         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
22965         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22966         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
22967         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
22968         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
22969         (test-xfail-POSIX/math.h/linknamespace): Likewise.
22970         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
22971         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
22972         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22973         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
22974         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
22975         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22976         (test-xfail-POSIX/time.h/linknamespace): Likewise.
22977         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
22978         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
22979         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
22980         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
22981         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22982         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
22983         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
22984         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
22985         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
22986         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
22987         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
22988         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22989         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
22990         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
22991         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
22992         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
22993         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22994         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
22995         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
22996         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22997         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22998         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22999         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23000         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23001         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23002         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23003         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23004         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23005         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23006         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23007         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23008         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23009         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23010         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23011         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23012         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23013         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23014         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23015         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23016         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23017         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23018         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23019         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23020         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23021         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23022         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23023         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23024         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23025         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23026         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23027         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23028         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23029         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23030         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23031         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23032         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23033         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23034         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23035         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23036         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23037         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23038         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23039         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23040         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23041         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23042         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23043         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23044         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23045         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23046         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23047         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23048         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23049         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23050         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23051         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23052         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23053         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23054         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23055         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23056         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23057         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23058         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23059         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23060         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23061         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23062         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23063         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23064         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23065         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23066         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23067         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23068         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23069         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23070         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23071         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23072         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23073         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23074         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23076         [BZ #17589]
23077         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23078         of fgets_unlocked.
23080         [BZ #17585]
23081         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23082         (memmem): Rename to __memmem and define as weak alias of
23083         __memmem.  Use libc_hidden_weak.
23084         (__memmem): Use libc_hidden_def.
23085         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23086         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23087         memmem.
23089         [BZ #17582]
23090         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23091         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23092         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23093         and define as weak alias of __fgets_unlocked.  Use
23094         libc_hidden_weak.
23095         (__fgets_unlocked): Use libc_hidden_def.
23096         * include/stdio.h (__fgets_unlocked): Declare.  Use
23097         libc_hidden_proto.
23098         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23099         __fgets_unlocked instead of fgets_unlocked.
23100         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23101         (GET_NPROCS_CONF_PARSER): Likewise.
23102         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23103         (GET_NPROCS_CONF_PARSER): Likewise.
23105         [BZ #17574]
23106         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23107         weak alias of __wmemset.  Use libc_hidden_weak.
23108         (__wmemset): Use libc_hidden_def.
23109         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23110         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23111         of wmemset.
23113         [BZ #17573]
23114         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23115         with asm name __mempcpy.
23116         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23118         [BZ #17572]
23119         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23120         and define as weak alias of __rawmemchr.
23121         (__rawmemchr): Do not define as strong alias of rawmemchr.
23123         [BZ #17571]
23124         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23125         alias of __qsort_r.
23126         (qsort): Call __qsort_r instead of qsort_r.
23127         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23128         (__qsort_r): Declare.  Call libc_hidden_proto.
23129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23130         instead of qsort_r.
23131         * nscd/gai.c (__qsort_r): Define to qsort_r.
23132         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23133         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23134         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23136         [BZ #17570]
23137         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23138         define as weak alias of __malloc_info.
23140         [BZ #17584]
23141         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23142         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23143         (__rewinddir): Use libc_hidden_def.
23144         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23145         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23146         (__rewinddir): Use libc_hidden_def.
23147         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23148         weak alias of __rewinddir.  Don't use libc_hidden_def.
23149         (__rewinddir): Use libc_hidden_def.
23150         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23151         (__rewinddir): Use libc_hidden_proto.
23152         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23153         rewinddir.
23154         (__getcwd): Use __rewinddir instead of rewinddir.
23156         [BZ #17583]
23157         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23158         alias of __fileno.  Use libc_hidden_weak.
23159         (__fileno): Use libc_hidden_def.
23160         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23161         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23162         alias of __ftello.
23163         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23164         __ftello.
23165         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23166         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23167         libc_hidden_def.
23168         (fread_unlocked): Don't use libc_hidden_ver.
23169         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23170         and define as weak alias of __fread_unlocked.  Don't use
23171         libc_hidden_def.
23172         (__fread_unlocked): Use libc_hidden_def.
23173         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23174         (ftello): Don't use libc_hidden_proto.
23175         (__ftello): Declare.  Use libc_hidden_proto.
23176         (fread_unlocked): Don't use libc_hidden_proto.
23177         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23178         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23179         and __ftello instead of fileno, fread_unlocked and ftello.
23181 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23183         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23184         GOT12.
23185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23186         Likewise.
23187         (_dl_start_user): Likewise.
23188         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23190 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23191             Siddhesh Poyarekar  <siddhesh@redhat.com>
23193         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23194         Move argv and envp down instead of moving argc up.
23195         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23197 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23199         [BZ #17506]
23200         * test-skeleton.c (main): Return successful if one of
23201         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23202         * string/tst-strcoll-overflow.c: Define expected status.
23204 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23206         [BZ #17475]
23207         * locale/iso-639.def: Define Bhili and Tulu language codes.
23209 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23211         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23213 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23215         [BZ #17555]
23216         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23218 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23220         * configure.ac: Updated check of minimal required version to
23221         2.22.
23222         * manual/install.texi (Tools for Compilation): Updated version
23223         number.
23224         * configure: Regenerated.
23225         * INSTALL: Likewise.
23227 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23229         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23230         __tls_get_addr.
23232 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23234         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23235         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23236         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23237         libc_hidden_weak.
23238         (waitpid): Define as alias of __waitpid.
23239         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23240         __waitpid.
23241         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23242         libc_hidden_weak.
23243         (waitpid): Define as alias of __waitpid.
23244         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23245         __libc_waitpid alias.
23246         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23247         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23248         Likewise.
23249         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23250         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23251         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23252         alias.
23253         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23254         __waitpid.
23255         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23256         libc_hidden_weak.
23257         (waitpid): Define as alias of __waitpid.
23259 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23261         * manual/llio.texi: Add comment that write safety has been
23262         fixed in Linux.
23264         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23265         (localplt-build-dso): Add elf/ld.so.
23266         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23267         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23268         and free for ld.so.
23269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23270         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23272         Likewise.
23273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23274         Likewise.
23275         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23276         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23277         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23278         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23279         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23280         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23281         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23282         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23283         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23284         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23285         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23287 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23289         [BZ #14132]
23290         * include/libc-symbols.h (INTUSE): Remove macro.
23291         (INTDEF): Likewise.
23292         (INTVARDEF): Likewise.
23293         (_INTVARDEF): Likewise.
23294         (INTDEF2): Likewise.
23295         (INTVARDEF2): Likewise.
23296         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23297         rtld_hidden_def instead of INTVARDEF.
23298         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23299         (_dl_starting_up_internal): Remove declaration.
23300         (_dl_starting_up): Use rtld_hidden_proto.
23301         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23302         declaration.
23303         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23304         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23305         _dl_starting_up.
23306         * elf/dl-writev.h (_dl_writev): Likewise.
23307         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23308         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23309         _dl_starting_up_internal.
23311 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23313         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23314         test-skeleton.c.
23316 2014-11-05  Will Newton  <will.newton@linaro.org>
23318         * benchtests/Makefile: (bench-malloc): Add malloc thread
23319         scalability benchmark.
23320         * benchtests/bench-malloc-threads.c: New file.
23322 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23324         * sysdeps/aarch64/strchrnul.S: New file.
23326 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23328         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23329         definition.
23330         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23331         Likwise.
23332         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23333         Likewise.
23334         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23335         Likewise.
23336         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23337         Likewise.
23338         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23339         Likewise.
23341 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23343         * catgets/test-gencat.c: Use test-skeleton.c.
23344         * catgets/tst-catgets.c: Likewise.
23345         * csu/tst-empty.c: Likewise.
23346         * elf/tst-audit2.c: Likewise.
23347         * elf/tst-global1.c: Likewise.
23348         * elf/tst-pathopt.c: Likewise.
23349         * elf/tst-piemod1.c: Likewise.
23350         * elf/tst-tls10.c: Likewise.
23351         * elf/tst-tls11.c: Likewise.
23352         * elf/tst-tls12.c: Likewise.
23353         * gnulib/tst-gcc.c: Likewise.
23354         * iconvdata/tst-e2big.c: Likewise.
23355         * iconvdata/tst-loading.c: Likewise.
23356         * iconv/tst-iconv1.c: Likewise.
23357         * iconv/tst-iconv2.c: Likewise.
23358         * inet/test-inet6_opt.c: Likewise.
23359         * inet/tst-gethnm.c: Likewise.
23360         * inet/tst-network.c: Likewise.
23361         * inet/tst-ntoa.c: Likewise.
23362         * intl/tst-codeset.c: Likewise.
23363         * intl/tst-gettext2.c: Likewise.
23364         * intl/tst-gettext3.c: Likewise.
23365         * intl/tst-ngettext.c: Likewise.
23366         * intl/tst-translit.c: Likewise.
23367         * io/test-stat.c: Likewise.
23368         * libio/test-fmemopen.c: Likewise.
23369         * libio/tst-freopen.c: Likewise.
23370         * libio/tst-sscanf.c: Likewise.
23371         * libio/tst-ungetwc1.c: Likewise.
23372         * libio/tst-ungetwc2.c: Likewise.
23373         * libio/tst-widetext.c: Likewise.
23374         * localedata/tst-ctype.c: Likewise.
23375         * localedata/tst-digits.c: Likewise.
23376         * localedata/tst-leaks.c: Likewise.
23377         * localedata/tst-mbswcs1.c: Likewise.
23378         * localedata/tst-mbswcs2.c: Likewise.
23379         * localedata/tst-mbswcs3.c: Likewise.
23380         * localedata/tst-mbswcs4.c: Likewise.
23381         * localedata/tst-mbswcs5.c: Likewise.
23382         * localedata/tst-setlocale.c: Likewise.
23383         * localedata/tst-trans.c: Likewise.
23384         * localedata/tst-wctype.c: Likewise.
23385         * localedata/tst-xlocale1.c: Likewise.
23386         * login/tst-grantpt.c: Likewise.
23387         * malloc/tst-calloc.c: Likewise.
23388         * malloc/tst-malloc.c: Likewise.
23389         * malloc/tst-mallocstate.c: Likewise.
23390         * malloc/tst-mcheck.c: Likewise.
23391         * malloc/tst-mtrace.c: Likewise.
23392         * malloc/tst-obstack.c: Likewise.
23393         * math/atest-exp2.c: Likewise.
23394         * math/atest-exp.c: Likewise.
23395         * math/atest-sincos.c: Likewise.
23396         * math/test-matherr.c: Likewise.
23397         * math/test-misc.c: Likewise.
23398         * math/test-powl.c: Likewise.
23399         * math/tst-definitions.c: Likewise.
23400         * misc/tst-dirname.c: Likewise.
23401         * misc/tst-efgcvt.c: Likewise.
23402         * misc/tst-fdset.c: Likewise.
23403         * misc/tst-hsearch.c: Likewise.
23404         * misc/tst-mntent2.c: Likewise.
23405         * nptl/tst-sem7.c: Likewise.
23406         * nptl/tst-sem8.c: Likewise.
23407         * nptl/tst-sem9.c: Likewise.
23408         * nss/test-netdb.c: Likewise.
23409         * posix/tst-fnmatch.c: Likewise.
23410         * posix/tst-getlogin.c: Likewise.
23411         * posix/tst-gnuglob.c: Likewise.
23412         * posix/tst-mmap.c: Likewise.
23413         * pwd/tst-getpw.c: Likewise.
23414         * resolv/tst-inet_ntop.c: Likewise.
23415         * rt/tst-timer.c: Likewise.
23416         * stdio-common/test-fseek.c: Likewise.
23417         * stdio-common/test-popen.c: Likewise.
23418         * stdio-common/test-vfprintf.c: Likewise.
23419         * stdio-common/tst-cookie.c: Likewise.
23420         * stdio-common/tst-fileno.c: Likewise.
23421         * stdio-common/tst-gets.c: Likewise.
23422         * stdio-common/tst-obprintf.c: Likewise.
23423         * stdio-common/tst-perror.c: Likewise.
23424         * stdio-common/tst-sprintf2.c: Likewise.
23425         * stdio-common/tst-sprintf3.c: Likewise.
23426         * stdio-common/tst-sprintf.c: Likewise.
23427         * stdio-common/tst-swprintf.c: Likewise.
23428         * stdio-common/tst-tmpnam.c: Likewise.
23429         * stdio-common/tst-unbputc.c: Likewise.
23430         * stdio-common/tst-wc-printf.c: Likewise.
23431         * stdlib/tst-environ.c: Likewise.
23432         * stdlib/tst-fmtmsg.c: Likewise.
23433         * stdlib/tst-limits.c: Likewise.
23434         * stdlib/tst-rand48-2.c: Likewise.
23435         * stdlib/tst-rand48.c: Likewise.
23436         * stdlib/tst-random2.c: Likewise.
23437         * stdlib/tst-random.c: Likewise.
23438         * stdlib/tst-strtol.c: Likewise.
23439         * stdlib/tst-strtoll.c: Likewise.
23440         * stdlib/tst-tls-atexit.c: Likewise.
23441         * stdlib/tst-xpg-basename.c: Likewise.
23442         * string/test-ffs.c: Likewise.
23443         * string/tst-bswap.c: Likewise.
23444         * string/tst-inlcall.c: Likewise.
23445         * string/tst-strtok.c: Likewise.
23446         * string/tst-strxfrm.c: Likewise.
23447         * sysdeps/x86_64/tst-audit10.c: Likewise.
23448         * sysdeps/x86_64/tst-audit3.c: Likewise.
23449         * sysdeps/x86_64/tst-audit4.c: Likewise.
23450         * sysdeps/x86_64/tst-audit5.c: Likewise.
23451         * time/tst-ftime_l.c: Likewise.
23452         * time/tst-getdate.c: Likewise.
23453         * time/tst-mktime3.c: Likewise.
23454         * time/tst-mktime.c: Likewise.
23455         * time/tst-posixtz.c: Likewise.
23456         * time/tst-strptime2.c: Likewise.
23457         * time/tst-strptime3.c: Likewise.
23458         * wcsmbs/tst-btowc.c: Likewise.
23459         * wcsmbs/tst-mbrtowc.c: Likewise.
23460         * wcsmbs/tst-mbsrtowcs.c: Likewise.
23461         * wcsmbs/tst-wchar-h.c: Likewise.
23462         * wcsmbs/tst-wcpncpy.c: Likewise.
23463         * wcsmbs/tst-wcrtomb.c: Likewise.
23464         * wcsmbs/tst-wcsnlen.c: Likewise.
23465         * wcsmbs/tst-wcstof.c: Likewise.
23467 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
23469         [BZ #14132]
23470         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
23471         INTDEF.
23472         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
23473         declaration.
23474         (_dl_mcount): Use rtld_hidden_proto.
23475         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
23476         _dl_mcount.
23477         * elf/rtld.c (_rtld_global_ro): Likewise.
23479         [BZ #14132]
23480         * elf/dl-init.c (_dl_init): Don't use INTDEF.
23481         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
23482         of _dl_init_internal.
23483         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
23484         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
23485         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
23486         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
23487         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
23488         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
23489         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
23490         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
23491         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
23492         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
23493         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
23494         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
23495         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23496         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23497         * sysdeps/tile/dl-start.S (_start): Likewise.
23498         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
23499         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
23501         [BZ #14132]
23502         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
23503         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
23504         (rtld_progname): Make macro definition unconditional.
23505         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
23506         INTDEF.
23507         (dlmopen_doit): Do not use INTUSE with _dl_argv.
23508         (dl_main): Likewise.
23509         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23510         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
23511         instead of _dl_argv_internal.
23512         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23513         __GI__dl_argv instead of INTUSE(_dl_argv).
23514         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
23515         __GI__dl_argv instead of _dl_argv_internal.
23517         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
23518         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
23519         macro.
23520         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
23521         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
23522         New macro.
23523         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
23524         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
23525         macro.
23526         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
23527         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
23529 2014-11-04  Andreas Schwab  <schwab@suse.de>
23531         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
23533 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23535         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
23536         mtvsrd instruction in binary form.
23538 2014-11-03  Andreas Schwab  <schwab@suse.de>
23540         [BZ #17522]
23541         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
23542         for less than MB_LEN_MAX use a local buffer of that size.
23543         * libio/tst-fputws.c: New file.
23544         * libio/Makefile (tests): Add tst-fputws.
23546 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
23548         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
23549         the size of the fpu_fr.fpu_dregs[] array.
23551 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
23553         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
23554         (__nanosleep): Do not define as alias.
23555         (nanosleep): Define as alias of __nanosleep.
23556         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
23557         __libc_nanosleep name.
23559 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23561         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
23562         install.texi in comment.
23564 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23566         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
23567         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
23568         ... add here and use lwsync or sync ...
23569         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
23570         ... and add here using lwsync.
23572 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23574         * elf/dl-machine-reject-phdr.h: New file.
23575         * elf/dl-load.c: #include that.
23576         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
23577         if that returned true.
23579 2014-10-31  Roland McGrath  <roland@hack.frob.com>
23581         [BZ #17496]
23582         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
23583         gen-as-const-headers chunk.  Add a big scare comment after the last
23584         safe place to touch before-compile.
23586 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
23588         * manual/install.texi (Tools for Compilation): Update autoconf
23589         version requirements.
23590         * INSTALL: Regenerated.
23592         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
23593         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
23594         (__libc_pselect): Likewise.
23596         [BZ #14138]
23597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
23598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23602 2014-10-31  Torvald Riegel  <triegel@redhat.com>
23604         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
23605         correct barrier instruction.
23606         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
23607         Likewise.
23608         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
23609         Likewise.
23611 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23613         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
23614         after defining inlines.  Instead, just use parens to defeat macro
23615         expansion of __isctype in its declaration.
23617 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23619         * include/sys/uio.h (__libc_readv): Remove declaration.
23620         (__libc_writev): Likewise.
23621         * misc/readv.c (__libc_readv): Rename to __readv.
23622         (__readv): Do not define as alias.
23623         (readv): Define as alias of __readv.
23624         * misc/writev.c (__libc_writev): Rename to __writev.
23625         (__writev): Do not define as alias.
23626         (writev): Define as alias of __writev.
23627         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
23628         (__readv): Do not define as alias.
23629         (readv): Define unconditionally as alias of __readv.
23630         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
23631         (__writev): Do not define as alias.
23632         (writev): Define unconditionally as alias of __writev.
23633         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
23634         name.
23635         (writev): Do not define __libc_writev name.
23637 2014-10-30  Roland McGrath  <roland@hack.frob.com>
23639         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
23640         (convert_charseq): New function, broken out of ...
23641         (use_from_charmap): ... here.  Call it.
23642         (use_to_charmap): Use convert_charseq and free instead of duplicating
23643         its code with a variable-length stack struct.
23645 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
23647         * include/fcntl.h (__libc_creat): Remove declaration.
23648         * io/creat.c (__libc_creat): Rename to creat.
23649         (creat): Do not define as alias.
23650         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
23651         of creat instead of __libc_creat.
23652         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
23653         to creat.
23654         (creat): Do not define as alias.
23655         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
23656         __libc_creat.
23657         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
23658         __libc_creat name.
23659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
23660         Likewise.
23662 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
23664         * manual/llio.texi: Add comments discussing why write() may be
23665         considered MT-unsafe on Linux.
23667 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
23669         * dl-load.c (local_strdup): Remove.
23670         (expand_dynamic_string_token): Use __strdup.
23671         (decompose_rpath): Likewise.
23672         (_dl_map_object): Likewise.
23674 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
23676         [BZ #14132]
23677         * sysdeps/generic/unwind-dw2-fde.c
23678         (__register_frame_info_bases_internal): Do not declare.
23679         (__register_frame_info_table_bases_internal): Likewise.
23680         (__deregister_frame_info_bases_internal): Likewise.
23681         (__register_frame_info_bases): Declare and use hidden_proto before
23682         definition.  Use hidden_def instead of INTDEF.
23683         (__register_frame_info_table_bases): Likewise.
23684         (__deregister_frame_info_bases): Likewise.
23685         (__register_frame_info): Do not use INTUSE.
23686         (__register_frame): Likewise.
23687         (__register_frame_info_table): Likewise.
23688         (__register_frame_table): Likewise.
23689         (__deregister_frame_info): Likewise.
23690         (__deregister_frame): Likewise.
23692 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
23694         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23695         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
23696         not undefine.
23697         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
23698         Likewise.
23699         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
23700         Likewise.
23702 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
23704         [BZ #14138]
23705         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
23706         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
23707         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
23708         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
23709         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
23710         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
23711         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
23712         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
23713         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
23714         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
23715         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
23716         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
23717         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
23718         syscall.
23719         (setfsuid): Likewise.
23720         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
23721         (setfsuid): Likewise.
23722         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
23723         (setfsuid): Likewise.
23724         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
23725         Likewise.
23726         (setfsuid): Likewise.
23727         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
23728         (setfsuid): Likewise.
23729         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
23730         Likewise.
23731         (setfsuid): Likewise.
23733 2014-10-27  Andreas Schwab  <schwab@suse.de>
23735         [BZ #17501]
23736         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
23737         check for Slow_SSE4_2 feature bit.
23738         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
23739         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23740         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
23741         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
23743 2014-10-24  Roland McGrath  <roland@hack.frob.com>
23745         * configure.ac: Validate compiler version with a empirical test of
23746         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
23747         $CC -v output.
23748         * configure: Regenerated.
23750         * inet/htons.c (htons): Prototypify.
23751         * inet/htonl.c (htonl): Likewise.
23753 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23755         * string/strncat.c (strncat): Improve performance by using strlen.
23757 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23759         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
23761 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23763         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
23764         Call libc_fetestexcept_aarch64.
23766 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23768         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
23769         Call libc_feholdexcept_aarch64.
23771 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23773         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
23774         Call get_rounding_mode.
23776 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23778         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23779         Simplify logic.
23781 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
23783         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
23784         Simplify logic.
23786 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
23788         [BZ #14138]
23789         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
23790         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
23791         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
23792         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
23793         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
23794         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
23795         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
23796         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
23797         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
23798         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
23799         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23800         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
23801         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
23802         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
23803         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
23804         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
23805         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
23806         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
23807         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
23808         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
23809         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
23810         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
23811         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
23812         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
23813         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
23814         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
23815         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
23816         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
23817         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
23818         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
23819         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
23820         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
23821         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
23822         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
23823         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
23824         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
23825         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
23826         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
23827         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
23828         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
23829         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
23830         syscall.
23831         (geteuid): Likewise.
23832         (getgid): Likewise.
23833         (getuid): Likewise.
23834         (getresgid): Likewise.
23835         (getresuid): Likewise.
23836         (getgroups): Likewise.
23837         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
23838         (geteuid): Likewise.
23839         (getgid): Likewise.
23840         (getuid): Likewise.
23841         (getresgid): Likewise.
23842         (getresuid): Likewise.
23843         (getgroups): Likewise.
23844         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
23845         (geteuid): Likewise.
23846         (getgid): Likewise.
23847         (getuid): Likewise.
23848         (getresgid): Likewise.
23849         (getresuid): Likewise.
23850         (getgroups): Likewise.
23851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
23852         Likewise.
23853         (geteuid): Likewise.
23854         (getgid): Likewise.
23855         (getuid): Likewise.
23856         (getresgid): Likewise.
23857         (getresuid): Likewise.
23858         (getgroups): Likewise.
23859         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
23860         (geteuid): Likewise.
23861         (getgid): Likewise.
23862         (getuid): Likewise.
23863         (getresgid): Likewise.
23864         (getresuid): Likewise.
23865         (getgroups): Likewise.
23866         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
23867         Likewise.
23868         (geteuid): Likewise.
23869         (getgid): Likewise.
23870         (getuid): Likewise.
23871         (getgroups): Likewise.
23873         [BZ #14138]
23874         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
23875         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
23876         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
23877         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23878         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
23879         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
23880         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
23881         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
23882         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
23883         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
23884         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
23885         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
23886         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
23887         __chown.
23888         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
23889         (lchown): Likewise.
23890         (fchown): Likewise.
23891         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
23892         Likewise.
23893         (lchown): Likewise.
23894         (fchown): Likewise.
23895         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
23896         (lchown): Likewise.
23897         (fchown): Likewise.
23898         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
23899         Likewise.
23900         (lchown): Likewise.
23901         (fchown): Likewise.
23903 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23905         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
23906         Simplify logic.
23908 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23910         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23911         Cleanup logic.
23913 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23915         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
23916         Remove unused include.
23918 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
23920         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
23921         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
23922         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
23923         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
23925 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
23926             Helge Deller <deller@gmx.de>
23928         [BZ #17508]
23929         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
23930         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
23931         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
23933 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
23935         [BZ #14132]
23936         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
23937         Remove macro definition.
23938         (__ashrdi3_v_glibc20): Likewise.
23939         (__lshrdi3_v_glibc20): Likewise.
23940         (__cmpdi2_v_glibc20): Likewise.
23941         (__ucmpdi2_v_glibc20): Likewise.
23942         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
23943         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23944         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23945         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23946         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23947         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
23949 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23951         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
23952         old GNU extension [0] syntax.
23953         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
23954         alloca rather than an array member with variable length.
23955         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
23956         * nscd/nscd.c (invalidate_db): New function, broken out of ...
23957         (parse_opt): ... here.  Likewise use alloca there.
23958         Validate the -i argument before checking for rootness.
23959         (send_shutdown): New function, broken out of ...
23960         (parse_opt): ... here.
23962 2014-10-22  Roland McGrath  <roland@hack.frob.com>
23964         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
23965         macro to get at the _rt_local_ro field.
23966         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
23967         ([PIC] case) or _dl_hwcap ([!PIC] case).
23968         * sysdeps/arm/setjmp.S: Likewise.
23970         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
23971         * sysdeps/arm/configure.ac: New check to define it.
23972         * sysdeps/arm/configure: Regenerated.
23973         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
23974         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
23975         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
23976         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
23977         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
23978         Use move/movt pair instead of a load.
23979         (LDST_GLOBAL): Macro removed.
23980         (LDR_GLOBAL): New macro replaces it.
23981         (LDR_HIDDEN): New macro.
23982         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
23983         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
23985         * setjmp/tst-setjmp-static.c: New file.
23986         * setjmp/Makefile (tests): Add it.
23987         (tests-static): New variable.
23989 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
23991         [BZ #17485]
23992         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
23994 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
23996         [BZ #14132]
23997         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
23999 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24001         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24003 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24005         * io/fts.c (dirent_not_directory): New function.
24006         (fts_build): Call it.
24008 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24010         * nptl/version.c (__nptl_main): Use normal __write rather than
24011         INTERNAL_SYSCALL.
24012         (banner): Update copyright years.
24014         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24015         gettimeofday.
24016         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24017         * nptl/pthread_cond_timedwait.c: Likewise.
24018         * nptl/pthread_mutex_timedlock.c: Likewise.
24019         * nptl/sem_timedwait.c: Likewise.
24021         * sysdeps/nptl/bits/libc-lock.h
24022         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24023         (__libc_lock_init_recursive): Return void, not 0.
24024         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24025         (__libc_rwlock_init): Likewise.
24026         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24028 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24030         [BZ #15215]
24031         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24032         (__pthread_once_slow): ... here.
24033         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24034         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24036 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24038         [BZ #15215]
24039         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24040         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24041         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24042         * nptl/pthread_once.c (__pthread_once): Likewise.
24043         Update comments.
24045 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24047         [BZ #14138]
24048         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24049         name.
24050         (writev): Use __libc_writev as strong name.
24051         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24052         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24054 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24056         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24058         * sysdeps/i386/nptl/tls.h
24059         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24060         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24061         New macros.
24062         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24063         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24064         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24065         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24066         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24067         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24069         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24070         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24071         on [__NR_futex].
24072         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24073         broken out of ...
24074         (__pthread_mutex_init): ... here.  Call it.
24075         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24076         Conditionalize PI cases on [__NR_futex].
24077         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24078         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24079         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24081         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24082         conditional on [SIGSETXID].
24083         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24084         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24085         is defined.  Likewise for SIGSETXID.
24086         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24087         Conditionalize definitions on [SIGSETXID].
24088         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24089         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24090         unblocking on [SIGCANCEL].
24092         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24093         [__NR_set_robust_list].
24095 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24097         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24098         (do_compare): Likewise.
24100 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24102         [BZ #15884]
24103         * string/strcoll_l.c: Don't include stdio.h.
24104         (coll_seq): Remove members idxarr and rulearr.
24105         (get_next_seq_cached): Remove function.
24106         (get_next_seq): Likewise.
24107         (get_next_seq_nocache): Rename to get_next_seq.
24108         (do_compare): Remove function.
24109         (do_compare_nocache): Rename to do_compare.
24110         (STRCOLL): Remove weight and rules cache.
24112 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24114         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24115         * sysdeps/arm/sfp-machine.h: ... to here.
24116         * sysdeps/arm/Implies: Remove arm/soft-fp.
24118 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24120         * conform/data/sys/utsname.h-data (*_t): Allow.
24121         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24122         [POSIX] (WEXITED): Do not expect constant.
24123         [POSIX] (WSTOPPED): Likewise.
24124         [POSIX] (WNOHANG): Likewise.
24125         [POSIX] (WNOWAIT): Likewise.
24126         [POSIX] (siginfo_t): Do not expect type or elements.
24127         [POSIX] (pid_t): Do not expect type.
24128         [POSIX] (signal.h): Do not allow header.
24129         [POSIX] (sys/resource.h): Likewise.
24130         [POSIX] (si_*): Do not allow pattern.
24131         [POSIX] (W*): Likewise.
24132         [POSIX] (P_*): Likewise.
24133         [POSIX] (BUS_*): Likewise.
24134         [POSIX] (CLD_*): Likewise.
24135         [POSIX] (FPE_*): Likewise.
24136         [POSIX] (ILL_*): Likewise.
24137         [POSIX] (POLL_*): Likewise.
24138         [POSIX] (SEGV_*): Likewise.
24139         [POSIX] (SI_*): Likewise.
24140         [POSIX] (TRAP_*): Likewise.
24141         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24142         variable.
24144 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24146         [BZ #12926]
24147         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24148         infinite loop when __recvmsg returns 0.
24150 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24152         * CANCEL-FCT-WAIVE: Remove file.
24153         * CANCEL-FILE-WAIVE: Likewise.
24155         [BZ #14132]
24156         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24157         instead of INTVARDEF.
24158         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24159         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24160         rtld_hidden_data_def instead of INTVARDEF.
24161         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24162         * elf/dl-deps.c (expand_dst): Likewise.
24163         * elf/dl-load.c (_dl_dst_count): Likewise.
24164         (_dl_dst_substitute): Likewise.
24165         (decompose_rpath): Likewise.
24166         (_dl_init_paths): Likewise.
24167         (open_path): Likewise.
24168         (_dl_map_object): Likewise.
24169         * elf/rtld.c (dl_main): Likewise.
24170         (process_dl_audit): Likewise.
24171         (process_envvars): Likewise.
24172         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24173         Remove declaration.
24174         (__libc_enable_secure): Use rtld_hidden_proto.
24176 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24178         * elf/dl-load.c
24179         (add_path): New function broken out of _dl_rtld_di_serinfo.
24180         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24182 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24184         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24185         parentheses around macro arguments.
24186         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24188         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24191         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24192         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24195         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24196         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24197         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24199         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24200         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24201         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24202         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24207         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24208         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24211         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24215         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24216         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24217         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24219         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24220         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24221         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24222         Likewise.
24223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24226         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24230         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24231         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24234         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24235         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24237         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24242         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24243         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24244         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24245         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24246         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24247         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24248         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24249         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24250         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24251         (_FP_FRAC_SRS_1): Likewise.
24252         (_FP_FRAC_CLZ_1): Likewise.
24253         (_FP_MUL_MEAT_1_imm): Likewise.
24254         (_FP_MUL_MEAT_1_wide): Likewise.
24255         (_FP_MUL_MEAT_1_hard): Likewise.
24256         (_FP_SQRT_MEAT_1): Likewise.
24257         (_FP_FRAC_ASSEMBLE_1): Likewise.
24258         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24259         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24260         (__FP_CLZ_2): Likewise.
24261         (_FP_MUL_MEAT_2_wide): Likewise.
24262         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24263         (_FP_MUL_MEAT_2_gmp): Likewise.
24264         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24265         (_FP_SQRT_MEAT_2): Likewise.
24266         (_FP_FRAC_ASSEMBLE_2): Likewise.
24267         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24268         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24269         (_FP_FRAC_CLZ_4): Likewise.
24270         (_FP_MUL_MEAT_4_wide): Likewise.
24271         (_FP_MUL_MEAT_4_gmp): Likewise.
24272         (_FP_SQRT_MEAT_4): Likewise.
24273         (_FP_FRAC_ASSEMBLE_4): Likewise.
24274         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24275         * soft-fp/op-common.h (_FP_CMP): Likewise.
24276         (_FP_CMP_EQ): Likewise.
24277         (_FP_CMP_UNORD): Likewise.
24278         (_FP_TO_INT): Likewise.
24279         (_FP_FROM_INT): Likewise.
24280         [!__FP_CLZ] (__FP_CLZ): Likewise.
24281         (_FP_DIV_HELP_imm): Likewise.
24282         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24283         Likewise.
24284         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24286         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24287         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24288         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24291         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24292         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24295         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24296         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24297         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24299         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24300         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24301         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24302         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24304         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24305         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24309         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24310         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24313         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24314         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24315         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24317         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24318         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24319         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24320         (FP_UNPACK_RAW_SP): Likewise.
24321         (FP_PACK_RAW_S): Likewise.
24322         (FP_PACK_RAW_SP): Likewise.
24323         (FP_UNPACK_S): Likewise.
24324         (FP_UNPACK_SP): Likewise.
24325         (FP_UNPACK_SEMIRAW_S): Likewise.
24326         (FP_UNPACK_SEMIRAW_SP): Likewise.
24327         (FP_PACK_S): Likewise.
24328         (FP_PACK_SP): Likewise.
24329         (FP_PACK_SEMIRAW_S): Likewise.
24330         (FP_PACK_SEMIRAW_SP): Likewise.
24331         (_FP_SQRT_MEAT_S): Likewise.
24332         (FP_CMP_S): Likewise.
24333         (FP_CMP_EQ_S): Likewise.
24334         (FP_CMP_UNORD_S): Likewise.
24335         (FP_TO_INT_S): Likewise.
24336         (FP_FROM_INT_S): Likewise.
24338         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24340         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24341         (FP_EX_INVALID_IMZ): Likewise.
24342         (FP_EX_INVALID_IMZ_FMA): Likewise.
24343         (FP_EX_INVALID_ISI): Likewise.
24344         (FP_EX_INVALID_ZDZ): Likewise.
24345         (FP_EX_INVALID_IDI): Likewise.
24346         (FP_EX_INVALID_SQRT): Likewise.
24347         (FP_EX_INVALID_CVI): Likewise.
24348         (FP_EX_INVALID_VC): Likewise.
24349         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24350         "invalid" exceptions.
24351         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24352         (_FP_ADD_INTERNAL): Likewise.
24353         (_FP_MUL): Likewise.
24354         (_FP_FMA): Likewise.
24355         (_FP_DIV): Likewise.
24356         (_FP_CMP_CHECK_NAN): Likewise.
24357         (_FP_SQRT): Likewise.
24358         (_FP_TO_INT): Likewise.
24359         (FP_EXTEND): Likewise.
24361 2014-10-09  Allan McRae  <allan@archlinux.org>
24363         * po/fr.po: Update French translation from translation project.
24365 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24367         [BZ #14132]
24368         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24369         of INTDEF.
24370         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24371         (__cxa_atexit): Use libc_hidden_proto.
24372         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24374         [BZ #14132]
24375         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24376         declaration.
24377         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24378         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24379         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24380         [!_ISOMAC] (__iswctype_internal): Likewise.
24381         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24382         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24383         alias.
24384         (fcntl): Remove __fcntl_internal alias.
24385         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24386         __connect_internal alias.
24387         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24388         Likewise.
24390         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24391         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24392         FP_DENORM_ZERO.
24393         (_FP_CHECK_FLUSH_ZERO): New macro.
24394         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24395         (_FP_CMP): Likewise.
24396         (_FP_CMP_EQ): Likewise.
24397         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24398         FP_DENORM_ZERO.
24399         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24400         (FP_TRUNC): Likewise.
24402         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24403         treated as invalid conversion, not as normal exponent.
24405         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
24406         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
24407         (_FP_CMP_EQ): Likewise.
24408         (_FP_CMP_UNORD): Likewise.
24409         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
24410         (FP_CMP_EQ_D): Likewise.
24411         (FP_CMP_UNORD_D): Likewise.
24412         * soft-fp/extended.h (FP_CMP_E): Likewise.
24413         (FP_CMP_EQ_E): Likewise.
24414         (FP_CMP_UNORD_E): Likewise.
24415         * soft-fp/quad.h (FP_CMP_Q): Likewise.
24416         (FP_CMP_EQ_Q): Likewise.
24417         (FP_CMP_UNORD_Q): Likewise.
24418         * soft-fp/single.h (FP_CMP_S): Likewise.
24419         (FP_CMP_EQ_S): Likewise.
24420         (FP_CMP_UNORD_S): Likewise.
24421         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
24422         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
24423         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
24424         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
24425         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
24426         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
24427         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
24428         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
24429         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
24430         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
24431         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
24432         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
24433         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
24434         to FP_CMP_Q.
24435         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
24436         FP_CMP_Q.
24437         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
24438         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
24439         FP_CMP_EQ_Q.
24440         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
24441         FP_CMP_Q.
24442         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
24443         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
24444         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
24445         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
24446         FP_CMP_EQ_Q.
24447         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
24448         FP_CMP_Q.
24449         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
24450         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
24451         FP_CMP_EQ_Q.
24452         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
24453         FP_CMP_Q.
24454         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
24455         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
24456         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
24457         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
24458         FP_CMP_EQ_Q.
24460         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
24461         a subnormal result, set the underflow exception if trapping on
24462         underflow is enabled.
24463         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
24464         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
24465         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
24466         redefine to 0.
24467         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
24468         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24469         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
24470         * soft-fp/extendxftf2.c (__extendxftf2): Use
24471         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
24473         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
24474         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
24475         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24476         FP_HANDLE_EXCEPTIONS.
24477         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
24478         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24479         FP_HANDLE_EXCEPTIONS.
24480         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
24481         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24482         FP_HANDLE_EXCEPTIONS.
24483         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
24484         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
24485         FP_HANDLE_EXCEPTIONS.
24487 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
24489         [BZ #14132]
24490         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
24491         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
24492         use INTUSE.
24493         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
24494         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
24495         Remove alias.
24496         (__adjtimex): Define using libc_hidden_ver.
24497         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
24498         Remove declaration.
24499         (ntp_gettime): Call __adjtimex directly.
24500         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
24501         Remove declaration.
24502         (ntp_gettimex): Call __adjtimex directly.
24503         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
24504         __adjtimex_internal alias.
24506 2014-10-08  Roland McGrath  <roland@hack.frob.com>
24508         [BZ #17460]
24509         * nscd/nscd.c (more_help): Rewrite list of tables collection
24510         using xstrdup and asprintf.
24512         * nscd/nscd_conf.c: Remove local xstrdup declaration.
24514 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24515             Roland McGrath  <roland@hack.frob.com>
24517         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
24518         (do_lookup_unique): ... local function 'enter' here; update callers.
24520 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
24522         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
24523         compat_symbol calls on [SHARED].
24524         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
24525         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
24526         Remove.
24527         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24528         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
24529         (oldsetrlimit): Remove.
24530         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24532         (lchown): New syscall entry.
24533         (oldsetrlimit): Remove.
24534         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24535         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
24536         (oldsetrlimit): Remove.
24537         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
24539         [BZ #14138]
24540         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
24541         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
24542         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
24543         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
24544         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
24545         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
24546         (fchown): Likewise.
24547         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
24548         (fchown): Likewise.
24549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
24550         Likewise.
24552 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24554         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
24555         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
24556         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
24557         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
24558         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
24559         Likewise.
24560         (__old_sem_post): Likewise.
24562 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
24564         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
24565         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
24566         HAVE_CLOCK_GETTIME_VSYSCALL macros.
24567         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
24568         Use INLINE_VSYSCALL macro.
24569         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
24570         __vdso_clock_gettime.
24571         * sysdeps/unix/sysv/linux/tile/init-first.c
24572         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
24573         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
24574         __vdso_clock_gettime.
24576         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
24577         to set up frame more cleanly.
24579         * sysdeps/tile/memcmp.c: New file.
24581         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
24583         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
24584         * sysdeps/tile/tilegx/strcasestr.c: New file.
24585         * sysdeps/tile/tilegx/strnlen.c: New file.
24586         * sysdeps/tile/tilegx/strstr.c: New file.
24588         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
24590 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
24592         * nptl/tst-setuid3.c: Write errors to stdout.
24594 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24596         * elf/dl-deps.c
24597         (preload): New functions broken out of _dl_map_object_deps.
24598         (_dl_map_object_deps):  Remove a nested function. Update call sites.
24600 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
24602         [BZ #14138]
24603         * sysdeps/unix/sysv/linux/execve.c: Remove file.
24604         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
24606 2014-10-01  Steve Ellcey  <sellcey@mips.com>
24608         * sysdeps/mips/strcmp.S: New.
24610 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
24612         [BZ #14138]
24613         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
24614         (linkat): Likewise.
24615         (mkdirat): Likewise.
24616         (readlinkat): Likewise.
24617         (renameat): Likewise.
24618         (symlinkat): Likewise.
24619         (unlinkat): Likewise.
24620         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
24621         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
24622         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
24623         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
24624         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
24625         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
24626         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
24628 2014-09-30  Will Newton  <will.newton@linaro.org>
24630         * math/math.h: Define long double math functions if
24631         _LIBC_TEST is defined.
24632         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
24634         * localedata/Makefile: Move assignment to tests-special
24635         into an ifdef testing run-built-tests.
24636         * timezone/Makefile: Likewise.
24638 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
24640         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
24641         with $(BASH) not $(SHELL).
24643 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
24644             Matthew LeGendre  <legendre1@llnl.gov>
24646         [BZ #17411]
24647         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
24648         l_reloc_result.
24650 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24652         * stdio-common/printf_fp.c
24653         (hack_digit): New function, broken out of ...
24654         (__printf_fp): ... local function here.  Update call sites.
24655         hack_digit now takes an additional parameter that is a pointer
24656         to a struct of the referenced locals.  Those locals moved inside
24657         the struct and references updated.
24659 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
24661         * aclocal.m4: Require autoconf 2.69.
24662         * configure: Regenerated.
24663         * sysdeps/aarch64/configure: Likewise.
24664         * sysdeps/alpha/configure: Likewise.
24665         * sysdeps/arm/armv7/configure: Likewise.
24666         * sysdeps/arm/configure: Likewise.
24667         * sysdeps/ia64/configure: Likewise.
24668         * sysdeps/mach/configure: Likewise.
24669         * sysdeps/mips/configure: Likewise.
24670         * sysdeps/s390/configure: Likewise.
24671         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
24672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
24674         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
24675         file.
24676         * sysdeps/ia64/configure.ac: Likewise.
24678 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
24680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
24681         specify symbol version for ld.so.  Do not include entry for
24682         libpthread.
24683         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24684         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24685         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24687         [BZ #14171]
24688         * Makeconfig [$(build-shared) = yes]
24689         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
24690         makefiles.
24691         [$(build-shared) = yes && $(soversions.mk-done) = t]
24692         ($(common-objpfx)gnu/lib-names.h): Remove rule.
24693         [$(build-shared) = yes && $(soversions.mk-done) = t]
24694         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
24695         to Makerules.
24696         [$(build-shared) = yes && $(soversions.mk-done) = t]
24697         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
24698         here.
24699         [$(build-shared) = yes && $(soversions.mk-done) = t]
24700         (common-generated): Don't append gnu/lib-names.h and
24701         gnu/lib-names.stmp here.
24702         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
24703         (lib-names-h-abi): New variable.
24704         [$(build-shared) = yes && $(soversions.mk-done) = t]
24705         (lib-names-stmp-abi): Likewise.
24706         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24707         abi-variants] (before-compile): Append
24708         $(common-objpfx)$(lib-names-h-abi).
24709         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24710         abi-variants] (common-generated): Append gnu/lib-names.h.
24711         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24712         abi-variants] (install-others-nosubdir): Depend on
24713         $(inst_includedir)/$(lib-names-h-abi).
24714         [$(build-shared) = yes && $(soversions.mk-done) = t &&
24715         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
24716         [$(build-shared) = yes && $(soversions.mk-done) = t]
24717         ($(common-objpfx)$(lib-names-h-abi)): New rule.
24718         [$(build-shared) = yes && $(soversions.mk-done) = t]
24719         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
24720         [$(build-shared) = yes && $(soversions.mk-done) = t]
24721         (common-generated): Append $(lib-names-h-abi) and
24722         $(lib-names-stmp-abi).
24723         * scripts/lib-names.awk: Do not handle multi being set.
24724         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
24725         Remove variable.
24726         (abi-lp64_be-ld-soname): Likewise.
24727         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
24728         Likewise.
24729         (abi-hard-ld-soname): Likewise.
24730         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
24731         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
24732         Remove variable.
24733         (abi-o32_hard-ld-soname): Likewise.
24734         (abi-o32_soft_2008-ld-soname): Likewise.
24735         (abi-o32_hard_2008-ld-soname): Likewise.
24736         (abi-n32_soft-ld-soname): Likewise.
24737         (abi-n32_hard-ld-soname): Likewise.
24738         (abi-n32_soft_2008-ld-soname): Likewise.
24739         (abi-n32_hard_2008-ld-soname): Likewise.
24740         (abi-n64_soft-ld-soname): Likewise.
24741         (abi-n64_hard-ld-soname): Likewise.
24742         (abi-n64_soft_2008-ld-soname): Likewise.
24743         (abi-n64_hard_2008-ld-soname): Likewise.
24744         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
24745         Likewise.
24746         (abi-64-v2-ld-soname): Likewise.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
24748         ld.so entries.
24749         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
24750         variable.
24751         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
24752         entry.
24753         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
24754         variable.
24755         (abi-64-ld-soname): Likewise.
24756         (abi-x32-ld-soname): Likewise.
24757         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
24758         entry.
24759         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24761 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
24763         [BZ #14138]
24764         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
24765         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
24766         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
24767         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
24768         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
24769         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
24770         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
24771         syscall entry for GLIBC_2.2 symbol version.
24772         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
24773         Likewise.
24774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
24775         (setrlimit): Likewise.
24776         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
24777         Likewise.
24779 2014-09-23  Will Newton  <will.newton@linaro.org>
24781         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
24782         _LINUX_ARM_SYSDEP_H include guard too.
24783         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
24784         define.
24786 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24788         * sysdeps/unix/sysv/linux/eventfd.c:
24789         Make first argument unsigned.
24790         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
24791         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
24793 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
24795         [BZ #16852]
24796         * socket/recvmmsg.c (recvmmsg): Drop const argument.
24797         * socket/sys/socket.h: Likewise.
24798         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
24800 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24802         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
24804 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
24806         * time/tst-ftime.c: New test.
24807         * time/Makefile (tests): Add tst-ftime.
24809 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
24811         * soft-fp/extended.h: Fix comment formatting.
24812         * soft-fp/op-1.h: Likewise.
24813         * soft-fp/op-2.h: Likewise.
24814         * soft-fp/op-4.h: Likewise.
24815         * soft-fp/op-8.h: Likewise.
24816         * soft-fp/op-common.h: Likewise.
24817         * soft-fp/soft-fp.h: Likewise.
24819         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
24821 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
24823         [BZ #6652]
24824         * Makeconfig (soversions-default-setname): Remove variable.
24825         ($(common-objpfx)soversions.i): Don't pass default_setname to
24826         soversions.awk.
24827         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
24828         oldest_abi to abi-versions.awk.
24829         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
24830         * config.make.in (oldest-abi): Remove variable.
24831         * configure.ac (--enable-oldest-abi): Remove configure option.
24832         * configure: Regenerated.
24833         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
24834         text.
24835         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
24836         * scripts/soversions.awk: Do not handle default_setname variable.
24837         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
24838         variable.
24839         * sysdeps/mach/hurd/configure: Regenerated.
24840         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
24841         variable.
24842         * sysdeps/unix/sysv/linux/configure: Regenerated.
24844 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24846         * elf/Makefile (CFLAGS-interp.c): Remove.
24847         ($(elf-objpfx)runtime-linker.h): Generate header with linker
24848         path string.
24849         * elf/interp.c: Include generated runtime-linker.h
24851         * Makerules (lib%.so): Don't include $(+interp) in
24852         prerequisites.
24853         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
24854         * dlfcn/eval.c: Remove file.
24856         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
24857         macros.
24859         [BZ #17266]
24860         * misc/sys/cdefs.h: Define __extern_always_inline for clang
24861         4.2 and newer.
24863         [BZ #17370]
24864         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
24866 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24867             Jakub Jelinek  <jakub@redhat.com>
24869         [BZ #17266]
24870         * libio/stdio.h: Check definition of __fortify_function
24871         instead of __extern_always_inline to include bits/stdio2.h.
24872         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
24873         check if __extern_always_inline is defined.
24874         [__USE_MISC || __USE_XOPEN]: Likewise.
24875         [__USE_ISOC99] Likewise.
24876         * misc/sys/cdefs.h (__fortify_function): Define only if
24877         __extern_always_inline is defined.
24878         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
24879         __extern_always_inline and __extern_inline only for g++-4.3
24880         and newer or a compatible gcc.
24882 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
24884         [BZ #17371]
24885         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
24886         last change to handle zero prefix length.
24888 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24890         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
24891         _SC_REGEX_VERSION.
24893         * posix/getconf.c (vars): Add _POSIX_IPV6 and
24894         _POSIX_RAW_SOCKETS.
24896 2014-09-13  Allan McRae  <allan@archlinux.org>
24898         * po/ru.po: Update Russian translation from translation project.
24900 2014-09-12  Roland McGrath  <roland@hack.frob.com>
24902         * locale/programs/locale.c (show_locale_vars): Inline local function
24903         into its sole call site.  Clean up some style nits.
24904         (print_item): New function, broken out of ...
24905         (show_info): ... local function here.  Clean up style nits.
24907         * locale/programs/ld-ctype.c (set_one_default): New function, broken
24908         out of ...
24909         (set_class_defaults): ... local function set_default here.
24910         Define set_default as a macro locally to pass constant parameters.
24911         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
24912         rather than a shared local.
24914         * stdlib/rpmatch.c (try): New function, broken out of ...
24915         (rpmatch): ... local function here.  Also, prototypify definition.
24917 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
24919         * scripts/soversions.awk: Do not handle configuration names.
24920         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
24921         vendor and os variables to soversions.awk.
24922         * configure.ac: Do not modify gnu-* host_os.
24923         * configure: Regenerated
24924         * shlib-versions: Remove first column with configuration names.
24925         * nptl/shlib-versions: Likewise.
24926         * nptl_db/shlib-versions: Likewise.
24927         * sysdeps/hppa/shlib-versions: Likewise.
24928         * sysdeps/m68k/shlib-versions: Likewise.
24929         * sysdeps/mach/hurd/shlib-versions: Likewise.
24930         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
24931         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
24932         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
24933         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
24934         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
24935         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
24936         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
24937         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
24938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24939         Likewise.
24940         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24941         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24942         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24943         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24944         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24945         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
24946         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
24947         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
24949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24950         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
24951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24952         Regenerated.
24953         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
24954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
24955         Condition symbol version definitions on [HAVE_ELFV2_ABI].
24957         * shlib-versions: Remove OS-specific entries.  Moved to files in
24958         sysdeps.
24959         * sysdeps/mach/hurd/shlib-versions: New file.
24960         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
24962         * nptl/shlib-versions: Remove architecture-specific entries.
24963         Moved to files in sysdeps.
24964         * shlib-versions: Likewise.
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
24966         file.
24967         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
24968         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
24969         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
24970         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
24972         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
24973         (UDP_NO_CHECK6_RX): Likewise.
24975 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24977         * sysdeps/posix/sysconf.c (__sysconf): Spell
24978         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
24980 2014-08-12  Florian Weimer  <fweimer@redhat.com>
24982         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
24983         loading.
24984         * iconv/Versions (__gconv_transliterate): Export for use from
24985         gconv modules.
24986         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
24987         (struct __gconv_trans_data, __gconv_trans_fct,
24988         __gconv_trans_context_fct, __gconv_trans_query_fct,
24989         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
24990         definitions.
24991         (struct __gconv_step_data): Remove __trans member.
24992         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
24993         longer hidden.  Remove unused trans_data argument.
24994         * iconv/gconv_int.h (struct trans_struct): Remove definition.
24995         (__gconv_translit_find): Remove declaration.
24996         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
24997         prototype.
24998         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
24999         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25000         trans_data argument.  Add hidden definition.
25001         (__gconv_translit_find): Remove.
25002         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25003         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25004         * iconv/skeleton.c: Remove transliteration initialization.
25005         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25006         __gconv_step_data initialization.
25007         * libio/iofwide.c (__libio_translit_): Remove.
25008         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25009         * wcsmbs/btowc.c (__btowc): Likewise.
25010         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25011         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25012         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25013         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25014         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25015         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25016         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25017         * wcsmbs/wctob.c (wctob): Likewise.
25019 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25021         [BZ #16194]
25022         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25023         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25024         register usage.
25025         * sysdeps/x86/Makefile: Adjust.
25027 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25028             Roland McGrath  <roland@hack.frob.com>
25030         * locale/weight.h: Add include guard.
25031         (findidx): Make static rather than auto; take new parameters
25032         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25033         * locale/weightwc.h: Likewise.
25034         * posix/fnmatch_loop.c
25035         (FCT): Change type of EXTRA from int32_t to wint_t.
25036         Don't include either header inside the function.
25037         Call FINDIDX rather than findidx, and pass new arguments.
25038         #undef FINDIDX at the end of the file.
25039         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25040         FINDIDX before including fnmatch_loop.c for the non-wide version.
25041         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25042         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25043         for the wide version.
25044         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25045         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25046         Pass new arguments to findidx.
25047         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25048         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25049         Don't #include it inside the function.  Pass new arguments to findidx.
25050         * posix/regex_internal.h
25051         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25052         (re_string_elem_size_at): Don't #include it inside the function.
25053         Pass new arguments to findidx.
25054         * string/strcoll_l.c: #include WEIGHT_H at top level.
25055         (get_next_seq): Don't #include it inside the function.
25056         Pass new arguments to findidx.
25057         (get_next_seq_nocache): Likewise.
25058         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25059         (STRXFRM): Don't #include it inside the function.
25060         Pass new arguments to findidx.
25062 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25064         [BZ #17344]
25065         * malloc/malloc.c (unlink): Turn asserts into a call to
25066         malloc_printerr.
25068 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25070         [BZ #17370]
25071         * libio/wfileops (do_ftell_wide): Free OUT.
25073 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25075         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25077 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25079         [BZ #17363]
25080         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25081         group if the current group is empty.
25083 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25085         * benchtests/bench-memset.c (test_main): Add more test from size
25086         from 32 to 512 bytes.
25087         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25088         Add POWER8 memset object.
25089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25090         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25091         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25092         implementation.
25093         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25094         Likewise.
25095         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25096         multiarch POWER8 memset optimization.
25097         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25098         POWER8 memset optimization.
25100         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25101         Remove bzero multiarch objects.
25102         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25103         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25104         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25105         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25106         Remove define.
25107         [__bzero]: Redefine to specific name.
25108         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25109         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25110         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25111         define.
25112         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25113         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25115 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25117         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25118         warnings into errors.
25120         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25121         __cxa_thread_atexit_impl prototype.
25123 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25125         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25126         Fix capitalization of error message.
25128 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25130         * sysdeps/mips/preconfigure: Modify ABI tests.
25132 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25134         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25136 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25137             Carlos O'Donell  <carlos@systemhalted.org>
25139         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25140         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25141         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25142         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25143         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25144         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25145         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25146         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25147         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25148         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25149         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25150         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25151         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25152         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25153         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25154         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25155         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25156         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25157         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25158         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25159         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25160         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25161         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25162         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25163         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25164         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25165         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25166         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25167         Deconditionalize the code that was previously under [RESET_PID].
25168         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25169         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25170         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25171         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25172         include sysdep.h.
25174 2014-09-08  Allan McRae  <allan@archlinux.org>
25176         * version.h (RELEASE): Set to "development".
25177         (VERSION): Set to "2.20.90"
25179 2014-09-07  Allan McRae  <allan@archlinux.org
25181         * version.h (RELEASE): Set to "stable".
25182         (VERSION): Set to "2.20"
25183         * include/features.h (__GLIBC_MINOR__): Set to 20.
25185         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25186         Liebler.
25188         * po/ko.po: Update Korean translation from translation project.
25190 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25192         [BZ #17354]
25193         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25194         macro for handling signed relocations.
25196 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25198         [BZ #17325]
25199         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25200         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25201         assert.
25202         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25203         * iconvdata/ibm935.c (BODY): Likewise.
25204         * iconvdata/ibm937.c (BODY): Likewise.
25205         * iconvdata/ibm939.c (BODY): Likewise.
25206         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25207         assert.
25208         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25209         script.
25210         * iconvdata/run-iconv-test.sh: New test loop for checking for
25211         decoder crashers.
25213 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25215         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25216         libm_hidden_ver.
25218 2014-09-01  Allan McRae  <allan@archlinux.org>
25220         * po/eo.po: Update Esperanto translation from translation project.
25222         * po/ca.po: Update Catalan translation from translation project.
25224 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25226         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25227         __proc_dostop call.
25229 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25231         [BZ #17319]
25232         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25233         to call set_thread_area instead of hand written asm.
25234         (__NR_set_thread_area): Removed define.
25235         (TLS_FLAG_WRITABLE): Likewise.
25236         (__ASSUME_SET_THREAD_AREA): Remove check.
25237         (TLS_EBX_ARG): Remove define.
25238         (TLS_LOAD_EBX): Likewise.
25240 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25242         Simplify atomicity of socket creation in bind.
25244         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25245         looking up the name after linking the file.
25247 2014-08-27  Allan McRae  <allan@archlinux.org>
25249         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25251 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25253         [BZ #17187]
25254         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25255         trans_compare, open_translit, __gconv_translit_find):
25256         Remove module loading code.
25258 2014-08-26  Allan McRae  <allan@archlinux.org>
25260         * po/vi.po: Update Vietnamese translation from translation project.
25262         * po/uk.po: Update Ukrainian translation from translation project.
25264         * po/fr.po: Update French translation from translation project.
25266         * po/ru.po: Update Russian translation from translation project.
25268         * po/pl.po: Update Polish translation from translation project.
25270         * po/cs.po: Update Czech translation from translation project.
25272         * po/de.po: Update German translation from translation project.
25274         * po/bg.po: Update Bulgarian translation from translation project.
25276         * po/sv.po: Update Sweedish translation from translation project.
25278         * po/nl.po: Update Dutch translation from translation project.
25280         * po/es.po: Update Spanish translation from translation project.
25282 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25284         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25286         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25287         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25288         (CPPFLAGS-iconvconfig): Likewise.
25289         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25291         * include/libc-symbols.h: Remove unnecessary check for
25292         NOT_IN_libc.
25293         * nptl/pthreadP.h: Likewise.
25294         * sysdeps/aarch64/setjmp.S: Likewise.
25295         * sysdeps/alpha/setjmp.S: Likewise.
25296         * sysdeps/arm/sysdep.h: Likewise.
25297         * sysdeps/i386/setjmp.S: Likewise.
25298         * sysdeps/m68k/setjmp.c: Likewise.
25299         * sysdeps/posix/getcwd.c: Likewise.
25300         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25301         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25302         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25303         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25304         * sysdeps/sh/sh3/setjmp.S: Likewise.
25305         * sysdeps/sh/sh4/setjmp.S: Likewise.
25306         * sysdeps/unix/alpha/sysdep.h: Likewise.
25307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25308         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25309         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25310         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25315         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25318         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25320         * sysdeps/x86_64/setjmp.S: Likewise.
25322 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25324         [BZ #17263]
25325         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25326         <stdint.h>.
25327         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25328         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25330 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25332         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25334         [BZ #17262]
25335         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25336         and __x86_64__ when disabling x87 inline functions.
25338 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25340         [BZ #17259]
25341         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25342         asm statement with __cpuid_count.
25344 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25346         * configure.ac: Change __ehdr_start code to dereference the struct.
25347         Run readelf on the output to look for relocations.
25348         * configure: Regenerated.
25350 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25352         [BZ #17261]
25353         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25354         value to 0.
25355         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25357 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25359         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25361 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25363         [BZ #16892]
25364         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25365         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25367 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25369         * malloc/malloc.c: Fix typo in comment.
25371 2014-08-09  Allan McRae  <allan@archlinux.org>
25373         * Regenerate libc.po.
25375 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25377         * intl/tst-gettext2.sh: Check every lang file for creation.
25379 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25381         * sysdeps/aarch64/fpu/math_private.h
25382         (libc_feholdsetround_noex_aarch64_ctx): New function.
25384 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25386         * sysdeps/arm/armv6/strcpy.S (strcpy):
25387         Fix performance issue in misaligned cases.
25389 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25391         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25392         Move definition from termios.h.
25393         (struct termio): Likewise.
25394         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25395         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25396         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25397         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25398         Likewise.
25399         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25400         Move definition to ioctl-types.h
25401         (struct termio): Likewise.
25402         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25403         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25404         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25405         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25406         Likewise.
25408 2014-08-05  Richard Henderson  <rth@redhat.com>
25410         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
25411         exceptions.
25412         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
25413         Add fraiseexcpt.
25414         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
25415         Use __feraiseexcept.
25416         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
25417         Protect libm symbols with IS_IN_libm.
25419         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
25421 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
25423         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
25425 2014-08-04  Will Newton  <will.newton@linaro.org>
25427         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
25428         file.
25430 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
25432         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
25433         variants for each function.
25435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25437         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
25438         appended ...
25439         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
25440         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
25441         appended ...
25442         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
25443         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
25444         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
25445         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
25446         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
25447         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
25448         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
25449         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
25450         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
25451         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
25452         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
25453         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
25454         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
25455         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
25456         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
25457         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
25458         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
25459         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
25460         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
25461         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
25462         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
25463         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
25464         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
25465         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
25466         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
25467         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
25468         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
25469         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
25470         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
25471         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
25472         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
25473         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
25474         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
25475         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
25476         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
25477         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
25478         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
25479         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
25480         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
25481         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
25482         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
25483         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
25484         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
25485         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
25486         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
25487         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
25488         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
25489         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
25490         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
25491         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
25492         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
25493         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
25494         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
25495         Update #include.
25496         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
25497         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
25499 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25501         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
25502         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
25503         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
25504         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
25505         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
25506         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
25508 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25510         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
25511         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
25512         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
25513         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
25515 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25517         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
25518         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
25519         (__libc_vfork): Define function under this name.
25520         (__vfork): Define as an alias.
25521         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
25522         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
25524 2014-08-04  Roland McGrath  <roland@hack.frob.com>
25526         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
25527         that was previously under [RESET_PID].
25528         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
25530 2014-08-04  Andreas Schwab  <schwab@suse.de>
25532         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
25534 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
25536         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
25537         (main): Likewise.
25539 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25541         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
25543 2014-08-01  Richard Henderon  <rth@redhat.com>
25545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
25546         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
25547         typo in exact zero test.
25548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25549         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25550         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25552 2014-08-01  Roland McGrath  <roland@hack.frob.com>
25554         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
25555         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
25556         * sysdeps/arm/sysdep.h: ... here.
25557         [!__ASSEMBLER__]: Include <stdint.h>.
25559 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25561         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
25562         (HAVE_WCTYPE_H): Likewise.
25563         (HAVE_ISWCTYPE): Likewise.
25564         (ENABLE_NLS): Likewise.
25565         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
25566         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
25568         * posix/regex_internal.c: Check if DEBUG is defined and is
25569         set.
25571         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
25572         (HAVE_MBSRTOWCS): Likewise.
25573         * posix/fnmatch.c: Include string.h unconditionally.
25575 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
25577         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
25578         reversal.
25580 2014-07-31  Roland McGrath  <roland@hack.frob.com>
25582         * sysdeps/generic/safe-fatal.h: New file.
25583         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
25584         * nptl/forward.c: Include it.
25585         (__pthread_unwind): Use __safe_fatal as default action, rather
25586         than a bogus use of INTERNAL_SYSCALL that could never work.
25588         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
25589         * configure.ac (libc_cv_builtin_trap): New test.
25590         * configure: Regenerated.
25591         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
25592         (ABORT_INSTRUCTION): Define using __builtin_trap.
25594         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
25595         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
25596         * sysdeps/nptl/nptl-signals.h: New file.
25597         * nptl/pthreadP.h: Include <nptl-signals.h>.
25599 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25601         * sysdeps/s390/s390-64/utf16-utf32-z9.c
25602         (ONE_DIRECTION): Define.
25603         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25604         (ONE_DIRECTION): Define.
25605         * sysdeps/s390/s390-64/utf8-utf32-z9.c
25606         (ONE_DIRECTION): Define.
25608 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
25610         * sysdeps/s390/Makefile: Delete file.
25611         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
25612         * sysdeps/s390/__longjmp.c: Delete file.
25613         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
25614         Remove fields __flags and __reserved.
25615         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
25616         and add versioning.
25617         * sysdeps/s390/rtld-__longjmp.c: Delete file.
25618         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
25619         * sysdeps/s390/rtld-setjmp.S: Likewise.
25620         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
25621         * sysdeps/s390/s390-32/__longjmp.c: ... here.
25622         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
25623         * sysdeps/s390/s390-32/setjmp.S: ... here.
25624         Add versioning.
25625         (__sigsetjmp): Remove setting __flags field.
25626         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
25627         * sysdeps/s390/s390-64/__longjmp.c: ... here.
25628         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
25629         * sysdeps/s390/s390-64/setjmp.S: ... here.
25630         Add versioning.
25631         (__sigsetjmp): Remove setting __flags field.
25632         * sysdeps/s390/setjmp.S: Delete file.
25633         * sysdeps/s390/sigjmp.c: Likewise.
25634         * sysdeps/s390/v1-longjmp.c: Likewise.
25635         * sysdeps/s390/v1-setjmp.h: Likewise.
25636         * sysdeps/s390/v1-sigjmp.c: Likewise.
25637         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
25638         Remove v1-longjmp_chk.
25639         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
25640         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
25641         Include debug/longjmp_chk.c and add versioning.
25642         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
25643         Include nptl/pt-longjmp.c and add versioning.
25644         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
25645         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
25646         Include __longjmp.c.
25647         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
25648         Move to ...
25649         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
25650         (__getcontext): Remove setting __flags field.
25651         Add versioning.
25652         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
25653         Don't restore upper high grps.
25654         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
25655         Likewise.
25656         (__swapcontext): Remove setting uc_flags field.
25657         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
25658         Delete file.
25659         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
25660         Include __longjmp.c.
25661         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
25662         Move to ...
25663         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
25664         (__getcontext): Remove setting __flags field.
25665         Add versioning.
25666         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
25667         (__swapcontext): Remove setting uc_flags field.
25668         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
25669         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
25670         Remove fields uc_high_gprs and __reserved.
25671         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
25672         New file with reverted content.
25673         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
25674         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
25675         Regenerated.
25676         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
25677         Regenerated.
25679 2014-07-31  Andreas Schwab  <schwab@suse.de>
25681         * config.h.in (HAVE_IFUNC): Define to 0.
25682         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
25683         definedness.
25685 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
25687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25688         memmove-avx-unaligned, memcpy-avx-unaligned and
25689         mempcpy-avx-unaligned.
25690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25691         Add tests for AVX memcpy functions.
25692         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
25693         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
25694         memcpy_chk.
25695         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
25696         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
25697         memmove_chk.
25698         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
25699         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
25700         mempcpy_chk.
25701         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
25702         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
25703         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
25705 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25707         [BZ #17213]
25708         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
25709         powerpc64le.
25711 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
25713         [BZ #16839]
25714         * manual/llio.texi: Add section about open file description locks.
25715         * manual/examples/ofdlocks.c: Example of open file description
25716         lock usage.
25717         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
25718         F_OFD_SETLK, and F_OFD_SETLKW.
25720 2014-07-23  Allan McRae  <allan@archlinux.org>
25722         * po/es.po: Update Spanish translation from translation project.
25724 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
25726         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
25728 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
25730         [BZ #17078]
25731         * sysdeps/arm/dl-machine.h (elf_machine_rela)
25732         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
25733         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
25735 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
25737         [BZ #17088]
25738         * math/fesetenv.c (__fesetenv)
25739         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
25740         * math/feupdateenv.c (__feupdateenv)
25741         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
25743         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
25744         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
25745         (__ASSUME_SOCKETCALL): Do not define.
25747         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
25748         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
25749         (__ASSUME_SOCKETCALL): Do not define.
25750         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
25751         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25752         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25753         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
25754         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25755         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
25756         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25757         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25759         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
25760         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
25761         (__ASSUME_SOCKETCALL): Do not define.
25762         (__ASSUME_IPC64): Define unconditionally.
25763         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25765         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
25766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25767         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
25768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25769         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
25770         Likewise.
25772         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
25773         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
25774         (__ASSUME_SOCKETCALL): Do not define.
25775         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
25776         (__ASSUME_FUTEX_LOCK_PI): Likewise.
25777         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25778         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25779         (__ASSUME_REQUEUE_PI): Define unconditionally.
25780         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
25781         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
25782         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25783         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
25784         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25785         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25787         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
25788         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
25789         (__ASSUME_SOCKETCALL): Do not define.
25790         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
25791         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25792         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25793         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
25794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25795         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25797         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
25798         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
25799         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
25800         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
25801         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25802         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
25803         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
25804         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
25805         (__ASSUME_GETCPU_SYSCALL): Likewise.
25807         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
25808         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
25809         cases for individual architectures.
25810         * sysdeps/gnu/configure: Regenerated.
25811         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
25812         LIBC_SLIBDIR_RTLDDIR.
25813         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
25814         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
25815         LIBC_SLIBDIR_RTLDDIR.
25816         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
25817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
25818         LIBC_SLIBDIR_RTLDDIR.
25819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25820         Regenerated.
25821         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
25822         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
25823         file.
25824         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
25825         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
25826         file.
25827         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
25828         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
25829         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
25830         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
25832         * sysdeps/aarch64/shlib-versions: Move to ...
25833         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
25834         * sysdeps/alpha/shlib-versions: Move to ...
25835         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
25836         * sysdeps/arm/shlib-versions: Move to ...
25837         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
25838         * sysdeps/hppa/shlib-versions: Move all contents except for
25839         libgcc_s entry to ...
25840         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
25841         entry from ...
25842         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
25843         * sysdeps/ia64/shlib-versions: Move to ...
25844         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
25845         entry from ...
25846         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
25847         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
25848         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
25849         * sysdeps/microblaze/shlib-versions: Move to ...
25850         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
25851         * sysdeps/mips/shlib-versions: Move to ...
25852         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
25853         entry from ...
25854         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
25855         * sysdeps/tile/shlib-versions: Move to ...
25856         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
25857         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
25858         from ...
25859         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
25860         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
25861         entry from ...
25862         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
25864 2014-07-17  Will Newton  <will.newton@linaro.org>
25866         * sysdeps/arm/bits/atomic.h
25867         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
25868         (__arch_compare_and_exchange_bool_16_int): Likewise.
25869         (__arch_compare_and_exchange_bool_64_int): Likewise.
25871         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
25872         into an #else block.
25874 2014-07-16  Roland McGrath  <roland@hack.frob.com>
25876         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
25877         just Linux configurations.  Test empirically that the compiler sets
25878         __ARM_EABI__, rather than using the tuple to decide.
25879         * sysdeps/arm/preconfigure: Regenerated.
25880         * sysdeps/unix/sysv/linux/arm/configure: File removed.
25881         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
25882         contents appended ...
25883         * sysdeps/arm/configure.ac: ... here.
25884         * sysdeps/arm/configure: Regenerated.
25886 2014-07-15  Roland McGrath  <roland@hack.frob.com>
25888         * nptl/pthread_kill.c: New file.
25889         * nptl/pthread_sigmask.c: New file.
25890         * nptl/pthread_sigqueue.c: New file.
25892         * sysdeps/nptl/lowlevellock.h: New file.
25893         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
25894         * sysdeps/nptl/lowlevellock-futex.h: New file.
25896         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
25897         Remove dead declarations.
25899 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
25901         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
25902         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
25903         config-cflags-avx2.
25904         * sysdeps/x86_64/configure.ac: Likewise.
25905         * sysdeps/i386/configure: Regenerated.
25906         * sysdeps/x86_64/configure: Likewise.
25907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25908         memset-avx2 only if config-cflags-avx2 is yes.
25909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25910         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
25911         defined.
25912         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
25913         only if HAVE_AVX2_SUPPORT is defined.
25914         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25916 2014-07-14  Alan Modra  <amodra@gmail.com>
25918         [BZ #17153]
25919         * elf/elf.h (DT_PPC64_NUM): Correct value.
25920         * NEWS: Add to fixed bug list.
25922 2014-07-13  Jim Meyering  <meyering@fb.com>
25924         [BZ 17150]
25925         regex: don't deref NULL upon heap allocation failure
25926         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
25927         failure in one more place.
25928         To trigger the segfault, configure grep -with-included-regex,
25929         build it, and run these commands:
25930         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
25932 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
25934         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
25936 2014-07-11  Richard Henderson  <rth@redhat.com>
25938         * sysdeps/aarch64/libm-test-ulps: Update.
25940 2014-07-10  Florian Weimer  <fweimer@redhat.com>
25942         [BZ #17135]
25943         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
25944         * nptl/allocatestack.c (__nptl_setxid_error): New function.
25945         (__nptl_setxid): Initialize error member.  Call
25946         __nptl_setxid_error.
25947         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
25948         * nptl/descr.h (struct xid_command): Add error member.
25949         * nptl/tst-setuid3.c: New file.
25950         * nptl/Makefile (tests): Add it.
25952 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25954         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
25955         New define.
25956         (__lll_trylock): Use __lll_base_trylock.
25957         (__lll_cond_trylock): Likewise.
25959 2014-07-10  Roland McGrath  <roland@hack.frob.com>
25961         * nptl/pthread_create.c (start_thread): Use atomic_or and
25962         lll_futex_wake directly rather than lll_robust_dead.
25963         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25964         (lll_robust_dead): Macro removed.
25965         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
25966         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25967         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25968         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25969         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25970         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25971         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25972         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25973         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25974         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25975         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25976         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25977         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25978         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25979         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25981         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
25982         Use atomic_compare_and_exchange_val_acq directly rather than
25983         lll_robust_trylock.
25984         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
25985         (__lll_robust_trylock, lll_robust_trylock): Removed.
25986         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
25987         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
25988         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25990         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
25991         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
25992         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25993         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
25994         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25995         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25996         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25997         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25998         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25999         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26001 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26003         * manual/locale.texi (Locale Names): New section documenting
26004         locale name syntax.  Adjust menu and node chaining accordingly.
26005         (Choosing Locale): Reference Locale Names, Locale Categories.
26006         Mention setting LC_ALL=C.  Reflect that name syntax is now
26007         documented.
26008         (Locale Categories): New section title.  Reference Locale Names.
26009         LC_ALL is an environment variable, but not a category.
26010         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26011         description, now in Locale Name.  Reference that section.  Locale
26012         name syntax is now documented.
26014 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26016         [BZ #17137]
26017         * locale/findlocale.c (name_present, valid_locale_name): New
26018         functions.
26019         (_nl_find_locale): Use the loc_name variable to store name
26020         candidates.  Call name_present and valid_locale_name to check and
26021         validate locale names.  Return an error if the locale is invalid.
26023 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26025         * locale/setlocale.c (setlocale): Use strdup for allocating
26026         composite name copy.
26028 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26030         Sync up with gnulib.
26031         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26032         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26033         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26034         and _GL_ARG_NONNULL.
26035         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26036         [!_LIBC]: Include code for Windows and Cygwin.
26037         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26038         Include prototype for int strerror_r.
26039         [!_LIBC] (is_open): New function.
26040         (flush_stdout): New function.
26041         (print_errno_message): Use it.
26042         (error): Likewise.
26043         (error_at_line): Likewise.
26044         (error_tail) Add function attribute macros.  Use
26045         __builtin_expect.
26047         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26049         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26051         * io/ftw.c: Include sys/param.h unconditionally.
26053         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26055         [BZ #17125]
26056         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26057         libc_freeres_ptr.
26058         (freecache): New function to free CACHE on exit.
26060         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26061         initialization.
26063 2014-07-09  David S. Miller  <davem@davemloft.net>
26065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26067         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26068         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26069         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26070         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26071         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26072         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26073         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26074         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26075         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26076         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26077         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26078         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26079         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26081 2014-07-09  Andreas Schwab  <schwab@suse.de>
26083         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26084         output.
26085         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26086         (do_test): Likewise.
26088         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26090 2014-07-09  Will Newton  <will.newton@linaro.org>
26092         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26093         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26094         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26095         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26096         * sysdeps/hppa/start.S (_start): Likewise.
26098 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26100         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26102         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26103         defined.
26105 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26107         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26108         after checking that it is non-NULL.
26110         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26112 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26114         * sysdeps/powerpc/memmove.c: Remove file.
26115         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26116         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26117         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26118         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26120         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26121         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26122         string memmove instead of removed powerpc one.
26124         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26125         [weak_alias]: Fix compiler warning due trailing data.
26126         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26127         [weak_alias]: Likewise.
26128         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26129         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26132         (__libc_ifunc_impl_list): Add memmove functions.
26134 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26137         Remove code.
26138         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26139         Likewise.
26140         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26141         Likewise.
26142         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26143         Likewise.
26144         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26145         Likewise.
26146         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26147         Likewise.
26148         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26149         Likewise.
26150         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26151         Likewise.
26152         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26153         Likewise.
26154         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26155         Likewise.
26156         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26157         Likewise.
26158         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26159         Likewise.
26160         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26161         Likewise.
26162         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26163         Likewise.
26164         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26165         Likewise.
26166         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26167         Likewise.
26168         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26169         Likewise.
26171 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26173         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26174         to avoid alignment traps in non-cacheable memory.
26175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26177         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26178         multiarch objects.
26179         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26180         file: multiarch power7 memmove.
26181         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26182         multiarch default memmove.
26183         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26184         multiarch memove for powerpc32/power4.
26186         * string/bcopy.c: Use full path to include memmove.c.
26187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26188         multiarch objects.
26189         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26190         bcopy for powerpc64.
26191         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26192         bcopy for powerpc64.
26193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26194         and memmove implementations.
26195         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26196         optimized multiarch memmove for POWER7/powerpc64.
26197         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26198         default multiarch memmove for powerpc64.
26199         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26200         multiarch for powerpc64.
26201         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26202         for POWER7/powerpc64.
26203         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26204         memmove for POWER7/powerpc64.
26206         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26207         glibc default one.
26209         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26210         __ELF_NATIVE_CLASS equal to 64.
26212 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26214         * sysdeps/nptl/lowlevellock.h: File removed.
26216         * NEWS: NPTL is no longer an add-on!
26217         * nptl/internaltypes.h: Moved ...
26218         * sysdeps/nptl/internaltypes.h: ... here.
26219         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26220         * sysdeps/nptl/fork.c: Likewise.
26221         * sysdeps/nptl/gai_misc.h: Likewise.
26222         * sysdeps/nptl/librt-cancellation.c: Likewise.
26223         * sysdeps/nptl/jmp-unwind.c: Likewise.
26224         * sysdeps/nptl/setxid.h: Likewise.
26225         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26226         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26227         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26228         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26229         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26230         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26231         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26232         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26233         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26234         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26235         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26236         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26237         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26238         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26239         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26240         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26241         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26242         * nptl/Makeconfig: Moved ...
26243         * sysdeps/nptl/Makeconfig: ... here.
26244         * nptl/configure: File removed.
26245         * nptl/ANNOUNCE: File removed.
26246         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26247         * sysdeps/unix/sysv/linux/configure: Regenerated.
26249         * nptl/Makefile (routines): Add libc_pthread_init,
26250         libc_multiple_threads, register-atfork and unregister-atfork.
26251         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26252         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26253         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26254         pthread-pi-defines.sym, structsem.sym.
26255         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26256         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26257         [$(subdir) = nptl] (tests): Add tst-setgetname.
26258         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26259         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26260         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26261         [!LIBC_SIGACTION]: Remove aliases.
26262         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26263         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26264         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26265         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26266         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26267         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26268         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26269         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26270         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26271         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26272         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26273         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26274         __libc_allocate_rtsig_private.
26275         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26276         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26277         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26278         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26279         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26280         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26281         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26282         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26283         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26284         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26285         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26286         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26287         * nptl/internaltypes.h: ... here.
26288         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26289         * sysdeps/nptl/jmp-unwind.c: ... here.
26290         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26291         * nptl/libc-lowlevellock.c: ... here.
26292         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26293         * nptl/libc_multiple_threads.c: ... here.
26294         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26295         * nptl/libc_pthread_init.c: ... here.
26296         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26297         * nptl/lowlevelbarrier.sym: ... here.
26298         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26299         * nptl/lowlevelcond.sym: ... here.
26300         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26301         * nptl/lowlevellock.c: ... here.
26302         * nptl/lowlevellock.h: Moved ...
26303         * sysdeps/nptl/lowlevellock.h: ... here.
26304         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26305         * nptl/lowlevelrobustlock.c: ... here.
26306         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26307         * nptl/lowlevelrobustlock.sym: ... here.
26308         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26309         * nptl/lowlevelrwlock.sym: ... here.
26310         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26311         * nptl/pt-fork.c: ... here.
26312         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26313         * nptl/pthread-pi-defines.sym: ... here.
26314         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26315         * nptl/pthread_attr_getaffinity.c: ... here.
26316         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26317         * nptl/pthread_attr_setaffinity.c: ... here.
26318         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26319         * nptl/pthread_mutex_cond_lock.c: ... here.
26320         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26321         Update #include.
26322         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26323         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26324         * nptl/pthread_once.c: ... here, replacing old file.
26325         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26326         * nptl/pthread_yield.c: ... here.
26327         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26328         * nptl/register-atfork.c: ... here.
26329         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26330         * nptl/sem_post.c: ... here.
26331         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26332         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26333         * nptl/sem_timedwait.c: ... here.
26334         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26335         * nptl/sem_trywait.c: ... here.
26336         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26337         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26338         * nptl/sem_wait.c: ... here.
26339         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26340         * nptl/structsem.sym: ... here.
26341         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26342         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26343         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26344         * nptl/unregister-atfork.c: ... here.
26345         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26346         * nptl/unwindbuf.sym: ... here.
26347         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26348         * sysdeps/nptl/fork.c: ... here.
26349         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26350         * sysdeps/nptl/fork.h: ... here.
26351         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26352         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26353         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26354         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26355         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26356         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26357         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26358         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26359         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26360         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26361         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26362         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26363         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26364         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26365         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26366         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26367         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26368         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26369         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26370         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26371         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26372         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26373         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26374         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26375         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26376         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26377         * sysdeps/unix/sysv/linux/raise.c: ... here.
26378         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26379         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26380         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26381         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26382         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26383         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26384         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26385         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26386         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26387         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26388         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26389         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26390         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26391         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26392         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26394 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26396         * sysdeps/generic/memcopy.h: Add comment for
26397         MEMCPY_OK_FOR_FWD_MEMMOVE.
26399 2014-07-04  Will Newton  <will.newton@linaro.org>
26401         * string/memchr.c: Merge from gnulib.
26402         [_LIBC]: Remove conditionals.
26403         (__ptr_t): Remove define.
26404         (LONG_MAX_32_BITS): Likewise.
26405         (LONG_MAX): Likewise.
26406         (MEMCHR): Use ANSI prototype and optimize algorithm.
26408         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
26410 2014-07-03  Roland McGrath  <roland@hack.frob.com>
26412         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
26413         (lll_futex_timed_wait_bitset): Fix syscall argument count.
26415         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
26416         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
26417         in a bare environment with no <stdlib.h> installed.
26418         * sysdeps/nptl/configure: Regenerated.
26420         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
26422         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
26423         AC_EGREP_CPP for kernel header checks, so they only succeed if
26424         including <linux/version.h> actually works right.
26425         * sysdeps/unix/sysv/linux/configure: Regenerated.
26427         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
26428         value so it's not diagnosed as unused.
26430         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
26431         thing) with "ifeq ($(subdir),rt)".
26433 2014-07-03  Richard Henderson  <rth@redhat.com>
26435         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
26436         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
26437         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
26439         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
26440         (math_force_eval): New.
26442         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
26443         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
26445         * sysdeps/alpha/fpu/s_round.c: Remove file.
26446         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
26448         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
26449         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
26450         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
26451         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
26452         (_dl_start, print_statistics): Likewise.
26453         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
26454         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
26456         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26457         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26458         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26459         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26461         (HP_SMALL_TIMING_AVAIL): Define.
26462         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26463         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26464         (HP_SMALL_TIMING_AVAIL): Define.
26465         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26466         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
26468         * sysdeps/aarch64/hp-timing.h: New file.
26470         * sysdeps/generic/hp-timing.h: Remove dead comment.
26471         * sysdeps/generic/hp-timing-common.h: New file.
26472         * sysdeps/alpha/hp-timing.h: Include it.
26473         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
26474         * sysdeps/i386/i686/hp-timing.h: Likewise.
26475         * sysdeps/ia64/hp-timing.h: Likewise.
26476         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26477         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26478         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26479         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26480         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
26481         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
26482         (hp_timing_t): New.
26484         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
26485         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
26486         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
26487         * elf/rtld.c (_dl_start_final): Likewise.
26488         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
26489         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26490         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26491         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26492         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26494         (HP_TIMING_DIFF_INIT): Remove.
26495         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26496         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
26497         (HP_TIMING_DIFF_INIT): Remove.
26498         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
26499         * sysdeps/i386/i686/hp-timing.c: Remove file.
26500         * sysdeps/x86_64/hp-timing.c: Remove file.
26501         * sysdeps/ia64/hp-timing.c: Remove file.
26502         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
26503         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
26504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
26505         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
26507         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
26508         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
26509         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
26510         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26511         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
26512         (HP_TIMING_ACCUM): Remove.
26513         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26514         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
26515         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
26517         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
26518         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
26519         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
26520         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
26521         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
26522         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26523         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
26524         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
26526         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
26528 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
26530         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
26532 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26534         Sync up with gettext.
26535         * intl/loadmsgcat.c: Define O_BINARY if not defined.
26536         [_MSC_VER]: Include malloc.h
26537         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
26538         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
26539         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
26540         TEMP_FAILURE_RETRY.  Cast return of alloca.
26541         [!_LIBC] Call gl_rwlock_init.
26542         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
26544 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26546         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
26547         before checking its value.
26549 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26551         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
26553         * debug/memcpy_chk.c: Don't include pagecopy.h.
26554         * debug/mempcpy_chk.c: Likewise.
26555         * string/memcpy.c: Likewise.
26556         * string/memmove.c: Likewise.
26557         * sysdeps/powerpc/memmove.c: Likewise.
26558         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
26559         definition of PAGE_COPY_FWD_MAYBE here...
26560         * sysdeps/generic/pagecopy.h: ... from here.
26561         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
26563 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
26564             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26566         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
26567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
26568         optimizations.
26569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26570         (__libc_ifunc_impl_list): Likewise.
26571         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
26572         multiarch strcat for PPC64.
26573         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
26574         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
26576 2014-07-02  Roland McGrath  <roland@hack.frob.com>
26578         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
26580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26582         * intl/loadmsgcat.c: Remove declaration of
26583         get_sysdep_segment_value.
26584         (get_sysdep_segment_value): Use ISO C style.
26585         (_nl_load_domain): Use ISO C style.  Get rid of redundant
26586         semicolon.  Fix typo and formatting in comment.
26587         (_nl_unload_domain): Use ISO C style.
26589         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
26591 2014-07-02  Will Newton  <will.newton@linaro.org>
26593         * malloc/obstack.c: Merge from gnulib master.
26594         [HAVE_CONFIG_H]: Remove conditional code.
26595         [!_LIBC]: Include config.h.
26596         [!ELIDE_CODE]: Don't include inttypes.h, include
26597         stdint.h unconditionally.
26598         (print_and_abort): Mark as _Noreturn.
26599         (_obstack_allocated_p): Mark as __attribute_pure__.
26600         (obstack_free): Rename to __obstack_free.
26601         [!__attribute__]: Remove conditional code.
26602         * malloc/obstack.h: Merge from gnulib master.
26603         [__cplusplus]: Move conditional down.
26604         [!__attribute_pure__]: Define __attribute_pure__ here
26605         if it is not already defined.
26606         (_obstack_memory_used): Mark as __attribute_pure__.
26607         [!__obstack_free]: Define as obstack_free.
26608         [__GNUC__]: Remove check for ancient NeXT gcc.
26610 2014-07-02  Will Newton  <will.newton@linaro.org>
26611             Paul Eggert  <eggert@cs.ucla.edu>
26613         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
26615 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26617         * resolv/gethnamaddr.c: Add comment warning that the file is
26618         not maintained.
26620 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
26622         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
26623         entries.
26625         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
26626         entry for aio_cancel and aio_cancel64.
26627         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
26628         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
26629         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
26630         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
26631         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
26632         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
26633         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
26634         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
26635         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
26636         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
26637         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
26638         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
26639         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
26641 2014-07-01  Roland McGrath  <roland@hack.frob.com>
26643         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
26644         * nptl/pthread_mutex_lock.c: Likewise.
26645         * nptl/pthread_mutex_timedlock.c: Likewise.
26646         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
26648 2014-07-01  Richard henderson  <rth@redhat.com>
26650         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
26651         (__isnan, __isnanl): Remove.
26652         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
26654         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26656 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26658         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26660 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26662         * resolv/nss_dns/dns-host.c (getanswer_r)
26663         [MULTI_PTRS_ARE_ALIASES]: Remove code.
26665 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
26667         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
26668         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
26669         undefine.
26670         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
26671         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
26673 2014-07-01  Roland McGrath <roland@hack.frob.com>
26675         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
26676         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
26678         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
26679         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
26681         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
26682         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
26683         ... here.
26684         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
26685         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
26687         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
26688         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
26689         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
26690         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
26692         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
26693         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
26694         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
26695         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
26696         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
26697         Moved ...
26698         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
26699         ... here.
26700         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
26701         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
26702         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
26703         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
26704         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
26705         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
26706         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
26707         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
26708         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
26709         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
26710         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
26711         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
26712         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
26713         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
26714         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
26715         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
26716         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
26717         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
26718         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
26719         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
26720         ... here.
26721         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
26722         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
26723         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
26724         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
26725         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
26726         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
26727         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
26728         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
26730 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
26732         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
26733         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
26734         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
26735         Add sysdep.
26737 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26741 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26743         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26744         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26746         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
26748         * sysdeps/arm/libm-test-ulps: Regenerated.
26750 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26751             Roland McGrath <roland@hack.frob.com>
26753         * test-skeleton.c (signal_handler): Kill the whole process group
26754         before killing the child individually.
26755         (main): Report any failure on `setpgid'.
26757 2014-06-30  Roland McGrath  <roland@hack.frob.com>
26759         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
26760         from _TLS_H to _ARM_NPTL_TLS_H.
26761         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
26762         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
26764 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
26766         [BZ #16539]
26767         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
26768         (__expm1l): Return argument unchanged when small but not
26769         subnormal.
26771         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
26772         include macro name.
26773         (_FP_UNPACK_RAW_1_P): Likewise.
26774         (_FP_PACK_RAW_1): Likewise.
26775         (_FP_PACK_RAW_1_P): Likewise.
26776         (_FP_MUL_MEAT_1_wide): Likewise.
26777         (_FP_MUL_MEAT_DW_1_hard): Likewise.
26778         (_FP_MUL_MEAT_1_hard): Likewise.
26779         (_FP_DIV_MEAT_1_imm): Likewise.
26780         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
26781         (_FP_DIV_MEAT_1_udiv): Likewise.
26782         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
26783         (_FP_UNPACK_RAW_2): Likewise.
26784         (_FP_UNPACK_RAW_2_P): Likewise.
26785         (_FP_PACK_RAW_2): Likewise.
26786         (_FP_PACK_RAW_2_P): Likewise.
26787         (_FP_MUL_MEAT_DW_2_wide): Likewise.
26788         (_FP_MUL_MEAT_2_wide): Likewise.
26789         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
26790         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
26791         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
26792         (_FP_MUL_MEAT_2_gmp): Likewise.
26793         (_FP_DIV_MEAT_2_udiv): Likewise.
26794         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
26795         (_FP_FRAC_SRL_4): Likewise.
26796         (_FP_FRAC_SRST_4): Likewise.
26797         (_FP_FRAC_SRS_4): Likewise.
26798         (_FP_UNPACK_RAW_4): Likewise.
26799         (_FP_UNPACK_RAW_4_P): Likewise.
26800         (_FP_PACK_RAW_4): Likewise.
26801         (_FP_PACK_RAW_4_P): Likewise.
26802         (_FP_MUL_MEAT_DW_4_wide): Likewise.
26803         (_FP_MUL_MEAT_4_wide): Likewise.
26804         (_FP_MUL_MEAT_4_gmp): Likewise.
26805         (umul_ppppmnnn): Likewise.
26806         (_FP_DIV_MEAT_4_udiv): Likewise.
26807         (__FP_FRAC_ADD_4): Likewise.
26808         (__FP_FRAC_SUB_3): Likewise.
26809         (__FP_FRAC_SUB_4): Likewise.
26810         (__FP_FRAC_DEC_3): Likewise.
26811         (__FP_FRAC_DEC_4): Likewise.
26812         (__FP_FRAC_ADDI_4): Likewise.
26813         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
26814         (_FP_FRAC_SRL_8): Likewise.
26815         (_FP_FRAC_SRS_8): Likewise.
26817         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
26818         include macro name.
26819         (FP_UNPACK_RAW_EP): Likewise.
26820         (FP_PACK_RAW_E): Likewise.
26821         (FP_PACK_RAW_EP): Likewise.
26822         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
26823         (_FP_ISSIGNAN): Likewise.
26824         (_FP_ADD_INTERNAL): Likewise.
26825         (_FP_FMA): Likewise.
26826         (_FP_CMP): Likewise.
26827         (_FP_SQRT): Likewise.
26828         (_FP_TO_INT): Likewise.
26829         (_FP_FROM_INT): Likewise.
26830         (FP_EXTEND): Likewise.
26831         (_FP_DIV_MEAT_N_loop): Likewise.
26833 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
26835         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
26836         throughout.
26838 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
26840         [BZ #17097]
26841         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
26842         result with correct sign in case of exponents that produce
26843         overflow except for X very close to 1.
26845 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
26847         mktime: merge #if/#ifdef usage from glibc
26848         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
26849         as that works with both Glibc's and Gnulib's style.
26850         See thread starting at Siddhesh Poyarekar's bug report at:
26851         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
26853 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26855         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
26856         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
26857         * sysdeps/tile/tilegx/memmove.c: Remove file.
26859 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
26861         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
26862         abi-name definition.
26863         * scripts/soversions.awk: Do not handle or generate ABI lines.
26864         * shlib-versions: Remove ABI entries.
26865         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
26866         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
26868 2014-06-27  Roland McGrath  <roland@hack.frob.com>
26870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
26871         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
26872         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
26873         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
26874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
26875         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
26876         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
26877         Moved ...
26878         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
26879         ... here.
26880         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
26881         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
26882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
26883         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
26884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
26885         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
26886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
26887         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
26888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
26889         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
26890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
26891         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
26892         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
26893         Moved ...
26894         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
26895         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
26896         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
26897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
26898         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
26899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
26900         Moved ...
26901         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
26902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
26903         Moved ...
26904         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
26905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
26906         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
26907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
26908         Moved ...
26909         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
26910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
26911         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
26912         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
26913         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
26914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
26915         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
26916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
26917         Moved ...
26918         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
26919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
26920         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
26921         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
26922         Moved ...
26923         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
26924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
26925         Moved ...
26926         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
26927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
26928         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
26929         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
26930         Moved ...
26931         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
26932         ... here.
26933         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
26934         Identical file removed.
26935         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
26936         Moved ...
26937         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
26938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
26939         Identical file removed.
26940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
26941         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
26942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
26943         Moved ...
26944         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
26945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
26946         Identical file removed.
26947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
26948         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
26949         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
26950         Identical file removed.
26951         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
26952         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
26953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
26954         Identical file removed.
26955         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
26956         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
26957         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
26958         Identical file removed.
26959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
26960         Moved ...
26961         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
26962         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
26963         Identical file removed.
26964         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
26965         Moved ...
26966         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
26967         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
26968         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
26969         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
26970         Identical file removed.
26971         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
26972         Moved ...
26973         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
26974         ... here.
26975         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
26976         Identical file removed.
26977         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
26978         Moved ...
26979         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
26980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
26981         Identical file removed.
26982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
26983         Moved ...
26984         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
26985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
26986         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
26987         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
26988         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
26989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
26990         Moved ...
26991         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
26992         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
26993         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
26995         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
26996         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
26997         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
26998         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
26999         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27001 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27003         [BZ #17092]
27004         * nscd/nscd.c (monitor_child): Return exit status of child
27005         instead of return value from wait syscall.
27007 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27009         * configure.ac (libc_commonpagesize): Remove variable.
27010         (libc_relro_required): Likewise.
27011         (libc_cv_z_relro): Remove configure test.
27012         * configure: Regenerated.
27013         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27014         variable.
27015         (libc_relro_required): Likewise.
27016         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27017         (libc_relro_required): Likewise.
27018         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27019         (libc_relro_required): Likewise.
27020         * sysdeps/arm/preconfigure: Regenerated.
27021         * sysdeps/ia64/preconfigure: Remove file.
27022         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27023         variable.
27024         (libc_relro_required): Likewise.
27026         [BZ #16561]
27027         [BZ #16562]
27028         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27029         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27030         recompute overflowing results in original rounding mode.
27031         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27032         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27033         recompute overflowing results in original rounding mode.
27034         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27035         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27036         recompute overflowing results in original rounding mode.
27037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27038         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27039         recompute overflowing results in original rounding mode.
27040         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27041         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27042         recompute overflowing results in original rounding mode.
27043         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27044         (libc_feholdsetround_ctx): New macro.
27045         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27046         * sysdeps/i386/fpu/libm-test-ulps: Update.
27047         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27049 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27051         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27052         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27053         corresponding .cpsetup call.
27055 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27057         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27058         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27059         * sysdeps/arm/Makefile [$(subdir) = csu]
27060         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27061         (static-only-routines): Add aeabi_read_tp here.
27062         (shared-only-routines): Add libc-aeabi_read_tp here.
27063         (CFLAGS-libc-start.c): Add -fexceptions here.
27064         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27065         (sysdep_routines, static-only-routines, shared-only-routines):
27066         Don't add to these here.
27067         (CFLAGS-libc-start.c): Likewise.
27069         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27070         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27071         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27072         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27073         * sysdeps/arm/Makefile [$(subdir) = rt]
27074         (librt-sysdep_routines, librt-shared-only-routines):
27075         Append rt-aeabi_unwind_cpp_pr1 here.
27076         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27077         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27078         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27079         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27080         Append nptl-aeabi_unwind_cpp_pr1 here.
27081         (tests): Filter out tst-cleanupx4 here.
27082         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27083         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27084         Don't do those here.
27086 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27088         * scripts/list-sources.sh: Do not handle ports specially.
27090 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27092         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27093         * sysdeps/arm/feupdateenv.c: Likewise.
27095         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27097 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27099         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27100         trailing whitespace removed.
27101         * scripts/config.guess: Update to version 2014-03-23.
27102         * scripts/config.sub: Update to version 2014-05-01
27103         * scripts/install-sh: Update to version 2013-12-25.23.
27104         * scripts/move-if-change: Update from gnulib.
27106 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27108         * debug/memmove_chk.c: Remove pagecopy.h include.
27110 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27112         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27113         identical to gnulib mktime.
27115 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27117         * configure.ac: Do not test for machine being rs6000.  Do not test
27118         for powerpc*-*soft.
27119         * configure: Regenerated.
27121         [BZ #11505]
27122         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27123         test.
27124         * configure: Regenerated.
27125         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27126         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27127         Remove configure test.
27128         * sysdeps/arm/configure: Regenerated.
27129         * sysdeps/nptl/configure.ac: Do not check
27130         libc_cv_asm_cfi_directives.
27131         * sysdeps/nptl/configure: Regenerated.
27132         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27133         * sysdeps/x86_64/nptl/configure: Remove generated file.
27134         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27135         unconditional.
27136         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27138 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27140         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27141         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27142         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27143         it is defined.
27145         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27146         instead of whether it is defined.
27147         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27148         * sysdeps/hppa/dl-machine.h: Likewise.
27149         * sysdeps/ia64/dl-machine.h: Likewise.
27150         * sysdeps/m68k/dl-machine.h: Likewise.
27151         * sysdeps/microblaze/dl-machine.h: Likewise.
27152         * sysdeps/mips/dl-machine.: Likewise.
27153         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27154         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27155         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27156         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27157         * sysdeps/sh/dl-machine.h: Likewise.
27158         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27159         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27160         * sysdeps/tile/dl-machine.h: Likewise.
27161         * sysdeps/x86_64/dl-machine.h: Likewise.
27163         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27164         code.
27165         (verify_persistent_db): Likewise.
27167 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27170         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27172         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27174         Moved ...
27175         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27176         ... here.
27177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27178         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27180         Identical file removed.
27181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27182         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27184         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27186         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27188         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27190         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27192         Moved ...
27193         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27195         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27197         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27199         Moved ...
27200         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27202         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27204         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27206         Identical file removed.
27207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27208         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27210         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27212         Moved ...
27213         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27214         ... here.
27215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27216         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27218         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27220         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27222         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27224         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27226         Moved ...
27227         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27229         Moved ...
27230         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27232         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27234         Moved ...
27235         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27237         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27239         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27240         folded into ...
27241         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27242         * sysdeps/unix/sysv/linux/s390/Versions
27243         (libpthread: GLIBC_2.19): New version set.
27244         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27245         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27246         (librt: GLIBC_2.3.3): New version set.
27247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27248         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27249         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27250         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27251         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27252         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27253         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27254         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27255         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27256         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27257         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27258         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27259         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27260         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27261         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27262         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27263         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27264         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27265         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27266         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27267         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27268         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27269         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27270         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27271         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27272         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27273         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27274         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27275         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27276         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27277         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27278         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27279         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27280         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27281         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27282         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27283         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27284         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27285         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27286         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27287         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27289         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27291         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27293         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27294         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27295         (__libc_vfork): Define the function under this name.
27296         [!NOT_IN_libc] (__vfork): Make this an alias.
27297         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27299         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27300         (__libc_vfork): Define the function under this name.
27301         [!NOT_IN_libc] (__vfork): Make this an alias.
27302         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27303         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27304         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27306         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27307         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27309         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27310         code that was previously under [RESET_PID].
27311         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27312         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27315         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27316         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27317         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27318         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27319         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27320         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27321         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27322         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27323         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27324         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27325         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27326         Moved ...
27327         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27328         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27329         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27330         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27331         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27332         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27333         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27334         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27335         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27336         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27337         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27338         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27339         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27340         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27341         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27342         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27343         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27344         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27345         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27346         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27347         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27348         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27349         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27350         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27351         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27352         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27353         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27354         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27355         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27357 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27359         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27360         that was previously under [RESET_PID].
27361         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27363 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27365         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27366         not undefine and redefine.
27367         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27368         [O_CLOEXEC]: Make code unconditional.
27369         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27370         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27371         <kernel-features.h>.
27372         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27373         conditional variable definition.
27374         (shm_open) [O_CLOEXEC]: Make code unconditional.
27375         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27376         code.
27378         * configure.ac (USE_REGPARMS): Don't define here.
27379         * configure: Regenerated.
27380         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27381         * sysdeps/i386/configure: Regenerated.
27383         * nptl/createthread.c: Don't include kernel-features.h.
27384         * nptl/pthread_cancel.c: Likewise.
27385         * nptl/pthread_condattr_setclock.c: Likewise.
27386         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27387         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27388         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27389         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27390         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27391         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27392         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27395         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27396         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27397         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27398         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27399         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27400         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27401         * nscd/gai.c: Likewise.
27402         * nss/nss_db/db-open.c: Likewise.
27403         * sysdeps/generic/ldsodefs.h: Likewise.
27404         * sysdeps/sh/nptl/tls.h: Likewise.
27405         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
27406         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
27407         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
27408         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
27409         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
27410         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
27411         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
27412         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27413         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27414         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27415         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27416         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27417         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
27418         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
27419         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
27420         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
27421         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
27422         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
27423         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
27424         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
27425         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
27426         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
27427         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
27428         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
27429         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
27430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
27431         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
27432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
27433         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
27434         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
27435         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
27436         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
27437         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
27438         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27439         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27440         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
27441         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27442         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
27443         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
27444         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
27445         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27446         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
27447         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
27448         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27449         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
27450         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
27451         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
27452         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
27453         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
27454         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
27455         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
27456         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
27457         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
27458         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
27459         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
27460         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27461         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
27462         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
27463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
27465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
27466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
27467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
27468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
27469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
27470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
27471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
27474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
27475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
27476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
27477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
27483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
27484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
27485         * sysdeps/unix/sysv/linux/pread.c: Likewise.
27486         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
27487         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
27488         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
27489         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
27490         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
27491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
27492         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
27493         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
27494         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
27495         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
27496         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
27497         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
27498         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
27499         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
27500         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
27501         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
27502         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
27503         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
27504         * sysdeps/unix/sysv/linux/system.c: Likewise.
27505         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
27506         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27507         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27508         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27509         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
27510         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
27511         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
27513         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
27514         * configure: Regenerated.
27515         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
27517         * configure.ac (base_machine): Do not set specially for particular
27518         machines here.
27519         * configure: Regenerated.
27520         * sysdeps/powerpc/preconfigure: Move machine and base_machine
27521         settings from configure.ac.
27522         * sysdeps/i386/preconfigure: New file.
27523         * sysdeps/s390/preconfigure: Likewise.
27524         * sysdeps/sh/preconfigure: Likewise.
27525         * sysdeps/sparc/preconfigure: Likewise.
27527 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27529         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
27530         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
27531         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
27532         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
27533         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
27534         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
27535         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
27536         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
27537         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
27538         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
27539         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
27540         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
27541         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
27542         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
27543         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
27544         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
27545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
27546         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
27547         * sysdeps/sparc/sparc64/Makefile: ... appended here.
27549         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
27550         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
27551         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
27552         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
27553         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
27554         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
27555         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
27556         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
27557         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
27558         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
27559         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
27560         * sysdeps/sparc/sparc32/sem_post.c: ... here.
27561         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
27562         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
27563         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
27564         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
27565         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
27566         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
27567         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
27568         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
27569         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
27570         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
27571         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
27572         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
27573         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
27574         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
27575         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
27576         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
27577         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
27578         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
27579         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
27580         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
27581         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
27582         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
27583         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
27584         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
27585         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
27586         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
27588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
27589         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
27590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
27591         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
27592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
27593         Moved ...
27594         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
27595         ... here.
27596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
27597         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
27598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
27599         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
27600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
27601         Moved ...
27602         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
27603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
27604         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
27605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
27606         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
27607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
27608         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
27609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
27610         Moved ...
27611         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
27612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
27613         Moved ...
27614         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
27615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
27616         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
27617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
27618         Moved ...
27619         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
27620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
27621         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
27622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
27623         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
27624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
27625         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
27626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
27627         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
27628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
27629         Moved ...
27630         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
27631         ... here.
27632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
27633         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
27634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
27635         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
27636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
27637         Moved ...
27638         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
27639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
27640         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
27641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
27642         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
27643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
27644         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
27645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
27646         Moved ...
27647         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
27648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
27649         Moved ...
27650         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
27651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
27652         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
27653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
27654         Moved ...
27655         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
27656         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
27657         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
27658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
27659         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
27661 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27663         * timezone/checktab.awk: Update from tzcode 2014e.
27664         * timezone/private.h: Likewise.
27665         * timezone/tzfile.h: Likewise.
27666         * timezone/zdump.c: Likewise.
27667         * timezone/zic.c: Likewise.
27669         * sysdeps/unix/sysv/linux/kernel-features.h
27670         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
27671         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
27672         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
27673         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27674         Remove conditional code.
27676 2014-06-25  Will Newton  <will.newton@linaro.org>
27678         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
27679         (_dl_arm_cap_flags): Add HWCAP2 values.
27680         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
27681         (_DL_HWCAP_COUNT): Increase to 37.
27682         (_DL_HWCAP_LAST): New define.
27683         (_DL_HWCAP2_LAST): New define.
27684         (_dl_procinfo): Add support for printing
27685         AT_HWCAP2 entries.
27686         (_dl_string_hwcap): Use _dl_hwcap_string.
27688 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27692 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27694         * README: Do not mention ports directory.
27696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
27697         Remove macro.
27698         * sysdeps/unix/sysv/linux/futimes.c: Do not include
27699         <kernel-features.h>.
27700         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
27701         conditional variable definition.
27702         (__futimes): Update comment.
27703         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
27704         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
27706         [BZ #16560]
27707         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
27708         arguments close to 0.
27709         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
27710         Likewise.
27711         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
27712         Likewise.
27713         * math/auto-libm-test-in: Add more tests of exp10.
27714         * math/auto-libm-test-out: Regenerated.
27715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27717         * sysdeps/unix/sysv/linux/kernel-features.h
27718         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
27719         * sysdeps/unix/sysv/linux/readv.c: Do not include
27720         <kernel-features.h>.
27721         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27722         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27723         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27724         unconditional.
27725         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27726         conditional code.
27727         * sysdeps/unix/sysv/linux/writev.c: Do not include
27728         <kernel-features.h>.
27729         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
27730         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
27731         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
27732         unconditional.
27733         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
27734         conditional code.
27736 2014-06-25  Will Newton  <will.newton@linaro.org>
27738         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
27739         comment changes throughout the file.  Remove checks
27740         for HAVE_*_H definitions that are not required.
27741         (__gen_tempname): Call abort if an unknown kind value is
27742         passed.
27744 2014-06-25  Andreas Schwab  <schwab@suse.de>
27746         [BZ #17086]
27747         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
27748         scalbln, scalblnf, scalblnl in libc.
27750 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27752         [BZ #17086]
27753         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
27754         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
27755         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27757 2014-06-24  Roland McGrath  <roland@hack.frob.com>
27759         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
27760         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
27761         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
27762         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
27763         Update #include.
27764         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
27765         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
27766         Update #include.
27767         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
27768         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
27769         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
27770         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
27771         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
27772         * sysdeps/x86/bits/pthreadtypes.h: ... here.
27773         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
27774         * sysdeps/x86/bits/semaphore.h: ... here.
27775         * sysdeps/x86/nptl/elide.h: Moved ...
27776         * sysdeps/x86/elide.h: ... here.
27777         * sysdeps/x86_64/nptl/Implies: File removed.
27778         * sysdeps/i386/nptl/Implies: File removed.
27780 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
27782         [BZ #16539]
27783         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
27784         return the argument for normal arguments with exponent below -64.
27785         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27786         Likewise.
27787         * math/auto-libm-test-in: Add another test of expm1.
27788         * math/auto-libm-test-out: Regenerated.
27790         [BZ #16287]
27791         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
27792         calling __erfcl for arguments at least 16.
27793         * math/auto-libm-test-in: Add more tests of erf.
27794         * math/auto-libm-test-out: Regenerated.
27796         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
27797         individual architectures.
27798         * sysdeps/unix/sysv/linux/configure: Regenerated.
27799         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
27800         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
27801         * sysdeps/unix/sysv/linux/powerpc/configure.ac
27802         (ldd_rewrite_script): Define variable.
27803         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
27805         file.
27806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
27807         generated file.
27808         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
27809         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
27810         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
27811         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
27812         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
27813         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
27814         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
27815         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
27817 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27819         [BZ #17084]
27820         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
27821         Rename member __data.d to __data.__elision_data.
27823 2014-06-24  Wilco  <wdijkstr@arm.com>
27825         * NEWS: Add 16918 to fixed bug list.
27827 2014-06-24  Wilco  <wdijkstr@arm.com>
27829         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
27831 2014-06-24  Wilco  <wdijkstr@arm.com>
27833         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
27834         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
27835         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
27836         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
27837         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
27838         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
27839         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
27840         Use _FPU_MASK_RM.
27842 2014-06-24  Wilco  <wdijkstr@arm.com>
27844         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
27846 2014-06-24  Wilco  <wdijkstr@arm.com>
27848         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
27849         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
27850         * sysdeps/arm/fesetround.c (fesetround): Remove space.
27851         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
27853 2014-06-24  Wilco  <wdijkstr@arm.com>
27855         [BZ #16918]
27856         * sysdeps/arm/feupdateenv.c (feupdateenv):
27857         Rewrite to reduce FPSCR accesses and fix return value.
27859 2014-06-24  Wilco  <wdijkstr@arm.com>
27861         * sysdeps/arm/fclrexcpt.c (feclearexcept):
27862         Optimize to avoid unnecessary FPSCR writes.
27863         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
27864         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
27865         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
27866         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
27868 2014-06-24  Wilco  <wdijkstr@arm.com>
27870         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
27871         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
27872         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
27873         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
27874         Call libc_fetestexcept_vfp.
27875         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
27876         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
27877         __SOFTFP__ ifdef so that they can be built for softfp.
27879 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27881         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
27882         argument type signed char.
27884         * Makerules (check-abi): Dump diff of symlist if the test
27885         fails.
27887 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27889         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
27890         using abort.
27892         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
27893         Remove unused variable ST.
27895 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
27897         [BZ #16354]
27898         [BZ #17061]
27899         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
27900         small arguments before calling __expm1.
27901         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
27902         small arguments before calling __expm1f.
27903         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
27904         small arguments before calling __expm1l.
27905         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27906         Likewise.
27907         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
27908         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
27909         spurious underflow for some cosh tests.
27910         * math/auto-libm-test-out: Regenerated.
27911         * sysdeps/i386/fpu/libm-test-ulps: Update.
27913         [BZ #17050]
27914         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
27915         (__ieee754_y1): Set errno if return value overflows.
27916         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
27917         (__ieee754_y1f): Set errno if return value overflows.
27918         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
27919         (__ieee754_y1l): Set errno if return value overflows.
27920         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
27921         (__ieee754_y1l): Set errno if return value overflows.
27922         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
27923         * math/auto-libm-test-out: Regenerated.
27925         * math/gen-auto-libm-tests.c: Document use of
27926         ignore-zero-inf-sign.
27927         (input_flag_type): Add value flag_ignore_zero_inf_sign.
27928         (input_flags): Add ignore-zero-inf-sign.
27929         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
27930         * math/gen-libm-test.pl (generate_testfile): Handle
27931         ignore-zero-inf-sign.
27932         * math/auto-libm-test-in: Mark some cpow tests with
27933         ignore-zero-inf-sign and some with xfail-rounding.
27934         * math/auto-libm-test-out: Regenerated.
27935         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
27936         * sysdeps/i386/fpu/libm-test-ulps: Update.
27937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939         [BZ #16315]
27940         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
27941         overflowing or underflowing operations take place with sign of
27942         result.
27943         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27944         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27945         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
27946         (__ieee754_pow): Recompute overflowing and underflowing results in
27947         original rounding mode.
27948         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
27949         (__powl_helper): Allow negative argument X and scale negated value
27950         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
27951         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
27952         overflowing or underflowing operations take place with sign of
27953         result.
27954         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
27955         Include <math.h>.
27956         * math/auto-libm-test-in: Add more tests of pow.
27957         * math/auto-libm-test-out: Regenerated.
27958         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
27959         (pow_tonearest_test_data): Remove.
27960         (pow_test_tonearest): Likewise.
27961         (pow_towardzero_test_data): Likewise.
27962         (pow_test_towardzero): Likewise.
27963         (pow_downward_test_data): Likewise.
27964         (pow_test_downward): Likewise.
27965         (pow_upward_test_data): Likewise.
27966         (pow_test_upward): Likewise.
27967         (main): Don't call removed functions.
27968         * sysdeps/i386/fpu/libm-test-ulps: Update.
27969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27971 2014-06-23  Roland McGrath  <roland@hack.frob.com>
27973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
27974         Moved ...
27975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
27976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27977         Moved ...
27978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
27979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
27980         Moved ...
27981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
27982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27983         Moved ...
27984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
27985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27986         File removed.
27987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
27988         File removed.
27989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
27990         File removed.
27991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
27992         File removed.
27993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
27994         File removed.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
27996         File removed.
27997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
27998         File removed.
27999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28000         File removed.
28001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28002         File removed.
28003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28004         File removed.
28005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28006         File removed.
28007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28008         File removed.
28009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28010         Moved ...
28011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28013         Moved ...
28014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28015         ... here.
28016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28017         Moved ...
28018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28020         Moved ...
28021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28023         Moved ...
28024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28026         Moved ...
28027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28029         Moved ...
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28032         Moved ...
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28035         Moved ...
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28039         ... here.
28040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28041         Moved ...
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28044         Moved ...
28045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28046         ... here.
28047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28048         Moved ...
28049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28050         ... here.
28051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28052         Moved ...
28053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28054         ... here.
28055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28056         Moved ...
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28059         Moved ...
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28064         Moved ...
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28066         ... here.
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28068         Moved ...
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28070         ... here.
28071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28072         Moved ...
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28075         Moved ...
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28078         Moved ...
28079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28081         Moved ...
28082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28084         Moved ...
28085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28086         ... here.
28087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28088         Moved ...
28089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28091         Moved ...
28092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28094         Moved ...
28095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28097         Moved ...
28098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28102         Moved ...
28103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28105         Moved ...
28106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28108         Moved ...
28109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28110         ... here.
28111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28112         Moved ...
28113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28114         ... here.
28115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28116         Moved ...
28117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28118         ... here.
28119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28120         Moved ...
28121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28123         Moved ...
28124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28126         Moved ...
28127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28129         Moved ...
28130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28131         ... here.
28132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28133         Moved ...
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28135         ... here.
28136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28137         Moved ...
28138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28139         ... here.
28140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28141         Moved ...
28142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28144         Moved ...
28145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28147 2014-06-23  Will Newton  <will.newton@linaro.org>
28148             Wilco  <wdijkstr@arm.com>
28150         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28151         implementation.  Include get-rounding-mode.h.
28152         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28153         [!libc_feholdsetround_noex_ctx]: Define
28154         libc_feholdsetround_noex_ctx.
28155         [!libc_feholdsetround_noexf_ctx]: Define
28156         libc_feholdsetround_noexf_ctx.
28157         [!libc_feholdsetround_noexl_ctx]: Define
28158         libc_feholdsetround_noexl_ctx.
28159         (libc_feholdsetround_ctx): New function.
28160         (libc_feresetround_ctx): New function.
28161         (libc_feholdsetround_noex_ctx): New function.
28162         (libc_feresetround_noex_ctx): New function.
28164 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28166         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28167         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28168         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28169         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28170         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28171         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28173         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28174         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28175         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28176         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28177         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28178         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28179         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28180         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28181         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28182         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28184         Moved ...
28185         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28186         ... here.
28187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28188         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28190         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28192         Moved ...
28193         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28195         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28197         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28198         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28199         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28200         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28201         Moved ...
28202         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28204         Moved ...
28205         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28207         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28209         Moved ...
28210         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28211         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28212         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28213         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28214         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28215         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28216         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28218         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28219         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28220         Moved ...
28221         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28222         ... here.
28223         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28224         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28225         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28226         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28227         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28228         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28230         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28232         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28234         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28235         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28236         Moved ...
28237         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28239         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28241         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28243         Moved ...
28244         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28246         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28247         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28248         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28250         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28251         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28252         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28253         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28254         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28255         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28256         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28257         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28258         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28259         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28260         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28261         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28262         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28263         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28264         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28265         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28266         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28267         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28268         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28269         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28270         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28271         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28272         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28273         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28274         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28275         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28276         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28277         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28279 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28281         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28282         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28283         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28284         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28285         (IPV6_PMTUDISC_INTERFACE): Likewise.
28286         (IPV6_PMTUDISC_OMIT): Likewise.
28288 2014-06-23  Andreas Schwab  <schwab@suse.de>
28290         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28291         Remove unused errout label.
28293 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28295         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28296         macro: hardware supports Vector Crypto instructions.
28298 2014-06-23  Will Newton  <will.newton@linaro.org>
28300         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28301         rather than __builtin_expect.
28303         * elf/dl-lookup.c (undefined_msg): Remove variable.
28304         (_dl_lookup_symbol_x): Replace undefined_msg with string
28305         literal.
28307         * elf/dl-lookup.c (do_lookup_unique): New function.
28308         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28309         to a separate function.
28311 2014-06-23  Andreas Schwab  <schwab@suse.de>
28313         [BZ #17079]
28314         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28315         before reading the next line.
28317 2014-06-23  Will Newton  <will.newton@linaro.org>
28319         * test-skeleton.c (signal_handler): Use printf and %m
28320         rather than perror.  Use printf rather than fprintf to
28321         stderr.  Use puts rather than fputs to stderr.
28322         (main): Likewise.
28324 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28326         * nscd/nscd.c (thread_info_t): Remove typedef.
28327         (thread_info): Remove variable.
28329 2014-06-21  Allan McRae  <allan@archlinux.org>
28331         * NEWS: Mention CVE-2014-4043.
28333 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28335         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28336         * nptl/smp.h: ... here.
28338         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28340         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28341         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28342         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28343         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28345         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28346         * nptl/stack-aliasing.h: New file.
28347         * sysdeps/i386/i686/stack-aliasing.h: New file.
28348         * sysdeps/i386/i686/nptl/Makefile: File removed.
28349         * sysdeps/x86_64/stack-aliasing.h: New file.
28350         * sysdeps/x86_64/nptl/Makefile
28351         (CFLAGS-pthread_create.c): Variable removed.
28353         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28354         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28355         old file.
28356         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28357         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28358         old file.
28360 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28363         (__ASSUME_SIGFRAME_V2): Remove macro.
28364         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28365         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28366         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28367         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28368         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28369         Declare as function.  Remove conditional macro definitions.
28370         (__default_rt_sa_restorer): Likewise.
28371         (__default_sa_restorer_v1): Remove declaration.
28372         (__default_sa_restorer_v2): Likewise.
28373         (__default_rt_sa_restorer_v1): Likewise.
28374         (__default_rt_sa_restorer_v2): Likewise.
28375         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28376         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28377         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28379 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28381         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28382         (libpthread-routines): Add sysdep.
28383         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28384         * sysdeps/unix/sysv/linux/sparc/Versions
28385         (libpthread: GLIBC_2.3.3): New version set.
28386         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28387         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28388         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28389         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28390         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28391         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28392         Moved ...
28393         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28394         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28395         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28396         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28397         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28398         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28399         * sysdeps/sparc/nptl/sem_init.c: ... here.
28400         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28401         * sysdeps/sparc/nptl/sem_post.c: ... here.
28402         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28403         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28404         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28405         * sysdeps/sparc/nptl/sem_wait.c: ... here.
28406         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
28407         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
28408         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
28409         (libpthread-routines): Add cpu_relax.
28410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
28411         File removed.
28412         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
28413         (librt: GLIBC_2.3.3): New version set.
28414         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
28415         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
28416         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
28417         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
28418         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
28419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
28420         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
28421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
28422         Moved ...
28423         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
28424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
28425         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
28427         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
28428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
28429         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
28430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
28431         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
28432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
28433         Moved ...
28434         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
28435         Update #include.
28436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
28437         Moved ...
28438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
28439         Update #include.
28440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
28441         Moved ...
28442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
28443         Update #include.
28444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
28445         Moved ...
28446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
28447         Update #include.
28448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
28449         Moved ...
28450         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
28451         Update #include.
28452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
28453         Moved ...
28454         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
28455         Update #include.
28456         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
28457         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
28458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
28459         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
28460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
28461         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
28462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
28463         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
28464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
28465         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
28466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
28467         Moved ...
28468         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
28469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
28470         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
28471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
28472         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
28474 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28476         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
28477         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
28478         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28479         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
28480         * nscd/nscd.c: Likewise.
28481         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
28482         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
28483         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
28484         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
28486         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
28487         <kernel-features.h>.
28488         (init_mq_netlink): Remove conditional have_sock_cloexec
28489         definitions.  Remove code conditional on have_sock_cloexec < 0.
28490         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
28491         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
28492         * sysdeps/unix/sysv/linux/opensock.c: Do not include
28493         <kernel-features.h>.
28494         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
28495         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
28497 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28500         Add tests for memset_chk and memset.
28502         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
28503         with AVX2_Usable.
28505 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28507         [BZ #16046]
28508         * elf/tst-dl-iter-static.c: New file.
28509         * elf/Makefile (tests-static): Add tst-dl-iter-static.
28511         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
28512         error.
28514 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28516         * sysdeps/unix/sysv/linux/kernel-features.h
28517         (__ASSUME_F_GETOWN_EX): Remove macro.
28518         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
28519         <kernel-features.h>.
28520         (miss_F_GETOWN_EX): Remove variable or macro.
28521         (do_fcntl): Do not check miss_F_GETOWN_EX.
28522         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
28524         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
28525         Remove macro.
28526         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
28527         [!__ASSUME_AT_RANDOM]: Remove conditional code.
28528         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
28530         * sysdeps/unix/sysv/linux/kernel-features.h
28531         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
28532         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
28533         [ADJ_OFFSET_SS_READ]: Make code unconditional.
28534         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
28536 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
28538         [BZ #17075]
28539         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
28540         Fix calculation of the symbol's value.
28541         * sysdeps/arm/tst-armtlsdescloc.c: New file.
28542         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
28543         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
28544         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
28545         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
28546         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
28547         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
28548         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
28549         (modules-names): Add `tst-armtlsdescmod',
28550         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
28551         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
28552         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28553         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
28554         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
28555         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
28556         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
28557         ($(objpfx)tst-armtlsdescloc): New dependency.
28558         ($(objpfx)tst-armtlsdescextnow): Likewise.
28559         ($(objpfx)tst-armtlsdescextlazy): Likewise.
28560         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
28561         TLS scheme support.
28562         * sysdeps/arm/configure: Regenerate.
28564 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
28566         * include/fcntl.h (__atfct_seterrno): Remove prototype.
28567         (__atfct_seterrno_2): Likewise.
28568         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
28569         <kernel-features.h>.
28570         (__ASSUME_ATFCTS): Do not undefine and redefine.
28571         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
28572         (__have_atfcts): Remove conditional definition.
28573         (__fxstatat([__NR_fstatat64]: Make code unconditional.
28574         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
28575         unreachable if [__ASSUME_ATFCTS].
28576         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
28577         not undefine and redefine.
28578         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
28579         <kernel-features.h>.
28580         (faccessat) [__NR_faccessat]: Make code unconditional.
28581         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
28582         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
28583         <kernel-features.h>.
28584         (fchmodat) [__NR_fchmodat]: Make code unconditional.
28585         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28586         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
28587         <kernel-features.h>.
28588         (fchownat) [__NR_fchownat]: Make code unconditional.
28589         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
28590         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
28591         <kernel-features.h>.
28592         (futimesat) [__NR_futimesat]: Make code unconditional.
28593         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
28594         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28595         <kernel-features.h>.
28596         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28597         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28598         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28599         <kernel-features.h>.
28600         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
28601         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28602         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
28603         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28604         <kernel-features.h>.
28605         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
28606         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28607         * sysdeps/unix/sysv/linux/linkat.c: Do not include
28608         <kernel-features.h>.
28609         (linkat) [__NR_linkat]: Make code unconditional.
28610         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28611         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
28612         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
28613         <kernel-features.h>.
28614         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
28615         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
28616         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
28617         <kernel-features.h>.
28618         (mkdirat) [__NR_mkdirat]: Make code unconditional.
28619         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
28620         * sysdeps/unix/sysv/linux/openat.c: Do not include
28621         <kernel-features.h>.
28622         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
28623         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
28624         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
28625         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
28626         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
28627         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
28628         <kernel-features.h>.
28629         (readlinkat) [__NR_readlinkat]: Make code unconditional.
28630         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
28631         result of INLINE_SYSCALL directly, not via int variable.
28632         * sysdeps/unix/sysv/linux/renameat.c: Do not include
28633         <kernel-features.h>.
28634         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
28635         (renameat) [__NR_renameat]: Make code unconditional.
28636         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
28637         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
28638         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
28639         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
28640         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
28641         (__ASSUME_ATFCTS): Do not undefine and redefine.
28642         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
28643         <kernel-features.h>.
28644         (symlinkat) [__NR_symlinkat]: Make code unconditional.
28645         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28646         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
28647         <kernel-features.h>.
28648         (unlinkat) [__NR_unlinkat]: Make code unconditional.
28649         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
28650         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
28651         (__ASSUME_ATFCTS): Do not undefine and redefine.
28652         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28653         <kernel-features.h>.
28654         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
28655         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
28656         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28657         <kernel-features.h>.
28658         (__xmknodat) [__NR_mknodat]: Make code unconditional.
28659         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
28661 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
28663         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
28665 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
28667         [BZ #17069]
28668         * posix/regcomp.c (parse_reg_exp): Deallocate partially
28669         constructed tree before returning error.
28670         * posix/bug-regexp36.c: Expand test case.
28672 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28674         [BZ #6803]
28675         * math/libm-test.inc (scalbln_test_date):
28676         Add errno expectations.
28677         * math/w_scalblnf.c: New File.
28678         Add wrapper which checks for setting errno to ERANGE.
28679         Add weak_alias for corresponding scalbln function.
28680         * math/w_scalbln.c: Likewise.
28681         * math/w_scalblnl.c: Likewise.
28682         * math/Makefile (libm-calls): Add w_scalbln.
28683         * sysdeps/ieee754/flt-32/s_scalblnf.c:
28684         Remove weak_alias for corresponding scalbln function.
28685         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28686         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28687         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28688         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28689         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
28690         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28691         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
28692         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28693         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
28694         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
28695         Remove long_double_symbol for scalblnl function in libm, libc.
28696         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
28697         Add wrapper which checks for setting errno to ERANGE.
28698         Add long_double_symbol for scalblnl function in libm, libc.
28699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
28700         Remove long_double_symbol for scalblnl in libm.
28701         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
28702         Add wrapper which checks for setting errno to ERANGE.
28703         Add long_double_symbol for scalblnl function in libm.
28704         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
28705         Do not use wrapper because of own implementation.
28707 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
28709         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
28710         3 bytes for __pad1 for x32.
28711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
28713 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
28714             H.J. Lu  <hongjiu.lu@intel.com>
28716         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
28717         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
28718         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28719         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28720         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
28722 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
28724         [BZ #17069]
28725         * posix/regcomp.c (parse_expression): Deallocate partially
28726         constructed tree before returning error.
28727         * posix/Makefile.c (tests): Add bug-regex36.
28728         (generated): Add bug-regex36.mtrace.
28729         (tests-special): Add $(objpfx)bug-regex36-mem.out
28730         (bug-regex36-ENV): New variable.
28731         ($(objpfx)bug-regex36-mem.out): New rule.
28732         * posix/bug-regex36.c: New file.
28734 2014-06-19  Will Newton  <will.newton@linaro.org>
28736         * malloc/malloc.c (systrim): If extra is zero then return
28737         early.
28739 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28741         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
28743 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
28745         * sysdeps/aarch64/strchr.S: New file.
28747 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28749         [BZ #17022]
28750         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
28751         from arguments -2 or below.
28752         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
28753         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
28755 2014-06-18  Andreas Schwab  <schwab@suse.de>
28757         [BZ #17062]
28758         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
28759         of a bracket expr not to run off the end of the string.
28760         * posix/Makefile (tests): Add tst-fnmatch3.
28761         * posix/tst-fnmatch3.c: New file.
28763 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
28765         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
28766         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28767         [$(cross-compiling) = no]: Likewise.
28768         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28769         [$(cross-compiling) = no]: Likewise.
28771 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28773         [BZ #17031]
28774         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
28775         double, adjusted for any remainder from the high double.
28776         * math/libm-test.inc (nearbyint): Add tests.
28777         (rint): Likewise.
28779 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28781         * nptl/sysdeps/powerpc/Makefile: Moved ...
28782         * sysdeps/powerpc/nptl/Makefile: ... here.
28783         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
28784         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
28785         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
28786         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
28787         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
28788         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
28789         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
28790         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
28791         * nptl/sysdeps/powerpc/tls.h: Moved ...
28792         * sysdeps/powerpc/nptl/tls.h: ... here.
28794 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
28796         [BZ #16681]
28797         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
28798         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
28799         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
28800         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
28801         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
28802         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
28803         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
28804         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
28805         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
28807 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
28809         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28811 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
28813         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
28814         defined operator.
28816         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
28817         $TIMEOUTFACTOR.
28819 2014-06-16  Florian Weimer  <fweimer@redhat.com>
28821         [BZ #17058]
28822         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
28823         non-executed part of the test.
28825 2014-06-16  Andreas Schwab  <schwab@suse.de>
28827         * string/bits/string2.h (strdup, strndup): Update feature guard.
28829 2014-06-14  David S. Miller  <davem@davemloft.net>
28831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28833 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
28835         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
28836         that was previously under [RESET_PID].
28837         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
28839         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
28840         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
28841         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
28842         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28843         (__libc_vfork): New strong alias.
28844         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
28846 2014-06-14 Andi Kleen  <ak@linux.intel.com>
28848         * sysdeps/generic/elide.h: New file.
28850 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28852         * Makefile (installed-headers): Adjust path of pthread.h header.
28854 2014-06-13  Roland McGrath  <roland@hack.frob.com>
28856         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
28857         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
28858         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
28859         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
28861         * nptl/sysdeps/s390/Makefile: Moved ...
28862         * sysdeps/s390/nptl/Makefile: ... here.
28863         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
28864         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
28865         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
28866         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
28867         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
28868         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
28869         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
28870         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
28871         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
28872         * sysdeps/s390/nptl/pthreaddef.h: ... here.
28873         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
28874         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
28875         * nptl/sysdeps/s390/tls.h: Moved ...
28876         * sysdeps/s390/nptl/tls.h: ... here.
28878         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
28879         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
28881 2014-06-13  David S. Miller  <davem@davemloft.net>
28883         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
28884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
28885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
28886         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
28887         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
28888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
28889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
28890         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
28891         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
28892         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
28893         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
28894         Remove RESET_PID cpp guards.
28895         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
28896         Remove RESET_PID cpp guards.
28897         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
28899 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
28901         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
28902         __sp to uintptr_t.
28904 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28906         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
28907         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
28908         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
28909         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
28910         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
28911         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
28912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
28913         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
28914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
28915         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
28916         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
28917         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
28918         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
28919         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
28920         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
28921         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
28922         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
28923         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
28924         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
28925         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
28927         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
28928         (pthread_rwlock_rdlock): Add elision.
28929         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
28930         (pthread_rwlock_wrlock): Add elision.
28931         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
28932         (pthread_rwlock_trywrlock): Add elision.
28933         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
28934         (pthread_rwlock_tryrdlock): Add elision.
28935         * nptl/pthread_rwlock_unlock.c: Include elide.h.
28936         (pthread_rwlock_tryrdlock): Add elision unlock.
28937         * nptl/sysdeps/pthread/pthread.h:
28938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
28939         (PTHREAD_RWLOCK_INITIALIZER,
28940         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
28941         Handle new elision field.
28942         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
28943         * sysdeps/arm/nptl/bits/pthreadtypes.h
28944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28945         * sysdeps/sh/nptl/bits/pthreadtypes.h
28946         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28947         * sysdeps/tile/nptl/bits/pthreadtypes.h
28948         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28949         * sysdeps/a/nptl/bits/pthreadtypes.h
28950         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
28952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28953         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
28954         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28955         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
28956         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28957         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
28958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28959         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
28960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28961         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
28962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28963         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
28964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28965         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
28966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28967         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
28968         (elision_init): Set try_xbegin to zero when no RTM.
28969         * sysdeps/x86/nptl/bits/pthreadtypes.h
28970         (pthread_rwlock_t): Change __pad1 to __rwelision.
28971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
28973 2014-06-13  Andi Kleen  <ak@linux.intel.com>
28975         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
28976         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
28977         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
28978         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
28980 2014-06-13  Meador Inge  <meadori@codesourcery.com>
28982         [BZ #16996]
28983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
28984         that the cached result has been set before returning it.
28986 2014-06-12  Roland McGrath  <roland@hack.frob.com>
28988         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
28989         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
28990         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
28991         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
28992         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
28993         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
28995         * nptl/sysdeps/sparc/Makefile: Moved ...
28996         * sysdeps/sparc/nptl/Makefile: ... here.
28997         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
28998         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
28999         * nptl/sysdeps/sparc/tls.h: Moved ...
29000         * sysdeps/sparc/nptl/tls.h: ... here.
29001         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29002         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29003         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29004         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29005         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29006         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29007         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29008         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29009         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29010         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29011         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29012         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29013         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29014         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29015         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29016         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29017         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29019         Update #include.
29020         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29021         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29022         Update #include.
29023         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29024         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29025         Update #include.
29026         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29028         Update #include.
29030         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29032         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29033         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29035         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29036         (struct list_links): Type removed.
29037         (struct thread_node, struct timer_node): Replace struct list_links
29038         with struct list_head.
29039         (list_unlink_ip): Likewise.
29040         * sysdeps/pthread/timer_routines.c
29041         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29042         (list_append, list_insbefore): Likewise.
29043         (list_init): Function removed.
29044         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29045         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29046         * sysdeps/pthread/Makefile: ... here, new file.
29048         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29049         * sysdeps/nptl/Implies: ... here.
29050         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29051         * nptl/sysdeps/pthread/list.h: Moved ...
29052         * include/list.h: ... here.
29053         * nptl/sysdeps/pthread/createthread.c: Moved ...
29054         * nptl/createthread.c: ... here.
29055         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29056         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29057         * nptl/pt-longjmp.c: ... here.
29058         * nptl/sysdeps/pthread/Makefile: Moved ...
29059         * sysdeps/nptl/Makefile: ... here.
29060         * nptl/sysdeps/pthread/Subdirs: Moved ...
29061         * sysdeps/nptl/Subdirs: ... here.
29062         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29063         * sysdeps/nptl/aio_misc.h: ... here.
29064         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29065         * sysdeps/nptl/bits/libc-lock.h: ... here.
29066         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29067         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29068         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29069         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29070         * nptl/sysdeps/pthread/configure: Moved ...
29071         * sysdeps/nptl/configure: ... here.
29072         * nptl/sysdeps/pthread/configure.ac: Moved ...
29073         * sysdeps/nptl/configure.ac: ... here.
29074         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29075         * sysdeps/nptl/gai_misc.h: ... here.
29076         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29077         * sysdeps/nptl/librt-cancellation.c: ... here.
29078         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29079         * sysdeps/nptl/malloc-machine.h: ... here.
29080         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29081         * sysdeps/nptl/pthread-functions.h: ... here.
29082         * nptl/sysdeps/pthread/pthread.h: Moved ...
29083         * sysdeps/nptl/pthread.h: ... here.
29084         * nptl/sysdeps/pthread/setxid.h: Moved ...
29085         * sysdeps/nptl/setxid.h: ... here.
29086         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29087         * sysdeps/nptl/sigfillset.c: ... here.
29088         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29089         * sysdeps/nptl/tcb-offsets.h: ... here.
29090         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29091         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29092         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29093         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29094         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29095         * sysdeps/pthread/allocalim.h: ... here.
29096         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29097         * sysdeps/pthread/bits/sigthread.h: ... here.
29098         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29099         * sysdeps/pthread/flockfile.c: ... here.
29100         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29101         * sysdeps/pthread/ftrylockfile.c: ... here.
29102         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29103         * sysdeps/pthread/funlockfile.c: ... here.
29104         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29105         * sysdeps/pthread/posix-timer.h: ... here.
29106         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29107         * sysdeps/pthread/timer_create.c: ... here.
29108         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29109         * sysdeps/pthread/timer_delete.c: ... here.
29110         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29111         * sysdeps/pthread/timer_getoverr.c: ... here.
29112         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29113         * sysdeps/pthread/timer_gettime.c: ... here.
29114         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29115         * sysdeps/pthread/timer_routines.c: ... here.
29116         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29117         * sysdeps/pthread/timer_settime.c: ... here.
29118         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29119         * sysdeps/pthread/tst-timer.c: ... here.
29120         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29121         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29123         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29124         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29126         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29127         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29128         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29129         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29130         Update #include target.
29131         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29132         * sysdeps/i386/i686/nptl/Makefile: ... here.
29133         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29134         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29135         Update #include target.
29136         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29137         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29138         * nptl/sysdeps/i386/Makefile: Moved ...
29139         * sysdeps/i386/nptl/Makefile: ... here.
29140         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29141         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29142         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29143         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29144         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29145         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29146         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29147         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29148         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29149         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29150         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29151         * nptl/sysdeps/i386/tls.h: Moved ...
29152         * sysdeps/i386/nptl/tls.h: ... here.
29154         * sysdeps/sh/Makefile [$(subdir) = csu]
29155         (gen-as-const-headers): Add tcb-offsets.sym.
29156         * nptl/sysdeps/sh/Makefile: File removed.
29157         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29158         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29159         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29160         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29161         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29162         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29163         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29164         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29165         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29166         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29167         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29168         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29169         * nptl/sysdeps/sh/tls.h: Moved ...
29170         * sysdeps/sh/nptl/tls.h: ... here.
29171         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29172         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29173         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29174         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29175         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29176         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29177         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29178         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29179         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29180         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29181         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29182         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29183         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29184         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29185         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29186         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29187         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29188         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29190         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29191         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29192         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29193         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29194         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29196         Moved ...
29197         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29199         Moved ...
29200         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29202         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29205         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29206         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29207         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29208         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29209         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29210         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29211         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29212         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29213         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29214         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29215         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29216         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29217         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29218         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29220 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29222         * posix/spawn_faction_addopen.c: Include string.h.
29224 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29226         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29227         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29228         * nptl/sysdeps/x86_64/Makefile: Moved ...
29229         * sysdeps/x86_64/nptl/Makefile: ... here.
29230         * nptl/sysdeps/x86_64/configure: Moved ...
29231         * sysdeps/x86_64/nptl/configure: ... here.
29232         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29233         * sysdeps/x86_64/nptl/configure.ac: ... here.
29234         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29235         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29236         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29237         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29238         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29239         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29240         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29241         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29242         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29243         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29244         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29245         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29246         * nptl/sysdeps/x86_64/tls.h: Moved ...
29247         * sysdeps/x86_64/nptl/tls.h: ... here.
29248         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29249         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29250         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29251         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29253         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29255 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29259 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29261         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29262         type.
29263         [POSIX] (off_t): Likewise.
29264         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29265         [POSIX] (S_ISBLK): Require macro.
29266         [POSIX] (S_ISCHR): Likewise.
29267         [POSIX] (S_ISDIR): Likewise.
29268         [POSIX] (S_ISFIFO): Likewise.
29269         [POSIX] (S_ISREG): Likewise.
29270         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29271         optional-macro.
29272         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29273         type.
29274         [POSIX] (time_t): Likewise.
29275         [POSIX] (timer_t): Likewise.
29277 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29279         [BZ #17048]
29280         * posix/spawn_int.h (struct __spawn_action): Make the path string
29281         non-const to support deallocation.
29282         * posix/spawn_faction_addopen.c
29283         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29284         * posix/spawn_faction_destroy.c
29285         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29286         path in all spawn_do_open actions.
29287         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29288         posix_spawn_file_actions_addopen.
29290 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29292         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29293         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29294         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29295         conditional code always true.
29296         (__libc_vfork): New alias.
29298 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29300         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29301         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29303         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29305         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29306         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29308         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29309         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29311         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29312         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29314 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29316         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29317         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29318         multiarch strcmp for PPC64.
29319         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29320         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29322         multiarch optimizations.
29323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29324         (__libc_ifunc_impl_list): Likewise.
29326 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29328         * benchtests/scripts/validate_benchout.py: New script.
29329         * benchtests/Makefile (bench-func): Call it.
29330         * benchtests/scripts/benchout.schema.json: New file.
29332 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29334         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29335         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29336         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29337         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29338         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29339         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29340         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29341         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29342         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29343         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29344         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29345         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29346         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29347         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29348         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29349         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29351         Moved ...
29352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29353         ... here.
29354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29355         Moved ...
29356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29358         Moved ...
29359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29360         ... here.
29361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29362         Moved ...
29363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29364         ... here.
29365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29366         Moved ...
29367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29369         Moved ...
29370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29371         ... here.
29372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29373         Moved ...
29374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29375         ... here.
29376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29377         Moved ...
29378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29380         Moved ...
29381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29382         ... here.
29383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29384         Moved ...
29385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29386         ... here.
29387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29388         Moved ...
29389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29390         ... here.
29391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29392         Moved ...
29393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29395         Moved ...
29396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29397         ... here.
29398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29399         Moved ...
29400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29401         ... here.
29402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29403         Moved ...
29404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29405         ... here.
29406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
29407         Moved ...
29408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
29409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
29410         Moved ...
29411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
29412         ... here.
29413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
29414         Moved ...
29415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
29416         ... here.
29417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
29418         Moved ...
29419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
29420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
29421         Moved ...
29422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
29423         ... here.
29424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
29425         Moved ...
29426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
29427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
29428         Moved ...
29429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
29430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
29431         Moved ...
29432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
29433         ... here.
29434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
29435         Moved ...
29436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
29437         ... here.
29438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
29439         Moved ...
29440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
29441         ... here.
29442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
29443         Moved ...
29444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
29445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
29446         Moved ...
29447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
29448         ... here.
29449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
29450         Moved ...
29451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
29452         ... here.
29453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
29454         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
29455         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
29456         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
29457         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
29458         Moved ...
29459         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
29460         ... here.
29461         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
29462         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
29463         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
29464         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
29465         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
29466         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
29467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
29468         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
29469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
29470         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
29471         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
29472         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
29473         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
29474         Moved ...
29475         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
29476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
29477         Moved ...
29478         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
29479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
29480         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
29481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
29482         Moved ...
29483         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
29484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
29485         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
29486         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
29487         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
29488         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
29489         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
29491 2014-06-10  Wilco  <wdijkstr@arm.com>
29493         * math/test-fenv-return.c: New file.
29494         * math/Makefile: Add new test test-fenv-return.
29496 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
29498         [BZ #17042]
29499         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
29500         when x - 1 is zero.
29501         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
29502         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
29503         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
29504         0.0L for an argument of 1.0L.
29505         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
29506         Likewise.
29507         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
29508         value when x - 1 is zero.
29509         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
29510         * sysdeps/i386/fpu/libm-test-ulps: Update.
29511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29513 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
29515         [BZ #15119]
29516         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
29518 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29520         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
29521         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
29523 2014-06-09  Roland McGrath  <roland@hack.frob.com>
29525         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29526         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
29528         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29529         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
29531         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29532         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
29534         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29535         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
29537         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
29538         if not already defined.
29539         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
29540         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
29541         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
29542         (TLS_INIT_TP): Use it.
29543         (TLS_DEFINE_INIT_TP): New macro.
29544         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
29546 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
29548         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
29549         constant.
29550         [POSIX] (IXANY): Likewise.
29551         [POSIX] (OLCUC): Likewise.
29552         [POSIX || POSIX2008] (CBAUD): Do not allow.
29553         [POSIX || POSIX2008] (DEFECHO): Likewise.
29554         [POSIX || POSIX2008] (ECHOCTL): Likewise.
29555         [POSIX || POSIX2008] (ECHOKE): Likewise.
29556         [POSIX || POSIX2008] (ECHOPRT): Likewise.
29557         [POSIX || POSIX2008] (EXTA): Likewise.
29558         [POSIX || POSIX2008] (EXTB): Likewise.
29559         [POSIX || POSIX2008] (FLUSHO): Likewise.
29560         [POSIX || POSIX2008] (LOBLK): Likewise.
29561         [POSIX || POSIX2008] (PENDIN): Likewise.
29562         [POSIX || POSIX2008] (SWTCH): Likewise.
29563         [POSIX || POSIX2008] (VDISCARD): Likewise.
29564         [POSIX || POSIX2008] (VDSUSP): Likewise.
29565         [POSIX || POSIX2008] (VLNEXT): Likewise.
29566         [POSIX || POSIX2008] (VREPRINT): Likewise.
29567         [POSIX || POSIX2008] (VSTATUS): Likewise.
29568         [POSIX || POSIX2008] (VWERASE): Likewise.
29569         (B*): Change to B[0123456789]*.
29570         * conform/data/time.h-data [POSIX || UNIX98]
29571         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
29572         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29573         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
29574         [POSIX] (tm_*): Do not allow.
29576 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
29578         * Makefile (install): Don't set LANGUAGE.
29579         * Makefile.in (install): Likewise.
29580         * assert/Makefile (test-assert-ENV): Remove variable.
29581         (test-assert-perr-ENV): Likewise.
29582         * elf/Makefile (neededtest4-ENV): Likewise.
29583         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29584         [$(cross-compiling) = no]: Don't set LANGUAGE.
29585         * io/ftwtest-sh (LANG): Remove variable.
29586         * libio/Makefile (tst-widetext-ENV): Likewise.
29587         * manual/install.texi (Running make install): Don't refer to
29588         environment settings for make install.
29589         * INSTALL: Regenerated.
29590         * nptl/tst-tls6.sh: Don't set LANG.
29591         * posix/globtest.sh (LANG): Remove variable.
29592         * string/Makefile (tester-ENV): Likewise.
29593         (inl-tester-ENV): Likewise.
29594         (noinl-tester-ENV): Likewise.
29595         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29596         [$(cross-compiling) = no]: Don't set LANGUAGE.
29597         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
29598         without explicit environment settings.
29600 2014-06-06  Roland McGrath  <roland@hack.frob.com>
29602         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
29603         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
29604         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
29605         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
29607 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
29609         * crypt/crypt-private.h [DOS]: Add some includes taken from the
29610         other files in the crypt directory.
29611         * crypt/crypt.c: Remove duplicate includes.
29612         * crypt/crypt-entry.c: Likewise.
29613         * crypt/crypt_util.c: Likewise.
29615 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
29617         * Makeconfig (run-program-env): New variable.
29618         (run-program-prefix-before-env): Likewise.
29619         (run-program-prefix-after-env): Likewise.
29620         (run-program-prefix): Define in terms of new variables.
29621         (built-program-cmd-before-env): New variable.
29622         (built-program-cmd-after-env): Likewise.
29623         (built-program-cmd): Define in terms of new variables.
29624         (test-program-prefix-before-env): New variable.
29625         (test-program-prefix-after-env): Likewise.
29626         (test-program-prefix): Define in terms of new variables.
29627         (test-program-cmd-before-env): New variable.
29628         (test-program-cmd-after-env): Likewise.
29629         (test-program-cmd): Define in terms of new variables.
29630         * Rules (make-test-out): Use $(run-program-env).
29631         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
29632         (help): Do not mention environment variables.  Mention
29633         --timeoutfactor option.
29634         (timeoutfactor): New variable.
29635         (blacklist_exports): Remove function.
29636         (exports): Remove variable.
29637         (command): Do not include ${exports}.
29638         * manual/install.texi (Configuring and compiling): Do not mention
29639         test wrappers preserving environment variables.  Mention that last
29640         assignment to a variable must take precedence.
29641         * INSTALL: Regenerated.
29642         * benchtests/Makefile (run-bench): Use $(run-program-env).
29643         * catgets/Makefile ($(objpfx)test1.cat): Use
29644         $(built-program-cmd-before-env), $(run-program-env) and
29645         $(built-program-cmd-after-env).
29646         ($(objpfx)test2.cat): Do not specify environment variables
29647         explicitly.
29648         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
29649         $(run-program-env) and $(built-program-cmd-after-env).
29650         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
29651         $(run-program-env) and $(test-program-cmd-after-env).
29652         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
29653         explicitly.
29654         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
29655         run_program_env and test_program_cmd_after_env arguments.
29656         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
29657         * elf/tst-pathopt.sh: Use run_program_env argument.
29658         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
29659         $(test-wrapper-env) and $(run-program-env).
29660         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
29661         run_program_env arguments.
29662         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
29663         * intl/Makefile ($(objpfx)tst-gettext.out): Use
29664         $(test-program-prefix-before-env), $(run-program-env) and
29665         $(test-program-prefix-after-env).
29666         ($(objpfx)tst-gettext2.out): Likewise.
29667         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
29668         run_program_env and test_program_prefix_after_env arguments.
29669         * intl/tst-gettext2.sh: Likewise.
29670         * intl/tst-gettext4.sh: Do not set environment variables
29671         explicitly.
29672         * intl/tst-gettext6.sh: Likewise.
29673         * intl/tst-translit.sh: Likewise.
29674         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
29675         $(test-program-prefix-before-env), $(run-program-env) and
29676         $(test-program-prefix-after-env).
29677         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
29678         run_program_env and test_program_prefix_after_env arguments.
29679         * math/Makefile (run-regen-ulps): Use $(run-program-env).
29680         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
29681         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
29682         explicitly with each use of ${test_wrapper_env}.
29683         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
29684         $(test-program-prefix-before-env), $(run-program-env) and
29685         $(test-program-prefix-after-env).
29686         * posix/tst-getconf.sh: Do not set environment variables
29687         explicitly.
29688         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
29689         run_program_env and test_program_prefix_after_env arguments.
29690         * stdio-common/tst-printf.sh: Do not set environment variables
29691         explicitly.
29692         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
29693         $(test-program-prefix-before-env), $(run-program-env) and
29694         $(test-program-prefix-after-env).
29695         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
29696         run_program_env and test_program_prefix_after_env arguments.
29697         Split $test calls into $test_pre and $test.
29698         * timezone/Makefile (build-testdata): Use
29699         $(built-program-cmd-before-env), $(run-program-env) and
29700         $(built-program-cmd-after-env).
29702 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29704         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
29705         strlen for non SHARED builds.
29707 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29709         * nptl/allocatestack.c (check_list): Inlined function...
29710         (__reclaim_stacks): ... here.
29712 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29714         [BZ #15698]
29715         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29716         memory overrun.
29718 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
29720         * Rules (make-test-out): Include
29721         LOCPATH=$(common-objpfx)localedata in default environment.
29722         * debug/Makefile (tst-chk1-ENV): Remove variable.
29723         (tst-chk2-ENV): Likewise.
29724         (tst-chk3-ENV): Likewise.
29725         (tst-chk4-ENV): Likewise.
29726         (tst-chk5-ENV): Likewise.
29727         (tst-chk6-ENV): Likewise.
29728         (tst-lfschk1-ENV): Likewise.
29729         (tst-lfschk2-ENV): Likewise.
29730         (tst-lfschk3-ENV): Likewise.
29731         (tst-lfschk4-ENV): Likewise.
29732         (tst-lfschk5-ENV): Likewise.
29733         (tst-lfschk6-ENV): Likewise.
29734         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
29735         (tst-iconv7-ENV): Likewise.
29736         * intl/Makefile (LOCPATH-ENV): Likewise.
29737         (tst-codeset-ENV): Likewise.
29738         (tst-gettext3-ENV): Likewise.
29739         (tst-gettext5-ENV): Likewise.
29740         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
29741         (tst-fopenloc-ENV): Likewise.
29742         (tst-fgetws-ENV): Remove variable.
29743         (tst-ungetwc1-ENV): Likewise.
29744         (tst-ungetwc2-ENV): Likewise.
29745         (bug-ungetwc2-ENV): Likewise.
29746         (tst-swscanf-ENV): Likewise.
29747         (bug-ftell-ENV): Likewise.
29748         (tst-fgetwc-ENV): Likewise.
29749         (tst-fseek-ENV): Likewise.
29750         (tst-ftell-partial-wide-ENV): Likewise.
29751         (tst-ftell-active-handler-ENV): Likewise.
29752         (tst-ftell-append-ENV): Likewise.
29753         * posix/Makefile (tst-fnmatch-ENV): Likewise.
29754         (tst-regexloc-ENV): Likewise.
29755         (bug-regex1-ENV): Likewise.
29756         (tst-regex-ENV): Likewise.
29757         (tst-regex2-ENV): Likewise.
29758         (bug-regex5-ENV): Likewise.
29759         (bug-regex6-ENV): Likewise.
29760         (bug-regex17-ENV): Likewise.
29761         (bug-regex18-ENV): Likewise.
29762         (bug-regex19-ENV): Likewise.
29763         (bug-regex20-ENV): Likewise.
29764         (bug-regex22-ENV): Likewise.
29765         (bug-regex23-ENV): Likewise.
29766         (bug-regex25-ENV): Likewise.
29767         (bug-regex26-ENV): Likewise.
29768         (bug-regex30-ENV): Likewise.
29769         (bug-regex32-ENV): Likewise.
29770         (bug-regex33-ENV): Likewise.
29771         (bug-regex34-ENV): Likewise.
29772         (bug-regex35-ENV): Likewise.
29773         (tst-rxspencer-ENV): Likewise.
29774         (tst-rxspencer-no-utf8-ENV): Likewise.
29775         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
29776         (tst-sscanf-ENV): Likewise.
29777         (tst-swprintf-ENV): Likewise.
29778         (tst-swscanf-ENV): Likewise.
29779         (test-vfprintf-ENV): Likewise.
29780         (scanf13-ENV): Likewise.
29781         (bug14-ENV): Likewise.
29782         (tst-grouping-ENV): Likewise.
29783         * stdlib/Makefile (tst-strtod-ENV): Likewise.
29784         (tst-strtod3-ENV): Likewise.
29785         (tst-strtod4-ENV): Likewise.
29786         (tst-strtod5-ENV): Likewise.
29787         (testmb2-ENV): Likewise./
29788         * string/Makefile (tst-strxfrm-ENV): Likewise.
29789         (tst-strxfrm2-ENV): Likewise.
29790         (bug-strcoll1-ENV): Likewise.
29791         (test-strcasecmp-ENV): Likewise.
29792         (test-strncasecmp-ENV): Likewise.
29793         * time/Makefile (tst-strptime-ENV): Likewise.
29794         (tst-ftime_l-ENV): Likewise.
29795         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
29796         (tst-mbrtowc-ENV): Likewise.
29797         (tst-wcrtomb-ENV): Likewise.
29798         (tst-mbrtowc2-ENV): Likewise.
29799         (tst-c16c32-1-ENV): Likewise.
29800         (tst-mbsnrtowcs-ENV): Likewise.
29802 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
29804         * manual/resource.texi (How to get information about the memory
29805         subsystem?): Fix typo.
29806         Reported by Peon de la Parra Ivan <peon@keba.com>
29808 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
29810         [BZ #16882]
29811         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
29812         (pthread_spin_lock): Branch out of spin loop to proper location.
29813         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
29814         (pthread_spin_lock): Likewise.
29816         * nptl/tst-spin4.c: New test.
29817         * nptl/Makefile (tests): Add tst-spin4.
29819 2014-06-03  Andreas Schwab  <schwab@suse.de>
29821         [BZ #15946]
29822         * resolv/res_send.c (send_dg): Reload file descriptor after
29823         calling reopen.
29825 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
29827         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
29829 2014-06-03  Richard Henderson  <rth@redhat.com>
29831         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
29832         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
29833         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
29834         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
29835         in the SAVE_PID block.
29836         (__libc_vfork): New alias.
29837         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
29839         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
29840         child in registers, not on the stack.  Remove RESET_PID conditionals.
29841         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
29843 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
29845         * sysdeps/aarch64/libm-test-ulps: Regenerate.
29847 2014-06-03  Wilco  <wdijkstr@arm.com>
29849         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
29850         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
29851         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29852         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
29853         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
29854         Likewise.
29856 2014-06-03  Wilco  <wdijkstr@arm.com>
29858         * sysdeps/aarch64/fpu/math_private.h
29859         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
29860         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
29861         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
29862         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
29863         Fix declarations.
29865 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29867         * crypt/crypt-private.h: Include ufc-crypt.h.
29868         (__b64_from_24bit): Declare extern.
29869         * crypt/crypt_util.c(__b64_from_24bit): New function.
29870         (b64t): New static const variable.
29871         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
29872         (b64t): Remove variable.
29873         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
29874         * crypt/sha256-crypt.c: Include crypt-private.h.
29875         (b64t): Remove variable.
29876         (__sha256_crypt_r): Remove b64_from_24bit and replace
29877         with __b64_from_24bit.
29878         * crypt/sha512-crypt.c: Likewise.
29880 2014-06-02  Roland McGrath  <roland@hack.frob.com>
29882         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
29883         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
29884         Label the code __libc_vfork rather than __vfork.
29885         [!NOT_IN_libc] (vfork): Define as weak alias.
29886         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
29887         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
29888         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
29890 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29892         * malloc/malloc.c (malloc_info): Fix format specifier for
29893         n_mmaps.
29895 2014-06-02  Wilco  <wdijkstr@arm.com>
29897         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
29898         FPCR write.
29900 2014-06-02  Wilco  <wdijkstr@arm.com>
29902         [BZ #17009]
29903         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
29904         Rewrite to reduce FPCR/FPSR accesses.
29906 2014-06-01  David S. Miller  <davem@davemloft.net>
29908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29910 2014-05-31  David S. Miller  <davem@davemloft.net>
29912         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
29913         to occur in round to nearest mode when |x| >= 2.0
29915 2014-05-30  Richard Henderson  <rth@twiddle.net>
29917         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
29918         (PSEUDO_RET_NOERRNO): Remove.
29919         (ret): Don't redefine.
29920         (ret_NOERRNO): Define in terms of ret.
29921         (ret_ERRVAL): Likewise.
29923         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
29924         use of PSEUDO_RET; perform the error check directly.
29926 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
29928         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
29929         with __int128_t.
29931 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29933         * malloc/malloc (malloc_info): Fix formatting.
29935 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29936             Roland McGrath  <roland@hack.frob.com>
29938         * malloc/malloc (malloc_info): Also print mmapped statistics.
29940 2014-05-30  Roland McGrath  <roland@hack.frob.com>
29942         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
29943         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
29945 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
29947         * malloc/malloc.c (malloc_info): Inline mi_arena.
29949 2014-05-29  Richard Henderson  <rth@twiddle.net>
29951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
29952         Remove comma before expanding ASM_ARGS_##nr.
29953         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
29954         Make _x0 a strict output; make _x8 a strict input; adjust expansion
29955         of ASM_ARGS_##nr.
29956         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
29957         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
29958         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
29959         (ASM_ARGS_1): Add leading comma.
29961         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
29962         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
29963         to __errno_location.
29964         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
29965         Remove the expected plt for __errno_location.
29967         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29968         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
29969         call to __read_tp.
29971         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29972         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
29973         it and break it down.
29974         (DOCARGS_0, DOCARGS_1): Do nothing.
29975         (DOCARGS_2): Update to store into the new stack frame.
29976         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
29977         (UNDOCARGS_1): Update to restore from the new stack frame.
29978         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
29979         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
29981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
29982         (SINGLE_THREAD_P): New parameter for result regno.
29983         (PSEUDO): Update to match; use cbz instead of beq.
29985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
29986         Use ENTRY to define the _nocancel entry point.  Share the syscall
29987         and syscall error check paths with the cancel path.
29988         (PSEUDO_END): New.
29990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
29991         whitespace; tabs before and after asm mnemonics.
29993 2014-05-29  Eric Wong  <normalperson@yhbt.net>
29995         [BZ #15132]
29996         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29997         Call fstat64 or stat64 internally, depending on arguments passed.
29998         Replace stat buffer argument with file descriptor argument.
29999         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30000         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30001         Pass fd to __internal_statvfs instead of calling fstat64.
30002         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30003         Pass fd to __internal_statvfs64 instead of calling fstat64.
30004         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30005         Pass -1 to __internal_statvfs instead of calling stat64.
30006         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30007         Pass -1 to __internal_statvfs64 instead of calling stat64.
30009 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30011         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30012         that was previously under [RESET_PID].
30013         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30015         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30016         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30018 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30020         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30022         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30023         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30025 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30027         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30029 2014-05-27  Andreas Schwab  <schwab@suse.de>
30031         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30032         TLS_INIT_TP macro.
30033         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30034         * elf/rtld.c (init_tls, dl_main): Likewise.
30035         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30036         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30037         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30038         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30039         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30040         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30041         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30042         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30043         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30044         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30045         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30046         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30047         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30048         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30049         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30050         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30051         * sysdeps/generic/tls.h: Update description.
30053 2014-05-27  Will Newton  <will.newton@linaro.org>
30055         [BZ #16990]
30056         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30057         and restore r2 rather than just restoring.
30059 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30061         [BZ #16724]
30062         * libio/tst-ftell-append.c: New test case.
30063         * libio/Makefile (tests): Add test case.
30064         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30065         append mode.
30066         * libio/wfileops.c (do_ftell_wide): Likewise.
30068 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30070         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30072         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30073         ...
30074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30076         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30077         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30078         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30079         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30080         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30081         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30083         Moved ...
30084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30086         Moved ...
30087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30088         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30089         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30090         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30091         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30092         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30093         ...
30094         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30095         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30096         Moved ...
30097         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30098         here.
30099         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30100         ...
30101         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30102         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30103         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30105         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30106         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30107         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30108         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30111         merge into ...
30112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30113         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30114         ...
30115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30117         ...
30118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30120         Moved ...
30121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30122         here.
30123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30124         Moved ...
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30127         Moved ...
30128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30131         conditional [RESET_PID].
30132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30134         removed.
30135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30136         removed.
30138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30139         <tcb-offsets.h>.
30140         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30141         (__libc_vfork): New strong alias.
30142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30143         removed.
30144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30145         Removed.
30147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30148         <tcb-offsets.h>.
30149         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30150         (__libc_vfork): New strong alias.
30151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30152         removed.
30153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30154         removed.
30156 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30158         * malloc/malloc.c (mi_arena): New function.
30159         (malloc_info): Remove nested function mi_arena. Call non-nosted
30160         function mi_arena.
30162 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30164         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30165         by insrwi.
30166         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30167         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30168         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30169         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30170         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30171         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30172         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30174 2014-05-26  Andreas Schwab  <schwab@suse.de>
30176         [BZ #16984]
30177         * locale/programs/repertoire.c (repertoire_read): Add slash
30178         between I18NPATH element and file name.
30179         * locale/programs/locfile.c (locfile_read): Likewise.
30181 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30183         * nptl/pthread_mutexattr_settype.c
30184         (__pthread_mutexattr_settype):
30185         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30187 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30189         * nptl/tst-mutex5 (do_test):
30190         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30192 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30194         * benchtests/README: Document 'init' directive.
30195         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30196         BENCH_INIT.
30197         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30198         (parse_file): Recognize 'init' directive.
30200 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30202         [BZ #16796]
30203         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30204         alignment of struct pthread.
30206 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30208         [BZ #16878]
30209         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30210         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30211         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30212         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30214 2014-05-25  Richard Henderson  <rth@twiddle.net>
30216         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30217         (SINGLE_THREAD_P_PIC): Remove.
30218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30219         (SINGLE_THREAD_P_PIC): Remove.
30221         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30222         branch to syscall error ...
30223         (PSEUDO): ... here.
30224         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30225         from __local_syscall_error to .Lsyscall_error.
30226         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30227         (SYSCALL_ERROR): Update label name.
30229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30230         Do not use DOARGS/UNDOARGS.
30231         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30232         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30233         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30234         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30235         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30237         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30238         block comment.
30240         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30241         define if !NOT_IN_libc.
30242         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30243         define with non-default symbol versions.
30245 2014-05-23  Richard Henderson  <rth@twiddle.net>
30247         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30248         (vfork, __vfork): Define via compat_symbol.
30250         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30251         [!HAVE_IFUNC] (vfork_compat): Remove.
30252         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30254 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30256         [BZ #16978]
30257         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30258         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30259         variable.
30261 2014-05-23  Richard Henderson  <rth@twiddle.net>
30263         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30264         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30265         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30266         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30268         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30269         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30270         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30271         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30272         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30273         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30274         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30275         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30276         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30277         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30278         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30279         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30280         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30281         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30282         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30283         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30284         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30285         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30286         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30287         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30288         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30289         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30290         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30291         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30292         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30293         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30294         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30295         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30296         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30297         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30298         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30299         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30300         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30301         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30302         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30303         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30304         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30305         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30306         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30307         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30308         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30309         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30310         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30311         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30312         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30313         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30314         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30315         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30316         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30317         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30318         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30319         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30320         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30321         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30322         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30323         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30325         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30326         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30327         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30328         before exiting on error.
30329         (__libc_vfork): New strong alias.
30330         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30331         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30333         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30334         that was previously under [RESET_PID].
30335         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30337         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30339 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30341         [BZ #16977]
30342         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30343         value when x - 1 is zero.
30344         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30345         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30346         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30347         0.0L for an argument of 1.0L.
30348         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30349         Likewise.
30350         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30351         value when x - 1 is zero.
30352         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30353         * sysdeps/i386/fpu/libm-test-ulps: Update.
30354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30356 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30358         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30359         alphasort and versionsort.
30361 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30363         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30364         macro.
30365         [copysignf]: Likewise.
30367 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30369         * crypt/md5-crypt.c: Fix formatting.
30371 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30373         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30374         (b64_from_24bit): New function.
30376 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30378         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30379         libc_hidden_builtin_def to ifunc.
30380         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30381         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30383 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30385         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30386         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30388 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30390         * nscd/Depend (linuxthreads): Remove.
30391         (nptl): Add.
30392         * resolv/Depend (linuxthreads): Remove.
30393         * rt/Depend (linuxthreads): Remove.
30395         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30396         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30397         $(common-objpfx)elf/.
30398         (link-libc-before-gnulib): Likewise.
30399         (elfobjdir): Remove variable.
30400         * Makefile (install): Use $(elf-objpfx) instead of
30401         $(common-objpfx)elf/.
30402         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30403         $(elfobjdir)/.
30404         (link-libc-deps): Likewise.
30405         ($(common-objpfx)libc.so): Likewise.
30406         ($(common-objpfx)linkobj/libc.so): Likewise.
30407         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
30408         instead of $(common-objpfx)elf/.
30409         (symbolic-link-list): Likewise.
30410         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30411         [$(cross-compiling) = no]: Likewise.
30412         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
30413         $(elfobjdir)/.
30414         (static-gnulib-arch): Likewise.
30415         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30416         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
30417         $(common-objpfx)elf/.
30419 2014-05-21  Richard Henderson  <rth@redhat.com>
30421         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30422         (SINGLE_THREAD_P): Use the correct width load.  Fold
30423         into the ldr offset.
30425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
30426         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
30428 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
30430         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
30431         (libgcc_s_resume): Use __attribute_used__.
30432         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
30433         Likewise.
30435 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30437         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
30438         optimization when used with float constants.
30440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30442 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
30444         [BZ #16915]
30445         * locale/nl_langinfo_l.c: Make direct reference to every
30446         _nl_current_CATEGORY symbol.
30447         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
30448         (tests-static): Add tst-langinfo-static.
30449         (tests-special): Add tst-langinfo-static.out.
30450         ($(objpfx)tst-langinfo.out): Redirect output.
30451         ($(objpfx)tst-langinfo-static.out): New.
30452         * localedata/tst-langinfo.sh: Send output to stdout.
30453         * localedata/tst-langinfo-static.c: New file.
30455         [BZ #16965]
30456         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
30457         when the shift amount is modulo the limb size.
30459 2014-05-20  Richard Henderson  <rth@redhat.com>
30461         [BZ #16967]
30462         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
30463         Change type of sa_flags from unsigned int to int.
30465         [BZ #16966]
30466         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
30468         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
30470 2014-05-20  Will Newton  <will.newton@linaro.org>
30472         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30473         Test the return value of the system call in the nocancel case.
30475 2014-05-20  Will Newton  <will.newton@linaro.org>
30476             Yvan Roux  <yvan.roux@linaro.org>
30478         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
30479         #include of asm/ptrace.h.
30480         (PTRACE_GET_THREAD_AREA): Remove #undef.
30481         (PTRACE_GETHBPREGS): Likewise.
30482         (PTRACE_SETHBPREGS): Likewise.
30483         (struct user_regs_struct): New structure.
30484         (struct user_fpsimd_struct): New structure.
30485         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
30486         #include of asm/ptrace.h and second #include of sys/user.h.
30487         (PTRACE_GET_THREAD_AREA): Remove #undef.
30488         (PTRACE_GETHBPREGS): Likewise.
30489         (PTRACE_SETHBPREGS): Likewise.
30490         (ELF_NGREG): Use new struct user_regs_struct.
30491         (elf_fpregset_t): Use new struct user_fpsimd_struct.
30493 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30495         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
30496         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
30498 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
30500         [BZ #16958]
30501         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
30502         membar to avoid block loads/stores to overlap previous stores.
30504 2014-05-17  Richard Henderson  <rth@redhat.com>
30506         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
30507         Create the __##syscall_name##_nocancel entry point.
30508         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
30509         Remove; let the sysdep-cancel.h code create it.
30511 2014-05-17  David S. Miller  <davem@davemloft.net>
30513         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
30514         Protect with __USE_GNU.
30515         (TIOCSET_TEMPT): Likewise.
30516         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
30517         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
30518         these are already provided in bits/ioctl-types.h
30520 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30522         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
30523         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
30525         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
30526         Use wait4 regardless of [__NR_waitpid].
30528 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
30530         PR libgcc/60166
30531         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
30532         (_FP_NANSIGN_Q): Set the quiet bit.
30534 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
30536         * benchtests/Makefile
30537         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
30538         not $(common-objpfx)math/libm.so.
30539         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30540         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
30541         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
30542         $(common-objpfx)dlfcn/libdl.so.
30543         ($(objpfx)tst-audit8): Depend on $(libm), not
30544         $(common-objpfx)math/libm.so.
30545         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
30546         not $(common-objpfx)dlfcn/libdl.so.
30547         * math/Makefile
30548         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
30549         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
30550         [$(build-shared) = yes].
30551         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
30552         $(common-objpfx)nptl/libpthread.so.
30553         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
30554         $(common-objpfx)math/libm.so$(libm.so-version) or
30555         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
30556         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
30557         $(common-objpfx)dlfcn/libdl.so.
30558         * setjmp/Makefile (link-libm): Remove variable.
30559         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
30560         * stdio-common/Makefile (link-libm): Remove variable.
30561         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
30562         * stdlib/Makefile (link-libm): Remove variable.
30563         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
30564         ($(objpfx)tst-strtod-round): Likewise.
30565         ($(objpfx)tst-tininess): Likewise.
30566         ($(objpfx)tst-strtod-underflow): Likewise.
30567         ($(objpfx)tst-strtod6): Likewise.
30568         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
30569         $(libdl), not $(common-objpfx)nptl/libpthread.so and
30570         $(common-objpfx)dlfcn/libdl.so.
30572 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30574         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
30575         BSD terminal modes definitions.
30577 2014-05-16  Roland McGrath  <roland@hack.frob.com>
30579         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
30580         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
30582         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
30583         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
30584         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
30585         Don't do #include_next.
30586         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
30587         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
30588         Don't do #include_next.
30589         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
30590         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
30591         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
30592         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
30594 2014-05-16  Allan McRae  <allan@archlinux.org>
30596         * po/sv.po: Update Swedish translation from translation project.
30598         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
30599         in sed expression.
30601 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
30603         [BZ #16917]
30604         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
30605         errno if the TIOCGPTN ioctl fails with an error different than
30606         EINVAL.
30607         * login/tst-ptsname.c: New file.
30608         * login/Makefile (tests): Add tst-ptsname.
30610         [BZ #16943]
30611         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
30612         and prlimit64.
30614 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30616         [BZ #16849]
30617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
30618         herrno to return EAI_AGAIN.
30620 2014-05-14  Roland McGrath  <roland@hack.frob.com>
30622         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
30623         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
30624         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
30625         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
30626         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
30627         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
30628         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
30629         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
30630         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
30631         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
30632         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
30633         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
30634         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
30635         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
30636         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
30637         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
30638         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
30639         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
30640         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
30641         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
30642         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
30643         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
30644         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
30645         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
30646         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
30647         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
30648         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
30649         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
30650         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
30651         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
30652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
30653         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
30654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
30655         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
30656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30657         Moved ...
30658         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
30659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
30660         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
30661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
30662         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
30663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
30664         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
30665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
30666         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
30667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
30668         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
30669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
30670         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
30671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
30672         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
30673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
30674         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
30675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
30676         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
30677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
30678         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
30679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
30680         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
30681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
30682         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
30683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
30684         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
30685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30686         Moved ...
30687         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
30688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
30689         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
30690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
30691         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
30692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
30693         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
30694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
30695         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
30696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
30697         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
30698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
30699         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
30700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
30701         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
30702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
30703         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
30704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
30705         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
30706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30707         Moved ...
30708         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
30709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
30710         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
30712         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
30713         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
30714         (libpthread-sysdep_routines): Add elision-related stuff here instead.
30715         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
30716         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
30717         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
30718         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
30719         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
30720         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
30721         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
30722         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
30723         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
30724         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
30725         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
30726         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
30727         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
30728         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
30729         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
30730         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
30731         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
30732         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
30733         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
30734         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
30735         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
30736         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
30737         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
30738         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
30739         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
30740         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
30741         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
30742         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
30744         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
30745         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
30747         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
30748         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
30749         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
30750         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
30751         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
30752         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
30753         Moved ...
30754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
30755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30756         Moved ...
30757         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
30758         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30759         Moved ...
30760         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
30761         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
30762         Moved ...
30763         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
30764         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
30765         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
30766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30767         Moved ...
30768         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
30769         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
30770         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
30771         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
30772         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
30773         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
30774         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
30775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30776         Moved ...
30777         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
30778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30779         Moved ...
30780         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
30781         ... here.
30782         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
30783         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
30784         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
30785         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
30786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30787         Moved ...
30788         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
30789         ... here.
30790         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
30791         Moved ...
30792         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
30793         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
30794         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
30795         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
30796         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
30797         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
30798         Moved ...
30799         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
30800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30801         Moved ...
30802         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
30803         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30804         Moved ...
30805         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
30806         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
30807         Moved ...
30808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
30809         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
30810         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
30811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
30812         Moved ...
30813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
30814         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
30815         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
30816         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
30817         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
30818         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
30819         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
30820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30821         Moved ...
30822         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
30823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30824         Moved ...
30825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
30826         ... here.
30827         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
30828         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
30829         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
30830         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
30831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30832         Moved ...
30833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
30834         ... here.
30835         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
30836         Moved ...
30837         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
30838         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
30839         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
30840         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
30841         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
30842         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
30843         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
30844         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
30845         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
30846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
30847         Moved ...
30848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
30849         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30850         Moved ...
30851         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
30852         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30853         Moved ...
30854         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
30855         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
30856         Moved ...
30857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
30858         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
30859         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
30860         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
30861         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
30862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30863         Moved ...
30864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
30865         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
30866         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
30867         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
30868         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
30869         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
30870         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
30871         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30872         Moved ...
30873         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
30874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30875         Moved ...
30876         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
30877         ... here.
30878         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
30879         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
30880         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
30881         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
30882         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30883         Moved ...
30884         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
30885         ... here.
30886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
30887         Moved ...
30888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
30889         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
30890         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
30891         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
30892         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
30893         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
30894         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
30895         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
30896         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
30897         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
30898         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
30900         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
30901         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
30903         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
30904         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
30906         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
30907         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
30908         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
30909         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
30910         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
30911         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
30912         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
30913         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
30914         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
30915         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
30916         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
30917         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
30918         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
30919         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
30920         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
30921         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
30922         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
30923         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
30924         Moved ...
30925         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
30926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
30927         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
30928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
30929         Moved ...
30930         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
30931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
30932         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
30933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
30934         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
30935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
30936         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
30937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
30938         Moved ...
30939         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
30940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
30941         Moved ...
30942         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
30943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
30944         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
30945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
30946         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
30947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
30948         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
30949         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
30950         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
30951         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
30952         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
30953         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
30954         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
30955         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
30956         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
30957         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
30958         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
30960         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
30961         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
30962         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
30963         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
30964         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
30966         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
30967         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
30968         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
30969         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
30970         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
30971         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
30972         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
30973         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
30974         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
30975         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
30977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
30978         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
30980         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
30981         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
30982         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
30983         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
30984         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
30985         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
30986         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
30987         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
30988         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
30989         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
30990         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
30991         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
30992         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
30993         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
30994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
30995         Update #include.
30996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
30997         Likewise.
30998         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30999         Likewise.
31000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31001         Likewise.
31002         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31003         Likewise.
31004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31005         Likewise.
31006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31007         Likewise.
31008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31009         Likewise.
31010         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31011         Likewise.
31012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31013         Likewise.
31014         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31015         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31016         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31017         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31019         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31020         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31021         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31022         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31023         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31024         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31025         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31026         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31027         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31028         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31030         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31031         that was previously under [RESET_PID].
31032         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31033         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31034         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31036         * sysdeps/i386/nptl/Implies: New file.
31037         * sysdeps/x86_64/nptl/Implies: New file.
31038         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31039         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31040         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31041         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31043         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31044         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31045         (__libc_vfork): New strong alias.
31046         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31047         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31049         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31050         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31051         (__libc_vfork): New strong alias.
31052         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31053         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31055         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31056         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31057         (__libc_vfork): New strong alias.
31058         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31059         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31060         * nptl/pt-vfork.c: New file.
31061         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31062         (libpthread: GLIBC_2.20): New version set (empty).
31064 2014-05-14  Will Newton  <will.newton@linaro.org>
31066         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31067         rather than #if.
31069 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31071         [BZ #16564]
31072         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31073         arguments with exponent 65 or above.
31074         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31075         arguments 0x1p113L or above.
31076         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31077         to arguments 0x1p107L or above.
31078         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31079         positive arguments with exponent 65 or above.
31080         * math/auto-libm-test-in: Add more tests of log1p.
31081         * math/auto-libm-test-out: Regenerated.
31083         [BZ #16928]
31084         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31085         non-finite arguments is +0.
31086         * math/s_cacosf.c (__cacosf): Likewise.
31087         * math/s_cacosl.c (__cacosl): Likewise.
31088         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31089         * sysdeps/i386/fpu/libm-test-ulps: Update.
31090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31092         [BZ #16927]
31093         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31094         value.
31095         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31096         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31097         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31098         for explicit high bit of mantissa when testing for argument equal
31099         to 1.
31100         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31101         * sysdeps/i386/fpu/libm-test-ulps: Update.
31102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31104         [BZ #16516]
31105         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31106         (__erf): Scale by 16 instead of 8 in potentially underflowing
31107         case.  Ensure exception if result actually underflows.
31108         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31109         (__erff): Scale by 16 instead of 8 in potentially underflowing
31110         case.  Ensure exception if result actually underflows.
31111         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31112         (efx8): Remove variable.
31113         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31114         case.  Ensure exception if result actually underflows.
31115         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31116         (efx8): Remove variable.
31117         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31118         case.  Ensure exception if result actually underflows.
31119         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31120         (efx8): Remove variable.
31121         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31122         case.  Ensure exception if result actually underflows.
31123         * math/auto-libm-test-in: Add more tests of erf.
31124         * math/auto-libm-test-out: Regenerated.
31126 2014-05-14  Andreas Schwab  <schwab@suse.de>
31128         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31129         Remove code conditionalized on USE___THREAD.
31131         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31132         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31133         not definedness.
31135 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31137         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31138         Define unconditionally.
31139         (__ASSUME_O_CLOEXEC): Likewise.
31140         (__ASSUME_SOCK_CLOEXEC): Likewise.
31141         (__ASSUME_IN_NONBLOCK): Likewise.
31142         (__ASSUME_PIPE2): Likewise.
31143         (__ASSUME_EVENTFD2): Likewise.
31144         (__ASSUME_SIGNALFD4): Likewise.
31145         (__ASSUME_DUP3): Likewise.
31146         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31147         (__ASSUME_DUP3): Do not define.
31148         (__ASSUME_EVENTFD2): Likewise.
31149         (__ASSUME_IN_NONBLOCK): Likewise.
31150         (__ASSUME_O_CLOEXEC): Likewise.
31151         (__ASSUME_PIPE2): Likewise.
31152         (__ASSUME_SIGNALFD4): Likewise.
31153         (__ASSUME_SOCK_CLOEXEC): Likewise.
31154         (__ASSUME_UTIMES): Undefine.
31155         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31156         (__ASSUME_UTIMES): Do not define.
31157         (__ASSUME_O_CLOEXEC): Likewise.
31158         (__ASSUME_SOCK_CLOEXEC): Likewise.
31159         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31160         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31161         0x020621].
31162         (__ASSUME_PIPE2): Likewise.
31163         (__ASSUME_EVENTFD2): Likewise.
31164         (__ASSUME_SIGNALFD4): Likewise.
31165         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31166         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31167         Do not define.
31168         (__ASSUME_EVENTFD2): Likewise.
31169         (__ASSUME_SIGNALFD4): Likewise.
31170         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31171         (__ASSUME_32BITUIDS): Likewise.
31172         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31173         (__ASSUME_IPC64): Likewise.
31174         (__ASSUME_ST_INO_64_BIT): Likewise.
31175         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31176         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31177         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31178         (__ASSUME_UTIMES): Do not define.
31179         (__ASSUME_PSELECT): Likewise.
31180         (__ASSUME_PPOLL): Likewise.
31181         (__ASSUME_O_CLOEXEC): Likewise.
31182         (__ASSUME_SOCK_CLOEXEC): Likewise.
31183         (__ASSUME_IN_NONBLOCK): Likewise.
31184         (__ASSUME_PIPE2): Likewise.
31185         (__ASSUME_EVENTFD2): Likewise.
31186         (__ASSUME_SIGNALFD4): Likewise.
31187         (__ASSUME_DUP3): Likewise.
31188         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31189         (__ASSUME_UTIMES): Likewise.
31190         (__ASSUME_O_CLOEXEC): Likewise.
31191         (__ASSUME_SOCK_CLOEXEC): Likewise.
31192         (__ASSUME_IN_NONBLOCK): Likewise.
31193         (__ASSUME_PIPE2): Likewise.
31194         (__ASSUME_EVENTFD2): Likewise.
31195         (__ASSUME_SIGNALFD4): Likewise.
31196         (__ASSUME_DUP3): Likewise.
31197         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31198         (__ASSUME_UTIMES): Likewise.
31199         (__ASSUME_O_CLOEXEC): Likewise.
31200         (__ASSUME_SOCK_CLOEXEC): Likewise.
31201         (__ASSUME_IN_NONBLOCK): Likewise.
31202         (__ASSUME_PIPE2): Likewise.
31203         (__ASSUME_EVENTFD2): Likewise.
31204         (__ASSUME_SIGNALFD4): Likewise.
31205         (__ASSUME_DUP3): Likewise.
31206         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31207         Likewise.
31208         (__ASSUME_UTIMES): Likewise.
31209         (__ASSUME_EVENTFD2): Likewise.
31210         (__ASSUME_SIGNALFD4): Likewise.
31211         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31212         (__ASSUME_O_CLOEXEC): Likewise.
31213         (__ASSUME_SOCK_CLOEXEC): Likewise.
31214         (__ASSUME_IN_NONBLOCK): Likewise.
31215         (__ASSUME_PIPE2): Likewise.
31216         (__ASSUME_EVENTFD2): Likewise.
31217         (__ASSUME_SIGNALFD4): Likewise.
31218         (__ASSUME_DUP3): Likewise.
31219         (__ASSUME_UTIMES): Undefine.
31221         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31222         feclearexcept.  Remove symbol versioning code.
31223         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31224         symbol versioning code.
31225         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31226         symbol versioning code.
31227         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31228         feupdateenv.  Remove symbol versioning code.
31229         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31230         fegetexceptflag.  Remove symbol versioning code.
31231         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31232         fesetexceptflag.  Remove symbol versioning code.
31233         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31234         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31235         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31236         (__posix_fadvise64_l32): Remove prototype.
31237         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31238         code.
31240 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31242         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31243         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31244         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31245         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31247 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31249         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31250         current working directory
31252 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31254         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31255         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31256         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31257         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31258         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31259         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31260         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31261         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31262         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31263         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31264         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31265         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31266         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31267         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31268         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31269         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31270         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31271         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31272         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31273         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31275         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31276         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31277         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31278         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31279         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31280         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31281         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31282         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31283         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31284         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31285         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31286         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31287         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31288         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31289         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31290         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31291         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31292         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31293         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31294         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31295         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31297         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31298         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31300         * sysdeps/unix/sysv/linux/arm/Makefile
31301         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31302         Add rt-aeabi_unwind_cpp_pr1.
31303         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31304         Add nptl-aeabi_unwind_cpp_pr1.
31305         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31306         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31307         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31308         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31309         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31310         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31312         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31313         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31314         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31315         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31317         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31318         Deconditionalize the code that was previously under [RESET_PID].
31319         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31321         * sysdeps/generic/exit-thread.h: New file.
31322         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31323         * include/unistd.h (__exit_thread): Remove declaration.
31324         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31325         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31326         * csu/libc-start.c: Include <exit-thread.h>.
31327         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31328         * nptl/pthread_create.c: Include <exit-thread.h>.
31329         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31330         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31331         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31332         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31333         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31334         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31335         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31336         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31337         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31338         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31339         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31340         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31341         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31342         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31343         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31344         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31345         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31347 2014-05-13  Andreas Schwab  <schwab@suse.de>
31349         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31351 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31353         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31354         (__ASSUME_UTIMES): Do not condition on kernel version.
31355         (__ASSUME_PSELECT): Define unconditionally.
31356         (__ASSUME_PPOLL): Likewise.
31357         (__ASSUME_ATFCTS): Likewise.
31358         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31359         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31360         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31361         (__ASSUME_UTIMENSAT): Define unconditionally.
31362         (__ASSUME_PRIVATE_FUTEX): Likewise.
31363         (__ASSUME_FALLOCATE): Likewise.
31364         (__ASSUME_O_CLOEXEC): Likewise.
31365         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31366         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31367         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31368         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31369         (__ASSUME_IN_NONBLOCK): Likewise.
31370         (__ASSUME_PIPE2): Likewise.
31371         (__ASSUME_EVENTFD2): Likewise.
31372         (__ASSUME_SIGNALFD4): Likewise.
31373         (__ASSUME_DUP3): Likewise.
31374         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31375         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31376         (__ASSUME_AT_RANDOM): Likewise.
31377         (__ASSUME_PREADV): Likewise.
31378         (__ASSUME_PWRITEV): Likewise.
31379         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31380         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31381         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31382         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31383         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31384         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31385         (__ASSUME_O_CLOEXEC): Define unconditionally.
31386         (__ASSUME_PSELECT): Do not undefine conditionally.
31387         (__ASSUME_PPOLL): Likewise.
31388         (__ASSUME_ATFCTS): Likewise.
31389         (__ASSUME_SET_ROBUST_LIST): Likewise.
31390         (__ASSUME_UTIMENSAT): Likewise.
31391         (__ASSUME_FDATASYNC): Define unconditionally.
31392         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31393         (__ASSUME_SIGFRAME_V2): Likewise.
31394         )__ASSUME_EVENTFD2): Likewise.
31395         (__ASSUME_SIGNALFD4): Likewise.
31396         (__ASSUME_PSELECT): Do not undefine conditionally.
31397         (__ASSUME_PPOLL): Likewise.
31398         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31399         (__ASSUME_PSELECT): Define unconditionally.
31400         (__ASSUME_PPOLL): Likewise.
31401         (__ASSUME_O_CLOEXEC): Likewise.
31402         (__ASSUME_SOCK_CLOEXEC): Likewise.
31403         (__ASSUME_IN_NONBLOCK): Likewise.
31404         (__ASSUME_PIPE2): Likewise.
31405         (__ASSUME_EVENTFD2): Likewise.
31406         (__ASSUME_SIGNALFD4): Likewise.
31407         (__ASSUME_DUP3): Likewise.
31408         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31409         (__ASSUME_O_CLOEXEC): Likewise.
31410         (__ASSUME_SOCK_CLOEXEC): Likewise.
31411         (__ASSUME_IN_NONBLOCK): Likewise.
31412         (__ASSUME_PIPE2): Likewise.
31413         (__ASSUME_EVENTFD2): Likewise.
31414         (__ASSUME_SIGNALFD4): Likewise.
31415         (__ASSUME_DUP3): Likewise.
31416         * sysdeps/unix/sysv/linux/mips/kernel-features.h
31417         (__ASSUME_EVENTFD2): Likewise.
31418         (__ASSUME_SIGNALFD4): Likewise.
31419         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31421 2014-05-12  Andreas Schwab  <schwab@suse.de>
31423         [BZ #16932]
31424         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
31425         (_nss_nis_gethostbyname4_r): Return error if item length is larger
31426         than maximum RPC packet size.
31427         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
31428         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
31429         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
31430         (_nss_nis_getservbyport_r): Likewise.
31432 2014-05-12  Will Newton  <will.newton@linaro.org>
31434         * malloc/Makefile (tests): Add tst-mallopt.
31435         * malloc/tst-mallopt.c: New file.
31437 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31439         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
31440         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
31442 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31444         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
31445         (tst-tlsmod6.so): Likewise.
31447 2014-05-09  Roland McGrath  <roland@hack.frob.com>
31449         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
31451 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
31453         [BZ #16064]
31454         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
31455         and <dl-procinfo.h>.
31456         (__fegetenv): Save SSE state in envp->__eip if supported.
31457         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
31458         envp->__eip if supported.
31459         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
31460         and <dl-procinfo.h>.
31461         (__fesetenv): Always set __eip, __cs_selector, __opcode,
31462         __data_offset and __data_selector in environment to 0.  Set SSE
31463         state if supported.
31464         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
31465         test-fenv-sse.
31466         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
31467         -mfpmath=sse.
31468         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
31470 2014-05-09  Will Newton  <will.newton@linaro.org>
31472         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
31473         and libc_relro_required for ARM.
31474         * sysdeps/arm/preconfigure: Regenerate.
31476 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
31477             Stefan Liebler  <stli@linux.vnet.ibm.com>
31479         * config.make.in (enable-lock-elision): New Makefile variable.
31480         * configure.ac: Likewise.
31481         * configure: Regenerate.
31482         * sysdeps/s390/configure.ac:
31483         Add check for gcc transactions support.
31484         * sysdeps/s390/configure: Regenerate.
31485         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
31486         Build elision files if enabled.
31487         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
31488         Add lock elision support for s390.
31489         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
31490         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
31491         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
31492         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
31493         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
31494         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
31495         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
31496         Likewise.
31497         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
31498         Likewise.
31499         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
31500         Likewise.
31501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
31502         Likewise.
31503         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
31504         (__lll_timedlock_elision, __lll_lock_elision)
31505         (__lll_unlock_elision, __lll_trylock_elision)
31506         (lll_timedlock_elision, lll_lock_elision)
31507         (lll_unlock_elision, lll_trylock_elision): Add.
31508         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31509         (pthread_mutex_t): Add lock elision support for s390.
31511 2014-05-14  Wilco  <wdijkstr@arm.com>
31513         * sysdeps/arm/fclrexcpt.c: Cleanup.
31514         * sysdeps/arm/fedisblxcpt.c: Cleanup.
31515         * sysdeps/arm/feenablxcpt.c: Cleanup.
31516         * sysdeps/arm/fegetenv.c: Cleanup.
31517         * sysdeps/arm/fegetexcept.c: Cleanup.
31518         * sysdeps/arm/fegetround.c: Cleanup.
31519         * sysdeps/arm/feholdexcpt.c: Cleanup.
31520         * sysdeps/arm/fesetenv.c: Cleanup.
31521         * sysdeps/arm/fesetround.c: Cleanup.
31522         * sysdeps/arm/feupdateenv.c: Cleanup.
31523         * sysdeps/arm/fgetexcptflg.c: Cleanup.
31524         * sysdeps/arm/fraiseexcpt.c: Cleanup.
31525         * sysdeps/arm/fsetexcptflg.c: Cleanup.
31526         * sysdeps/arm/ftestexcept.c: Cleanup.
31527         * sysdeps/arm/get-rounding-mode.h: Cleanup.
31528         * sysdeps/arm/setfpucw.c: Cleanup.
31530 2014-05-09  Will Newton  <will.newton@linaro.org>
31532         * sysdeps/arm/armv7/strcmp.S: New file.
31533         * NEWS: Mention addition of ARMv7 optimized strcmp.
31535 2014-05-08  Roland McGrath  <roland@hack.frob.com>
31537         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
31538         look for %.ac rather than %.in.
31540         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
31541         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
31542         * sysdeps/mach/hurd/configure: Regenerated.
31543         * sysdeps/unix/sysv/linux/configure: Regenerated.
31545         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
31547 2014-05-07  Steve Ellcey  <sellcey@mips.com>
31549         [BZ# 16922]
31550         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
31551         (LONG_SUB): Ditto.
31552         (PTR_SUB): Ditto.
31554 2014-05-07  Andreas Schwab  <schwab@suse.de>
31556         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
31557         when skipping over non-matching result from nscd.
31559 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
31561         [BZ #16876]
31562         * nptl/sockperf.c (client): Check socket return value.
31564         [BZ #16877]
31565         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
31566         nscd security class.
31568 2014-05-06  Roland McGrath  <roland@hack.frob.com>
31570         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
31571         * sysdeps/arm/unwind.h: ... here.
31573 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
31575         [BZ# 16916]
31576         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
31577         Define.
31579 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31581         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
31582         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
31583         multiarch strncpy for PPC64.
31584         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
31585         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
31586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
31587         multiarch optimizations.
31588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31589         (__libc_ifunc_impl_list): Likewise.
31590         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
31591         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
31592         multiarch stpncpy for PPC64.
31593         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
31594         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
31596 2014-05-06  Andreas Schwab  <schwab@suse.de>
31598         [BZ #16912]
31599         * gmon/mcount.c (_MCOUNT_DECL): Use
31600         atomic_compare_and_exchange_bool_acq instead of
31601         catomic_compare_and_exchange_bool_acq.
31603 2014-05-05  Roland McGrath  <roland@hack.frob.com>
31605         * elf/Makefile (others, install-bin): Remove pldd.
31606         (pldd-modules): Variable removed.
31607         ($(objpfx)pldd): Target removed.
31608         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
31609         (others, install-bin): Append pldd here.
31610         ($(objpfx)pldd): New target.
31612         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
31613         to 0, so the first #if test emitted later doesn't see it undefined.
31614         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
31615         * sysdeps/gnu/errlist.c: Regenerated.
31617 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31619         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
31620         [libc_hidden_builtin_def]: Define to empty value.
31621         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
31622         [libc_hidden_builtin_def]: Likewise.
31623         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
31624         [libc_hidden_builtin_def]: Likewise.
31625         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31626         [libc_hidden_builtin_def]: Likewise.
31627         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
31628         __redirect_memcpy and define ifunc as default hidden symbol.
31629         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
31630         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
31632 2014-05-04  Adam Conrad  <adconrad@0c3.net>
31634         * locale/iso-4217.def: Reintroduce XDR currency.
31636 2014-05-04  Allan McRae  <allan@archlinux.org>
31638         * po/eo.po: Update Esperanto translation from translation project.
31640 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
31642         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
31643         and FEATURE_INDEX_MAX to 1.
31644         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
31646 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31648         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
31649         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
31650         * iconvdata/big5.c (ONE_DIRECTION): Define.
31651         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
31652         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
31653         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
31654         * iconvdata/cp932.c (ONE_DIRECTION): Define.
31655         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
31656         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
31657         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
31658         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
31659         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
31660         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
31661         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
31662         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
31663         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
31664         * iconvdata/gbk.c (ONE_DIRECTION): Define.
31665         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
31666         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
31667         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
31668         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
31669         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
31670         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
31671         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
31672         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
31673         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
31674         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
31675         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
31676         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
31677         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
31678         * iconvdata/iso646.c (ONE_DIRECTION): Define.
31679         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
31680         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
31681         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
31682         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
31683         * iconvdata/johab.c (ONE_DIRECTION): Define.
31684         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
31685         * iconvdata/sjis.c (ONE_DIRECTION): Define.
31686         * iconvdata/t.61.c (ONE_DIRECTION): Define.
31687         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
31688         * iconvdata/tscii.c (ONE_DIRECTION): Define.
31689         * iconvdata/uhc.c (ONE_DIRECTION): Define.
31690         * iconvdata/unicode.c (ONE_DIRECTION): Define.
31691         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
31692         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
31693         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
31695 2014-05-01  Roland McGrath  <roland@hack.frob.com>
31697         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
31698         (_IO_JUMPS_OFFSET): Define to 0.
31700         * nptl/sysdeps/pthread/bits/libc-lock.h
31701         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
31702         (__libc_lock_define_initialized_recursive): Always define using
31703         initializer.  Modern compilers treat uninitialized (implicit zero) and
31704         explicit zero initializers the same (i.e. put the datum in bss).
31706 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31708         * nscd/nscd-client.h: Include <string.h>.
31710 2014-05-01  David S. Miller  <davem@davemloft.net>
31712         [BZ #16885]
31713         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
31714         multiple zero bytes exist at the end of a string.
31715         Reported by Aurelien Jarno <aurelien@aurel32.net>
31717         * string/test-strcmp.c (check): Add explicit test for situations where
31718         there are multiple zero bytes after the first.
31720 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
31722         [BZ #16890]
31723         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
31724         when compiling wprintf.
31725         * stdio-common/tstdiomisc.c (t3): New function.
31726         (main): Call it.
31728 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31730         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
31731         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
31732         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
31733         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
31735 2014-05-01  Steve Ellcey  <sellcey@mips.com>
31737         * stdlib/longlong.h: Updated from GCC.
31739 2014-05-01  Will Newton  <will.newton@linaro.org>
31740             Bernard Ogden  <bernie.ogden@linaro.org>
31742         * NEWS: Update fixed bug list.
31744         [BZ #15119]
31745         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
31747 2014-04-30  David S. Miller  <davem@davemloft.net>
31749         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
31750         (libc_feholdexcept_setround_sparc_ctx): New function.
31751         (libc_fesetenv_sparc_ctx): Likewise.
31752         (libc_feupdateenv_sparc_ctx): Likewise.
31753         (libc_feholdsetround_sparc_ctx): Likewise.
31754         (libc_feholdexcept_setround_ctx): Define.
31755         (libc_feholdexcept_setroundf_ctx): Likewise.
31756         (libc_feholdexcept_setroundl_ctx): Likewise.
31757         (libc_fesetenv_ctx): Likewise.
31758         (libc_fesetenvf_ctx): Likewise.
31759         (libc_fesetenvl_ctx): Likewise.
31760         (libc_feupdateenv_ctx): Likewise.
31761         (libc_feupdateenvf_ctx): Likewise.
31762         (libc_feupdateenvl_ctx): Likewise.
31763         (libc_feresetround_ctx): Likewise.
31764         (libc_feresetroundf_ctx): Likewise.
31765         (libc_feresetroundl_ctx): Likewise.
31766         (libc_feholdsetround_ctx): Likewise.
31767         (libc_feholdsetroundf_ctx): Likewise.
31768         (libc_feholdsetroundl_ctx): Likewise.
31770         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31771         with __USE_GNU instead of XOPEN cpp guards.
31773         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
31774         0.
31776         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
31777         with XOPEN cpp guards.
31779 2014-04-30  Julian Brown  <julian@codesourcery.com>
31781         [BZ #16888]
31782         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
31783         handling.
31785 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
31787         [BZ #9894]
31788         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
31789         Change to 2.6.32.
31790         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
31791         * sysdeps/unix/sysv/linux/configure: Regenerated.
31792         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
31793         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
31794         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
31795         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
31796         * README: Update reference to required Linux kernel version.
31797         * manual/install.texi (Linux): Update reference to required Linux
31798         kernel headers version.
31799         * INSTALL: Regenerated.
31801         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
31802         header inclusion.
31803         [POSIX] (limits.h): Likewise.
31804         [POSIX] (math.h): Likewise.
31805         [POSIX] (sys/wait.h): Likewise.
31806         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
31807         function.
31808         [POSIX] (stddef.h): Do not allow header inclusion.
31810 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31812         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
31814 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
31816         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
31817         Return immediately after lll_futex_wake.
31819 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31821         [BZ #16791]
31822         * nscd/nscd-client.h (datahead_init_common): Initialize entire
31823         structure.
31824         (datahead_init_pos): Call datahead_init_common early.
31825         (datahead_init_neg): Likewise.
31827         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
31828         datahead_init_neg): New functions.
31829         * nscd/aicache.c (addhstaiX): Use them.
31830         * nscd/grpcache.c (cache_addgr): Likewise.
31831         * nscd/hstcache.c (cache_addhst): Likewise.
31832         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31833         * nscd/netgroupcache.c (do_notfound): Likewise.
31834         (addgetnetgrentX): Likewise.
31835         (addinnetgrX): Likewise.
31836         * nscd/pwdcache.c (cache_addpw): Likewise.
31837         * nscd/servicescache.c (cache_addserv): Likewise.
31839 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31840             Atsushi Onoe  <atsushi@onoe.org>
31842         [BZ #14308]
31843         [BZ #12994]
31844         [BZ #13651]
31845         * resolv/res_query.c (__libc_res_nsearch): Return if at least
31846         one response is valid.
31847         * resolv/res_send.c (send_dg): Check for validity of other
31848         response if the current response is a referral.
31850 2014-04-29  Steve Ellcey  <sellcey@mips.com>
31852         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
31854 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
31856         [BZ #16823]
31857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
31858         Always divide by positive zero when computing -Inf result.
31859         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
31860         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31862 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31864         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
31865         FPSCR if value do not change.
31866         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
31867         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
31868         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31869         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31870         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
31871         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
31872         function.
31874 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
31876         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
31877         * sysdeps/unix/sysv/linux/hppa: Move directory from
31878         ports/systeps/unix/sysv/linux/hppa.
31879         * README: Update listing for hppa-*-linux-gnu.
31881 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
31883         [BZ #16754]
31884         * manual/stdio.texi (Hook functions): Fix types of stream hook
31885         functions.
31886         [BZ #16854]
31887         * socket/sys/socket.h: Fix typo in comment.
31889 2014-04-28  Wilco  <wdijkstr@arm.com>
31891         * sysdeps/arm/fenv_private.h: New file.
31892         * sysdeps/arm/math_private.h: New file.
31893         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
31895 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
31897         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
31898         with __int128_t.
31899         (La_x86_64_retval): Likewise.
31901 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
31903         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
31904         fpsr if value didn't change.
31905         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
31906         to fpcr if value didn't change.
31907         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
31908         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
31909         fpsr or fpcr if value didn't change.
31910         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
31911         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
31912         fpcr if value didn't change.
31913         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
31914         to fpsr if value didn't change.
31916 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
31918         * nptl/tst-sem3.c: Use test-skeleton.c
31919         (main): Rename to do_test.  Use return instead of
31920         exit.
31921         * nptl/tst-sem4.c: Use test-skeleton.c
31922         (main): Rename to do_test.
31924 2014-04-22  David S. Miller  <davem@davemloft.net>
31926         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
31927         (struct sigaction): New struct member __glibc_reserved0, change
31928         type of sa_flags to int.
31930 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
31932         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
31933         (COUNT_LEADING_ZEROS_0): Define for AArch64.
31935 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31937         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
31938         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
31940 2014-04-22  Will Newton  <will.newton@linaro.org>
31941             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
31943         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
31944         (__longjmp): Add longjmp and longjmp_target SystemTap
31945         probes.
31946         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
31947         (__sigsetjmp): Add setjmp SystemTap probe.
31949 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
31951         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
31952         match manual order.
31954 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31956         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
31958         * sysdeps/powerpc/fpu/fenv_private.h
31959         (libc_feholdexcept_setroundl_ctx): Define to
31960         libc_feholdexcept_setround_ppc_ctx.
31961         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
31962         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
31963         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
31964         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
31966 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
31968         * sysdeps/aarch64/math-tests.h: New file.
31970 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
31972         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
31973         New.
31974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31975         Check and set bit_AVX2_Usable.
31976         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
31977         macro.
31978         (bit_AVX2): Likewise.
31979         (index_AVX2_Usable): Likewise.
31980         (CPUID_AVX2): Likewise.
31981         (HAS_AVX2): Likewise.
31983 2014-04-17  Will Newton  <will.newton@linaro.org>
31985         * manual/setjmp.texi (System V contexts): Add note that
31986         calling setcontext on a context created by a call to a
31987         signal handler is undefined.  Update text to note that
31988         setcontext from a signal handler is possible but not
31989         recommended.
31991         [BZ #16629]
31992         * stdlib/tst-setcontext.c: Include signal.h.
31993         (main): Check that the signal stack before and
31994         after swapcontext is the same.
31996         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
31997         Re-implement to restore registers in user code and avoid
31998         rt_sigreturn system call.
32000 2014-04-17  Wilco  <wdijkstr@arm.com>
32002         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32003         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32004         * math/test-fenv.c: Skip exception trap tests on targets which only
32005         support non-stop mode.
32007 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32008             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32010         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32011         (libc_feholdsetround_aarch64_ctx)
32012         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32013         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32014         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32015         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32016         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32017         (libc_feresetround_noexl_ctx): Define.
32019 2014-04-16  Richard Henderson  <rth@redhat.com>
32021         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32023         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32024         unwind tables.
32026         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32027         const from the non-libc, non-ldso copy.
32029         * sysdeps/alpha/libm-test-ulps: Regenerate.
32031 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32032             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32034         * sysdeps/aarch64/fpu/math_private.h: New file.
32036 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32038         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32040 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32042         [BZ #16275]
32043         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32044         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32045         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32046         Intel MPX bound registers before _dl_profile_fixup.
32047         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32048         registers after _dl_profile_fixup.  Save and restore bound
32049         registers bnd0/bnd1 when calling _dl_call_pltexit.
32050         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32051         (LR_BND_OFFSET): Likewise.
32052         (LRV_BND0_OFFSET): Likewise.
32053         (LRV_BND1_OFFSET): Likewise.
32055 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32057         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32058         to...
32059         * sysdeps/mach/hurd/i386/tls.h: ... here.
32060         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32061         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32062         fields.
32064 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32066         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32068 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32070         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32072 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32074         [BZ #14770]
32075         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32076         * sysdeps/s390/configure: Regenerate.
32078         [BZ #16824]
32079         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32080         Set round-to-nearest internally to reduce error accumulation.
32082 2014-04-16  Alan Modra  <amodra@gmail.com>
32084         [BZ #16740]
32085         [BZ #16619]
32086         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32087         * math/libm-test.inc (frexp_test_data): Add tests.
32088         * NEWS: Update fixed bug list.
32090 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32092         * benchtests/Makefile: Depend on libraries in build directory.
32093         (bench-math): Separate out math tests.
32094         (bench-pthread): Separate out pthread tests.
32095         (bench): Include math and pthread tests.
32097 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32099         [BZ #16831]
32100         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32101         _dl_debug_initialize.
32103         * configure.ac: Remove SELinux header check.
32104         * configure: Regenerate.
32105         * nscd/selinux.c (perms): Array of const char* to permission names.
32106         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32107         default policy. Call string_to_security_class and string_to_av_perm to
32108         translate strings. Enforce default policy and call avs_has_perm with
32109         results of translated strings.
32111 2014-04-13  David S. Miller  <davem@davemloft.net>
32113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32115 2014-04-12  Allan McRae  <allan@archlinux.org>
32117         [BZ #16838]
32118         * manual/string.texi (Collation Functions): Fix qsort argument
32119         order in example.
32120         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32122 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32124         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32125         Make the test a no-op if there are no exceptions defined.
32127 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32129         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32130         enable-hardcoded-path-in-tests
32132 2014-04-11  Will Newton  <will.newton@linaro.org>
32134         * benchtests/Makefile (extra-objs): Add json-lib.o.
32135         (bench-func): Tidy up JSON output.
32136         * benchtests/bench-skeleton.c: Include json-lib.h.
32137         (main): Use JSON library functions to do output of
32138         benchmark results.
32139         * benchtests/bench-timing-type.c (main): Output the
32140         timing type simply, leaving formatting to the user.
32141         * benchtests/json-lib.c: New file.
32142         * benchtests/json-lib.h: Likewise.
32144 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32146         [BZ #15215]
32147         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32148         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32149         memory barriers.  Add comments.
32150         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32151         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32152         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32153         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32154         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32155         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32157 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32159         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32160         * sysdeps/s390/s390-64/configure.ac: ... this ...
32161         * sysdeps/s390/configure.ac: ... to here.
32162         * sysdeps/s390/s390-32/configure: Delete file.
32163         * sysdeps/s390/s390-64/configure: Delete file.
32164         * sysdeps/s390/configure: Regenerate.
32166 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32168         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32170 2014-04-11  Will Newton  <will.newton@linaro.org>
32172         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32173         to zero if it is not defined elsewhere.  (mtrim): Test
32174         the value of MALLOC_DEBUG with #if rather than #ifdef.
32176 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32178         * benchtests/pthread_once-inputs: New file.
32179         * benchtests/pthread_once-source.c: New file.
32180         * benchtests/README: Update documentation.
32182 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32183             H.J. Lu  <hongjiu.lu@intel.com>
32185         [BZ #16275]
32186         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32187         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32188         * sysdeps/x86_64/configure: Regenerated.
32189         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32190         macro.
32191         (REGISTER_SAVE_RAX): Likewise.
32192         (REGISTER_SAVE_RCX): Likewise.
32193         (REGISTER_SAVE_RDX): Likewise.
32194         (REGISTER_SAVE_RSI): Likewise.
32195         (REGISTER_SAVE_RDI): Likewise.
32196         (REGISTER_SAVE_R8): Likewise.
32197         (REGISTER_SAVE_R9): Likewise.
32198         (REGISTER_SAVE_BND0): Likewise.
32199         (REGISTER_SAVE_BND1): Likewise.
32200         (REGISTER_SAVE_BND2): Likewise.
32201         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32202         bound registers when calling _dl_fixup.
32204 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32206         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32207         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32208         of its definition.
32209         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32210         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32211         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32212         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32213         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32214         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32215         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32217 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32219         [BZ #15514]
32220         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32221         pathconf(_PC_NAME_MAX).
32223 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32225         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32226         Remove macro usage.
32227         (__PTHREAD_SPINS): Move definition to ...
32228         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32229         (__PTHREAD_SPINS): ... here.
32230         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32231         (__PTHREAD_SPIN): Likewise.
32232         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32233         (__PTHREAD_SPIN): Likewise.
32234         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32235         (__PTHREAD_SPIN): Likewise.
32236         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32237         (__PTHREAD_SPIN): Likewise.
32238         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32239         (__PTHREAD_SPIN): Likewise.
32240         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32241         (__PTHREAD_SPIN): Likewise.
32242         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32243         (__PTHREAD_SPIN): Likewise.
32244         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32245         (__PTHREAD_SPIN): Likewise.
32246         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32247         (__PTHREAD_SPIN): Likewise.
32248         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32249         (__PTHREAD_SPIN): Likewise.
32250         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32251         (__PTHREAD_SPIN): Likewise.
32252         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32253         (__PTHREAD_SPIN): Likewise.
32255         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32256         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32257         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32258         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32259         imply folder.
32260         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32261         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32262         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32263         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32264         correct imply path.
32265         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32266         strlen symbol for non multi-arch builds.
32267         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32268         missing hidden_def and weak_alias.
32270 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32272         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32274 2014-04-07  Will Newton  <will.newton@linaro.org>
32276         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32277         and contents.  [!_LIBC] Remove #ifndef and contents.
32278         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32279         * string/memccpy.c (__memccpy): Use ANSI prototype.
32280         * string/memfrob.c (memfrob): Likewise.
32281         * string/strcoll.c (STRCOLL): Likewise.
32282         * string/strlen.c (strlen): Likewise.
32283         * string/strtok.c (STRTOK): Likewise.
32284         * string/strcat.c: Remove unused #include of memcopy.h.
32285         (strcat): Use ANSI prototype.
32286         * string/strchr.c: Remove unused #include of memcopy.h.
32287         (strchr): Use ANSI prototype.
32288         * string/strcmp.c: Remove unused #include of memcopy.h.
32289         (strcmp): Use ANSI prototype.
32290         * string/strcpy.c: Remove unused #include of memcopy.h.
32291         (strcpy): Use ANSI prototype.
32293 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32295         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32296         * config.make.in (config-extra-cppflags): Set it from
32297         libc_extra_cppflags.
32298         * configure.ac (libc_extra_cflags): Make it accumulate over
32299         configure fragments.
32300         (libc_extra_cppflags): New flag.
32301         * configure. Regenerate.
32302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32303         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32304         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32307         [BZ #16815]
32308         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32309         result for FE_DOWNWARD rounding mode.
32310         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32311         Likewise.
32312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32314 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32316         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32317         in function argument name.
32319 2014-04-03  David Svoboda  <svoboda@cert.org>
32321         [BZ #5666]
32322         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32323         explicitly.
32325 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32327         * elf/dl-unmap-segments.h: New file.
32328         * sysdeps/generic/ldsodefs.h
32329         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32330         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32331         * elf/dl-fptr.c: Likewise.
32332         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32333         * sysdeps/aarch64/tlsdesc.c: Likewise.
32334         * sysdeps/arm/tlsdesc.c: Likewise.
32335         * sysdeps/i386/tlsdesc.c: Likewise.
32336         * sysdeps/tile/dl-runtime.c: Likewise.
32337         * sysdeps/x86_64/tlsdesc.c: Likewise.
32338         * elf/dl-load.h: New file.
32339         * elf/dl-load.c: Include it.
32340         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32341         Macros moved to dl-load.h.
32342         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32343         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32344         Use _dl_unmap_segments in place of __munmap.
32345         Break out segment-mapping loop into ...
32346         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32348 2014-04-03  Will Newton  <will.newton@linaro.org>
32350         * elf/dl-lookup.c (do_lookup_x): Remove comment
32351         referring to nested function and move variable
32352         declarations down to before first use.
32354 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32356         [BZ #16799]
32357         [BZ #16800]
32358         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32359         with 0 numerator.
32360         * math/s_catanf.c (__catanf): Likewise.
32361         * math/s_catanh.c (__catanh): Likewise.
32362         * math/s_catanhf.c (__catanhf): Likewise.
32363         * math/s_catanhl.c (__catanhl): Likewise.
32364         * math/s_catanl.c (__catanl): Likewise.
32365         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32366         by positive zero when computing -Inf result.
32367         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32368         (catanh_test): Likewise.
32369         * sysdeps/i386/fpu/libm-test-ulps: Update.
32370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32372         [BZ #16789]
32373         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32374         instead of using underflowing value in computing result.
32375         * math/s_clog10.c (__clog10): Likewise.
32376         * math/s_clog10f.c (__clog10f): Likewise.
32377         * math/s_clog10l.c (__clog10l): Likewise.
32378         * math/s_clogf.c (__clogf): Likewise.
32379         * math/s_clogl.c (__clogl): Likewise.
32380         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32381         (clog10_test): Likewise.
32382         * sysdeps/i386/fpu/libm-test-ulps: Update.
32383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32385 2014-04-02  Alan Modra  <amodra@gmail.com>
32387         [BZ #16739]
32388         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32389         output when value is near a power of two.  Use int64_t for lx and
32390         remove casts.  Use decimal rather than hex exponent constants.
32391         Don't use long double multiplication when double will suffice.
32392         * math/libm-test.inc (nextafter_test_data): Add tests.
32393         * NEWS: Add 16739 and 16786 to bug list.
32395         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32397         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32399 2014-04-01  Will Newton  <will.newton@linaro.org>
32401         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32402         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32404 2014-04-01  Florian Weimer  <fweimer@redhat.com>
32406         [BZ #13347]
32407         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
32408         * nptl/tst-setuid2.c: New file.
32409         * nptl/Makefile (xtests): Add tst-setuid2.
32411 2014-04-01  Alan Modra  <amodra@gmail.com>
32413         [BZ #16786]
32414         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
32416 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32418         [BZ #6803]
32419         [BZ #6804]
32420         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
32421         set errno as appropriate.
32422         * math/w_scalbf.c (__scalbf): Likewise.
32423         * math/w_scalbl.c (__scalbl): Likewise.
32424         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
32425         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
32426         * math/libm-test.inc (scalb_test_data): Add errno expectations.
32427         Add more NaN tests.
32429         [BZ #16349]
32430         * math/w_atan2.c: Include <errno.h>.
32431         (__atan2): Set errno for result underflowing to zero.
32432         * math/w_atan2f.c: Include <errno.h>.
32433         (__atan2f): Set errno for result underflowing to zero.
32434         * math/w_atan2l.c: Include <errno.h>.
32435         (__atan2l): Set errno for result underflowing to zero.
32436         * math/auto-libm-test-in: Don't allow missing errno for some atan2
32437         tests.
32438         * math/auto-libm-test-out: Regenerated.
32440 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32442         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
32443         Encode instruction correctly in little endian.
32444         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
32445         Likewise.
32446         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
32447         Likewise.
32448         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
32449         Likewise.
32450         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
32451         Likewise.
32453 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
32455         [BZ #9894]
32456         * sysdeps/unix/sysv/linux/kernel-features.h
32457         [__sparc__ && !__arch64__ && !__sparc_v9__]
32458         (__ASSUME_SET_ROBUST_LIST): Do not define.
32459         [__sparc__ && !__arch64__ && !__sparc_v9__]
32460         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32461         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
32462         Likewise.
32463         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32464         (__ASSUME_FUTEX_LOCK_PI): Undefine.
32465         (__ASSUME_REQUEUE_PI): Likewise.
32466         (__ASSUME_SET_ROBUST_LIST): Likewise.
32467         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32468         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
32469         Undefine.
32470         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32471         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
32472         Likewise.
32473         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
32474         Likewise.
32475         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
32476         Likewise.
32477         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32478         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
32479         Undefine.
32480         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
32481         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
32482         Likewise.
32484         [BZ #16648]
32485         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32486         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
32487         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
32489 2014-03-31  Will Newton  <will.newton@linaro.org>
32491         * benchtests/Makefile (bench): Add ffs and ffsll to list
32492         of tests.
32493         * benchtests/ffs-inputs: New file.
32494         * benchtests/ffsll-inputs: Likewise.
32496 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
32498         [BZ #16770]
32499         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
32500         too large before casting to int.
32501         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
32502         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
32503         * math/libm-test.inc (scalb_test_data): Add more tests.
32505 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
32507         * benchtests/Makefile (DETAILED_OPT): New make option.
32508         (bench-func): Run benchmark program with -d if DETAILED_OPT is
32509         set.
32510         * benchtests/bench-skeleton.c: Include stdbool.h.
32511         (main): Store and print timings per input.
32512         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
32513         member to each argument value.
32514         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
32515         (_print_arg_data): Initialize per-input timing to 0.
32517         * benchtests/Makefile (timing-type): New binary.
32518         (bench-clean): Also remove bench-timing-type.
32519         (bench): New target for timing-type.
32520         (bench-func): Print output in JSON format.
32521         * benchtests/bench-skeleton.c (main): Print output in JSON
32522         format.
32523         * benchtests/bench-timing-type.c: New file.
32524         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
32525         (TIMING_PRINT_STATS): Remove.
32526         * benchtests/scripts/bench.py (_print_arg_data): Store variant
32527         name separately.
32529         * benchtests/bench-modf.c: Remove.
32530         * benchtests/modf-inputs: New inputs file.
32532 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
32534         [BZ #16362]
32535         * math/s_clog10.c (M_PI_LOG10E): New macro.
32536         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
32537         imaginary parts are 0.
32538         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
32539         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
32540         imaginary parts are 0.
32541         * math/s_clog10l.c (M_PI_LOG10El): New macro.
32542         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
32543         imaginary parts are 0.
32544         * math/libm-test.inc (clog10_test_data): Update expected results
32545         for when real and imaginary parts are 0.
32547 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
32549         * elf/dl-load.c: Finish conversion of __builtin_expect into
32550         __glibc_{un}likely.
32552 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
32554         [BZ #16348]
32555         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
32556         1+x for argument with exponent below -67.
32557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
32558         Likewise.
32559         * math/auto-libm-test-in: Add more tests of exp.
32560         * math/auto-libm-test-out: Regenerated.
32562 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32564         [BZ #16759]
32565         * inet/getnetgrent_r.c (get_nonempty_val): New function.
32566         (nscd_getnetgrent): Use it.
32568         [BZ #16760]
32569         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
32570         of stpcpy.
32572 2014-03-27  Andi Kleen  <ak@linux.intel.com>
32574         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
32575         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32576         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32577         (lll_robust_unlock): Remove out of line section. Use cfi
32578         intrinsics.
32579         (LLL_STUB_UNWIND_INFO*): Remove.
32580         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
32581         (lll_robust_lock, lll_cond_lock, lll_timedlock)
32582         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
32583         (lll_robust_unlock): Remove out of line section. Use cfi
32584         intrinsics.
32585         (LLL_STUB_UNWIND_INFO*): Remove.
32587 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32589         [BZ #16758]
32590         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
32591         blank values.
32593 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
32595         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
32597 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
32599         [BZ #16198]
32600         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
32601         fnstenv.
32602         * math/test-fenv-preserve.c: New file.
32603         * math/Makefile (tests): Add test-fenv-preserve.
32605 2014-03-26  Will Newton <will.newton@linaro.org>
32607         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
32609 2014-03-25  Roland McGrath  <roland@hack.frob.com>
32611         * scripts/versionlist.awk: Partition the version sets and emit all
32612         GLIBC_* (sorted) before all others (sorted).
32614 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32616         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
32617         GLIBC_2.2.5 version.
32619 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32621         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
32622         calls.
32624         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
32625         previous change.
32627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32629 2014-03-25  Andreas Schwab  <schwab@suse.de>
32631         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
32632         label to be used after in6ailist is initialized.
32634 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32636         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32637         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32639 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
32641         [BZ #16357]
32642         [BZ #16599]
32643         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
32644         min_plus_half.
32645         (fp_formats): Update initializers.
32646         (init_fp_formats): Initialize new field.
32647         (output_for_one_input_case): Allow underflow for results up to
32648         min_plus_half.
32649         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
32650         * math/auto-libm-test-in: Don't mark some underflows from asin and
32651         atanh as spurious.
32652         * math/auto-libm-test-out: Regenerated.
32653         * sysdeps/i386/fpu/libm-test-ulps: Update.
32654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32656 2014-03-25  Andreas Schwab  <schwab@suse.de>
32658         * libio/Makefile (tst-ftell-partial-wide-ENV)
32659         (tst-ftell-active-handler-ENV): Define.
32661 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
32663         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
32665 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32667         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
32669 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32671         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
32672         * sysdeps/x86_64/fpu/multiarch/e_exp.c
32673         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
32675 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32677         [BZ #16634]
32678         * elf/dl-load.c (open_verify): Add mode parameter.
32679         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
32680         (open_path): Change from boolean 'secure' to complete flag 'mode'
32681         (_dl_map_object): Adjust.
32682         * elf/Makefile (tests): Add tst-dlopen-aout.
32683         * elf/tst-dlopen-aout.c: New test.
32685 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
32687         [BZ #16714]
32688         * sysdeps/unix/sysv/linux/s390/bits/stat.h
32689         (struct stat): Rename member pad0 to __glibc_reserved0.
32691         [BZ #16712]
32692         * sysdeps/s390/s390-32/bits/wordsize.h
32693         (__WORDSIZE32_SIZE_ULONG): New define.
32694         * sysdeps/s390/s390-64/bits/wordsize.h
32695         (__WORDSIZE32_SIZE_ULONG): Likewise.
32696         * sysdeps/generic/stdint.h (SIZE_MAX):
32697         Define as UL if __WORDSIZE32_SIZE_ULONG.
32699         [BZ #16713]
32700         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
32701         (__glibc_reserved0): New variable.
32702         (sa_flags): Change type to int.
32704         * posix/Makefile (before-compile): Use += before-compile instead
32705         of a :=.
32707         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32708         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
32710 2014-03-20  Andreas Schwab  <schwab@suse.de>
32712         [BZ #16743]
32713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
32714         non-matching result from nscd.
32716 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32718         * scripts/bench.py: Moved to ...
32719         * benchtests/scripts/bench.py: ... here.
32720         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
32722 2014-03-24  Andreas Schwab  <schwab@suse.de>
32724         [BZ #16002]
32725         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
32726         alloca_account and account alloca use for struct in6ailist.
32728 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
32730         [BZ #16284]
32731         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
32732         rounding mode to recompute results that overflow to infinity or
32733         underflow to zero.
32734         * math/auto-libm-test-in: Don't mark tests as expected to fail for
32735         bug 16284.
32736         * math/auto-libm-test-out: Regenerated.
32737         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
32738         (ccosh_test): Likewise.
32739         (csin_test_data): Use plus_oflow.
32740         (csin_test): Use ALL_RM_TEST.
32741         (csinh_test_data): Use plus_oflow.
32742         (csinh_test): Use ALL_RM_TEST.
32743         * sysdeps/i386/fpu/libm-test-ulps: Update.
32744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32746 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
32748         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
32749         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
32750         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
32752         [BZ #16731]
32753         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
32754         when x - 1 is zero.
32755         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
32756         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
32757         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32758         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
32759         argument is 1.
32760         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
32761         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
32762         zero.
32763         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
32764         * sysdeps/i386/fpu/libm-test-ulps: Update.
32765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32767 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32769         * scripts/bench.pl: Remove file.
32770         * scripts/bench.py: New benchmark script.
32771         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
32772         * benchtests/README: Mention python dependency.
32773         * scripts/pylintrc: New file.
32774         * scripts/pylint: New file.
32776         * bits/mathdef.h: Use #ifdef instead of #if.
32777         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
32778         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32779         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
32780         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32781         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
32782         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
32784 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32785             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32787         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
32788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
32789         and strpbrk-ppc64 objects.
32790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32791         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
32792         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
32793         multiarch strpbrk for POWER7.
32794         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
32795         multiarch strpbrk for PPC64.
32796         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
32797         ifunc selector.
32798         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
32799         strpbrk for POWER7.
32801 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32803         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
32804         (atan_test): Likewise.
32805         (atanh_test_data): Use NO_TEST_INLINE for two tests.
32806         (atanh_test): Use ALL_RM_TEST.
32807         (atan2_test_data): Likewise.
32808         (cabs_test): Likewise.
32809         (cacosh_test): Likewise.
32810         (carg_test): Likewise.
32811         (casin_test): Likewise.
32812         (casinh_test): Likewise.
32813         (cbrt_test): Likewise.
32814         (csqrt_test): Likewise.
32815         (erf_test): Likewise.
32816         (erfc_test): Likewise.
32817         (pow10_test): Likewise.
32818         (exp2_test): Likewise.
32819         (hypot_test): Likewise.
32820         (j0_test): Likewise.
32821         (j1_test): Likewise.
32822         (lgamma_test): Likewise.
32823         (gamma_test): Likewise.
32824         (sincos_test): Likewise.
32825         (tanh_test): Likewise.
32826         (y0_test): Likewise.
32827         (y1_test): Likewise.
32828         * sysdeps/i386/fpu/libm-test-ulps: Update.
32829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32831 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32833         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
32834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
32835         and strcspn-ppc64 objects.
32836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32837         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
32838         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
32839         multiarch strcspn for POWER7.
32840         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
32841         multiarch strcspn for PPC64.
32842         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
32843         ifunc selector.
32844         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
32845         strcspn for POWER7.
32847 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
32849         * math/gen-libm-test.pl (generate_testfile): Expect only function
32850         name as argument to AUTO_TESTS_* and pass results for all rounding
32851         modes to parse_args.
32852         (parse_auto_input): Separate inputs of automatic tests from
32853         outputs before storing in %auto_tests.
32854         * math/libm-test.inc (acos_test_data): Update call to
32855         AUTO_TESTS_f_f.
32856         (acos_test): Use ALL_RM_TEST.
32857         (acos_tonearest_test_data): Remove.
32858         (acos_test_tonearest): Likewise.
32859         (acos_towardzero_test_data): Likewise.
32860         (acos_test_towardzero): Likewise.
32861         (acos_downward_test_data): Likewise.
32862         (acos_test_downward): Likewise.
32863         (acos_upward_test_data): Likewise.
32864         (acos_test_upward): Likewise.
32865         (acosh_test_data): Update call to AUTO_TESTS_f_f.
32866         (asin_test_data): Likewise.
32867         (asin_test): Use ALL_RM_TEST.
32868         (asin_tonearest_test_data): Remove.
32869         (asin_test_tonearest): Likewise.
32870         (asin_towardzero_test_data): Likewise.
32871         (asin_test_towardzero): Likewise.
32872         (asin_downward_test_data): Likewise.
32873         (asin_test_downward): Likewise.
32874         (asin_upward_test_data): Likewise.
32875         (asin_test_upward): Likewise.
32876         (asinh_test_data): Update call to AUTO_TESTS_f_f.
32877         (atan_test_data): Likewise.
32878         (atanh_test_data): Likewise.
32879         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
32880         (cabs_test_data): Update call to AUTO_TESTS_c_f.
32881         (carg_test_data): Likewise.
32882         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
32883         (ccos_test_data): Update call to AUTO_TESTS_c_c.
32884         (ccosh_test_data): Likewise.
32885         (cexp_test_data): Likewise.
32886         (clog_test_data): Likewise.
32887         (clog10_test_data): Likewise.
32888         (cos_test_data): Update call to AUTO_TESTS_f_f.
32889         (cos_test): Use ALL_RM_TEST.
32890         (cos_tonearest_test_data): Remove.
32891         (cos_test_tonearest): Likewise.
32892         (cos_towardzero_test_data): Likewise.
32893         (cos_test_towardzero): Likewise.
32894         (cos_downward_test_data): Likewise.
32895         (cos_test_downward): Likewise.
32896         (cos_upward_test_data): Likewise.
32897         (cos_test_upward): Likewise.
32898         (cosh_test_data): Update call to AUTO_TESTS_f_f.
32899         (cosh_test): Use ALL_RM_TEST.
32900         (cosh_tonearest_test_data): Remove.
32901         (cosh_test_tonearest): Likewise.
32902         (cosh_towardzero_test_data): Likewise.
32903         (cosh_test_towardzero): Likewise.
32904         (cosh_downward_test_data): Likewise.
32905         (cosh_test_downward): Likewise.
32906         (cosh_upward_test_data): Likewise.
32907         (cosh_test_upward): Likewise.
32908         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
32909         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
32910         (ctan_test_data): Likewise.
32911         (ctan_test): Use ALL_RM_TEST.
32912         (ctan_tonearest_test_data): Remove.
32913         (ctan_test_tonearest): Likewise.
32914         (ctan_towardzero_test_data): Likewise.
32915         (ctan_test_towardzero): Likewise.
32916         (ctan_downward_test_data): Likewise.
32917         (ctan_test_downward): Likewise.
32918         (ctan_upward_test_data): Likewise.
32919         (ctan_test_upward): Likewise.
32920         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
32921         (ctanh_test): Use ALL_RM_TEST.
32922         (ctanh_tonearest_test_data): Remove.
32923         (ctanh_test_tonearest): Likewise.
32924         (ctanh_towardzero_test_data): Likewise.
32925         (ctanh_test_towardzero): Likewise.
32926         (ctanh_downward_test_data): Likewise.
32927         (ctanh_test_downward): Likewise.
32928         (ctanh_upward_test_data): Likewise.
32929         (ctanh_test_upward): Likewise.
32930         (erf_test_data): Update call to AUTO_TESTS_f_f.
32931         (erfc_test_data): Likewise.
32932         (exp_test_data): Likewise.
32933         (exp_test): Use ALL_RM_TEST.
32934         (exp_tonearest_test_data): Remove.
32935         (exp_test_tonearest): Likewise.
32936         (exp_towardzero_test_data): Likewise.
32937         (exp_test_towardzero): Likewise.
32938         (exp_downward_test_data): Likewise.
32939         (exp_test_downward): Likewise.
32940         (exp_upward_test_data): Likewise.
32941         (exp_test_upward): Likewise.
32942         (exp10_test_data): Update call to AUTO_TESTS_f_f.
32943         (exp10_test): Use ALL_RM_TEST.
32944         (exp10_tonearest_test_data): Remove.
32945         (exp10_test_tonearest): Likewise.
32946         (exp10_towardzero_test_data): Likewise.
32947         (exp10_test_towardzero): Likewise.
32948         (exp10_downward_test_data): Likewise.
32949         (exp10_test_downward): Likewise.
32950         (exp10_upward_test_data): Likewise.
32951         (exp10_test_upward): Likewise.
32952         (exp2_test_data): Update call to AUTO_TESTS_f_f.
32953         (expm1_test_data): Likewise.
32954         (expm1_test): Use ALL_RM_TEST.
32955         (expm1_tonearest_test_data): Remove.
32956         (expm1_test_tonearest): Likewise.
32957         (expm1_towardzero_test_data): Likewise.
32958         (expm1_test_towardzero): Likewise.
32959         (expm1_downward_test_data): Likewise.
32960         (expm1_test_downward): Likewise.
32961         (expm1_upward_test_data): Likewise.
32962         (expm1_test_upward): Likewise.
32963         (fma_test_data): Update call to AUTO_TESTS_fff_f.
32964         (fma_test): Use ALL_RM_TEST.
32965         (fma_towardzero_test_data): Remove.
32966         (fma_test_towardzero): Likewise.
32967         (fma_downward_test_data): Likewise.
32968         (fma_test_downward): Likewise.
32969         (fma_upward_test_data): Likewise.
32970         (fma_test_upward): Likewise.
32971         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
32972         (j0_test_data): Update call to AUTO_TESTS_f_f.
32973         (j1_test_data): Likewise.
32974         (jn_test_data): Update call to AUTO_TESTS_if_f.
32975         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
32976         (log_test_data): Update call to AUTO_TESTS_f_f.
32977         (log10_test_data): Likewise.
32978         (log1p_test_data): Likewise.
32979         (log2_test_data): Likewise.
32980         (pow_test_data): Update call to AUTO_TESTS_ff_f.
32981         (pow_tonearest_test_data): Likewise.
32982         (sin_test_data): Update call to AUTO_TESTS_f_f.
32983         (sin_test): Use ALL_RM_TEST.
32984         (sin_tonearest_test_data): Remove.
32985         (sin_test_tonearest): Likewise.
32986         (sin_towardzero_test_data): Likewise.
32987         (sin_test_towardzero): Likewise.
32988         (sin_downward_test_data): Likewise.
32989         (sin_test_downward): Likewise.
32990         (sin_upward_test_data): Likewise.
32991         (sin_test_upward): Likewise.
32992         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
32993         (sinh_test_data): Update call to AUTO_TESTS_f_f.
32994         (sinh_test): Use ALL_RM_TEST.
32995         (sinh_tonearest_test_data): Remove.
32996         (sinh_test_tonearest): Likewise.
32997         (sinh_towardzero_test_data): Likewise.
32998         (sinh_test_towardzero): Likewise.
32999         (sinh_downward_test_data): Likewise.
33000         (sinh_test_downward): Likewise.
33001         (sinh_upward_test_data): Likewise.
33002         (sinh_test_upward): Likewise.
33003         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33004         (sqrt_test): Use ALL_RM_TEST.
33005         (sqrt_tonearest_test_data): Remove.
33006         (sqrt_test_tonearest): Likewise.
33007         (sqrt_towardzero_test_data): Likewise.
33008         (sqrt_test_towardzero): Likewise.
33009         (sqrt_downward_test_data): Likewise.
33010         (sqrt_test_downward): Likewise.
33011         (sqrt_upward_test_data): Likewise.
33012         (sqrt_test_upward): Likewise.
33013         (tan_test_data): Update call to AUTO_TESTS_f_f.
33014         (tan_test): Use ALL_RM_TEST.
33015         (tan_tonearest_test_data): Remove.
33016         (tan_test_tonearest): Likewise.
33017         (tan_towardzero_test_data): Likewise.
33018         (tan_test_towardzero): Likewise.
33019         (tan_downward_test_data): Likewise.
33020         (tan_test_downward): Likewise.
33021         (tan_upward_test_data): Likewise.
33022         (tan_test_upward): Likewise.
33023         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33024         (tgamma_test_data): Likewise.
33025         (y0_test_data): Likewise.
33026         (y1_test_data): Likewise.
33027         (yn_test_data): Update call to AUTO_TESTS_if_f.
33028         (main): Do not call removed functions.
33030 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33032         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33033         (ldexp_test_data): Remove.
33034         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33035         scalbn_test_data.
33036         (scalb_test): Use ALL_RM_TEST.
33038 2014-03-19  Andreas Schwab  <schwab@suse.de>
33040         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33042 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33044         [BZ #16649]
33045         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33046         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33047         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33048         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33049         (__ASSUME_PREADV): Undefine.
33050         (__ASSUME_PWRITEV): Likewise.
33052 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33054         * bits/mman-linux.h: Add comment about non-Linux use.
33055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33056         bits/mman-linux.h resting place.
33058         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33059         * bits/mman-linux.h: ... here.
33061 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33063         * conform/conformtest.pl: Add standard definition when calling C
33064         preprocessor on data files.
33065         (checknamespace): Remove unused variable.
33067 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33069         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33070         minus_oflow, plus_uflow and minus_uflow in expected results.
33071         * math/libm-test.inc (scalbn_test_data): Add more tests of
33072         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33073         minus_uflow.
33074         (scalbn_test): Use ALL_RM_TEST.
33075         (scalbln_test_data): Add more tests of negative arguments.  Use
33076         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33077         (scalbln_test): Use ALL_RM_TEST.
33079 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33081         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33083 2014-03-18  Will Newton  <will.newton@linaro.org>
33085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33086         inaccurate comment.
33088 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33090         * Makerules [!subdir] (check-abi): Exit with error status if a
33091         test failed.
33093 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33095         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33096         for rint.  Include results for all rounding modes.
33097         (nearbyint_test): Use ALL_RM_TEST.
33098         (rint_test_data): Include all tests used for nearbyint.
33100 2014-03-17  Will Newton  <will.newton@linaro.org>
33102         * nptl/sysdeps/pthread/pthread.h: Revert previous
33103         change.
33105         * sysdeps/generic/ldsodefs.h: Revert previous
33106         change.
33108         * libio/genops.c: Revert previous change.
33109         * libio/libioP.h: Likewise.
33110         * stdio-common/vfprintf.c: Likewise.
33112         * sysdeps/generic/math_private.h: Revert previous
33113         change.
33115         * sysdeps/generic/math_private.h: Check whether
33116         HAVE_RM_CTX is defined with #ifdef rather
33117         than #if.
33119         * argp/argp-fmtstream.h: Check whether
33120         __STRICT_ANSI__ is defined with #ifdef rather
33121         than #if.
33122         * argp/argp.h: Likewise.
33124         * libio/genops.c: Check whether
33125         _IO_JUMPS_OFFSET is defined with #ifdef rather
33126         than #if.
33127         * libio/libioP.h: Likewise.
33128         * stdio-common/vfprintf.c: Likewise.
33130         * sysdeps/generic/ldsodefs.h: Check whether
33131         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33132         than #if.
33134         * nptl/sysdeps/pthread/pthread.h: Check
33135         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33136         its value.
33138 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33140         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33141         setting O_APPEND.
33142         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33143         test case.
33145         [BZ #16680]
33146         * libio/fileops.c (_IO_file_open): Seek to end of file but
33147         don't cache the offset.
33148         (get_file_offset): Remove function.
33149         (do_ftell): Use cached offset when available.
33150         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33151         don't cache the offset.
33152         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33153         case.
33154         (do_one_test): Call it.
33155         (do_ftell_test): Fix up expected old offset for a+ mode.
33156         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33157         available.
33159         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33160         up test status with function return status.
33161         (do_write_test): Likewise.
33162         (do_append_test): Likewise.
33164         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33165         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33166         Remove.
33168 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33170         * math/gen-libm-test.pl (parse_args): Handle results specified for
33171         each rounding mode separately.
33172         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33173         tests and results from lrint_tonearest_test_data,
33174         lrint_towardzero_test_data, lrint_downward_test_data and
33175         lrint_upward_test_data.
33176         (lrint_test): Use ALL_RM_TEST.
33177         (lrint_tonearest_test_data): Remove.
33178         (lrint_test_tonearest): Likewise.
33179         (lrint_towardzero_test_data): Likewise.
33180         (lrint_test_towardzero): Likewise.
33181         (lrint_downward_test_data): Likewise.
33182         (lrint_test_downward): Likewise.
33183         (lrint_upward_test_data): Likewise.
33184         (lrint_test_upward): Likewise.
33185         (llrint_test_data): Merge in per-rounding-mode tests and results
33186         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33187         llrint_downward_test_data and llrint_upward_test_data.
33188         (llrint_test): Use ALL_RM_TEST.
33189         (llrint_tonearest_test_data): Remove.
33190         (llrint_test_tonearest): Likewise.
33191         (llrint_towardzero_test_data): Likewise.
33192         (llrint_test_towardzero): Likewise.
33193         (llrint_downward_test_data): Likewise.
33194         (llrint_test_downward): Likewise.
33195         (llrint_upward_test_data): Likewise.
33196         (llrint_test_upward): Likewise.
33197         (rint_test_data): Merge in per-rounding-mode tests and results
33198         from rint_tonearest_test_data, rint_towardzero_test_data,
33199         rint_downward_test_data and rint_upward_test_data.  Add
33200         per-rounding-mode results for tests not in those arrays.
33201         (rint_test): Use ALL_RM_TEST.
33202         (rint_tonearest_test_data): Remove.
33203         (rint_test_tonearest): Likewise.
33204         (rint_towardzero_test_data): Likewise.
33205         (rint_test_towardzero): Likewise.
33206         (rint_downward_test_data): Likewise.
33207         (rint_test_downward): Likewise.
33208         (rint_upward_test_data): Likewise.
33209         (rint_test_upward): Likewise.
33210         (main): Don't call removed functions.
33212 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33214         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33215         "Compiled on ..." crapola.  It is anti-useful.
33217 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33219         * scripts/evaluate-test.sh: Handle fourth argument to determine
33220         whether test run should stop on failure.
33221         * Makeconfig (stop-on-test-failure): New variable.
33222         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33223         $(stop-on-test-failure).
33224         * Makefile (tests): Give a summary of results from testing and
33225         exit with failure status if they include an ERROR or FAIL.
33226         (xtests): Likewise.
33227         * manual/install.texi (Configuring and compiling): Mention
33228         stop-on-test-failure=y.
33229         * INSTALL: Regenerated.
33231 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33233         * scripts/versionlist.awk: New file.
33234         * Makerules [$(build-shared) = yes]
33235         (postclean-generated): Add Versions.def, not Versions.def.v and
33236         Versions.def.v.i.
33237         ($(common-objpfx)Versions.def.v.i): Target removed.
33238         ($(common-objpfx)Versions.def): New target.
33239         ($(common-objpfx)Versions.all): Depend on that rather that
33240         $(common-objpfx)Versions.def.v.
33241         * Versions.def: File removed.
33243         * Makeconfig (+gccwarn): Add -Wundef.
33244         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33245         a dl-sysdep.h breaking its contract.
33246         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33247         * include/stackinfo.h: New file.
33248         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33249         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33250         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33251         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33252         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33253         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33254         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33255         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33256         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33257         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33258         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33259         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33260         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33261         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33262         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33264 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33266         [BZ #16707]
33267         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33268         implementation.
33269         * math/libm-test.inc (round_test_data): Add more tests.
33271         [BZ #16706]
33272         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33273         implementation.
33274         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33276         [BZ #16701]
33277         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33278         implementation.
33279         * math/libm-test.inc (ceil_test_data): Add more tests.
33281         * math/libm-test.inc (trunc_test_data): Add more tests related to
33282         BZ#16414.
33284 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33286         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33287         with #if rather than #ifdef.
33288         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33290 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33292         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33293         first.  Disable AVX-512 GCC support if assembler doesn't support
33294         it.
33295         * sysdeps/x86_64/configure: Regenerated.
33297 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33299         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33300         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33301         (__old_pthread_attr_setstack): Likewise.
33302         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33303         [!_STACK_GROWS_DOWN]: Likewise.
33305 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33307         * config.make.in (have-bash2): Delete.
33308         * configure.ac (libc_cv_have_bash2): Delete.
33309         * configure: Regenerate.
33310         * elf/Makefile (common-ldd-rewrite): Rename to ...
33311         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33312         (sh-ldd-rewrite): Delete.
33313         (bash-ldd-rewrite): Delete.
33314         (have-bash2): Delete checks.
33315         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33316         ldd-rewrite.
33318         * config.make.in (have-ksh): Delete.
33319         (KSH): Delete.
33320         * configure.ac (libc_cv_have_ksh): Delete.
33321         * configure: Regenerate.
33323         * elf/Makefile: Delete $(have-ksh) check.
33324         ($(objpfx)sotruss): Change KSH to BASH.
33325         * elf/sotruss.ksh: Rename to ...
33326         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33327         function style to match POSIX.  Drop ksh vim mode setting.
33329         * manual/time.texi (Specifying the Time Zone with TZ): Change
33330         Tuesday to Thursday.
33332         * debug/tst-longjmp_chk2.c: Update header comment.
33333         (stackoverflow_handler): Add comment.  Call assert on pass value.
33335 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33337         [BZ #16194]
33338         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33339         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33340         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33341         (La_x86_64_vector): Add zmm.
33342         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33343         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33344         ($(objpfx)tst-audit10): New target.
33345         ($(objpfx)tst-audit10.out): Likewise.
33346         (tst-audit10-ENV): New.
33347         (AVX512-CFLAGS): Likewise.
33348         (CFLAGS-tst-audit10.c): Likewise.
33349         (CFLAGS-tst-auditmod10a.c): Likewise.
33350         (CFLAGS-tst-auditmod10b.c): Likewise.
33351         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33352         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33353         * sysdeps/x86_64/configure: Regenerated.
33354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33355         AVX-512 zmm register support.
33356         (_dl_x86_64_save_sse): Likewise.
33357         (_dl_x86_64_restore_sse): Likewise.
33358         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33359         size vector registers.
33360         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33361         (ZMM_SIZE): Likewise.
33362         * sysdeps/x86_64/tst-audit10.c: New file.
33363         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33364         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33366 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33368         * configure.ac (HAVE_EHDR_START): New check.
33369         * configure: Regenerated.
33370         * config.h.in (HAVE_EHDR_START): New #undef.
33371         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33372         assuming the lowest-addressed segment maps the start of the file.
33374 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33376         * INSTALL: Regenerated.
33378 2014-03-13  Will Newton  <will.newton@linaro.org>
33380         * manual/setjmp.texi (System V contexts): Improve
33381         clarity and grammar of documentation.
33383 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33385         [BZ #16381]
33386         * elf/Makefile (tests): Add tst-pie2.
33387         (tests-pie): Add tst-pie2.
33388         * elf/tst-pie2.c: New file.
33389         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33390         for ET_EXEC.
33391         * elf/rtld.c (map_doit): Load executable as lt_executable.
33392         (dl_main): Likewise.
33394 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33396         [BZ #16642]
33397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33398         (__ASSUME_PSELECT): Undefine.
33400 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33402         [BZ #16689]
33403         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33404         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33405         static build.
33406         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
33407         selector for static builds.
33409 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33411         [BZ #16695]
33412         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
33413         key in the buffer.
33415 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33417         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
33418         IFUNC selector for static builds.
33420 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
33422         * sysdeps/mips/math_private.h [__mips_hard_float]
33423         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
33424         libc_feresetround_mips_ctx.
33425         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
33426         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
33427         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
33429         [BZ #16677]
33430         * math/s_nextafter.c (__nextafter): Do not return value from
33431         overflowing computation.
33432         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
33433         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
33434         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
33435         Likewise.
33436         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
33437         Likewise.
33438         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
33439         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
33441 2014-03-11  Roland McGrath  <roland@hack.frob.com>
33443         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
33444         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
33445         Move sfi_sp use from the load-multiple (that no longer sets sp) to
33446         the new mov targetting sp.
33448 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33450         [BZ #16683]
33451         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
33452         Define it for static builds as well.
33453         (NO_BZERO_IMPL): Likewise.
33455 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33457         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
33458         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
33459         multiarch strspn for PPC64.
33460         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
33461         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
33462         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33463         (__libc_ifunc_impl_list): Likewise.
33464         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
33465         multiarch optimizations
33466         * string/strspn.c (strspn): Using macro to redefine symbol name.
33468 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33469             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33471         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
33472         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
33473         multiarch strncat for PPC64.
33474         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
33475         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
33476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33477         (__libc_ifunc_impl_list): Likewise.
33478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
33479         multiarch optimizations
33481 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33483         [BZ #16639]
33484         * nscd/nscd.service: Make service type forking.
33486 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33488         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
33489         sign in non default rounding modes.
33490         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
33492 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
33494         * math/libm-test.inc (ALL_RM_TEST): New macro.
33495         (ceil_test): Use ALL_RM_TEST.
33496         (cimag_test): Likewise.
33497         (conj_test): Likewise.
33498         (copysign_test): Likewise.
33499         (cproj_test): Likewise.
33500         (creal_test): Likewise.
33501         (fabs_test): Likewise.
33502         (floor_test): Likewise.
33503         (fmax_test): Likewise.
33504         (fmin_test): Likewise.
33505         (fmod_test): Likewise.
33506         (fpclassify_test): Likewise.
33507         (frexp_test): Likewise.
33508         (ilogb_test): Likewise.
33509         (isfinite_test): Likewise.
33510         (finite_test): Likewise.
33511         (isgreater_test): Likewise.
33512         (isgreaterequal_test): Likewise.
33513         (isinf_test): Likewise.
33514         (isless_test): Likewise.
33515         (islessequal_test): Likewise.
33516         (islessgreater_test): Likewise.
33517         (isnan_test): Likewise.
33518         (isnormal_test): Likewise.
33519         (issignaling_test): Likewise.
33520         (isunordered_test): Likewise.
33521         (logb_test): Likewise.
33522         (logb_downward_test_data): Remove.
33523         (logb_test_downward): Likewise.
33524         (lround_test): Use ALL_RM_TEST.
33525         (llround_test): Likewise.
33526         (modf_test): Likewise.
33527         (nexttoward_test): Likewise.
33528         (remainder_test): Likewise.
33529         (drem_test): Likewise.
33530         (remainder_tonearest_test_data): Likewise.
33531         (remainder_test_tonearest): Likewise.
33532         (drem_test_tonearest): Likewise.
33533         (remainder_towardzero_test_data): Likewise.
33534         (remainder_test_towardzero): Likewise.
33535         (drem_test_towardzero): Likewise.
33536         (remainder_downward_test_data): Likewise.
33537         (remainder_test_downward): Likewise.
33538         (drem_test_downward): Likewise.
33539         (remainder_upward_test_data): Likewise.
33540         (remainder_test_upward): Likewise.
33541         (drem_test_upward): Likewise.
33542         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
33543         (round_test): Use ALL_RM_TEST.
33544         (signbit_test): Likewise.
33545         (trunc_test): Likewise.
33546         (significand_test): Likewise.
33547         (main): Don't call removed functions.
33549 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33551         [BZ #16674]
33552         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
33553         || __USE_XOPEN2K8].
33554         (ILL_ILLOPN): Likewise.
33555         (ILL_ILLADR): Likewise.
33556         (ILL_ILLTRP): Likewise.
33557         (ILL_PRVOPC): Likewise.
33558         (ILL_PRVREG): Likewise.
33559         (ILL_COPROC): Likewise.
33560         (ILL_BADSTK): Likewise.
33561         (FPE_INTDIV): Likewise.
33562         (FPE_INTOVF): Likewise.
33563         (FPE_FLTDIV): Likewise.
33564         (FPE_FLTOVF): Likewise.
33565         (FPE_FLTUND): Likewise.
33566         (FPE_FLTRES): Likewise.
33567         (FPE_FLTINV): Likewise.
33568         (FPE_FLTSUB): Likewise.
33569         (SEGV_MAPERR): Likewise.
33570         (SEGV_ACCERR): Likewise.
33571         (BUS_ADRALN): Likewise.
33572         (BUS_ADRERR): Likewise.
33573         (BUS_OBJERR): Likewise.
33574         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33575         (TRAP_TRACE): Likewise.
33576         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33577         __USE_XOPEN2K8].
33578         (CLD_KILLED): Likewise.
33579         (CLD_DUMPED): Likewise.
33580         (CLD_TRAPPED): Likewise.
33581         (CLD_STOPPED): Likewise.
33582         (CLD_CONTINUED): Likewise.
33583         (POLL_IN): Likewise.
33584         (POLL_OUT): Likewise.
33585         (POLL_MSG): Likewise.
33586         (POLL_ERR): Likewise.
33587         (POLL_PRI): Likewise.
33588         (POLL_HUP): Likewise.
33589         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
33590         Likewise.
33591         (ILL_ILLOPN): Likewise.
33592         (ILL_ILLADR): Likewise.
33593         (ILL_ILLTRP): Likewise.
33594         (ILL_PRVOPC): Likewise.
33595         (ILL_PRVREG): Likewise.
33596         (ILL_COPROC): Likewise.
33597         (ILL_BADSTK): Likewise.
33598         (FPE_INTDIV): Likewise.
33599         (FPE_INTOVF): Likewise.
33600         (FPE_FLTDIV): Likewise.
33601         (FPE_FLTOVF): Likewise.
33602         (FPE_FLTUND): Likewise.
33603         (FPE_FLTRES): Likewise.
33604         (FPE_FLTINV): Likewise.
33605         (FPE_FLTSUB): Likewise.
33606         (SEGV_MAPERR): Likewise.
33607         (SEGV_ACCERR): Likewise.
33608         (BUS_ADRALN): Likewise.
33609         (BUS_ADRERR): Likewise.
33610         (BUS_OBJERR): Likewise.
33611         (BUS_MCEERR_AR): Likewise.
33612         (BUS_MCEERR_AO): 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/bits/siginfo.h (ILL_ILLOPC): Likewise.
33629         (ILL_ILLOPN): Likewise.
33630         (ILL_ILLADR): Likewise.
33631         (ILL_ILLTRP): Likewise.
33632         (ILL_PRVOPC): Likewise.
33633         (ILL_PRVREG): Likewise.
33634         (ILL_COPROC): Likewise.
33635         (ILL_BADSTK): Likewise.
33636         (FPE_INTDIV): Likewise.
33637         (FPE_INTOVF): Likewise.
33638         (FPE_FLTDIV): Likewise.
33639         (FPE_FLTOVF): Likewise.
33640         (FPE_FLTUND): Likewise.
33641         (FPE_FLTRES): Likewise.
33642         (FPE_FLTINV): Likewise.
33643         (FPE_FLTSUB): Likewise.
33644         (SEGV_MAPERR): Likewise.
33645         (SEGV_ACCERR): Likewise.
33646         (BUS_ADRALN): Likewise.
33647         (BUS_ADRERR): Likewise.
33648         (BUS_OBJERR): Likewise.
33649         (BUS_MCEERR_AR): Likewise.
33650         (BUS_MCEERR_AO): Likewise.
33651         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33652         (TRAP_TRACE): Likewise.
33653         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33654         __USE_XOPEN2K8].
33655         (CLD_KILLED): Likewise.
33656         (CLD_DUMPED): Likewise.
33657         (CLD_TRAPPED): Likewise.
33658         (CLD_STOPPED): Likewise.
33659         (CLD_CONTINUED): Likewise.
33660         (POLL_IN): Likewise.
33661         (POLL_OUT): Likewise.
33662         (POLL_MSG): Likewise.
33663         (POLL_ERR): Likewise.
33664         (POLL_PRI): Likewise.
33665         (POLL_HUP): Likewise.
33666         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
33667         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         (ILL_BADIADDR): Likewise.
33676         (ILL_BREAK): Likewise.
33677         (FPE_INTDIV): Likewise.
33678         (FPE_INTOVF): Likewise.
33679         (FPE_FLTDIV): Likewise.
33680         (FPE_FLTOVF): Likewise.
33681         (FPE_FLTUND): Likewise.
33682         (FPE_FLTRES): Likewise.
33683         (FPE_FLTINV): Likewise.
33684         (FPE_FLTSUB): Likewise.
33685         (FPE_DECOVF): Likewise.
33686         (FPE_DECDIV): Likewise.
33687         (FPE_DECERR): Likewise.
33688         (FPE_INVASC): Likewise.
33689         (FPE_INVDEC): Likewise.
33690         (SEGV_MAPERR): Likewise.
33691         (SEGV_ACCERR): Likewise.
33692         (SEGV_PSTKOVF): Likewise.
33693         (BUS_ADRALN): Likewise.
33694         (BUS_ADRERR): Likewise.
33695         (BUS_OBJERR): Likewise.
33696         (BUS_MCEERR_AR): Likewise.
33697         (BUS_MCEERR_AO): Likewise.
33698         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33699         (TRAP_TRACE): Likewise.
33700         (TRAP_BRANCH): Likewise.
33701         (TRAP_HWBKPT): Likewise.
33702         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33703         __USE_XOPEN2K8].
33704         (CLD_KILLED): Likewise.
33705         (CLD_DUMPED): Likewise.
33706         (CLD_TRAPPED): Likewise.
33707         (CLD_STOPPED): Likewise.
33708         (CLD_CONTINUED): Likewise.
33709         (POLL_IN): Likewise.
33710         (POLL_OUT): Likewise.
33711         (POLL_MSG): Likewise.
33712         (POLL_ERR): Likewise.
33713         (POLL_PRI): Likewise.
33714         (POLL_HUP): Likewise.
33715         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
33716         (ILL_ILLOPN): Likewise.
33717         (ILL_ILLADR): Likewise.
33718         (ILL_ILLTRP): Likewise.
33719         (ILL_PRVOPC): Likewise.
33720         (ILL_PRVREG): Likewise.
33721         (ILL_COPROC): Likewise.
33722         (ILL_BADSTK): Likewise.
33723         (FPE_INTDIV): Likewise.
33724         (FPE_INTOVF): Likewise.
33725         (FPE_FLTDIV): Likewise.
33726         (FPE_FLTOVF): Likewise.
33727         (FPE_FLTUND): Likewise.
33728         (FPE_FLTRES): Likewise.
33729         (FPE_FLTINV): Likewise.
33730         (FPE_FLTSUB): Likewise.
33731         (SEGV_MAPERR): Likewise.
33732         (SEGV_ACCERR): Likewise.
33733         (BUS_ADRALN): Likewise.
33734         (BUS_ADRERR): Likewise.
33735         (BUS_OBJERR): Likewise.
33736         (BUS_MCEERR_AR): Likewise.
33737         (BUS_MCEERR_AO): Likewise.
33738         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33739         (TRAP_TRACE): Likewise.
33740         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33741         __USE_XOPEN2K8].
33742         (CLD_KILLED): Likewise.
33743         (CLD_DUMPED): Likewise.
33744         (CLD_TRAPPED): Likewise.
33745         (CLD_STOPPED): Likewise.
33746         (CLD_CONTINUED): Likewise.
33747         (POLL_IN): Likewise.
33748         (POLL_OUT): Likewise.
33749         (POLL_MSG): Likewise.
33750         (POLL_ERR): Likewise.
33751         (POLL_PRI): Likewise.
33752         (POLL_HUP): Likewise.
33753         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
33754         (ILL_ILLOPN): Likewise.
33755         (ILL_ILLADR): Likewise.
33756         (ILL_ILLTRP): Likewise.
33757         (ILL_PRVOPC): Likewise.
33758         (ILL_PRVREG): Likewise.
33759         (ILL_COPROC): Likewise.
33760         (ILL_BADSTK): Likewise.
33761         (FPE_INTDIV): Likewise.
33762         (FPE_INTOVF): Likewise.
33763         (FPE_FLTDIV): Likewise.
33764         (FPE_FLTOVF): Likewise.
33765         (FPE_FLTUND): Likewise.
33766         (FPE_FLTRES): Likewise.
33767         (FPE_FLTINV): Likewise.
33768         (FPE_FLTSUB): Likewise.
33769         (SEGV_MAPERR): Likewise.
33770         (SEGV_ACCERR): Likewise.
33771         (BUS_ADRALN): Likewise.
33772         (BUS_ADRERR): Likewise.
33773         (BUS_OBJERR): Likewise.
33774         (BUS_MCEERR_AR): Likewise.
33775         (BUS_MCEERR_AO): Likewise.
33776         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33777         (TRAP_TRACE): Likewise.
33778         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33779         __USE_XOPEN2K8].
33780         (CLD_KILLED): Likewise.
33781         (CLD_DUMPED): Likewise.
33782         (CLD_TRAPPED): Likewise.
33783         (CLD_STOPPED): Likewise.
33784         (CLD_CONTINUED): Likewise.
33785         (POLL_IN): Likewise.
33786         (POLL_OUT): Likewise.
33787         (POLL_MSG): Likewise.
33788         (POLL_ERR): Likewise.
33789         (POLL_PRI): Likewise.
33790         (POLL_HUP): Likewise.
33791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
33792         (ILL_ILLOPN): Likewise.
33793         (ILL_ILLADR): Likewise.
33794         (ILL_ILLTRP): Likewise.
33795         (ILL_PRVOPC): Likewise.
33796         (ILL_PRVREG): Likewise.
33797         (ILL_COPROC): Likewise.
33798         (ILL_BADSTK): Likewise.
33799         (FPE_INTDIV): Likewise.
33800         (FPE_INTOVF): Likewise.
33801         (FPE_FLTDIV): Likewise.
33802         (FPE_FLTOVF): Likewise.
33803         (FPE_FLTUND): Likewise.
33804         (FPE_FLTRES): Likewise.
33805         (FPE_FLTINV): Likewise.
33806         (FPE_FLTSUB): Likewise.
33807         (SEGV_MAPERR): Likewise.
33808         (SEGV_ACCERR): Likewise.
33809         (BUS_ADRALN): Likewise.
33810         (BUS_ADRERR): Likewise.
33811         (BUS_OBJERR): Likewise.
33812         (BUS_MCEERR_AR): Likewise.
33813         (BUS_MCEERR_AO): Likewise.
33814         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33815         (TRAP_TRACE): Likewise.
33816         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33817         __USE_XOPEN2K8].
33818         (CLD_KILLED): Likewise.
33819         (CLD_DUMPED): Likewise.
33820         (CLD_TRAPPED): Likewise.
33821         (CLD_STOPPED): Likewise.
33822         (CLD_CONTINUED): Likewise.
33823         (POLL_IN): Likewise.
33824         (POLL_OUT): Likewise.
33825         (POLL_MSG): Likewise.
33826         (POLL_ERR): Likewise.
33827         (POLL_PRI): Likewise.
33828         (POLL_HUP): Likewise.
33829         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
33830         (ILL_ILLOPN): Likewise.
33831         (ILL_ILLADR): Likewise.
33832         (ILL_ILLTRP): Likewise.
33833         (ILL_PRVOPC): Likewise.
33834         (ILL_PRVREG): Likewise.
33835         (ILL_COPROC): Likewise.
33836         (ILL_BADSTK): Likewise.
33837         (ILL_DBLFLT): Likewise.
33838         (ILL_HARDWALL): Likewise.
33839         (FPE_INTDIV): Likewise.
33840         (FPE_INTOVF): Likewise.
33841         (FPE_FLTDIV): Likewise.
33842         (FPE_FLTOVF): Likewise.
33843         (FPE_FLTUND): Likewise.
33844         (FPE_FLTRES): Likewise.
33845         (FPE_FLTINV): Likewise.
33846         (FPE_FLTSUB): Likewise.
33847         (SEGV_MAPERR): Likewise.
33848         (SEGV_ACCERR): Likewise.
33849         (BUS_ADRALN): Likewise.
33850         (BUS_ADRERR): Likewise.
33851         (BUS_OBJERR): Likewise.
33852         (BUS_MCEERR_AR): Likewise.
33853         (BUS_MCEERR_AO): Likewise.
33854         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33855         (TRAP_TRACE): Likewise.
33856         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33857         __USE_XOPEN2K8].
33858         (CLD_KILLED): Likewise.
33859         (CLD_DUMPED): Likewise.
33860         (CLD_TRAPPED): Likewise.
33861         (CLD_STOPPED): Likewise.
33862         (CLD_CONTINUED): Likewise.
33863         (POLL_IN): Likewise.
33864         (POLL_OUT): Likewise.
33865         (POLL_MSG): Likewise.
33866         (POLL_ERR): Likewise.
33867         (POLL_PRI): Likewise.
33868         (POLL_HUP): Likewise.
33869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
33870         (ILL_ILLOPN): Likewise.
33871         (ILL_ILLADR): Likewise.
33872         (ILL_ILLTRP): Likewise.
33873         (ILL_PRVOPC): Likewise.
33874         (ILL_PRVREG): Likewise.
33875         (ILL_COPROC): Likewise.
33876         (ILL_BADSTK): Likewise.
33877         (FPE_INTDIV): Likewise.
33878         (FPE_INTOVF): Likewise.
33879         (FPE_FLTDIV): Likewise.
33880         (FPE_FLTOVF): Likewise.
33881         (FPE_FLTUND): Likewise.
33882         (FPE_FLTRES): Likewise.
33883         (FPE_FLTINV): Likewise.
33884         (FPE_FLTSUB): Likewise.
33885         (SEGV_MAPERR): Likewise.
33886         (SEGV_ACCERR): Likewise.
33887         (BUS_ADRALN): Likewise.
33888         (BUS_ADRERR): Likewise.
33889         (BUS_OBJERR): Likewise.
33890         (BUS_MCEERR_AR): Likewise.
33891         (BUS_MCEERR_AO): Likewise.
33892         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
33893         (TRAP_TRACE): Likewise.
33894         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
33895         __USE_XOPEN2K8].
33896         (CLD_KILLED): Likewise.
33897         (CLD_DUMPED): Likewise.
33898         (CLD_TRAPPED): Likewise.
33899         (CLD_STOPPED): Likewise.
33900         (CLD_CONTINUED): Likewise.
33901         (POLL_IN): Likewise.
33902         (POLL_OUT): Likewise.
33903         (POLL_MSG): Likewise.
33904         (POLL_ERR): Likewise.
33905         (POLL_PRI): Likewise.
33906         (POLL_HUP): Likewise.
33907         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
33908         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
33910         [BZ #16670]
33911         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
33912         before #include of <time.h>.
33913         [!__USE_XOPEN2K] (__need_timespec): Likewise.
33914         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
33915         (test-xfail-UNIX98/sched.h/conform): Likewise.
33917 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33919         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
33920         error absence of trapping exception support.
33921         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
33923 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
33925         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
33926         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
33927         * timezone/Makefile (testdata): Move definition above include of
33928         Rules.
33929         (test-zones): New variable.
33930         (tests-special): Add zone files.
33931         (build-testdata): Use $(evaluate-test).
33933         * elf/Makefile (tests-special): Rename tests to end with .out.
33934         ($(objpfx)noload-mem): Likewise.
33935         ($(objpfx)tst-leaks1-mem): Likewise.
33936         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
33937         * iconv/Makefile (xtests-special): Change test-iconvconfig to
33938         $(objpfx)test-iconvconfig.out.
33939         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
33940         set -e inside subshell and redirect output to file.
33941         * iconvdata/Makefile (generated): Rename tests to end with .out.
33942         Correct type.
33943         (tests-special): Rename tests to end with .out.
33944         ($(objpfx)mtrace-tst-loading): Likewise.
33945         * intl/Makefile (generated): Likewise.
33946         (tests-special): Likewise.
33947         ($(objpfx)mtrace-tst-gettext): Likewise.
33948         * misc/Makefile (generated): Likewise.
33949         (tests-special): Likewise.
33950         ($(objpfx)tst-error1-mem): Likewise.
33951         * nptl/Makefile (tests-special): Likewise.
33952         ($(objpfx)tst-stack3-mem): Likewise.
33953         (generated): Likewise.
33954         * posix/Makefile (generated): Likewise.
33955         (tests-special): Likewise.
33956         (xtests-special): Likewise.
33957         ($(objpfx)tst-fnmatch-mem): Likewise.
33958         ($(objpfx)bug-regex2-mem): Likewise.
33959         ($(objpfx)bug-regex14-mem): Likewise.
33960         ($(objpfx)bug-regex21-mem): Likewise.
33961         ($(objpfx)bug-regex31-mem): Likewise.
33962         ($(objpfx)tst-vfork3-mem): Likewise.
33963         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33964         ($(objpfx)tst-pcre-mem): Likewise.
33965         ($(objpfx)tst-boost-mem): Likewise.
33966         ($(objpfx)bug-ga2-mem): Likewise.
33967         ($(objpfx)bug-glob2-mem): Likewise.
33968         * resolv/Makefile (generate): Likewise.
33969         (tests-special): Likewise.
33970         (xtests-special): Likewise.
33971         (generated): Likewise.
33972         ($(objpfx)mtrace-tst-leaks): Likewise.
33973         ($(objpfx)mtrace-tst-leaks2): Likewise.
33975         * scripts/merge-test-results.sh: New file.
33976         * Makefile (tests-special-notdir): New variable.
33977         (tests): Run merge-test-results.sh.
33978         (xtests): Likewise.
33979         * Rules (tests-special-notdir): New variable.
33980         (xtests-special-notdir): Likewise.
33981         (tests): Run merge-test-results.sh
33982         (xtests): Likewise.
33984         * Makeconfig (test-xfail-name): New variable.
33985         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
33986         compute variable name for expected failures.
33987         * conform/Makefile (conformtest-headers-data): New variable.
33988         (conformtest-standards): Likewise.
33989         (conformtest-headers-ISO): Likewise.
33990         (conformtest-headers-ISO99): Likewise.
33991         (conformtest-headers-ISO11): Likewise.
33992         (conformtest-headers-POSIX): Likewise.
33993         (conformtest-headers-XPG3): Likewise.
33994         (conformtest-headers-XPG4): Likewise.
33995         (conformtest-headers-UNIX98): Likewise.
33996         (conformtest-headers-XOPEN2K): Likewise.
33997         (conformtest-headers-POSIX2008): Likewise.
33998         (conformtest-headers-XOPEN2K8): Likewise.
33999         (conformtest-header-list-base): Likewise.
34000         (conformtest-header-list-tests): Likewise.
34001         (conformtest-header-base): Likewise.
34002         (conformtest-header-tests): Likewise.
34003         (tests-special): Add $(conformtest-header-list-tests).  If
34004         [$(fast-check) && !$(cross-compiling)], add
34005         $(conformtest-header-tests) instead of
34006         $(objpfx)run-conformtest.out.
34007         (generated): Add $(conformtest-header-list-base).  If
34008         [$(fast-check) && !$(cross-compiling)], add
34009         $(conformtest-header-base).  Remove previous setting.
34010         ($(conformtest-header-list-tests)): New target.
34011         (test-xfail-run-conformtest): Remove variable.
34012         ($(objpfx)run-conformtest.out): Remove target.
34013         (test-xfail-ISO11/complex.h/conform): New variable.
34014         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34015         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34016         (test-xfail-XPG3/varargs.h/conform): Likewise.
34017         (test-xfail-XPG4/varargs.h/conform): Likewise.
34018         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34019         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34020         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34021         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34022         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34023         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34024         (test-xfail-XPG3/ftw.h/conform): Likewise.
34025         (test-xfail-XPG3/grp.h/conform): Likewise.
34026         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34027         (test-xfail-XPG3/limits.h/conform): Likewise.
34028         (test-xfail-XPG3/pwd.h/conform): Likewise.
34029         (test-xfail-XPG3/search.h/conform): Likewise.
34030         (test-xfail-XPG3/signal.h/conform): Likewise.
34031         (test-xfail-XPG3/stdio.h/conform): Likewise.
34032         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34033         (test-xfail-XPG3/string.h/conform): Likewise.
34034         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34035         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34036         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34037         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34038         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34039         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34040         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34041         (test-xfail-XPG3/termios.h/conform): Likewise.
34042         (test-xfail-XPG3/time.h/conform): Likewise.
34043         (test-xfail-XPG3/unistd.h/conform): Likewise.
34044         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34045         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34046         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34047         (test-xfail-XPG4/netdb.h/conform): Likewise.
34048         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34049         (test-xfail-XPG4/signal.h/conform): Likewise.
34050         (test-xfail-XPG4/stdio.h/conform): Likewise.
34051         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34052         (test-xfail-XPG4/stropts.h/conform): Likewise.
34053         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34054         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34055         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34056         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34057         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34058         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34059         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34060         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34061         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34062         (test-xfail-XPG4/termios.h/conform): Likewise.
34063         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34064         (test-xfail-XPG4/unistd.h/conform): Likewise.
34065         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34066         (test-xfail-POSIX/sched.h/conform): Likewise.
34067         (test-xfail-POSIX/signal.h/conform): Likewise.
34068         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34069         (test-xfail-POSIX/tar.h/conform): Likewise.
34070         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34071         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34072         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34073         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34074         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34075         (test-xfail-UNIX98/sched.h/conform): Likewise.
34076         (test-xfail-UNIX98/signal.h/conform): Likewise.
34077         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34078         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34079         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34080         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34081         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34082         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34083         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34084         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34085         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34086         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34087         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34088         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34089         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34090         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34091         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34092         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34093         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34094         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34095         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34096         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34097         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34098         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34099         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34100         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34101         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34102         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34103         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34104         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34105         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34106         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34107         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34108         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34109         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34110         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34111         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34112         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34113         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34114         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34115         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34116         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34117         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34118         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34119         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34120         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34121         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34122         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34123         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34124         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34125         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34126         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34127         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34128         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34129         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34130         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34131         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34132         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34133         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34134         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34135         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34136         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34137         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34138         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34139         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34140         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34141         (conformtest-cc-flags): Likewise.
34142         ($(conformtest-header-tests): New target.
34143         * conform/check-header-lists.sh: New file.
34144         * conform/run-conformtest.sh: Remove.
34146         * conform/conformtest.pl: Allow ' and \ in values given for
34147         constants.
34148         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34149         inclusion.
34150         [POSIX] (sys/types.h): Likewise.
34151         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34152         inclusion.
34153         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34154         inclusion.
34155         * conform/data/signal.h-data (SIGIO): Remove expectation.
34156         [XPG3] (SIGBUS): Do not expect.
34157         [POSIX || XPG3] (SIGPOLL): Likewise.
34158         [POSIX || XPG3] (SIGPROF): Likewise.
34159         [POSIX || XPG3] (SIGSYS): Likewise.
34160         [XPG3] (SIGTRAP): Likewise.
34161         [POSIX || XPG3] (SIGURG): Likewise.
34162         [POSIX || XPG3] (SIGVTALRM): Likewise.
34163         [POSIX || XPG3] (SIGXCPU): Likewise.
34164         [POSIX || XPG3] (SIGXFSZ): Likewise.
34165         [POSIX] (SA_SIGINFO): Expect.
34166         [XPG3] (siginfo_t): Do not expect type or contents.
34167         [POSIX] (si_pid): Do not expect element.
34168         [POSIX] (si_uid): Likewise.
34169         [POSIX] (si_addr): Likewise.
34170         [POSIX] (si_status): Likewise.
34171         [POSIX] (si_band): Likewise.
34172         [XPG4] (si_value): Likewise.
34173         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34174         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34175         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34176         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34177         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34178         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34179         [POSIX || XPG3] (ILL_COPROC): Likewise.
34180         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34181         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34182         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34183         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34184         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34185         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34186         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34187         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34188         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34189         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34190         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34191         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34192         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34193         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34194         [POSIX || XPG3] (CLD_EXITED): Likewise.
34195         [POSIX || XPG3] (CLD_KILLED): Likewise.
34196         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34197         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34198         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34199         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34200         [POSIX || XPG3] (POLL_IN): Likewise.
34201         [POSIX || XPG3] (POLL_OUT): Likewise.
34202         [POSIX || XPG3] (POLL_MSG): Likewise.
34203         [POSIX || XPG3] (POLL_ERR): Likewise.
34204         [POSIX || XPG3] (POLL_PRI): Likewise.
34205         [POSIX || XPG3] (POLL_HUP): Likewise.
34206         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34207         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34208         (SIG*): Do not allow.
34209         [XPG3] (si_*): Likewise.
34210         [XPG3] (SI_*): Likewise.
34211         [XPG3 || XPG4] (sigev_*): Likewise.
34212         [XPG3 || XPG4] (SIGEV_*): Likewise.
34213         [XPG3 || XPG4] (sival_*): Likewise.
34214         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34215         [POSIX || XPG3] (BUS_*): Likewise.
34216         [POSIX || XPG3] (CLD_*): Likewise.
34217         [POSIX || XPG3] (FPE_*): Likewise.
34218         [POSIX || XPG3] (ILL_*): Likewise.
34219         [POSIX || XPG3] (POLL_*): Likewise.
34220         [POSIX || XPG3] (SEGV_*): Likewise.
34221         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34222         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34223         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34224         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34225         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34226         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34227         Specify type and value.
34228         (TVERSLEN): Likewise.
34229         (REGTYPE): Likewise.
34230         (AREGTYPE): Likewise.
34231         (LNKTYPE): Likewise.
34232         (SYMTYPE): Likewise.
34233         (CHRTYPE): Likewise.
34234         (BLKTYPE): Likewise.
34235         (DIRTYPE): Likewise.
34236         (FIFOTYPE): Likewise.
34237         (CONTTYPE): Likewise.
34238         (TSUID): Likewise.
34239         (TSGID): Likewise.
34240         (TSVTX): Likewise.
34241         (TUREAD): Likewise.
34242         (TUWRITE): Likewise.
34243         (TUEXEC): Likewise.
34244         (TGREAD): Likewise.
34245         (TGWRITE): Likewise.
34246         (TGEXEC): Likewise.
34247         (TOREAD): Likewise.
34248         (TOWRITE): Likewise.
34249         (TOEXEC): Likewise.
34250         [POSIX] (TSVTX): Expect constant.
34252 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34254         * Makefile (tests): Change dependencies to ....
34255         (tests-special): ... additions to this variable.
34256         (tests): Depend on $(tests-special).
34257         * Makerules (check-abi-list): New variable.
34258         (check-abi): Depend on $(check-abi-list).
34259         [$(subdir) = elf] (tests-special): Add
34260         $(objpfx)check-abi-libc.out.
34261         [$(build-shared) = yes && subdir] (tests-special): Add
34262         $(check-abi-list).
34263         [$(build-shared) = yes && subdir] (tests): Do not depend on
34264         check-abi.
34265         * Rules (tests): Depend on $(tests-special).
34266         (xtests): Depend on $(xtests-special).
34267         * catgets/Makefile (tests): Change dependencies to ....
34268         (tests-special): ... additions to this variable.
34269         * conform/Makefile (tests): Change dependencies to ....
34270         (tests-special): ... additions to this variable.
34271         * elf/Makefile (tests): Change dependencies to ....
34272         (tests-special): ... additions to this variable.
34273         * grp/Makefile (tests): Change dependencies to ....
34274         (tests-special): ... additions to this variable.
34275         * iconv/Makefile (xtests): Change dependencies to ....
34276         (xtests-special): ... additions to this variable.
34277         * iconvdata/Makefile (tests): Change dependencies to ....
34278         (tests-special): ... additions to this variable.
34279         * intl/Makefile (tests): Change dependencies to ....
34280         (tests-special): ... additions to this variable.  Also add
34281         $(objpfx)tst-gettext.out.
34282         * io/Makefile (tests): Change dependencies to ....
34283         (tests-special): ... additions to this variable.
34284         * libio/Makefile (tests): Change dependencies to ....
34285         (tests-special): ... additions to this variable.
34286         * malloc/Makefile (tests): Change dependencies to ....
34287         (tests-special): ... additions to this variable.
34288         * misc/Makefile (tests): Change dependencies to ....
34289         (tests-special): ... additions to this variable.
34290         * nptl/Makefile (tests): Change dependencies to ....
34291         (tests-special): ... additions to this variable.
34292         * nptl_db/Makefile (tests): Change dependencies to ....
34293         (tests-special): ... additions to this variable.
34294         * posix/Makefile (tests): Change dependencies to ....
34295         (tests-special): ... additions to this variable.
34296         (xtests): Change dependencies to ....
34297         (xtests-special): ... additions to this variable.
34298         * resolv/Makefile (tests): Change dependencies to ....
34299         (tests-special): ... additions to this variable.
34300         (xtests): Change dependencies to ....
34301         (xtests-special): ... additions to this variable.
34302         * stdio-common/Makefile (tests): Change dependencies to ....
34303         (tests-special): ... additions to this variable.
34304         (do-tst-unbputc): Remove target.
34305         (do-tst-printf): Likewise.
34306         * stdlib/Makefile (tests): Change dependencies to ....
34307         (tests-special): ... additions to this variable.
34308         * string/Makefile (tests): Change dependencies to ....
34309         (tests-special): ... additions to this variable.
34310         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34311         (tests-special): ... additions to this variable.
34313         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34314         whole file.
34315         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34316         whole file.
34317         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34318         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34320         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34321         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34322         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34323         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34324         * conform/data/libgen.h-data [XPG3]: Likewise.
34325         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34326         * conform/data/ndbm.h-data [XPG3]: Likewise.
34327         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34328         * conform/data/netdb.h-data [XPG3]: Likewise.
34329         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34330         * conform/data/poll.h-data [XPG3]: Likewise.
34331         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34332         * conform/data/strings.h-data [XPG3]: Likewise.
34333         * conform/data/stropts.h-data [XPG3]: Likewise.
34334         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34335         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34336         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34337         Likewise.
34338         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34339         * conform/data/sys/time.h-data [XPG3]: Likewise.
34340         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34341         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34342         * conform/data/sys/un.h-data [XPG3]: Likewise.
34343         * conform/data/syslog.h-data [XPG3]: Likewise.
34344         * conform/data/ucontext.h-data [XPG3]: Likewise.
34345         * conform/data/utmpx.h-data [XPG3]: Likewise.
34346         * conform/data/varargs.h-data [UNIX98]: Enable file.
34348         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34350         * math/libm-test.inc (struct test_f_f_data): Move expected results
34351         into structure for each rounding mode.
34352         (struct test_ff_f_data): Likewise.
34353         (struct test_ff_f_data_nexttoward): Likewise.
34354         (struct test_fi_f_data): Likewise.
34355         (struct test_fl_f_data): Likewise.
34356         (struct test_if_f_data): Likewise.
34357         (struct test_fff_f_data): Likewise.
34358         (struct test_c_f_data): Likewise.
34359         (struct test_f_f1_data): Likewise.
34360         (struct test_fF_f1_data): Likewise.
34361         (struct test_ffI_f1_data): Likewise.
34362         (struct test_c_c_data): Likewise.
34363         (struct test_cc_c_data): Likewise.
34364         (struct test_f_i_data): Likewise.
34365         (struct test_ff_i_data): Likewise.
34366         (struct test_f_l_data): Likewise.
34367         (struct test_f_L_data): Likewise.
34368         (struct test_fFF_11_data): Likewise.
34369         (RM_): New macro.
34370         (RM_FE_DOWNWARD): Likewise.
34371         (RM_FE_TONEAREST): Likewise.
34372         (RM_FE_TOWARDZERO): Likewise.
34373         (RM_FE_UPWARD): Likewise.
34374         (RUN_TEST_LOOP_f_f): Update references to expected results.
34375         (RUN_TEST_LOOP_2_f): Likewise.
34376         (RUN_TEST_LOOP_fff_f): Likewise.
34377         (RUN_TEST_LOOP_c_f): Likewise.
34378         (RUN_TEST_LOOP_f_f1): Likewise.
34379         (RUN_TEST_LOOP_fF_f1): Likewise.
34380         (RUN_TEST_LOOP_fI_f1): Likewise.
34381         (RUN_TEST_LOOP_ffI_f1): Likewise.
34382         (RUN_TEST_LOOP_c_c): Likewise.
34383         (RUN_TEST_LOOP_cc_c): Likewise.
34384         (RUN_TEST_LOOP_f_i): Likewise.
34385         (RUN_TEST_LOOP_f_i_tg): Likewise.
34386         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34387         (RUN_TEST_LOOP_f_b): Likewise.
34388         (RUN_TEST_LOOP_f_b_tg): Likewise.
34389         (RUN_TEST_LOOP_f_l): Likewise.
34390         (RUN_TEST_LOOP_f_L): Likewise.
34391         (RUN_TEST_LOOP_fFF_11): Likewise.
34392         * math/gen-libm-test.pl (parse_args): Output four copies of
34393         expected results for each test.
34395         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34396         (__ASSUME_UTIMES): Remove.
34397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34398         (__ASSUME_UTIMES): Likewise.
34400         * math/gen-auto-libm-tests.c: Update comment on output format.
34401         (output_for_one_input_case): Generate before-rounding and
34402         after-rounding information as conditions on output flags not
34403         floating-point format.
34404         * math/auto-libm-test-out: Regenerated.
34405         * math/gen-libm-test.pl (cond_value): New function.
34406         (or_cond_value): Use cond_value.
34407         (generate_testfile): Handle conditional exceptions.
34409 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
34411         * math/libm-test.inc (max_valid_error): New variable.
34412         (init_max_error): Take new argument specifying whether function
34413         results are exactly determined.  Set max_valid_error and bound
34414         other variables for errors based on this argument.
34415         (set_max_error): Do not record results above max_valid_error.
34416         (check_float_internal): Only accept errors of up to 0.5ulps if
34417         also at most max_valid_error.
34418         (START): Take new argument EXACT and pass it to init_max_error.
34419         (acos_test): Update call to START.
34420         (acos_test_tonearest): Likewise.
34421         (acos_test_towardzero): Likewise.
34422         (acos_test_downward): Likewise.
34423         (acos_test_upward): Likewise.
34424         (acosh_test): Likewise.
34425         (asin_test): Likewise.
34426         (asin_test_tonearest): Likewise.
34427         (asin_test_towardzero): Likewise.
34428         (asin_test_downward): Likewise.
34429         (asin_test_upward): Likewise.
34430         (asinh_test): Likewise.
34431         (atan_test): Likewise.
34432         (atanh_test): Likewise.
34433         (atan2_test): Likewise.
34434         (cabs_test): Likewise.
34435         (cacos_test): Likewise.
34436         (cacosh_test): Likewise.
34437         (carg_test): Likewise.
34438         (casin_test): Likewise.
34439         (casinh_test): Likewise.
34440         (catan_test): Likewise.
34441         (catanh_test): Likewise.
34442         (cbrt_test): Likewise.
34443         (ccos_test): Likewise.
34444         (ccosh_test): Likewise.
34445         (ceil_test): Likewise.
34446         (cexp_test): Likewise.
34447         (cimag_test): Likewise.
34448         (clog_test): Likewise.
34449         (clog10_test): Likewise.
34450         (conj_test): Likewise.
34451         (copysign_test): Likewise.
34452         (cos_test): Likewise.
34453         (cos_test_tonearest): Likewise.
34454         (cos_test_towardzero): Likewise.
34455         (cos_test_downward): Likewise.
34456         (cos_test_upward): Likewise.
34457         (cosh_test): Likewise.
34458         (cosh_test_tonearest): Likewise.
34459         (cosh_test_towardzero): Likewise.
34460         (cosh_test_downward): Likewise.
34461         (cosh_test_upward): Likewise.
34462         (cpow_test): Likewise.
34463         (cproj_test): Likewise.
34464         (creal_test): Likewise.
34465         (csin_test): Likewise.
34466         (csinh_test): Likewise.
34467         (csqrt_test): Likewise.
34468         (ctan_test): Likewise.
34469         (ctan_test_tonearest): Likewise.
34470         (ctan_test_towardzero): Likewise.
34471         (ctan_test_downward): Likewise.
34472         (ctan_test_upward): Likewise.
34473         (ctanh_test): Likewise.
34474         (ctanh_test_tonearest): Likewise.
34475         (ctanh_test_towardzero): Likewise.
34476         (ctanh_test_downward): Likewise.
34477         (ctanh_test_upward): Likewise.
34478         (erf_test): Likewise.
34479         (erfc_test): Likewise.
34480         (exp_test): Likewise.
34481         (exp_test_tonearest): Likewise.
34482         (exp_test_towardzero): Likewise.
34483         (exp_test_downward): Likewise.
34484         (exp_test_upward): Likewise.
34485         (exp10_test): Likewise.
34486         (exp10_test_tonearest): Likewise.
34487         (exp10_test_towardzero): Likewise.
34488         (exp10_test_downward): Likewise.
34489         (exp10_test_upward): Likewise.
34490         (pow10_test): Likewise.
34491         (exp2_test): Likewise.
34492         (expm1_test): Likewise.
34493         (expm1_test_tonearest): Likewise.
34494         (expm1_test_towardzero): Likewise.
34495         (expm1_test_downward): Likewise.
34496         (expm1_test_upward): Likewise.
34497         (fabs_test): Likewise.
34498         (fdim_test): Likewise.
34499         (floor_test): Likewise.
34500         (fma_test): Likewise.
34501         (fma_test_towardzero): Likewise.
34502         (fma_test_downward): Likewise.
34503         (fma_test_upward): Likewise.
34504         (fmax_test): Likewise.
34505         (fmin_test): Likewise.
34506         (fmod_test): Likewise.
34507         (fpclassify_test): Likewise.
34508         (frexp_test): Likewise.
34509         (hypot_test): Likewise.
34510         (ilogb_test): Likewise.
34511         (isfinite_test): Likewise.
34512         (finite_test): Likewise.
34513         (isgreater_test): Likewise.
34514         (isgreaterequal_test): Likewise.
34515         (isinf_test): Likewise.
34516         (isless_test): Likewise.
34517         (islessequal_test): Likewise.
34518         (islessgreater_test): Likewise.
34519         (isnan_test): Likewise.
34520         (isnormal_test): Likewise.
34521         (issignaling_test): Likewise.
34522         (isunordered_test): Likewise.
34523         (j0_test): Likewise.
34524         (j1_test): Likewise.
34525         (jn_test): Likewise.
34526         (ldexp_test): Likewise.
34527         (lgamma_test): Likewise.
34528         (gamma_test): Likewise.
34529         (lrint_test): Likewise.
34530         (lrint_test_tonearest): Likewise.
34531         (lrint_test_towardzero): Likewise.
34532         (lrint_test_downward): Likewise.
34533         (lrint_test_upward): Likewise.
34534         (llrint_test): Likewise.
34535         (llrint_test_tonearest): Likewise.
34536         (llrint_test_towardzero): Likewise.
34537         (llrint_test_downward): Likewise.
34538         (llrint_test_upward): Likewise.
34539         (log_test): Likewise.
34540         (log10_test): Likewise.
34541         (log1p_test): Likewise.
34542         (log2_test): Likewise.
34543         (logb_test): Likewise.
34544         (logb_test_downward): Likewise.
34545         (lround_test): Likewise.
34546         (llround_test): Likewise.
34547         (modf_test): Likewise.
34548         (nearbyint_test): Likewise.
34549         (nextafter_test): Likewise.
34550         (nexttoward_test): Likewise.
34551         (pow_test): Likewise.
34552         (pow_test_tonearest): Likewise.
34553         (pow_test_towardzero): Likewise.
34554         (pow_test_downward): Likewise.
34555         (pow_test_upward): Likewise.
34556         (remainder_test): Likewise.
34557         (drem_test): Likewise.
34558         (remainder_test_tonearest): Likewise.
34559         (drem_test_tonearest): Likewise.
34560         (remainder_test_towardzero): Likewise.
34561         (drem_test_towardzero): Likewise.
34562         (remainder_test_downward): Likewise.
34563         (drem_test_downward): Likewise.
34564         (remainder_test_upward): Likewise.
34565         (drem_test_upward): Likewise.
34566         (remquo_test): Likewise.
34567         (rint_test): Likewise.
34568         (rint_test_tonearest): Likewise.
34569         (rint_test_towardzero): Likewise.
34570         (rint_test_downward): Likewise.
34571         (rint_test_upward): Likewise.
34572         (round_test): Likewise.
34573         (scalb_test): Likewise.
34574         (scalbn_test): Likewise.
34575         (scalbln_test): Likewise.
34576         (signbit_test): Likewise.
34577         (sin_test): Likewise.
34578         (sin_test_tonearest): Likewise.
34579         (sin_test_towardzero): Likewise.
34580         (sin_test_downward): Likewise.
34581         (sin_test_upward): Likewise.
34582         (sincos_test): Likewise.
34583         (sinh_test): Likewise.
34584         (sinh_test_tonearest): Likewise.
34585         (sinh_test_towardzero): Likewise.
34586         (sinh_test_downward): Likewise.
34587         (sinh_test_upward): Likewise.
34588         (sqrt_test): Likewise.
34589         (sqrt_test_tonearest): Likewise.
34590         (sqrt_test_towardzero): Likewise.
34591         (sqrt_test_downward): Likewise.
34592         (sqrt_test_upward): Likewise.
34593         (tan_test): Likewise.
34594         (tan_test_tonearest): Likewise.
34595         (tan_test_towardzero): Likewise.
34596         (tan_test_downward): Likewise.
34597         (tan_test_upward): Likewise.
34598         (tanh_test): Likewise.
34599         (tgamma_test): Likewise.
34600         (trunc_test): Likewise.
34601         (y0_test): Likewise.
34602         (y1_test): Likewise.
34603         (yn_test): Likewise.
34604         (significand_test): Likewise.
34606         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
34607         individual tests in comment.
34608         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
34609         (prev_max_error): New variable.
34610         (prev_real_max_error): Likewise.
34611         (prev_imag_max_error): Likewise.
34612         (compare_ulp_data): Don't refer to test names in comment.
34613         (find_test_ulps): Remove function.
34614         (find_function_ulps): Likewise.
34615         (find_complex_function_ulps): Likewise.
34616         (init_max_error): Take function name as argument.  Look up ulps
34617         for that function.
34618         (print_ulps): Remove function.
34619         (print_max_error): Use prev_max_error instead of calling
34620         find_function_ulps.
34621         (print_complex_max_error): Use prev_real_max_error and
34622         prev_imag_max_error instead of calling find_complex_function_ulps.
34623         (check_float_internal): Take max_ulp parameter instead of calling
34624         find_test_ulps.  Don't call print_ulps.
34625         (check_float): Update call to check_float_internal.
34626         (check_complex): Update calls to check_float_internal.
34627         (START): Pass argument to init_max_error.
34628         * math/gen-libm-test.pl (%results): Don't include "kind"
34629         information.
34630         (parse_ulps): Don't handle ulps of individual tests.
34631         (print_ulps_file): Likewise.
34632         (output_ulps): Likewise.
34633         * math/README.libm-test: Update.
34634         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
34635         individual tests.
34636         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
34637         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
34638         * sysdeps/arm/libm-test-ulps: Likewise.
34639         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
34640         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
34641         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
34642         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
34643         * sysdeps/microblaze/libm-test-ulps: Likewise.
34644         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
34645         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34646         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34647         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
34648         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34649         * sysdeps/sh/libm-test-ulps: Likewise.
34650         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34651         * sysdeps/tile/libm-test-ulps: Likewise.
34652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34654 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
34656         * math/libm-test.inc (print_complex_max_error): Check separately
34657         whether real and imaginary errors are within allowed range and
34658         pass 0 to print_complex_function_ulps instead of value within
34659         allowed range.
34661 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34663         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
34664         formatting.
34665         (get_handles_fopen): Likewise.
34666         (do_write_test): Likewise.
34668         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
34670         * libio/fileops.c (do_ftell): Use cached offset when
34671         available.
34672         * libio/iofwide.c (do_ftell_wide): Likewise.
34673         * libio/iofdopen.c (_IO_new_fdopen): Don't use
34674         _IO_file_attach.
34675         * libio/wfileops.c (_IO_fwide): Don't cache offset.
34677         [BZ #16532]
34678         * libio/libioP.h (get_file_offset): New function.
34679         * libio/fileops.c (get_file_offset): Likewise.
34680         (do_ftell): Likewise.
34681         (_IO_new_file_seekoff): Split out ftell logic.
34682         * libio/wfileops.c (do_ftell_wide): Likewise.
34683         (_IO_wfile_seekoff): Split out ftell logic.
34684         * libio/tst-ftell-active-handler.c: New test case.
34685         * libio/Makefile (tests): Add it.
34687 2014-03-03  Roland McGrath  <roland@hack.frob.com>
34689         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
34690         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
34692 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34694         [BZ #16639]
34695         * nscd/connections.c (nscd_init): Call do_exit.
34696         (start_threads): Call do_exit and notify_parent.
34697         (begin_drop_privileges): Call do_exit.
34698         (finish_drop_privileges): Likewise.
34699         * nscd/selinux.c (preserve_capabilities): Likewise.
34700         (install_real_capabilities): Likewise.
34701         (nscd_selinux_enabled): Likewise.
34702         (avc_create_thread): Likewise.
34703         (avc_alloc_lock): Likewise.
34704         (nscd_avc_init): Likewise.
34705         * nscd/nscd.c (parent_fd): New static variable.
34706         (main): Create a pipe between parent and child processes.
34707         Skip closing parent_fd.
34708         (monitor_child): New function.
34709         (do_exit): Likewise.
34710         (notify_parent): Likewise.
34711         * nscd/nscd.h (notify_parent): Likewise.
34712         (do_exit): Likewise.
34714 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
34716         * malloc/malloc.c (__libc_calloc): Revert last change.
34718 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34722 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34724         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
34725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
34726         implementation.
34727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34728         (__libc_ifunc_impl_list): Likewise.
34729         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
34730         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
34731         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
34732         * string/strrchr.c: Define STRRCHR.
34734 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
34736         * benchtest/bench-strtok.c (simple_strtok): Delete.
34737         (strtok_string): Use as benchmark.
34738         * string/strtok (STRTOK): New macro.
34740 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
34742         * manual/threads.texi: Add header and standard comments to all
34743         functions.
34745         * elf/dl-lookup.c (check_match): New function.
34746         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
34747         (do_lookup_x): Remove nested function check_match. Use non-nested
34748         function check_match.
34750 2014-02-28  Roland McGrath  <roland@hack.frob.com>
34752         * csu/Makefile (generated, before-compile): Use += rather than =.
34753         * catgets/Makefile (generated, generated-dirs): Likewise.
34754         * debug/Makefile (generated): Likewise.
34755         * dlfcn/Makefile (generated): Likewise.
34756         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
34757         * iconvdata/Makefile (before-compile, generated): Likewise.
34758         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
34759         * libio/Makefile (generated): Likewise.
34760         * malloc/Makefile (generated): Likewise.
34761         * manual/Makefile (generated, generated-dirs): Likewise.
34762         * misc/Makefile (generated): Likewise.
34763         * posix/Makefile (generated): Likewise.
34764         * resolv/Makefile (generated): Likewise.
34765         * sunrpc/Makefile (generated, generated-dirs): Likewise.
34766         * timezone/Makefile (generated, generated-dirs): Likewise.
34768         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
34770 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
34773         power8 implementation.
34774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
34775         file: POWER8 llround ifunc implementation.
34776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
34777         (__lllround): Add POWER8 implementation.
34778         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
34779         POWER8 llround implementation.
34781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
34782         power8 implementation.
34783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
34784         file: POWER8 llrint ifunc implementation.
34785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
34786         Add POWER8 implementation.
34787         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
34788         POWER8 llrint implementation.
34790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
34791         power8 implementation.
34792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
34793         file: POWER8 finite ifunc implementation.
34794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
34795         Add POWER8 implementation.
34796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
34797         Likewise.
34798         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
34799         POWER8 finite implementation.
34800         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
34802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
34803         power8 implementation.
34804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
34805         file: POWER8 isinf ifunc implementation.
34806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
34807         POWER8 implementation.
34808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
34809         Likewise.
34810         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
34811         isinf implementation.
34812         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
34814         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
34815         (INIT_ARCH): Add hwcap2 initialization.
34816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
34817         power8 implementation.
34818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
34819         file: POWER8 isnan ifunc implementation.
34820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
34821         POWER8 implementation.
34822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
34823         Likewise.
34824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
34825         isnan implementation.
34826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
34828 2014-02-27  Joey Ye  <joey.ye@arm.com>
34830         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34831         (_FP_NANFRAC_Q): Set to zero.
34833 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34835         [BZ #16623]
34836         * math/auto-libm-test-in: New test inputs.
34837         * math/auto-libm-test-out: Regenerate.
34838         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
34839         and DA.
34840         (__cos): Likewise.
34841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34843 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
34845         * scripts/evaluate-test.sh: Take new argument indicating whether
34846         failure is expected.
34847         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
34848         indicating whether failure is expected.
34849         * conform/Makefile (test-xfail-run-conformtest): New variable.
34850         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
34851         level.
34852         * posix/Makefile (test-xfail-annexc): New variable.
34853         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
34855 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
34857         * argp/Makefile: Include Makeconfig immediately after defining
34858         subdir.
34859         * assert/Makefile: Likewise.
34860         * benchtests/Makefile: Likewise.
34861         * catgets/Makefile: Likewise.
34862         * conform/Makefile: Likewise.
34863         * crypt/Makefile: Likewise.
34864         * csu/Makefile: Likewise.
34865         (all): Remove target.
34866         * ctype/Makefile: Include Makeconfig immediately after defining
34867         subdir.
34868         * debug/Makefile: Likewise.
34869         * dirent/Makefile: Likewise.
34870         * dlfcn/Makefile: Likewise.
34871         * gmon/Makefile: Likewise.
34872         * gnulib/Makefile: Likewise.
34873         * grp/Makefile: Likewise.
34874         * gshadow/Makefile: Likewise.
34875         * hesiod/Makefile: Likewise.
34876         * hurd/Makefile: Likewise.
34877         (all): Remove target.
34878         * iconvdata/Makefile: Include Makeconfig immediately after
34879         defining subdir.
34880         * inet/Makefile: Likewise.
34881         * intl/Makefile: Likewise.
34882         * io/Makefile: Likewise.
34883         * libio/Makefile: Likewise.
34884         (all): Remove target.
34885         * locale/Makefile: Include Makeconfig immediately after defining
34886         subdir.
34887         * login/Makefile: Likewise.
34888         * mach/Makefile: Likewise.
34889         (all): Remove target.
34890         * malloc/Makefile: Include Makeconfig immediately after defining
34891         subdir.
34892         (all): Remove target.
34893         * manual/Makefile: Include Makeconfig immediately after defining
34894         subdir.
34895         * math/Makefile: Likewise.
34896         * misc/Makefile: Likewise.
34897         * nis/Makefile: Likewise.
34898         * nss/Makefile: Likewise.
34899         * po/Makefile: Likewise.
34900         (all): Remove target.
34901         * posix/Makefile: Include Makeconfig immediately after defining
34902         subdir.
34903         * pwd/Makefile: Likewise.
34904         * resolv/Makefile: Likewise.
34905         * resource/Makefile: Likewise.
34906         * rt/Makefile: Likewise.
34907         * setjmp/Makefile: Likewise.
34908         * shadow/Makefile: Likewise.
34909         * signal/Makefile: Likewise.
34910         * socket/Makefile: Likewise.
34911         * soft-fp/Makefile: Likewise.
34912         * stdio-common/Makefile: Likewise.
34913         * stdlib/Makefile: Likewise.
34914         * streams/Makefile: Likewise.
34915         * string/Makefile: Likewise.
34916         * sunrpc/Makefile: Likewise.
34917         (all): Remove target.
34918         * sysvipc/Makefile: Include Makeconfig immediately after defining
34919         subdir.
34920         * termios/Makefile: Likewise.
34921         * time/Makefile: Likewise.
34922         * timezone/Makefile: Likewise.
34923         (all): Remove target.
34924         * wcsmbs/Makefile: Include Makeconfig immediately after defining
34925         subdir.
34926         * wctype/Makefile: Likewise.
34928 2014-02-26  Steve Ellcey  <sellcey@mips.com>
34930         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
34931         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
34932         (libc_feholdexcept_setround_mips): Ditto.
34933         (libc_feholdsetround): New.
34934         (libc_feholdsetroundf): New.
34935         (libc_feholdsetroundl): New.
34936         (libc_feupdateenv_test_mips): New.
34937         (libc_feupdateenv_test): New.
34938         (libc_feupdateenv_testf): New.
34939         (libc_feupdateenv_testl): New.
34940         (libc_feresetround): New.
34941         (libc_feresetroundf): New.
34942         (libc_feresetroundl): New.
34943         (libc_fetestexcept_mips): New.
34944         (libc_fetestexcept): New.
34945         (libc_fetestexceptf): New.
34946         (libc_fetestexceptl): New.
34947         (HAVE_RM_CTX): New.
34948         (libc_feholdexcept_setround_mips_ctx): New.
34949         (libc_feholdexcept_setround_ctx): New.
34950         (libc_feholdexcept_setroundf_ctx): New.
34951         (libc_feholdexcept_setroundl_ctx): New.
34952         (libc_fesetenv_mips_ctx): New.
34953         (libc_fesetenv_ctx): New.
34954         (libc_fesetenv_ctxf): New.
34955         (libc_fesetenv_ctxl): New.
34956         (libc_feupdateenv_mips_ctx): New.
34957         (libc_feupdateenv_ctx): New.
34958         (libc_feupdateenvf_ctx): New.
34959         (libc_feupdateenvl_ctx): New.
34960         (libc_feholdsetround_mips_ctx): New.
34961         (libc_feholdsetround_ctx): New.
34962         (libc_feholdsetroundf_ctx): New.
34963         (libc_feholdsetroundl_ctx): New.
34964         (libc_feresetround_mips_ctx): New.
34965         (libc_feresetround_ctx): New.
34966         (libc_feresetroundf_ctx): New.
34967         (libc_feresetroundl_ctx): New.
34969 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
34971         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
34973         * manual/ipc.texi: New file.
34974         * manual/Makefile (chapters): Add ipc.
34975         * manual/job.texi: Add "Inter-Process Communication" to next.
34976         * manual/process.texi: Add "Inter-Process Communication" to prev.
34978 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34982 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
34984         * malloc/malloc.c (__libc_calloc): Simplify implementation.
34986         * manual/arith.texi: Fix spaces after sentences.
34987         * manual/charset.texi: Likewise.
34988         * manual/errno.texi: Likewise.
34989         * manual/install.texi: Likewise.
34990         * manual/llio.texi: Likewise.
34991         * manual/locale.texi: Likewise.
34992         * manual/maint.texi: Likewise.
34993         * manual/math.texi: Likewise.
34994         * manual/memory.texi: Likewise.
34995         * manual/message.texi: Likewise.
34996         * manual/probes.texi: Likewise.
34997         * manual/resource.texi: Likewise.
34998         * manual/signal.texi: Likewise.
34999         * manual/socket.texi: Likewise.
35000         * manual/stdio.texi: Likewise.
35001         * manual/string.texi: Likewise.
35002         * manual/time.texi: Likewise.
35003         * manual/users.texi: Likewise.
35005 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35007         [BZ #16632]
35008         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35009         _DEFAULT_SOURCE is defined.
35011 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35012             Carlos O'Donell  <carlos@redhat.com>
35014         [BZ #16613]
35015         * elf/dl-tls.c (_dl_count_modids): New function.
35016         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35017         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35018         audit library and increment generation counter.
35019         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35020         * elf/tst-audit9.c: New file.
35021         * elf/tst-auditmod9a.c: New file.
35022         * elf/tst-auditmod9b.c: New file.
35023         * elf/Makefile: Add rules to build and run tst-audit9.
35025 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35027         [BZ #15347]
35028         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35030 2014-02-25  Will Newton  <will.newton@linaro.org>
35032         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35033         (__longjmp): Restore sp and lr before restoring callee
35034         saved registers.  Add longjmp and longjmp_target
35035         SystemTap probe point.
35036         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35037         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35038         Define to zero to match jmpbuf layout.
35039         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35040         (__sigsetjmp): Save sp and lr before saving callee
35041         saved registers.  Add setjmp SystemTap probe point.
35043 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35045         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35047 2014-02-24  Andreas Schwab  <schwab@suse.de>
35049         [BZ #15804]
35050         * elf/pldd.c (wait_for_ptrace_stop): New function.
35051         (main): Call it after attaching.
35053 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35055         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35056         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35057         Versions files is now verboten.
35058         * hurd/Versions (libc: GLIBC_2.0):
35059         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35060         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35061         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35062         * mach/Versions: Likewise.
35064         * csu/Versions: Remove unused %include.
35065         * resolv/Versions: Likewise.
35067 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35069         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35070         ($(objpfx)check-local-headers.out): Likewise.
35071         ($(objpfx)begin-end-check.out): Likewise.
35072         * Makerules (check-abi-%.out): Likewise.
35073         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35074         ($(objpfx)test2.cat): Likewise.
35075         ($(objpfx)de/libc.cat): Likewise.
35076         ($(objpfx)test-gencat.out): Likewise.
35077         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35078         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35079         ($(objpfx)noload-mem): Likewise.
35080         ($(objpfx)tst-pathopt.out): Likewise.
35081         ($(objpfx)tst-rtld-load-self.out): Likewise.
35082         ($(objpfx)tst-array1-cmp.out): Likewise.
35083         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35084         ($(objpfx)tst-array2-cmp.out): Likewise.
35085         ($(objpfx)tst-array3-cmp.out): Likewise.
35086         ($(objpfx)tst-array4-cmp.out): Likewise.
35087         ($(objpfx)tst-array5-cmp.out): Likewise.
35088         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35089         ($(objpfx)check-textrel.out): Likewise.
35090         ($(objpfx)check-execstack.out): Likewise.
35091         ($(objpfx)check-localplt.out): Likewise.
35092         ($(objpfx)order2-cmp.out): Likewise.
35093         ($(objpfx)tst-leaks1-mem): Likewise.
35094         ($(objpfx)tst-leaks1-static-mem): Likewise.
35095         ($(objpfx)tst-initorder-cmp.out): Likewise.
35096         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35097         ($(objpfx)tst-unused-dep.out): Likewise.
35098         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35099         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35100         * iconv/Makefile (test-iconvconfig): Likewise.
35101         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35102         ($(objpfx)iconv-test.out): Likewise.
35103         ($(objpfx)tst-tables.out): Likewise.
35104         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35105         ($(objpfx)tst-gettext.out): Likewise.
35106         ($(objpfx)tst-translit.out): Likewise.
35107         ($(objpfx)tst-gettext2.out): Likewise.
35108         ($(objpfx)tst-gettext4.out): Likewise.
35109         ($(objpfx)tst-gettext6.out): Likewise.
35110         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35111         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35112         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35113         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35114         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35115         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35116         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35117         ($(objpfx)wordexp-tst.out): Likewise.
35118         ($(objpfx)annexc.out): Likewise.
35119         ($(objpfx)tst-fnmatch-mem): Likewise.
35120         ($(objpfx)bug-regex2-mem): Likewise.
35121         ($(objpfx)bug-regex14-mem): Likewise.
35122         ($(objpfx)bug-regex21-mem): Likewise.
35123         ($(objpfx)bug-regex31-mem): Likewise.
35124         ($(objpfx)tst-vfork3-mem): Likewise.
35125         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35126         ($(objpfx)tst-pcre-mem): Likewise.
35127         ($(objpfx)tst-boost-mem): Likewise.
35128         ($(objpfx)tst-getconf.out): Likewise.
35129         ($(objpfx)bug-ga2-mem): Likewise.
35130         ($(objpfx)bug-glob2-mem): Likewise.
35131         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35132         ($(objpfx)mtrace-tst-leaks2): Likewise.
35133         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35134         ($(objpfx)tst-printf.out): Likewise.
35135         ($(objpfx)tst-setvbuf1.out): Likewise.
35136         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35137         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35138         ($(objpfx)tst-fmtmsg.out): Likewise.
35139         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35140         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35142         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35143         * bits/sigaction.h [__USE_MISC]: Likewise.
35144         * bits/waitstatus.h: Update #endif comments.
35145         * ctype/ctype.h: Likewise.
35146         * dirent/dirent.h: Likewise.
35147         [__USE_MISC]: Remove redundant conditionals.
35148         * grp/grp.h: Update #endif comments.
35149         [__USE_GNU]: Remove redundant conditionals.
35150         [__USE_MISC]: Likewise.
35151         * inet/netinet/in.h [__USE_GNU]: Likewise.
35152         * io/sys/stat.h [__USE_MISC]: Likewise.
35153         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35154         * libio/bits/stdio.h: Update #endif comments.
35155         [__USE_MISC]: Remove redundant conditionals.
35156         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35157         * libio/stdio.h: Update #endif comments.
35158         [__USE_MISC]: Remove redundant conditionals.
35159         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35160         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35161         * math/math.h: Update #else and #endif comments.
35162         [__USE_MISC]: Remove redundant conditionals.
35163         * misc/sys/uio.h: Update #endif comments.
35164         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35165         * posix/glob.h [__USE_MISC]: Likewise.
35166         * posix/sys/types.h: Update #endif comments.
35167         [__USE_MISC]: Remove redundant conditionals.
35168         * posix/sys/wait.h: Update #endif comments.
35169         [__USE_MISC]: Remove redundant conditionals.
35170         * posix/unistd.h: Update #endif comments.
35171         [__USE_MISC]: Remove redundant conditionals.
35172         * pwd/pwd.h [__USE_GNU]: Likewise.
35173         [__USE_MISC]: Likewise.
35174         * resolv/netdb.h [__USE_GNU]: Likewise.
35175         * signal/signal.h: Update #endif comments.
35176         [__USE_MISC]: Remove redundant conditionals.
35177         * stdlib/stdlib.h: Update #else and #endif comments.
35178         [__USE_MISC]: Remove redundant conditionals.
35179         [__USE_GNU]: Likewise.
35180         * string/bits/string2.h [__USE_MISC]: Likewise.
35181         * string/string.h: Update #endif comments.
35182         [__USE_MISC]: Remove redundant conditionals.
35183         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35184         Likewise.
35185         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35186         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35187         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35188         Likewise.
35189         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35190         Likewise.
35191         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35192         comments.
35193         [__USE_MISC]: Remove redundant conditionals.
35194         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35195         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35196         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35197         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35198         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35199         Likewise.
35200         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35201         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35202         Likewise.
35203         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35204         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35205         Likewise.
35206         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35207         Likewise.
35208         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35209         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35210         Likewise.
35211         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35212         Likewise.
35213         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35214         * sysdeps/x86/bits/string.h: Update #endif comments.
35215         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35216         conditionals.
35217         * time/sys/time.h: Update #endif comments.
35218         * time/time.h: Likewise.
35219         [__USE_MISC]: Remove redundant conditionals.
35221 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35223         [BZ #16600]
35224         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35226 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35228         * Versions.def (librt): Add GLIBC_2.17.
35230 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35232         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35233         synonym for _SYS_AUXV_H to allow direct inclusion.
35234         * sysdeps/sparc/bits/hwcap.h: Likewise.
35235         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35236         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35237         * sysdeps/sparc/sysdep.h: Likewise.
35239 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35241         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35243 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35245         * benchtests/bench-strrchr.c: Print length instead of position.
35247 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35249         [BZ #16611]
35250         * sysdeps/unix/sysv/linux/kernel-features.h
35251         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35252         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35253         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35254         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35255         Likewise.
35256         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35257         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35258         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35259         (__ASSUME_SENDMMSG): Define instead of using previous
35260         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35261         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35262         (__ASSUME_SENDMMSG_SYSCALL): Define.
35263         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35264         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35265         Likewise.
35266         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35267         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35268         Likewise.
35269         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35270         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35271         Likewise.
35272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35273         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35274         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35275         [__ASSUME_SENDMMSG]: Change conditionals to
35276         [__ASSUME_SENDMMSG_SOCKETCALL].
35277         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35278         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35279         Define.
35280         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35281         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35282         Likewise.
35283         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35284         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35285         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35286         [!__ASSUME_SENDMMSG]: Change conditional to
35287         [!__ASSUME_SENDMMSG_SOCKETCALL].
35288         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35289         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35290         Define.
35292         [BZ #16610]
35293         * sysdeps/unix/sysv/linux/kernel-features.h
35294         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35295         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35296         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35297         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35298         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35299         [__i386__ || __sparc__]
35300         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35301         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35302         (__ASSUME_RECVMMSG): Define instead of using previous
35303         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35304         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35305         (__ASSUME_RECVMMSG_SYSCALL): Define.
35306         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35307         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35308         Likewise.
35309         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35310         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35311         Likewise.
35312         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35313         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35314         Likewise.
35315         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35316         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35317         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35318         [__ASSUME_RECVMMSG]: Change condition to
35319         [__ASSUME_RECVMMSG_SOCKETCALL].
35320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35322         Define.
35323         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35324         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35326         Likewise.
35327         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35328         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35329         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35330         [!__ASSUME_RECVMMSG]: Change condition to
35331         [!__ASSUME_RECVMMSG_SOCKETCALL].
35332         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35333         (__ASSUME_RECVMMSG_SYSCALL): Define.
35335         [BZ #16609]
35336         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35337         __powerpc__ || __s390__ || __sh__ || __sparc__]
35338         (__ASSUME_SOCKETCALL): Define.
35339         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35340         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35341         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35342         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35343         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35344         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35345         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35346         (__ASSUME_ACCEPT4): Define instead of using previous
35347         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35348         __powerpc__ || __sparc__ || __s390__)] condition.
35349         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35350         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35351         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35352         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35353         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35354         [!__ASSUME_ACCEPT4]: Change condition to
35355         [!__ASSUME_ACCEPT4_SOCKETCALL].
35356         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35357         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35358         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35359         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35360         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35361         __ASSUME_ACCEPT4_SYSCALL.
35362         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35363         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35364         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35365         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35366         __ASSUME_ACCEPT4_SYSCALL.
35367         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35368         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35369         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35370         [__ASSUME_ACCEPT4]: Change condition to
35371         [__ASSUME_ACCEPT4_SOCKETCALL].
35372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35373         (__ASSUME_SOCKETCALL): Define.
35374         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35376         (__ASSUME_SOCKETCALL): Define.
35377         (__ASSUME_ACCEPT4): Remove.
35378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35379         Define.
35380         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35381         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35382         Likewise.
35383         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35384         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35386         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35387         macro.
35388         (HWCAP_ARM_LPAE): Likewise.
35389         (HWCAP_ARM_EVTSTRM): Likewise.
35390         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35391         Add vpfd32, lpae and evtstrm.
35392         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35393         Increase to 22.
35395 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35397         * math/auto-libm-test-in: Add tests of clog10.
35398         * math/auto-libm-test-out: Regenerated.
35399         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35400         * sysdeps/i386/fpu/libm-test-ulps: Update.
35401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35403 2014-02-18  Andreas Schwab  <schwab@suse.de>
35405         [BZ #16574]
35406         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
35407         Store non-zero if the second buffer was newly allocated.
35408         (send_dg): Likewise.
35409         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
35410         to send_vc and send_dg.
35411         (res_nsend): Pass NULL for ansp2_malloced.
35412         * resolv/res_query.c (__libc_res_nquery): Add parameter
35413         answerp2_malloced and pass it down to __libc_res_nsend.
35414         (res_nquery): Pass additional NULL to __libc_res_nquery.
35415         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
35416         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
35417         second answer buffer if answerp2_malloced was set.
35418         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
35419         (__libc_res_nquerydomain): Add parameter
35420         answerp2_malloced and pass it down to __libc_res_nquery.
35421         (res_nquerydomain): Pass additional NULL to
35422         __libc_res_nquerydomain.
35423         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
35424         additional NULL to __libc_res_nsend and __libc_res_nquery.
35425         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
35426         additional NULL to __libc_res_nsearch.
35427         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
35428         parameter of __libc_res_nsearch to check for separately allocated
35429         second buffer.
35430         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
35431         __libc_res_nquery.
35432         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
35433         additional NULL to __libc_res_nquery.
35434         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
35435         __libc_res_nsearch.
35436         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
35437         * include/resolv.h: Update prototypes of __libc_res_nquery,
35438         __libc_res_nsearch, __libc_res_nsend.
35440 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
35442         * math/auto-libm-test-in: Add tests of fma.
35443         * math/auto-libm-test-out: Regenerated.
35444         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
35445         (fma_towardzero_test_data): Likewise.
35446         (fma_downward_test_data): Likewise.
35447         (fma_upward_test_data): Likewise.
35448         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
35449         mpc_mode.
35450         (rounding_modes): Add values for new field.
35451         (func_calc_method): Add value mpfr_fff_f.
35452         (func_calc_desc): Add mpfr_fff_f union field.
35453         (test_function): Add field exact_args.
35454         (FUNC): Add macro argument EXACT_ARGS.
35455         (FUNC_mpfr_f_f): Update call to FUNC.
35456         (FUNC_mpfr_f_f): Likewise.
35457         (FUNC_mpfr_ff_f): Likewise.
35458         (FUNC_mpfr_if_f): Likewise.
35459         (FUNC_mpc_c_f): Likewise.
35460         (FUNC_mpc_c_c): Likewise.
35461         (test_functions): Add fma.  Update calls to FUNC.
35462         (handle_input_arg): Add argument exact_args.
35463         (add_test): Update call to handle_input_arg.
35464         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
35465         (output_for_one_input_case): Update call to calc_generic_results.
35466         Recalculate exact zero results in each rounding mode.
35468         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
35469         non-negative before setting low bit.
35470         * math/auto-libm-test-in: Mark one asin test possibly having
35471         spurious underflow.
35472         * math/auto-libm-test-out: Regenerated.
35473         * sysdeps/i386/fpu/libm-test-ulps: Update.
35474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35476 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
35478         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
35479         * sysdeps/unix/sysv/linux/microblaze: Move directory from
35480         ports/sysdeps/unix/sysv/linux/microblaze.
35481         * README: Add missing listing for microblaze*-*-linux-gnu.
35483 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
35485         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
35486         duplicate code
35488 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
35490         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
35491         * sysdeps/unix/sysv/linux/ia64: Move directory from
35492         ports/sysdeps/unix/sysv/linux/ia64.
35493         * README: Update listing for ia64-*-linux-gnu.
35495 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
35496             Joseph Myers  <joseph@codesourcery.com>
35498         * Makeconfig (test-name): New variable.
35499         (evaluate-test): Likewise.
35500         * Makerules (do-test-clean): Remove .test-result files.
35501         (common-mostlyclean): Likewise.
35502         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
35503         * scripts/evaluate-test.sh: New file.
35505 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
35507         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
35508         separate $(objpfx)tst-fopenloc-cmp.out and
35509         $(objpfx)tst-fopenloc-mem.out targets.
35510         (tests): Update dependencies.
35511         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
35512         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
35513         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
35514         (tst-rxspencer-no-utf8-ARGS): New variable.
35515         (tst-rxspencer-no-utf8-ENV): Likewise.
35516         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
35517         instead of $(objpfx)tst-rxspencer-mem.
35518         ($(objpfx)tst-rxspencer-mem): Change target to
35519         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
35520         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
35521         * posix/tst-rxspencer-no-utf8.c: New file.
35523         * elf/Makefile ($(objpfx)order.out): Remove rule.
35524         [$(run-built-tests) = yes] (tests): Depend on
35525         $(objpfx)order-cmp.out.
35526         ($(objpfx)order-cmp.out): New rule.
35527         [$(run-built-tests) = yes] (tests): Depend on
35528         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
35529         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
35530         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
35531         $(objpfx)tst-array5-static-cmp.out.
35532         ($(objpfx)tst-array1.out): Remove rule.
35533         ($(objpfx)tst-array1-cmp.out): New rule.
35534         ($(objpfx)tst-array1-static.out): Remove rule.
35535         ($(objpfx)tst-array1-static-cmp.out): New rule.
35536         ($(objpfx)tst-array2.out): Remove rule.
35537         ($(objpfx)tst-array2-cmp.out): New rule.
35538         ($(objpfx)tst-array3.out): Remove rule.
35539         ($(objpfx)tst-array3-cmp.out): New rule.
35540         ($(objpfx)tst-array4.out): Remove rule.
35541         ($(objpfx)tst-array4-cmp.out): New rule.
35542         ($(objpfx)tst-array5.out): Remove rule.
35543         ($(objpfx)tst-array5-cmp.out): New rule.
35544         ($(objpfx)tst-array5-static.out): Remove rule.
35545         ($(objpfx)tst-array5-static-cmp.out): New rule.
35546         [$(run-built-tests) = yes] (tests): Depend on
35547         $(objpfx)order2-cmp.out.
35548         ($(objpfx)order2.out): Remove rule.
35549         ($(objpfx)order2-cmp.out): New rule.
35550         ($(objpfx)tst-initorder.out): Remove rule.
35551         [$(run-built-tests) = yes] (tests): Depend on
35552         $(objpfx)tst-initorder-cmp.out.
35553         ($(objpfx)tst-initorder-cmp.out): New rule.
35554         ($(objpfx)tst-initorder2.out): Remove rule.
35555         [$(run-built-tests) = yes] (tests): Depend on
35556         $(objpfx)tst-initorder2-cmp.out.
35557         ($(objpfx)tst-initorder2-cmp.out): New rule.
35558         [$(run-built-tests) = yes] (tests): Depend on
35559         $(objpfx)tst-unused-dep-cmp.out.
35560         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
35561         ($(objpfx)tst-unused-dep-cmp.out): New rule.
35562         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
35563         on $(objpfx)tst-setvbuf1-cmp.out.
35564         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
35565         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
35566         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
35567         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
35568         ($(objpfx)tst-svc.out): Remove rule.
35569         ($(objpfx)tst-svc-cmp.out): New rule.
35571 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
35573         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
35574         * ctype/ctype.h [__USE_MISC]: Likewise.
35575         * dirent/dirent.h [__USE_MISC]: Likewise.
35576         * grp/grp.h [__USE_MISC]: Likewise.
35577         * io/fcntl.h [__USE_MISC]: Likewise.
35578         * io/sys/stat.h [__USE_MISC]: Likewise.
35579         * libio/stdio.h [__USE_MISC]: Likewise.
35580         * posix/unistd.h [__USE_MISC]: Likewise.
35581         * pwd/pwd.h [__USE_MISC]: Likewise.
35582         * stdlib.h [__USE_MISC]: Likewise.
35583         * string/bits/string2.h [__USE_MISC]: Likewise.
35584         * string/string.h [__USE_MISC]: Likewise.
35585         * time/time.h [__USE_MISC]: Likewise.
35587 2014-02-13  Andreas Schwab  <schwab@suse.de>
35589         [BZ #16574]
35590         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
35591         second answer buffer if it was separately allocated.
35593 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
35595         * sysdeps/mips/math-tests.h: Include <features.h>.
35596         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35597         (ROUNDING_TESTS_long_double): Do not define.
35598         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
35599         (EXCEPTION_TESTS_long_double): Likewise.
35600         * sysdeps/mips/mips64/libm-test-ulps: Update.
35602         * include/features.h (__USE_BSD): Remove macro definitions.
35603         (__USE_SVID): Likewise.
35604         (_BSD_SOURCE): Likewise.
35605         (_SVID_SOURCE): Likewise.
35606         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
35607         from definition of _DEFAULT_SOURCE.
35608         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
35609         [_DEFAULT_SOURCE].
35610         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
35611         * bits/mman.h [__USE_BSD]: Likewise.
35612         * bits/termios.h [__USE_BSD]: Likewise.
35613         * bits/waitstatus.h [__USE_BSD]: Likewise.
35614         * ctype/ctype.h [__USE_SVID]: Likewise.
35615         * dirent/dirent.h [__USE_BSD]: Likewise.
35616         * grp/grp.h [__USE_SVID]: Likewise.
35617         [__USE_BSD]: Likewise.
35618         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
35619         * io/fcntl.h [__USE_BSD]: Likewise.
35620         * io/ftw.h [__USE_BSD]: Likewise.
35621         * io/sys/stat.h [__USE_BSD]: Likewise.
35622         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
35623         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
35624         * libio/stdio.h [__USE_SVID]: Likewise.
35625         [__USE_BSD]: Likewise.
35626         * math/math.h [__USE_SVID]: Likewise.
35627         [__USE_BSD]: Likewise.
35628         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
35629         * misc/bits/syslog.h [__USE_BSD]: Likewise.
35630         * misc/search.h [__USE_SVID]: Likewise.
35631         * misc/sys/mman.h [__USE_BSD]: Likewise.
35632         * misc/sys/syslog.h [__USE_BSD]: Likewise.
35633         * misc/sys/uio.h [__USE_BSD]: Likewise.
35634         * posix/bits/unistd.h [__USE_BSD]: Likewise.
35635         * posix/glob.h [__USE_BSD]: Likewise.
35636         * posix/regex.h [__USE_BSD]: Likewise.
35637         * posix/sys/types.h [__USE_BSD]: Likewise.
35638         [__USE_SVID]: Likewise.
35639         * posix/sys/utsname.h [__USE_SVID]: Likewise.
35640         * posix/sys/wait.h [__USE_BSD]: Likewise.
35641         [__USE_SVID]: Likewise.
35642         * posix/unistd.h [__USE_BSD]: Likewise.
35643         [__USE_SVID]: Likewise.
35644         * pwd/pwd.h [__USE_SVID]: Likewise.
35645         * resolv/netdb.h [__USE_BSD]: Likewise.
35646         * setjmp/setjmp.h [__USE_BSD]: Likewise.
35647         * signal/signal.h [__USE_BSD]: Likewise.
35648         [__USE_SVID]: Likewise.
35649         * socket/sys/socket.h [__USE_BSD]: Likewise.
35650         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
35651         * stdlib/stdlib.h [__USE_BSD]: Likewise.
35652         [__USE_SVID]: Likewise.
35653         * string/bits/string2.h [__USE_BSD]: Likewise.
35654         [__USE_SVID]: Likewise.
35655         * string/bits/string3.h [__USE_BSD]: Likewise.
35656         * string/endian.h [__USE_BSD]: Likewise.
35657         * string/string.h [__USE_SVID]: Likewise.
35658         [__USE_BSD]: Likewise.
35659         * string/strings.h [__USE_BSD]: Likewise.
35660         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
35661         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
35662         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
35663         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
35664         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
35665         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
35666         Likewise.
35667         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
35668         Likewise.
35669         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
35670         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
35671         Likewise.
35672         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
35673         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
35674         Likewise.
35675         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
35676         Likewise.
35677         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
35678         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
35679         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
35680         Likewise.
35681         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
35682         Likewise.
35683         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
35684         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
35685         * termios/termios.h [__USE_BSD]: Likewise.
35686         * time/sys/time.h [__USE_BSD]: Likewise.
35687         * time/time.h [__USE_BSD]: Likewise.
35688         [__USE_SVID]: Likewise.
35690         * Makefile (subdir_targets): Remove subdir_lint.out.
35692         * stdio-common/Makefile (do-tst-unbputc): Remove target.
35693         (do-tst-printf): Likewise.
35694         (tests): Depend directly on $(objpfx)tst-unbputc.out and
35695         $(objpfx)tst-printf.out.
35697         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
35699         * Makerules (check-abi-%): Change target to
35700         $(objpfx)check-abi-%.out.
35701         (check-abi target): Update dependencies.
35702         (check-abi-pattern variable): Redirect output of diff to $@.
35703         (check-abi variable): Likewise.
35704         * elf/Makefile (check-abi): Update dependencies.
35706         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
35707         unused.
35708         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
35709         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
35710         subnormal range.
35711         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
35712         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
35713         value has largest subnormal exponent.
35714         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
35715         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
35716         * sysdeps/aarch64/soft-fp/sfp-machine.h
35717         (_FP_TININESS_AFTER_ROUNDING): New macro.
35718         * sysdeps/alpha/soft-fp/sfp-machine.h
35719         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35720         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35721         Likewise.
35722         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
35723         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35724         * sysdeps/mips/soft-fp/sfp-machine.h
35725         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35726         * sysdeps/powerpc/soft-fp/sfp-machine.h
35727         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35728         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35729         Likewise.
35730         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
35731         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35732         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
35733         (_FP_TININESS_AFTER_ROUNDING): Likewise.
35734         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
35735         Likewise.
35737 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
35739         [BZ #16545]
35740         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
35741         model 1.
35743 2014-02-12  Richard Henderson  <rth@redhat.com>
35745         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
35746         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
35747         * sysdeps/unix/sysv/linux/alpha: Move directory from
35748         ports/sysdeps/unix/sysv/linux/alpha.
35749         * README: Update listing for alpha-*-linux-gnu.
35751 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
35753         * include/features.h: Update comment documenting feature test
35754         macros.
35755         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
35756         _DEFAULT_SOURCE.
35757         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
35758         (_SVID_SOURCE): Likewise.
35759         (_DEFAULT_SOURCE): Update description of default features.
35760         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
35761         with _GNU_SOURCE.
35762         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
35763         (S_ISVTX): Likewise.
35764         * manual/math.texi (Mathematical Constants): Likewise.
35765         * manual/signal.texi (Interrupted Primitives): Likewise.
35766         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
35767         * math/test-matherr.c (_SVID_SOURCE): Do not define.
35768         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
35769         Don't refer to _SVID_SOURCE in warning text.
35771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35773         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
35774         already defined.
35775         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
35776         * sysdeps/mips/dl-lookup.c: Remove.
35777         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
35779 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35781         [BZ #16447]
35782         * math/auto-libm-test-in: Add testcase for expl.
35783         * math/auto-libm-test-out: Regenerate.
35784         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
35785         calculation of unsafe.
35786         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
35788 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35790         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
35791         * sysdeps/unix/sysv/linux/aarch64: Move directory from
35792         ports/sysdeps/unix/sysv/linux/aarch64.
35793         * README: Update listing for aarch64*-*-linux-gnu.
35795 2014-02-11  Will Newton  <will.newton@linaro.org>
35797         * manual/probes.texi (Mathematical Function Probes): Use
35798         "triggered" instead of "hit".
35800         * manual/probes.texi (Internal Probes): Add documentation
35801         of setjmp, longjmp and longjmp_target probes.
35803         * include/stap-probe.h: Add comment about probe argument
35804         format.
35806         * malloc/mtrace.c (attribute_hidden): Remove unused macro
35807         definition.  (tr_where, tr_freehook, tr_mallochook,
35808         tr_reallochook, tr_memalignhook): Use ANSI protoype.
35810 2014-02-11  David S. Miller  <davem@davemloft.net>
35812         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
35813         processing int_tests.
35815 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
35817         * sysdeps/mips: Move directory from ports/sysdeps/mips.
35818         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
35819         * sysdeps/unix/sysv/linux/mips: Move directory from
35820         ports/sysdeps/unix/sysv/linux/mips.
35821         * README: Update listing for mips-*-linux-gnu and
35822         mips64-*-linux-gnu.
35824 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
35826         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
35827         * sysdeps/unix/sysv/linux/m68k: Move directory from
35828         ports/sysdeps/unix/sysv/linux/m68k.
35829         * README: Update listing for m68k-*-linux-gnu.
35831 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
35833         * sysdeps/tile: Move directory from ports/sysdeps/tile.
35834         * sysdeps/unix/sysv/linux/generic: Move directory from
35835         ports/sysdeps/unix/sysv/linux/generic.
35836         * sysdeps/unix/sysv/linux/tile: Move directory from
35837         ports/sysdeps/unix/sysv/linux/tile.
35838         * README: Update listing for tile*-*-linux-gnu.
35840 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
35842         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
35843         __builtin_expect.
35844         * benchtests/bench-memmem.c (simple_memmem): Likewise.
35845         * catgets/open_catalog.c (__open_catalog): Likewise.
35846         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
35847         * debug/confstr_chk.c: Likewise.
35848         * debug/fread_chk.c (__fread_chk): Likewise.
35849         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
35850         * debug/getgroups_chk.c: Likewise.
35851         * debug/mbsnrtowcs_chk.c: Likewise.
35852         * debug/mbsrtowcs_chk.c: Likewise.
35853         * debug/mbstowcs_chk.c: Likewise.
35854         * debug/memcpy_chk.c: Likewise.
35855         * debug/memmove_chk.c: Likewise.
35856         * debug/mempcpy_chk.c: Likewise.
35857         * debug/memset_chk.c: Likewise.
35858         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35859         * debug/strcat_chk.c (__strcat_chk): Likewise.
35860         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
35861         * debug/strncat_chk.c (__strncat_chk): Likewise.
35862         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
35863         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
35864         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
35865         * debug/wcpncpy_chk.c: Likewise.
35866         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35867         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
35868         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
35869         * debug/wcsncpy_chk.c: Likewise.
35870         * debug/wcsnrtombs_chk.c: Likewise.
35871         * debug/wcsrtombs_chk.c: Likewise.
35872         * debug/wcstombs_chk.c: Likewise.
35873         * debug/wmemcpy_chk.c: Likewise.
35874         * debug/wmemmove_chk.c: Likewise.
35875         * debug/wmempcpy_chk.c: Likewise.
35876         * debug/wmemset_chk.c: Likewise.
35877         * dirent/scandirat.c (SCANDIRAT): Likewise.
35878         * dlfcn/dladdr1.c (dladdr1): Likewise.
35879         * dlfcn/dladdr.c (dladdr): Likewise.
35880         * dlfcn/dlclose.c (dlclose_doit): Likewise.
35881         * dlfcn/dlerror.c (__dlerror): Likewise.
35882         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
35883         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
35884         * dlfcn/dlopen.c (dlopen_doit): Likewise.
35885         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
35886         * dlfcn/dlsym.c (dlsym_doit): Likewise.
35887         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
35888         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
35889         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
35890         Likewise.
35891         * elf/dl-conflict.c: Likewise.
35892         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
35893         * elf/dl-dst.h: Likewise.
35894         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
35895         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
35896         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
35897         * elf/dl-init.c (call_init, _dl_init): Likewise.
35898         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
35899         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
35900         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
35901         Likewise.
35902         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
35903         Likewise.
35904         * elf/dl-minimal.c (__libc_memalign): Likewise.
35905         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
35906         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
35907         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
35908         * elf/dl-sym.c (do_sym): Likewise.
35909         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
35910         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
35911         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
35912         * elf/dl-writev.h (_dl_writev): Likewise.
35913         * elf/ldconfig.c (search_dir): Likewise.
35914         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
35915         (dl_main): Likewise.
35916         * elf/setup-vdso.h (setup_vdso): Likewise.
35917         * grp/compat-initgroups.c (compat_call): Likewise.
35918         * grp/fgetgrent.c (fgetgrent): Likewise.
35919         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
35920         * grp/putgrent.c (putgrent): Likewise.
35921         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
35922         Likewise.
35923         * hurd/hurdinit.c: Likewise.
35924         * iconvdata/8bit-gap.c (struct): Likewise.
35925         * iconvdata/ansi_x3.110.c : Likewise.
35926         * iconvdata/big5.c : Likewise.
35927         * iconvdata/big5hkscs.c : Likewise.
35928         * iconvdata/cp1255.c: Likewise.
35929         * iconvdata/cp1258.c : Likewise.
35930         * iconvdata/cp932.c : Likewise.
35931         * iconvdata/euc-cn.c: Likewise.
35932         * iconvdata/euc-jisx0213.c : Likewise.
35933         * iconvdata/euc-jp.c: Likewise.
35934         * iconvdata/euc-jp-ms.c : Likewise.
35935         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
35936         * iconvdata/gb18030.c : Likewise.
35937         * iconvdata/gbbig5.c (const): Likewise.
35938         * iconvdata/gbgbk.c: Likewise.
35939         * iconvdata/gbk.c : Likewise.
35940         * iconvdata/ibm1364.c : Likewise.
35941         * iconvdata/ibm930.c : Likewise.
35942         * iconvdata/ibm932.c: Likewise.
35943         * iconvdata/ibm933.c : Likewise.
35944         * iconvdata/ibm935.c : Likewise.
35945         * iconvdata/ibm937.c : Likewise.
35946         * iconvdata/ibm939.c : Likewise.
35947         * iconvdata/ibm943.c: Likewise.
35948         * iconvdata/iso_11548-1.c: Likewise.
35949         * iconvdata/iso-2022-cn.c : Likewise.
35950         * iconvdata/iso-2022-cn-ext.c : Likewise.
35951         * iconvdata/iso-2022-jp-3.c: Likewise.
35952         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
35953         * iconvdata/iso-2022-kr.c : Likewise.
35954         * iconvdata/iso646.c (gconv_end): Likewise.
35955         * iconvdata/iso_6937-2.c : Likewise.
35956         * iconvdata/iso_6937.c : Likewise.
35957         * iconvdata/iso8859-1.c: Likewise.
35958         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
35959         * iconvdata/shift_jisx0213.c : Likewise.
35960         * iconvdata/sjis.c : Likewise.
35961         * iconvdata/t.61.c : Likewise.
35962         * iconvdata/tcvn5712-1.c : Likewise.
35963         * iconvdata/tscii.c: Likewise.
35964         * iconvdata/uhc.c : Likewise.
35965         * iconvdata/unicode.c (gconv_end): Likewise.
35966         * iconvdata/utf-16.c (gconv_end): Likewise.
35967         * iconvdata/utf-32.c (gconv_end): Likewise.
35968         * iconvdata/utf-7.c (base64): Likewise.
35969         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
35970         * iconv/gconv_close.c (__gconv_close): Likewise.
35971         * iconv/gconv_open.c (__gconv_open): Likewise.
35972         * iconv/gconv_simple.c (internal_ucs4_loop_single)
35973         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
35974         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
35975         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
35976         (ucs4le_internal_loop_single): Likewise.
35977         * iconv/iconv.c (iconv): Likewise.
35978         * iconv/iconv_close.c: Likewise.
35979         * iconv/loop.c (SINGLE): Likewise.
35980         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
35981         * include/atomic.h: Likewise.
35982         * inet/inet6_option.c (option_alloc): Likewise.
35983         * intl/bindtextdom.c (set_binding_values): Likewise.
35984         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
35985         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
35986         * intl/localealias.c (read_alias_file): Likewise.
35987         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
35988         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
35989         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
35990         * libio/fmemopen.c (fmemopen): Likewise.
35991         * libio/iofgets.c (_IO_fgets): Likewise.
35992         * libio/iofgets_u.c (fgets_unlocked): Likewise.
35993         * libio/iofgetws.c (fgetws): Likewise.
35994         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
35995         * libio/iogetdelim.c (_IO_getdelim): Likewise.
35996         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
35997         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
35998         * locale/findlocale.c (_nl_find_locale): Likewise.
35999         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36000         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36001         Likewise.
36002         * locale/setlocale.c (setlocale): Likewise.
36003         * login/programs/pt_chown.c (main): Likewise.
36004         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36005         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36006         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36007         (mmap, mmap64, mremap, munmap): Likewise.
36008         * math/e_exp2l.c: Likewise.
36009         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36010         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36011         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36012         * math/s_catan.c (__catan): Likewise.
36013         * math/s_catanf.c (__catanf): Likewise.
36014         * math/s_catanh.c (__catanh): Likewise.
36015         * math/s_catanhf.c (__catanhf): Likewise.
36016         * math/s_catanhl.c (__catanhl): Likewise.
36017         * math/s_catanl.c (__catanl): Likewise.
36018         * math/s_ccosh.c (__ccosh): Likewise.
36019         * math/s_ccoshf.c (__ccoshf): Likewise.
36020         * math/s_ccoshl.c (__ccoshl): Likewise.
36021         * math/s_cexp.c (__cexp): Likewise.
36022         * math/s_cexpf.c (__cexpf): Likewise.
36023         * math/s_cexpl.c (__cexpl): Likewise.
36024         * math/s_clog10.c (__clog10): Likewise.
36025         * math/s_clog10f.c (__clog10f): Likewise.
36026         * math/s_clog10l.c (__clog10l): Likewise.
36027         * math/s_clog.c (__clog): Likewise.
36028         * math/s_clogf.c (__clogf): Likewise.
36029         * math/s_clogl.c (__clogl): Likewise.
36030         * math/s_csin.c (__csin): Likewise.
36031         * math/s_csinf.c (__csinf): Likewise.
36032         * math/s_csinh.c (__csinh): Likewise.
36033         * math/s_csinhf.c (__csinhf): Likewise.
36034         * math/s_csinhl.c (__csinhl): Likewise.
36035         * math/s_csinl.c (__csinl): Likewise.
36036         * math/s_csqrt.c (__csqrt): Likewise.
36037         * math/s_csqrtf.c (__csqrtf): Likewise.
36038         * math/s_csqrtl.c (__csqrtl): Likewise.
36039         * math/s_ctan.c (__ctan): Likewise.
36040         * math/s_ctanf.c (__ctanf): Likewise.
36041         * math/s_ctanh.c (__ctanh): Likewise.
36042         * math/s_ctanhf.c (__ctanhf): Likewise.
36043         * math/s_ctanhl.c (__ctanhl): Likewise.
36044         * math/s_ctanl.c (__ctanl): Likewise.
36045         * math/w_pow.c: Likewise.
36046         * math/w_powf.c: Likewise.
36047         * math/w_powl.c: Likewise.
36048         * math/w_scalb.c (sysv_scalb): Likewise.
36049         * math/w_scalbf.c (sysv_scalbf): Likewise.
36050         * math/w_scalbl.c (sysv_scalbl): Likewise.
36051         * misc/error.c (error_tail): Likewise.
36052         * misc/pselect.c (__pselect): Likewise.
36053         * nis/nis_callback.c (__nis_create_callback): Likewise.
36054         * nis/nis_call.c (__nisfind_server): Likewise.
36055         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36056         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36057         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36058         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36059         * nis/nis_lookup.c (nis_lookup): Likewise.
36060         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36061         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36062         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36063         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36064         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36065         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36066         * nis/nss_compat/compat-initgroups.c (add_group)
36067         (internal_getgrent_r): Likewise.
36068         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36069         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36070         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36071         (internal_getspnam_r): Likewise.
36072         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36073         (_nss_nis_getaliasbyname_r): Likewise.
36074         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36075         (_nss_nis_getntohost_r): Likewise.
36076         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36077         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36078         (_nss_nis_getgrgid_r): Likewise.
36079         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36080         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36081         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36082         (_nss_nis_gethostbyname4_r): Likewise.
36083         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36084         (initgroups_netid): Likewise.
36085         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36086         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36087         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36088         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36089         (_nss_nis_getprotobynumber_r): Likewise.
36090         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36091         (_nss_nis_getsecretkey): Likewise.
36092         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36093         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36094         (_nss_nis_getpwuid_r): Likewise.
36095         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36096         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36097         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36098         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36099         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36100         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36101         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36102         Likewise.
36103         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36104         (_nss_nisplus_getntohost_r): Likewise.
36105         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36106         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36107         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36108         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36109         Likewise.
36110         * nis/nss_nisplus/nisplus-initgroups.c
36111         (_nss_nisplus_initgroups_dyn): Likewise.
36112         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36113         (_nss_nisplus_getnetbyaddr_r): Likewise.
36114         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36115         (_nss_nisplus_getprotobynumber_r): Likewise.
36116         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36117         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36118         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36119         Likewise.
36120         * nis/nss_nisplus/nisplus-service.c
36121         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36122         (_nss_nisplus_getservbyport_r): Likewise.
36123         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36124         (_nss_nisplus_getspnam_r): Likewise.
36125         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36126         Likewise.
36127         * nscd/aicache.c (addhstaiX): Likewise.
36128         * nscd/cache.c (cache_search, prune_cache): Likewise.
36129         * nscd/connections.c (register_traced_file, send_ro_fd)
36130         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36131         (main_loop_epoll): Likewise.
36132         * nscd/grpcache.c (addgrbyX): Likewise.
36133         * nscd/hstcache.c (addhstbyX): Likewise.
36134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36135         * nscd/mem.c (gc, mempool_alloc): Likewise.
36136         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36137         (addinnetgrX): Likewise.
36138         * nscd/nscd-client.h (__nscd_acquire_maplock)
36139         (__nscd_drop_map_ref): Likewise.
36140         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36141         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36142         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36143         Likewise.
36144         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36145         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36146         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36147         (__nscd_get_map_ref): Likewise.
36148         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36149         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36150         Likewise.
36151         * nscd/pwdcache.c (addpwbyX): Likewise.
36152         * nscd/selinux.c (preserve_capabilities): Likewise.
36153         * nscd/servicescache.c (addservbyX): Likewise.
36154         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36155         * posix/fnmatch.c (fnmatch): Likewise.
36156         * posix/getopt.c (_getopt_internal_r): Likewise.
36157         * posix/glob.c (glob, glob_in_dir): Likewise.
36158         * posix/wordexp.c (exec_comm_child): Likewise.
36159         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36160         (getanswer_r, gaih_getanswer_slice): Likewise.
36161         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36162         * resolv/res_init.c: Likewise.
36163         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36164         * resolv/res_query.c (__libc_res_nquery): Likewise.
36165         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36166         Likewise.
36167         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36168         * stdio-common/perror.c (perror): Likewise.
36169         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36170         * stdio-common/tmpnam.c (tmpnam): Likewise.
36171         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36172         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36173         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36174         Likewise.
36175         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36176         * stdlib/putenv.c (putenv): Likewise.
36177         * stdlib/setenv.c (__add_to_environ): Likewise.
36178         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36179         * stdlib/strtol_l.c (INTERNAL): Likewise.
36180         * string/memmem.c (memmem): Likewise.
36181         * string/strerror.c (strerror): Likewise.
36182         * string/strnlen.c (__strnlen): Likewise.
36183         * string/test-memmem.c (simple_memmem): Likewise.
36184         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36185         * sunrpc/pm_getport.c (__get_socket): Likewise.
36186         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36187         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36188         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36189         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36190         Likewise.
36191         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36192         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36193         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36194         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36195         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36196         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36197         Likewise.
36198         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36199         Likewise.
36200         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36201         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36202         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36203         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36204         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36206         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36207         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36208         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36209         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36210         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36211         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36212         Likewise.
36213         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36214         Likewise.
36215         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36216         Likewise.
36217         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36218         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36219         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36220         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36221         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36222         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36223         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36226         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36227         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36229         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36230         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36231         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36232         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36233         Likewise.
36234         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36235         Likewise.
36236         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36237         Likewise.
36238         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36239         Likewise.
36240         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36242         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36243         Likewise.
36244         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36245         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36246         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36247         * sysdeps/posix/sleep.c: Likewise.
36248         * sysdeps/posix/tempname.c: Likewise.
36249         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36250         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36251         Likewise.
36252         * sysdeps/powerpc/powerpc32/dl-machine.h
36253         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36254         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36256         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36257         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36258         Likewise.
36259         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36260         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36261         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36262         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36263         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36264         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36265         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36266         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36267         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36268         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36269         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36270         (elf_machine_lazy_rel): Likewise.
36271         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36272         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36273         (elf_machine_lazy_rel): Likewise.
36274         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36275         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36276         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36277         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36278         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36279         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36280         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36281         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36282         Likewise.
36283         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36284         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36285         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36286         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36287         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36288         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36289         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36290         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36291         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36292         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36293         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36294         Likewise.
36295         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36296         (__posix_fallocate64_l64): Likewise.
36297         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36298         (posix_fallocate): Likewise.
36299         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36300         Likewise.
36301         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36302         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36303         (getifaddrs_internal): Likewise.
36304         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36305         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36306         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36307         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36308         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36309         (__posix_fallocate64_l64): Likewise.
36310         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36311         Likewise.
36312         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36313         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36314         (__get_clockfreq): Likewise.
36315         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36316         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36317         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36318         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36319         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36320         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36321         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36322         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36323         Likewise.
36324         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36325         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36326         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36327         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36328         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36329         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36330         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36331         Likewise.
36332         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36333         (posix_fallocate): Likewise.
36334         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36335         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36336         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36337         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36338         (elf_machine_rela, elf_machine_rela_relative)
36339         (elf_machine_lazy_rel): Likewise.
36340         * time/asctime.c (asctime_internal): Likewise.
36341         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36342         * time/tzset.c (__tzset_parse_tz): Likewise.
36343         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36344         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36345         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36346         * wcsmbs/wcsmbsload.h: Likewise.
36348         [BZ #15894]
36349         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36351         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36352         (arena_get2): Remove THREAD_STATS conditionals.
36353         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36354         (__malloc_stats, int): Likewise.
36356 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36358         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36359         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36361         * manual/setjmp.texi: Fix typos/grammar errors.
36363         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36364         Only return early when n is <= 0.  Delete unused return statement.
36366         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36367         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36368         * debug/tst-longjmp_chk3.c: New file.
36370         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36371         (test_main): Replace code with set_fortify_handler call.
36372         * debug/test-strcpy_chk.c: Likewise.
36373         * debug/tst-chk1.c: Likewise.
36374         * debug/tst-longjmp_chk.c: Likewise.
36375         * test-skeleton.c: Include fcntl.h & paths.h
36376         (set_fortify_handler): Define.
36378         * debug/tst-longjmp_chk.c: Add header comment and include
36379         ../test-skeleton.c.
36380         (do_test): Mark static.
36381         (TEST_FUNCTION): Define.
36383         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36384         (IP_PMTUDISC_INTERFACE): Likewise.
36385         (IP_MULTICAST_IF): Likewise.
36386         (IP_MULTICAST_TTL): Likewise.
36387         (IP_MULTICAST_LOOP): Likewise.
36388         (IP_ADD_MEMBERSHIP): Likewise.
36389         (IP_DROP_MEMBERSHIP): Likewise.
36390         (IP_UNBLOCK_SOURCE): Likewise.
36391         (IP_BLOCK_SOURCE): Likewise.
36392         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36393         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36394         (IP_MSFILTER): Likewise.
36395         (MCAST_JOIN_GROUP): Likewise.
36396         (MCAST_BLOCK_SOURCE): Likewise.
36397         (MCAST_UNBLOCK_SOURCE): Likewise.
36398         (MCAST_LEAVE_GROUP): Likewise.
36399         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36400         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36401         (MCAST_MSFILTER): Likewise.
36402         (IP_MULTICAST_ALL): Likewise.
36403         (IP_UNICAST_IF): Likewise.
36405         * timezone/Makefile: Delete $(have-ksh) check.
36406         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
36407         * timezone/tzselect.ksh: Add +x mode bits.
36409         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
36410         (ANON_INODE_FS_MAGIC): Likewise.
36411         (BDEVFS_MAGIC): Likewise.
36412         (BINFMTFS_MAGIC): Likewise.
36413         (BTRFS_TEST_MAGIC): Likewise.
36414         (CRAMFS_MAGIC_WEND): Likewise.
36415         (DEBUGFS_MAGIC): Likewise.
36416         (ECRYPTFS_SUPER_MAGIC): Likewise.
36417         (EXT3_SUPER_MAGIC): Likewise.
36418         (EXT4_SUPER_MAGIC): Likewise.
36419         (FUTEXFS_SUPER_MAGIC): Likewise.
36420         (HOSTFS_SUPER_MAGIC): Likewise.
36421         (HUGETLBFS_MAGIC): Likewise.
36422         (MINIX3_SUPER_MAGIC): Likewise.
36423         (MTD_INODE_FS_MAGIC): Likewise.
36424         (NILFS_SUPER_MAGIC): Likewise.
36425         (OPENPROM_SUPER_MAGIC): Likewise.
36426         (PIPEFS_MAGIC): Likewise.
36427         (PSTOREFS_MAGIC): Likewise.
36428         (QNX6_SUPER_MAGIC): Likewise.
36429         (RAMFS_MAGIC): Likewise.
36430         (REISERFS_SUPER_MAGIC_STRING): Likewise.
36431         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
36432         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
36433         (SECURITYFS_MAGIC): Likewise.
36434         (SELINUX_MAGIC): Likewise.
36435         (SMACK_MAGIC): Likewise.
36436         (SOCKFS_MAGIC): Likewise.
36437         (SQUASHFS_MAGIC): Likewise.
36438         (STACK_END_MAGIC): Likewise.
36439         (TMPFS_MAGIC): Likewise.
36440         (USBDEVICE_SUPER_MAGIC): Likewise.
36441         (V9FS_MAGIC): Likewise.
36442         (XENFS_SUPER_MAGIC): Likewise.
36443         (CRAMFS_MAGIC): Fix typo in comment.
36444         (EXT2_SUPER_MAGIC): Update comment.
36445         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
36447 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
36449         * sysdeps/arm: Move directory from ports/sysdeps/arm.
36450         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
36451         * sysdeps/unix/sysv/linux/arm: Move directory from
36452         ports/sysdeps/unix/sysv/linux/arm.
36453         * README: Update listing for arm-*-linux-gnueabi.
36455         * README: Remove mention of am33.
36457 2014-02-07  Roland McGrath  <roland@hack.frob.com>
36459         * bits/sigset.h (__sigemptyset): Use a statement expression rather
36460         than the comma operator, to avoid "rhs of comma has no effect"
36461         compiler warnings.
36462         (__sigfillset, __sigandset, __sigorset): Likewise.
36463         * include/signal.h (__sigemptyset): Likewise.
36464         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
36466 2014-02-07  Allan McRae  <allan@archlinux.org>
36468         * version.h (RELEASE): Set to "development".
36469         (VERSION): Set to "2.19.90"
36470         * NEWS: Add 2.20 section.
36472 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
36474         [BZ #16529]
36475         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
36477 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36479         * manual/contrib.texi: Update entry for Carlos O'Donell,
36480         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
36482 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
36484         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
36486         * sysdeps/unix/sysv/linux/kernel-features.h
36487         [__LINUX_KERNEL_VERSION >= 0x020621]
36488         (__ASSUME_PROC_PID_TASK_COMM): Define.
36490 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36492         [BZ #16398]
36493         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
36494         conversion when destination buffer does not have enough space.
36495         * libio/tst-ftell-partial-wide.c: New test case.
36496         * libio/Makefile (tests): Add tst-ftell-partial-wide.
36498         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
36499         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
36500         Leonard and Allan McRae.
36502 2014-02-04  David S. Miller  <davem@davemloft.net>
36504         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
36505         32-bit.
36507 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36510         New file
36511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36512         New file
36513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36514         New file.
36515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36516         New file.
36517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36518         New file.
36519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36520         New file.
36521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36522         New file.
36523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36524         New file.
36525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36526         New file.
36527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36528         New file.
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36530         New file.
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36532         New file.
36533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36534         New file.
36536 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36538         * nptl/shlib-versions: Change powerpc*le start to 2.17.
36539         * shlib-versions: Likewise.
36541 2014-02-04  Roland McGrath  <roland@hack.frob.com>
36542             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36544         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
36545         (abilist-pattern): New variable, set to %-le.abilist.
36547         * Makerules (abilist-pattern): New variable.
36548         (vpath): Use $(abilist-pattern) in place of %.abilist.
36549         (check-abi-% pattern rule): Likewise.
36550         (check-abi, update-abi): Likewise.
36552 2014-02-04  Eric Wong  <normalperson@yhbt.net>
36554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36556 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
36558         * manual/startup.texi: Add next, previous, and top entries for
36559         the `Program Arguments' and `Environment Variables' nodes.
36561 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
36563         * manual/macros.texi: Add comments before MTASC-safety macros.
36565         * manual/users.texi: Document MTASC-safety properties.
36567         * manual/threads.texi (pthread_key_create, pthread_key_delete)
36568         (pthread_getspecific, pthread_setspecific): Format with
36569         @deftypefun, and add @safety note.
36570         * manual/signal.texi: Move comments that analyze the above
36571         functions to their home place.
36573 2014-02-03  Allan McRae  <allan@archlinux.org>
36575         * po/sl.po: Update Slovenian translation from translation project.
36577 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
36579         * manual/time.texi (timegm): Add missing blank after @c.
36580         Reported by Joseph Myers <joseph@codesourcery.com>.
36582 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
36584         * manual/check-safety.sh: New.
36585         * manual/Makefile ($(objpfx)stamp-summary): Run it.
36587         * manual/terminal.texi: Document MTASC-safety properties.
36589         * manual/filesys.texi: Document MTASC-safety properties.
36591         * manual/errno.texi: Document MTASC-safety properties.
36593         * manual/intro.texi: Document safety identifiers and
36594         conditionals.
36596         * manual/string.texi (wcstok): Fix prototype.
36597         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
36599         * manual/time.texi: Document MTASC-safety properties.
36601         * manual/string.texi: Document MTASC-safety properties.
36603         * manual/threads.texi: Document MTASC-safety properties.
36605         * manual/stdio.texi: Document MTASC-safety properties.
36607         * manual/syslog.texi: Document MTASC-safety properties.
36609         * manual/sysinfo.texi: Document MTASC-safety properties.
36611         * manual/startup.texi: Document MTASC-safety properties.
36613         * manual/socket.texi: Document MTASC-safety properties.
36615         * manual/signal.texi: Document MTASC-safety properties.
36617 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
36619         * manual/setjmp.texi: Document MTASC-safety properties.
36621         * manual/search.texi: Document MTASC-safety properties.
36623         * manual/resource.texi: Document MTASC-safety properties.
36625         * manual/process.texi: Document MTASC-safety properties.
36627         * manual/platform.texi: Document MTASC-safety properties.
36629         * manual/pipe.texi: Document MTASC-safety properties.
36631         * manual/pattern.texi: Document MTASC-safety properties.
36633         * manual/message.texi: Document MTASC-safety properties.
36635         [BZ #12751]
36636         * manual/memory.texi: Document MTASC-safety properties.
36638         * manual/math.texi: Document MTASC-safety properties.
36640         * manual/locale.texi: Document MTASC-safety properties.
36642         * manual/llio.texi: Document MTASC-safety properties.
36644         * manual/libdl.texi: New.
36646         * manual/lang.texi: Document MTASC-safety properties.
36648         * manual/job.texi: Document MTASC-safety properties.
36650         * manual/getopt.texi: Document MTASC-safety properties.
36652         * manual/ctype.texi: Document MTASC-safety properties.
36654 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
36656         [BZ #16046]
36657         * csu/libc-tls.c (static_map): Remove variable.
36658         (__libc_setup_tls): Use main executable's link map for TLS data.
36659         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
36660         casing for LM_ID_BASE and GL(dl_nns).
36661         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
36662         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
36663         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
36664         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
36665         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
36666         member.
36667         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
36668         l_phnum members.
36670 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
36672         * manual/debug.texi: Document MTASC-safety properties.
36674 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
36676         [BZ #16510]
36677         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
36678         of __x86_64__ when disabling x87 inline functions.
36680 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
36682         * manual/charset.texi: Document MTASC-safety properties.
36684         * manual/crypt.texi: Document MTASC-safety properties.
36686         * manual/conf.texi: Document MTASC-safety properties.
36688         * manual/arith.texi: Document MTASC-safety properties.
36690         * manual/argp.texi: Document MTASC-safety properties.
36692         * manual/macros.texi: Introduce macros to document multi
36693         thread, asynchronous signal and asynchronous cancellation
36694         safety properties.
36695         * manual/intro.texi: Introduce the properties themselves.
36697 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36699         * sysdeps/sh/sh4/Makefile: New file.
36701 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
36703         * math/gen-libm-test.pl ($srcdir): New variable.
36704         ($auto_input): Use it.
36706 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         [BZ #16506]
36709         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
36710         access beyond array bounds when parsing netgroups file.
36712         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
36713         the old buffer before realloc.
36715 2014-01-27  Allan McRae  <allan@archlinux.org>
36717         * po/fr.po: Update French translation from translation project.
36719 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36721         * sysdeps/sh/libm-test-ulps: Regenerate.
36723 2014-01-24  David S. Miller  <davem@davemloft.net>
36725         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
36727 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36729         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
36730         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
36732 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36734         [BZ #16474]
36735         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
36736         string pointers after reallocation.
36738 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36740         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
36741         __SH4A__ instead of __SH_FPU_ANY__.
36743 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36745         * sysdeps/sh/fpu_control.h: New file.
36746         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
36747         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
36748         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
36749         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
36750         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
36751         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
36752         * sysdeps/sh/sys/ucontext.h: Remove.
36753         * sysdeps/sh/sys: Remove directory.
36755 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36757         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
36758         s390/sys/ucontext.h.
36759         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
36760         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
36762 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
36764         [BZ #15605]
36765         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
36767 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36769         [BZ#16431]
36770         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
36771         Adjust the vDSO correctly for internal calls.
36772         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
36774 2014-01-20  Allan McRae  <allan@archlinux.org>
36776         * po/ca.po: Update Catalan translation from translation project.
36778 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
36780         * sysdeps/s390/sotruss-lib.c: New file.
36782 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36784         [BZ#16430]
36785         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
36786         (__GI___gettimeofday): Alias for a different internal symbol to avoid
36787         local calls issues by not having a PLT stub required for IFUNC calls.
36788         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
36790 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
36792         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
36793         * math/test-fpucw-static.c: Likewise.
36795 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36797         [BZ #16453]
36798         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
36800 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36802         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
36803         implementation for powerpc.
36805 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
36807         [BZ #14782]
36808         * sysdeps/posix/system.c (__libc_system): Do not enable
36809         asynchronous cancellation.
36811 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36813         [BZ #16427]
36814         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
36815         handling only for numbers special also in the IEEE case.
36817 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36819         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36821 2014-01-11  Allan McRae  <allan@archlinux.org>
36823         * po/bg.po: Update Bulgarian translation from translation project.
36825         * po/de.po: Update German translation from translation project.
36827 2014-01-10  Roland McGrath  <roland@hack.frob.com>
36829         * sysdeps/generic/gcc-compat.h: New file.
36831 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36833         * benchtests/asin-inputs: Correct slow inputs.
36834         * benchtests/acos-inputs: Likewise.
36836 2014-01-10  Allan McRae  <allan@archlinux.org>
36838         * po:sv.po: Update Swedish translation from translation project.
36840         * po/vi.po: Update Vietnamese translation from translation project.
36842         * po/eo.po: Update Esperanto translation from translation project.
36844         * po/cs.po: Update Czech translation from translation project.
36846         * po/nl.po: Update Dutch translation from translation project.
36848         * po/pl.po: Update Polish translation from translation project.
36850         * po/ru.po: Update Russian translation from translation project.
36852         * po/uk.po: Update Ukrainian translation from translation project.
36854 2014-01-08  Brooks Moses  <bmoses@google.com>
36856         * elf/dl-load.c: Fix comment typo.
36858 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
36860         * po/header.pot: Rename to...
36861         * po/pot.header: ... this.
36862         * po/Makefile: Use pot.header.
36864 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
36865             Maxim Kuvyrkov  <maxim@kugelworks.com>
36867         [BZ #16394]
36868         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
36869         SRC and DEST against LEN.
36871 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36873         [BZ #16414]
36874         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
36875         implementation.
36876         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
36878 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36882 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
36884         [BZ #16408]
36885         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
36886         for large positive arguments.
36888 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
36890         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36892         * math/auto-libm-test-in: Mark various tests with
36893         xfail-rounding:ldbl-128ibm.
36894         * math/auto-libm-test-out: Regenerated.
36896         [BZ #16407]
36897         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
36898         Increase overflow threshold.
36900 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
36902         [BZ #14286]
36903         * stdio-common/vfprintf.c: Check for integer overflow.
36905 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36907         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
36908         the first argument and return value of __tls_get_addr_internal.
36910 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36912         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
36913         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
36915 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36917         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
36918         * sysdeps/s390/rtld-global-offsets.sym: New file.
36919         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
36920         GLIBC_2.19 symbol.
36921         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
36922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
36923         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36924         ... this.
36925         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
36926         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36927         ... this.
36928         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36929         Regenerate.
36930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36931         Regenerate.
36932         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
36933         halfs of GPRs for high_gprs contexts.
36934         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
36935         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
36936         field.
36937         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
36938         uc_flags field.
36939         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
36940         64 bit versions:
36941         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
36942         for high GPRs (uc_high_gprs) and for future extensions
36943         (__reserved).
36944         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
36945         for future extensions (__reserved).
36946         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
36947         64 bit versions:
36948         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
36949         SC_HIGHGPRS offset definition.
36950         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
36951         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
36953         * Versions.def: Add GLIBC_2.19 for libpthread.
36954         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
36955         siglongjmp for libpthread with GLIBC_2.19 symver.
36956         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
36957         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
36958         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
36959         * sysdeps/s390/__longjmp.c: New file.
36960         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
36961         * sysdeps/s390/longjmp.c: New file.
36962         * sysdeps/s390/setjmp.S: New file.
36963         * sysdeps/s390/sigjmp.S: New file.
36964         * sysdeps/s390/v1-longjmp.c: New file.
36965         * sysdeps/s390/v1-setjmp.h: New file.
36966         * sysdeps/s390/v1-sigjmp.c: New file.
36967         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
36968         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
36969         GLIBC_2.19 version.
36970         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
36971         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
36972         versioned symbols for ____longjmp_chk.
36973         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36974         Likewise.
36975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36976         Regenerate.
36977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36978         Regenerate.
36979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36980         Regenerate.
36981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36982         Regenerate.
36983         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
36984         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
36985         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
36986         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
36987         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
36988         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
36989         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
36990         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
36991         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
36992         * sysdeps/s390/rtld-__longjmp.c: New file.
36993         * sysdeps/s390/rtld-setjmp.S: New file.
36995 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
36997         [BZ #16400]
36998         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
36999         Return -__logl (x) for small positive arguments without evaluating
37000         a polynomial.
37002 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37004         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37005         Rename to ...
37006         (__ptrace_peeksiginfo_args): ... this.
37007         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37008         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37009         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37011 2014-01-06  Allan McRae  <allan@archlinux.org>
37013         * inet/netinet/in.h: Fix typo in comment.
37015 2014-01-05  Andreas Jaeger  <aj@suse.de>
37017         * sysdeps/i386/fpu/libm-test-ulps: Update.
37019 2014-01-05  Allan McRae  <allan@archlinux.org>
37021         * po/libc.pot: Regenerated.
37023         * malloc/memusagestat.c: Fix gettext call formatting.
37025 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37027         * nscd/nscd.c: Improve usage() output.
37029 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37031         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37032         * sysdeps/unix/sysv/linux/configure: Regenerated.
37033         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37034         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37036 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37038         [BZ #16390]
37039         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37040         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37042 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37045         extra tokens at end of #undef directive.
37046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37047         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37048         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37050 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37052         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37054         * math/auto-libm-test-in: Mark various tests with
37055         xfail-rounding:ldbl-128ibm.
37056         * math/auto-libm-test-out: Regenerated.
37058 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37060         [BZ #16386]
37061         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37062         numbers with subnormal high part when calculating exponent.
37064         [BZ #16385]
37065         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37066         fabs.
37068         [BZ #16384]
37069         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37070         M_LN2l.
37071         (__ieee754_acoshl): Use __log1pl not __log1p.
37073 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37075         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37076         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37077         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37078         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37079         (reused_arena, arena_get2): Convert to GNU style.
37080         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37081         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37082         (memalign_check, __malloc_set_state): Likewise.
37083         * malloc/mallocbug.c (main): Likewise.
37084         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37085         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37086         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37087         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37088         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37089         (__posix_memalign, malloc_info): Likewise.
37090         * malloc/malloc.h: Likewise.
37091         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37092         (mallochook, memalignhook, reallochook, mabort): Likewise.
37093         * malloc/mcheck.h: Likewise.
37094         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37095         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37096         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37097         * malloc/morecore.c (__default_morecore): Likewise.
37098         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37099         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37100         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37101         (print_and_abort): Likewise.
37102         * malloc/obstack.h: Likewise.
37103         * malloc/set-freeres.c (__libc_freeres): Likewise.
37104         * malloc/tst-mallocstate.c (main): Likewise.
37105         * malloc/tst-mtrace.c (main): Likewise.
37106         * malloc/tst-realloc.c (do_test): Likewise.
37108 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37110         [BZ #16366]
37111         * nscd/netgroupcache.c (do_notfound): New function.
37112         (addgetnetgrentX): Use it.
37114         [BZ # 16365]
37115         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37116         NSS_STATUS_NOTFOUND.
37118 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37120         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37123 2014-01-01  Allan McRae  <allan@archlinux.org>
37125         * scripts/update-copyrights: Update configure input file suffix.
37127         * NEWS: Update copyright year.
37128         * catgets/gencat.c: Likewise.
37129         * csu/version.c: Likewise.
37130         * debug/catchsegv.sh: Likewise.
37131         * debug/pcprofiledump.c: Likewise.
37132         * debug/xtrace.sh: Likewise.
37133         * elf/ldconfig.c: Likewise.
37134         * elf/ldd.bash.in: Likewise.
37135         * elf/pldd.c: Likewise.
37136         * elf/sotruss.ksh: Likewise.
37137         * elf/sprof.c: Likewise.
37138         * iconv/iconv_prog.c: Likewise.
37139         * iconv/iconvconfig.c: Likewise.
37140         * locale/programs/locale.c: Likewise.
37141         * locale/programs/localedef.c: Likewise.
37142         * login/programs/pt_chown.c: Likewise.
37143         * malloc/memusage.sh: Likewise.
37144         * malloc/memusagestat.c: Likewise.
37145         * malloc/mtrace.pl: Likewise.
37146         * manual/libc.texinfo: Likewise.
37147         * nscd/nscd.c: Likewise.
37148         * nss/getent.c: Likewise.
37149         * nss/makedb.c: Likewise.
37150         * posix/getconf.c: Likewise.
37151         * scripts/test-installation.pl: Likewise.
37153         * All files with FSF copyright notices: Update copyright dates
37154         using scripts/update-copyrights.
37155         * intl/plural.c: Regenerated.
37156         * locale/programs/charmap-kw.h: Likewise.
37157         * locale/programs/locfile-kw.h: Likewise.
37159 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37161         * sysdeps/unix/sysv/linux/configure: Regenerated.
37162         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37163         the linux/fanotify.h header.
37164         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37165         HAVE_LINUX_FANOTIFY_H is defined.
37167 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37169         * benchtests/cos-inputs: New inputs.
37170         * benchtests/sin-inputs: Likewise.
37172         * benchtests/atan-inputs: New inputs. Fix name of multiple
37173         precision fallback inputs.
37175         * benchtests/atanh-inputs: New inputs.
37176         * benchtests/tanh-inputs: Likewise.
37178         * benchtests/acosh-inputs: New inputs.
37179         * benchtests/asinh-inputs: Likewise.
37181         * benchtests/cosh-inputs: New inputs.
37182         * benchtests/sinh-inputs: Likewise.
37184         * benchtests/acos-inputs: Add more inputs.
37185         * benchtests/asin-inputs: Likewise.
37187 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37189         [BZ #16375]
37190         * manual/arith.texi: Fix spelling.
37191         * manual/charset.texi: Likewise.
37192         * manual/errno.texi: Likewise.
37193         * manual/filesys.texi: Likewise.
37194         * manual/lang.texi: Likewise.
37195         * manual/llio.texi: Likewise.
37196         * manual/locale.texi: Likewise.
37197         * manual/message.texi: Likewise.
37198         * manual/resource.texi: Likewise.
37199         * manual/search.texi: Likewise.
37200         * manual/setjmp.texi: Likewise.
37201         * manual/stdio.texi: Likewise.
37202         * manual/string.texi: Likewise.
37203         * manual/sysinfo.texi: Likewise.
37204         * manual/time.texi: Likewise.
37206 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37208         * po/sl.po: New file.
37210 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37212         * .gitignore: Add core/.gdbinit/.gdb_history.
37214 2013-12-27  Allan McRae  <allan@archlinux.org>
37216         [BZ #16369]
37217         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37218         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37220 2013-12-24  Brooks Moses  <bmoses@google.com>
37222         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37223         all compilers that claim C++98 compliance, not just GCC.
37224         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37225         Likewise.
37227 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37229         * NEWS: Restore accidentally deleted bug-fix entries.
37231 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37232             Ondřej Bílka  <neleai@seznam.cz>
37234         [BZ #15073]
37235         * malloc/malloc.c (_int_free): Perform sanity check only if we
37236         have_lock.
37238 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37240         [BZ #12986]
37241         * manual/stdio.texi (String Input Conversions): Clarify that character
37242         classes are not supported.
37244 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37248 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37250         [BZ #16337]
37251         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37252         Calculate results for small negative arguments directly rather
37253         than using reflection formula with special underflow handling.
37255         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37256         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37257         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37258         (fchflags): Likewise.
37259         (revoke): Likewise.
37260         (setlogin): Likewise.
37261         (sigaltstack): Likewise.
37262         (wait4): Likewise.
37263         (sigblock): Remove.
37264         (sigsetmask): Likewise.
37265         (wait3): Likewise.
37266         (waitpid): Likewise.
37267         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37268         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37269         file.
37270         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37271         * sysdeps/unix/bsd/Makefile: ... here.
37272         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37273         * sysdeps/unix/bsd/Versions: ... here.
37274         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37275         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37276         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37277         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37278         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37279         * sysdeps/unix/bsd/sigblock.c: ... here.
37280         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37281         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37282         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37283         * sysdeps/unix/bsd/sigvec.c: ... here.
37284         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37285         * sysdeps/unix/bsd/tcdrain.c: ... here.
37286         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37287         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37288         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37289         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37290         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37291         * sysdeps/unix/bsd/wait.c: ... here.
37292         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37293         * sysdeps/unix/bsd/wait3.c: ... here.
37294         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37295         * sysdeps/unix/bsd/waitpid.c: ... here.
37297 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37299         [BZ #16356]
37300         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37301         round-to-nearest for [!USE_AS_EXPM1L].
37302         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37303         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37304         more tests of exp and exp10.  Expect some exp10 tests to miss
37305         exceptions or fail in directed rounding modes.
37306         * math/auto-libm-test-out: Regenerated.
37307         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37308         (exp10_test_tonearest): New function.
37309         (exp10_towardzero_test_data): New array.
37310         (exp10_test_towardzero): New function.
37311         (exp10_downward_test_data): New array.
37312         (exp10_test_downward): New function.
37313         (exp10_upward_test_data): New array.
37314         (exp10_test_upward): New function.
37315         (main): Call the new functions.
37316         * sysdeps/i386/fpu/libm-test-ulps: Update.
37317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37319 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37321         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37322         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37323         * math/auto-libm-test-out: Regenerated.
37324         * math/libm-test.inc (acosh_test_data): Add more tests.
37325         (atanh_test_data): Likewise.
37326         (ceil_test_data): Likewise.
37327         (copysign_test_data): Likewise.
37328         * sysdeps/i386/fpu/libm-test-ulps: Update.
37329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37331         * timezone/checktab.awk: Update from tzcode 2013i.
37332         * timezone/private.h: Likewise.
37333         * timezone/scheck.c: Likewise.
37334         * timezone/tzfile.h: Likewise.
37335         * timezone/tzselect.ksh: Likewise.
37336         * timezone/zdump.c: Likewise.
37337         * timezone/zic.c: Likewise.
37339         * math/auto-libm-test-in: Add tests of cpow.
37340         * math/auto-libm-test-out: Regenerated.
37341         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37342         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37343         mpc_cc_c.
37344         (func_calc_desc): Add mpc_cc_c union field.
37345         (test_functions): Add cpow.
37346         (special_fill_2pi): New function.
37347         (special_real_inputs): Add 2pi.
37348         (calc_generic_results): Handle mpc_cc_c.
37349         * sysdeps/i386/fpu/libm-test-ulps: Update.
37350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37352         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37353         csqrt, ctan and ctanh.
37354         * math/auto-libm-test-out: Regenerated.
37355         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37356         (TEST_COND_x86): Likewise.
37357         (ccos_test_data): Use AUTO_TESTS_c_c.
37358         (ccosh_test_data): Likewise.
37359         (cexp_test_data): Likewise.
37360         (clog_test_data): Likewise.
37361         (csqrt_test_data): Likewise.
37362         (ctan_test_data): Likewise.
37363         (ctan_tonearest_test_data): Likewise.
37364         (ctan_towardzero_test_data): Likewise.
37365         (ctan_downward_test_data): Likewise.
37366         (ctan_upward_test_data): Likewise.
37367         (ctanh_test_data): Likewise.
37368         (ctanh_tonearest_test_data): Likewise.
37369         (ctanh_towardzero_test_data): Likewise.
37370         (ctanh_downward_test_data): Likewise.
37371         (ctanh_upward_test_data): Likewise.
37372         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37373         mpc_c_c.
37374         (func_calc_desc): Add mpc_c_c union field.
37375         (FUNC_mpc_c_c): New macro.
37376         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37377         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37378         ctanh.
37379         (special_fill_min_subnorm_p120): New function.
37380         (special_real_inputs): Add min_subnorm_p120.
37381         (calc_generic_results): Handle mpc_c_c.
37382         * sysdeps/i386/fpu/libm-test-ulps: Update.
37383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37385 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37387         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37388         (do_sin_slow): New functions.
37389         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37390         (cslow2, csloww1, csloww2): Use the new functions.
37392         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37393         Use M to change sign of result instead of X.  Assume X is
37394         positive.
37395         (csloww1): Likewise.
37396         (__sin): Adjust.
37397         (__cos): Adjust.
37399         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37400         arguments A and DA.
37401         (__sin): Adjust.
37402         (__cos): Likewise.
37404         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37405         (__cos): Likewise.
37406         (sloww1): Don't adjust sign of DX.
37407         (csloww1): Likewise.
37408         (sloww2): Use X directly and don't adjust sign of DX.
37409         (csloww2): Likewise.
37411 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37413         * math/auto-libm-test-in: Add tests of cabs and carg.
37414         * math/auto-libm-test-out: Regenerated.
37415         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
37416         (carg_test_data): Likewise.
37417         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37418         mpc_c_f.
37419         (func_calc_desc): Add mpc_c_f union field.
37420         (test_functions): Add cabs and carg.
37421         (calc_generic_results): Handle mpc_c_f.
37423         * sysdeps/powerpc/powerpc32/libgcc-compat.S
37424         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
37425         as a macro and a compat symbol.
37426         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37427         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37428         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37429         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37430         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
37431         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
37432         not use .hidden.
37433         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
37434         Likewise.
37435         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
37436         Likewise.
37437         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
37438         Likewise.
37439         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
37440         Likewise.
37441         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
37442         Likewise.
37443         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
37444         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
37445         from GLIBC_2.3.2.
37447 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37449         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37451 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37453         * manual/texinfo.tex: Update to version 2013-11-26.10 with
37454         trailing whitespace removed.
37455         * scripts/config.guess: Update to version 2013-11-29.
37456         * scripts/config.sub: Update to version 2013-10-01.
37458         * math/auto-libm-test-in: Add tests of sincos.
37459         * math/auto-libm-test-out: Regenerated.
37460         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
37461         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37462         mpfr_f_11.
37463         (func_calc_desc): Add mpfr_f_11 union field.
37464         (test_functions): Add sincos.
37465         (calc_generic_results): Handle mpfr_f_11.
37466         * sysdeps/i386/fpu/libm-test-ulps: Update.
37467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37469 2013-12-19  Andreas Schwab  <schwab@suse.de>
37471         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
37472         CALL_MCOUNT.
37473         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37474         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
37475         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
37477 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
37479         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
37480         * sysdeps/i386/fpu/libm-test-ulps: Update.
37481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37483         [BZ #16293]
37484         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
37485         round-to-nearest mode when using frndint.
37486         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
37487         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37488         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37489         Likewise.
37490         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
37491         sinh test to fail.
37492         * math/auto-libm-test-out: Regenerated.
37493         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
37494         (TEST_COND_x86): Likewise.
37495         (expm1_tonearest_test_data): New array.
37496         (expm1_test_tonearest): New function.
37497         (expm1_towardzero_test_data): New array.
37498         (expm1_test_towardzero): New function.
37499         (expm1_downward_test_data): New array.
37500         (expm1_test_downward): New function.
37501         (expm1_upward_test_data): New array.
37502         (expm1_test_upward): New function.
37503         (main): Run the new test functions.
37504         * sysdeps/i386/fpu/libm-test-ulps: Update.
37505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37507         * include/features.h: Update comment documenting feature test
37508         macros.  Mention _DEFAULT_SOURCE in comment.
37509         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
37510         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
37511         _BSD_SOURCE and _SVID_SOURCE.
37512         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
37513         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
37514         !_SVID_SOURCE]: Likewise.
37515         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37516         (__USE_POSIX_IMPLICITLY): Define.
37517         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37518         (_POSIX_SOURCE): Undefine and redefine.
37519         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
37520         (_POSIX_C_SOURCE): Likewise.
37521         * manual/creature.texi (_DEFAULT_SOURCE): Document.
37522         (Feature Test Macros): Update documentation of default features.
37524 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37526         * benchtests/Makefile: Add bench-strtok.
37527         * benchtests/bench-strtok.c: New file: strtok benchtest.
37529 2013-12-19  Allan McRae  <allan@archlinux.org>
37531         * manual/install.texi: Suppress menu for plain text output.
37532         * INSTALL: Regenerated.
37534 2013-12-18  Brooks Moses  <bmoses@google.com>
37536         [BZ #15846]
37537         * misc/getauxval.c: Include errno.h.
37538         (__getauxval): Set errno to ENOENT if the requested type is not
37539         found.
37540         * misc/sys/auxv.h (getauxval): Document that it may set errno;
37541         don't declare with __attribute_const__.
37542         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
37543         * manual/startup.texi: Document that getauxval sets errno.
37545 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37547         * math/auto-libm-test-in: Add tests of jn and yn.
37548         * math/auto-libm-test-out: Regenerated.
37549         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
37550         (yn_test_data): Likewise.
37551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37552         mpfr_if_f.
37553         (func_calc_desc): Add mpfr_if_f union field.
37554         (FUNC_mpfr_if_f): New macro.
37555         (test_functions): Add jn and yn.
37556         (calc_generic_results): Assert type of second input for
37557         mpfr_ff_f.  Handle mpfr_if_f.
37558         (output_for_one_input_case): Disable all checking for arguments
37559         fitting floating-point types in case of an integer argument.
37560         * sysdeps/i386/fpu/libm-test-ulps: Update.
37561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
37564         Don't expect fegetround reference in libm.so.
37566 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37568         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
37569         $(config-cflags-nofma).
37571 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
37573         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
37574         * math/auto-libm-test-out: Regenerated.
37576         [BZ #16338]
37577         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
37578         to determine exponent and adjust argument to have exponent of -1.
37579         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
37580         log2.
37581         * math/auto-libm-test-out: Regenerated.
37582         * sysdeps/i386/fpu/libm-test-ulps: Update.
37583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37585 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
37587         * manual/probes.texi: Remove cases when per-thread arenas are
37588         disabled.
37590 2013-12-18  Andreas Schwab  <schwab@suse.de>
37592         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
37593         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
37594         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
37595         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
37596         * sysdeps/i386/i686/multiarch/Makefile: Update.
37597         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
37599 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37601         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
37602         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
37604 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
37606         [BZ #15968]
37607         Support TZ transition times < 00:00:00.
37608         This is needed for version-3 tz-format files; it supports time
37609         stamps past 2037 for America/Godthab (the only entry in the tz
37610         database for which this change is relevant).
37611         * manual/time.texi (TZ Variable): Document transition times
37612         from -167:59:59 through -00:00:01.
37613         * time/tzset.c (tz_rule): Time of day is now signed.
37614         (__tzset_parse_tz): Parse negative time of day.
37616         Document TZ transition times >= 25:00:00.
37617         * manual/time.texi (TZ Variable): Document transition times from
37618         25:00:00 through 167:59:59.  These are already supported, and this
37619         support will help with version-3 tz-format files.
37621         * manual/time.texi (TZ Variable): Modernize North America example
37622         to reflect current (i.e., 2007-and-later) daylight saving rules.
37624         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
37626 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37628         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
37629         * sysdeps/unix/bsd/bits/stat.h: Likewise.
37630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
37631         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37632         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
37633         * sysdeps/unix/bsd/bsdstat.h: Likewise.
37634         * sysdeps/unix/bsd/clock.c: Likewise.
37635         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
37636         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
37637         * sysdeps/unix/bsd/init-posix.c: Likewise.
37638         * sysdeps/unix/bsd/poll.c: Likewise.
37639         * sysdeps/unix/bsd/ptsname.c: Likewise.
37640         * sysdeps/unix/bsd/seekdir.c: Likewise.
37641         * sysdeps/unix/bsd/setegid.c: Likewise.
37642         * sysdeps/unix/bsd/seteuid.c: Likewise.
37643         * sysdeps/unix/bsd/setgid.c: Likewise.
37644         * sysdeps/unix/bsd/setrgid.c: Likewise.
37645         * sysdeps/unix/bsd/setruid.c: Likewise.
37646         * sysdeps/unix/bsd/setsid.c: Likewise.
37647         * sysdeps/unix/bsd/setuid.c: Likewise.
37648         * sysdeps/unix/bsd/sigaction.c: Likewise.
37649         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
37650         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
37651         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
37652         * sysdeps/unix/bsd/telldir.c: Likewise.
37653         * sysdeps/unix/bsd/times.c: Likewise.
37654         * sysdeps/unix/bsd/usleep.c: Likewise.
37656         * misc/Makefile (install-lib): Remove libbsd-compat.a.
37657         ($(objpfx)libbsd-compat.a): Remove rule.
37659         * include/features.h (__FAVOR_BSD): Do not define.
37660         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
37661         features conflicting with POSIX.
37662         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
37663         (_BSD_SOURCE): Remove description of not being a subset of other
37664         feature test macros.
37665         * manual/job.texi (getpgrp): Do not document BSD version.
37666         (getpgid): Do not document by reference to BSD getpgrp.
37667         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
37668         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
37669         * signal/signal.h [__FAVOR_BSD]: Likewise.
37670         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
37671         instead of making contents conditional on [__FAVOR_BSD].
37672         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
37674 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37678 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
37680         [BZ #16314]
37681         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
37682         values below 2**-450, not 2**-500.
37683         * math/auto-libm-test-in: Don't allow spurious underflow from
37684         hypot.
37685         * math/auto-libm-test-out: Regenerated.
37687         [BZ #16316]
37688         [BZ #16330]
37689         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
37690         values of ha and hb and sort them after adjusting subnormal
37691         arguments.
37692         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
37693         Likewise.
37694         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
37695         values of ea and eb and sort them after adjusting subnormal
37696         arguments.
37697         * math/auto-libm-test-in: Do not expect some hypot tests of
37698         subnormals to fail.  Add more hypot tests.
37699         * math/auto-libm-test-out: Regenerated.
37701 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37703         [BZ #13304]
37704         * sysdeps/sh/s_fma.c: New file.
37705         * sysdeps/sh/s_fmaf.c: New file.
37706         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
37707         version.
37708         * sysdeps/sh/Implies: Add sh/soft-fp.
37710 2013-12-16  Roland McGrath  <roland@hack.frob.com>
37712         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
37713         level of indirection to members `objname', `errstring', `malloced'.
37714         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
37715         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
37716         it as the __longjmp argument (just pass 1 instead).
37717         (_dl_catch_error): Initialize C with argument pointers and address of
37718         volatile local ERRCODE rather than copying values out of C at return.
37720 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
37722         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
37723         * math/auto-libm-test-out: Regenerated.
37724         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
37725         (hypot_test_data): Likewise.
37726         (pow_test_data): Likewise.
37727         (pow_tonearest_test_data): Likewise.
37728         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37729         mpfr_ff_f.
37730         (func_calc_desc): Add mpfr_ff_f union field.
37731         (FUNC_mpfr_ff_f): New macro.
37732         (test_functions): Add atan2, hypot and pow.
37733         (special_fill_min): New function.
37734         (special_fill_minus_min): Likewise.
37735         (special_fill_min_subnorm): Likewise.
37736         (special_fill_minus_min_subnorm): Likewise.
37737         (special_real_inputs): Add min, -min, min_subnorm and
37738         -min_subnorm.
37739         (calc_generic_results): Handle mpfr_ff_f.
37740         * sysdeps/i386/fpu/libm-test-ulps: Update.
37741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37743 2013-12-16  Will Newton  <will.newton@linaro.org>
37745         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
37746         (Aligned Memory Blocks): Add documentation for aligned_alloc
37747         and suggest it as an alternative to posix_memalign.
37748         (Hooks for Malloc): Document __memalign_hook is also called
37749         for aligned_alloc.  (Summary of Malloc): Add summary for
37750         aligned alloc.  Document __memalign_hook is also called
37751         for aligned_alloc.
37753 2013-12-16  Will Newton  <will.newton@linaro.org>
37755         * manual/memory.texi (Malloc Examples): Clarify default
37756         alignment documentation.  Suggest posix_memalign rather
37757         than memalign or valloc.
37758         (Aligned Memory Blocks): Remove suggestion to use memalign
37759         or valloc.  Remove obsolete comment about BSD.
37760         Document memalign errno values and mark the function obsolete.
37761         Document posix_memalign returned error codes.  Mark valloc
37762         as obsolete.  (Hooks for Malloc): __memalign_hook is also
37763         called for posix_memalign and valloc.
37764         (Summary of Malloc): Add posix_memalign to function summary.
37765         __memalign_hook is also called for posix_memalign and valloc.
37767 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37769         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
37770         TAYLOR_SIN.
37771         (__sin): Adjust.
37772         (__cos): Likewise.
37773         (sloww): Use mynumber union.  Expand ternary operator into
37774         if-else statements.
37775         (cslow): use mynumber union.
37777 2013-12-16  Allan McRae  <allan@archlinux.org>
37779         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
37780         * configure: Regenerated.
37782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
37784         [BZ #14120]
37785         * configure.ac: Added --enable-maintainer-mode. Check for
37786         autoconf when enabled.
37787         * configure: Regenerated.
37789         * nscd/nscd.service: New file.
37790         * nscd/nscd.tmpfiles: New file.
37792 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
37794         [BZ #12100]
37795         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
37796         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
37797         * sysdeps/x86_64/multiarch/strstr.c: ... here.
37798         (strstr): Add __strstr_sse2_unaligned ifunc.
37799         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
37800         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
37801         (strcasestr): Remove __strcasestr_sse42 ifunc.
37802         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
37803         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
37804         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
37806 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37808         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
37809         * sysdeps/sh/bits/fenv.h: ... here.
37810         * sysdeps/sh/sh4/fpu/bits: Remove directory.
37812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37814         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
37816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
37817         hypotf multiarch implementations.
37818         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
37819         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
37820         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
37821         multiarch hypot for PPC64.
37822         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
37823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
37824         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
37825         multiarch hypotf for PPC64.
37827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
37828         modff multiarch implementations.
37829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
37830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
37831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
37832         multiarch modf for PPC64.
37833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
37834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
37835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
37836         multiarch modff for PPC64.
37838         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
37839         and logl multiarch implementations.
37840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
37841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
37842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
37843         multiarch logb for PPC64.
37844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
37845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
37846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
37847         multiarch logb for PPC64.
37848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
37849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
37850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
37851         multiarch logb for PPC64.
37853         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
37854         isinff multiarch implementation.
37855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
37856         file.
37857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
37858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
37859         multiarch isinf for PPC64.
37860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
37861         file.
37862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
37863         multiarch isinff for PPC64.
37865         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
37866         finitef multiarch implementation.
37867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
37868         file.
37869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
37870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
37871         multiarch finite for PPC64.
37872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
37873         file.
37874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
37875         multiarch finitef for PPC64.
37877         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
37878         lrint multiarch implementation.
37879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
37880         file.
37881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
37882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
37883         multiarch llrint for PPC64.
37884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
37885         multiarch lrint for PPC64.
37887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
37888         copysignf multiarch implementation.
37889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
37890         file.
37891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
37892         file.
37893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
37894         multiarch copysign for PPC64.
37895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
37896         multiarch copysignf for PPC64.
37898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
37899         multiarch implementation.
37900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
37901         file.
37902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
37903         file.
37904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
37905         file.
37906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
37907         file.
37908         multiarch llround for PPC64.
37909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
37910         multiarch trunc for PPC64.
37911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
37912         multiarch truncf for PPC64.
37914         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
37915         multiarch implementation.
37916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
37917         file.
37918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
37919         file.
37920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
37921         file.
37922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
37923         file.
37924         multiarch llround for PPC64.
37925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
37926         multiarch round for PPC64.
37927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
37928         multiarch roundf for PPC64.
37930         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
37931         multiarch implementation.
37932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
37933         file.
37934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
37935         file.
37936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
37937         file.
37938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
37939         file.
37940         multiarch llround for PPC64.
37941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
37942         multiarch floor for PPC64.
37943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
37944         multiarch floorf for PPC64.
37946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
37947         multiarch implementation.
37948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
37949         file.
37950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
37951         file.
37952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
37953         file.
37954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
37955         file.
37956         multiarch llround for PPC64.
37957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
37958         multiarch ceil for PPC64.
37959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
37960         multiarch ceilf for PPC64.
37962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
37963         multiarch implementation.
37964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
37965         file.
37966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
37967         file.
37968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
37969         file.
37970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
37971         multiarch llround for PPC64.
37972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
37973         multiarch lround for PPC64.
37975         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
37976         multiarch implementation.
37977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
37978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
37979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
37980         file.
37981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
37982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
37983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
37984         multiarch isnan for PPC64.
37985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
37986         multiarch isnanf for PPC64.
37988         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
37989         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
37990         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
37991         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
37992         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
37993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
37995         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
37996         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37997         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37998         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38001         multiarch implementations.
38002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38003         (__libc_ifunc_impl_list): Likewise.
38004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38006         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38007         multiarch stpcpy for PPC64.
38009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38010         multiarch implementations.
38011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38012         (__libc_ifunc_impl_list): Likewise.
38013         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38014         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38015         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38016         multiarch strcpy for PPC64.
38018         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38019         redefine function name.
38020         (_wordcopy_fwd_dest_aligned): Likewise.
38021         (_wordcopy_bwd_aligned): Likewise.
38022         (_wordcopy_bwd_dest_aligned): Likewise.
38023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38024         multiarch implementations.
38025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38026         (__libc_ifunc_impl_list): Likewise.
38027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38028         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38029         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38030         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38031         multiarch wcscpy for PPC64.
38033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38034         multiarch implementations.
38035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38036         (__libc_ifunc_impl_list): Likewise.
38037         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38038         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38040         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38041         multiarch wcscpy for PPC64.
38043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38044         multiarch implementations.
38045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38046         (__libc_ifunc_impl_list): Likewise.
38047         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38048         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38049         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38050         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38051         multiarch wcsrchr for PPC64.
38053         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38054         multiarch implementations.
38055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38056         (__libc_ifunc_impl_list): Likewise.
38057         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38058         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38059         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38060         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38061         multiarch wcschr for PPC64.
38063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38064         multiarch implementations.
38065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38066         (__libc_ifunc_impl_list): Likewise.
38067         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38068         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38069         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38070         multiarch strchrnul for PPC64.
38072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38073         implementations.
38074         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38075         (__libc_ifunc_impl_list): Likewise.
38076         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38077         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38078         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38079         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38080         strchr for PPC64.
38082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38083         implementations.
38084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38085         (__libc_ifunc_impl_list): Likewise.
38086         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38087         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38088         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38089         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38090         strncmp for PPC64.
38092         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38093         multiarch implementations.
38094         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38095         (__libc_ifunc_impl_list): Likewise.
38096         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38097         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38098         strncasecmp for PPC64.
38099         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38100         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38101         multiarch strncasecmp_l for PPC64.
38103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38104         multiarch implementations.
38105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38106         (__libc_ifunc_impl_list): Likewise.
38107         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38108         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38109         multiarch strcasecmp for PPC64.
38110         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38111         file.
38112         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38113         multiarch strcasecmp_l for PPC64.
38115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38116         implementations.
38117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38118         (__libc_ifunc_impl_list): Likewise.
38119         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38120         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38121         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38122         strnlen for PPC64.
38124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38125         implementations.
38126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38127         (__libc_ifunc_impl_list): Likewise.
38128         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38129         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38130         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38131         strlen for PPC64.
38133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38134         implementations.
38135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38136         (__libc_ifunc_impl_list): Likewise.
38137         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38138         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38139         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38140         rawmemrchr for PPC64.
38142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38143         implementation.
38144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38145         (__libc_ifunc_impl_list): Likewise.
38146         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38147         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38148         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38149         memrchr for PPC64.
38151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38152         implementation.
38153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38154         (__libc_ifunc_impl_list): Likewise.
38155         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38156         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38157         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38158         memchr for PPC64.
38160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38161         implementation.
38162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38163         (__libc_ifunc_impl_list): Likewise.
38164         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38165         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38166         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38167         mempcpy for PPC64.
38169         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38170         avoid cretion of __bzero symbol.
38171         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38172         Likewise.
38173         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38174         Likewise.
38175         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38176         Likewise.
38177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38178         multiarch implementations.
38179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38180         (__libc_ifunc_impl_list): Likewise.
38181         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38182         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38183         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38184         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38185         bzero for PPC32.
38186         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38187         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38188         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38189         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38190         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38191         memset for PPC64.
38192         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38194         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38195         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38196         implementations.
38197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38198         (__libc_ifunc_impl_list): Likewise.
38199         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38200         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38201         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38202         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38203         memcmp for PPC64.
38205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38206         multiarch for POWER/PPC64.
38207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38208         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38210         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38211         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38212         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38215         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38216         memcpy for PPC64.
38218         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38219         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38220         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38221         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38222         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38223         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38224         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38225         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38226         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38227         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38228         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38229         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38230         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38231         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38232         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38241 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38243         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38245 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38247         * benchtests/Makefile (bench): Add exp2 and log2.
38248         (LDLIBS-bench-exp2): Add -lm.
38249         (LDLIBS-bench-log2): Likewise.
38250         * benchtests/exp2-inputs: New inputs file.
38251         * benchtests/log2-inputs: New inputs file.
38252         * benchtests/log-inputs: Add new inputs.
38253         * benchtests/tan-inputs: Likewise.
38255 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38257         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38258         definition...
38259         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38260         (csloww2): ... from here.
38262         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38263         instead of structures.
38264         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38265         (POLYNOMIAL): Likewise.
38266         (TAYLOR_SLOW): Likewise.
38267         (__sin): Likewise.
38268         (__cos): Likewise.
38269         (slow1): Likewise.
38270         (slow2): Likewise.
38271         (sloww): Likewise.
38272         (sloww1); Likewise.
38273         (sloww2): Likewise.
38274         (bsloww1): Likewise.
38275         (bsloww2): Likewise.
38276         (cslow2): Likewise.
38277         (csloww): Likewise.
38278         (csloww1): Likewise.
38279         (csloww2): Likewise.
38281 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38283         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38284         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38285         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38286         * malloc/hooks.c (realloc_check): Likewise.
38288         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38289         * malloc/arena.c: Remove PER_THREAD conditional.
38290         [!PER_THREAD]: Remove code.
38291         (ptmalloc_unlock_all2): Likewise.
38292         (ptmalloc_init): Likewise.
38293         (_int_new_arena): Likewise.
38294         (arena_get2): Likewise.
38295         * malloc/hooks.c (__malloc_get_state): Likewise.
38296         (__malloc_set_state): Likewise.
38297         * malloc/malloc.c: Likewise.
38298         (struct malloc_state): Likewise.
38299         (struct malloc_par): Likewise.
38300         (__libc_realloc): Likewise.
38301         (__libc_mallopt): Likewise.
38303 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38305         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38307 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38309         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38310         macro to a function.  Check for zero perturb_byte.
38311         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38313         * malloc/malloc.c: (force_reg): Remove.
38314         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38315         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38316         force_reg by atomic_forced_read.
38317         * malloc/arena.c (ptmalloc_init): Likewise.
38318         * malloc/hooks.c (top_check): Likewise.
38320 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38324 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38326         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38328 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38330         * math/auto-libm-test-in: Add tests of lgamma.
38331         * math/auto-libm-test-out: Regenerated.
38332         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38333         (M_LOG_2_SQRT_PIl): Likewise.
38334         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38335         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38336         mpfr_f_f1.
38337         (func_calc_desc): Add mpfr_f_f1 union field.
38338         (ARGS1): New macro.
38339         (ARGS2): Likewise.
38340         (ARGS3): Likewise.
38341         (ARGS4): Likewise.
38342         (RET1): Likewise.
38343         (RET2): Likewise.
38344         (CALC): Likewise.
38345         (FUNC): Likewise.
38346         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38347         (test_functions): Add lgamma.
38348         (calc_generic_results): Handle mpfr_f_f1.
38349         * sysdeps/i386/fpu/libm-test-ulps: Update.
38350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38352 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38354         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38355         __mpn_add_n for PowerPC64/POWER7.
38356         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38357         __mpn_sub_n for PowerPC64/POWER7.
38359         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38360         __mpn_addmul_1 for PowerPC64.
38361         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38362         __mpn_submul_1 for PowerPC64.
38363         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38364         for PowerPC64.
38365         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38366         for PowerPC64.
38368 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38370         [BZ #15089]
38371         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38373 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38375         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38377         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38378         add multiarch folders.
38379         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38380         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38381         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38382         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38383         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38384         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38385         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38386         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38387         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38388         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38389         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38398         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38400         New file.
38401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38402         New file.
38403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38404         multiarch __ieee754_hypot for PowerPC32.
38405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
38406         New file.
38407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
38408         New file.
38409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
38410         multiarch __ieee754_hypotf for PowerPC32.
38412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
38413         long_double_symbol only if __logbl is defined.
38414         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
38415         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
38416         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
38417         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
38418         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
38419         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
38420         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
38421         path for implementation.
38422         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
38423         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
38424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
38425         logb, and logbl multiarch implementations for PowerPC32.
38426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
38427         file.
38428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
38429         file.
38430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
38431         multiarch logb for PowerPC32.
38432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
38433         file.
38434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
38435         file.
38436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
38437         multiarch logbf for PowerPC32.
38438         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
38439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
38440         file.
38441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
38442         multiarch logbl implementation for PowerPC32.
38444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
38445         and modff multiarch implementations.
38446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
38447         New file.
38448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
38449         New file.
38450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
38451         multiarch modf for PowerPC32.
38452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
38453         New file.
38454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
38455         New file.
38456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
38457         multiarch modff for PowerPC32.
38459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
38460         and lrintf multiarch implementations.
38461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
38462         New file.
38463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
38464         New file.
38465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
38466         multiarch lrint for PowerPC32.
38467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
38468         file: multiarch lrintf for PowerPC32.
38470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
38471         and lroundf multiarch implementations.
38472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
38473         New file.
38474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
38475         New file.
38476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
38477         New file.
38478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
38479         multiarch lround for PowerPC32.
38480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
38481         file: multiarch lroundf for PowerPC32.
38483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38484         copysign and copysignf multiarch implementations.
38485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
38486         New file.
38487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
38488         New file.
38489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
38490         file: multiarch copysign for PowerPC32.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
38492         file: multiarch copysignf for PowerPC32.
38494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
38495         and truncf multiarch implementations.
38496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
38497         New file.
38498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
38499         file.
38500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
38501         multiarch trunc for PowerPC32.
38502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
38503         New file.
38504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
38505         New file.
38506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
38507         multiarch truncf for PowerPC32.
38509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
38510         and roundf multiarch implementations.
38511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
38512         New file.
38513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
38514         file.
38515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
38516         multiarch round for PowerPC32.
38517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
38518         New file.
38519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
38520         New file.
38521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
38522         multiarch roundf for PowerPC32.
38524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
38525         and floorf multiarch implementations.
38526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
38527         New file.
38528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
38529         file.
38530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
38531         multiarch floor for PowerPC32.
38532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
38533         New file.
38534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
38535         New file.
38536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
38537         multiarch floorf for PowerPC32.
38539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
38540         and ceilf multiarch implementations.
38541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
38542         New file.
38543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
38544         file.
38545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
38546         multiarch ceil for PowerPC32.
38547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
38548         New file.
38549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
38550         file.
38551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
38552         multiarch ceilf for PowerPC32.
38554         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
38555         is defined.
38556         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
38557         FINITEF is defined.
38558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
38559         and finitef multiarch implementations.
38560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
38561         New file.
38562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
38563         file.
38564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
38565         multiarch finite for PowerPC32.
38566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
38567         New file.
38568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
38569         file: multiarch finitef for PowerPC32.
38571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
38572         and isinff multiarch implementations.
38573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
38574         file.
38575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
38576         file.
38577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
38578         multiarch isinf for PowerPC32.
38579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
38580         New file.
38581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
38582         multiarch isinff for PowerPC32.
38584         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
38585         alias when __isnan is defined.
38586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
38587         and isnanf multiarch implementations.
38588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
38589         file.
38590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
38591         file.
38592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
38593         file.
38594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
38595         file.
38596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
38597         multiarch isnan for PowerPC32.
38598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
38599         New file.
38600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
38601         New file.
38602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
38603         multiarch isnanf for PowerPC32.
38605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
38606         and sqrtf multiarch implementations.
38607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
38608         file.
38609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
38610         file.
38611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
38612         multiarch sqrt for PowerPC32.
38613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
38614         file.
38615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
38616         file.
38617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
38618         multiarch sqrtf for PowerPC32.
38620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
38621         and llroundf multiarch implementations.
38622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
38623         New file.
38624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
38625         New file.
38626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
38627         New file.
38628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
38629         file: multiarch llround for PowerPC32.
38630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
38631         file: multiarch llroundf for PowerPC32.
38633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
38634         multiarch PowerPC32 fpu implementations.
38635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
38636         New file.
38637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
38638         New file.
38639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
38640         multiarch llrint for PowerPC32.
38641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
38642         New file.
38643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
38644         New file.
38645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
38646         file.
38648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
38650         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
38651         file.
38652         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
38653         file.
38654         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
38655         file.
38656         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
38657         multiarch wordcopy for PPC32.
38658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38659         wordcopy objects.
38660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38661         (__libc_ifunc_impl_list): Likewise.
38662         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
38663         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
38664         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
38665         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
38666         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
38667         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
38669         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
38670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
38671         file.
38672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
38673         file.
38674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
38675         file.
38676         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
38677         multiarch wcscpy for PPC32.
38678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
38679         multiarch objects.
38680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38681         (__libc_ifunc_impl_list): Likewise.
38682         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38683         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38684         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
38685         sysdeps/powerpc/power6/wcscpy.c.
38687         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
38688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
38689         file.
38690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
38691         file.
38692         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
38693         file.
38694         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
38695         multiarch wcsrchr for PPC32.
38696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38697         multiarch objects.
38698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38699         (__libc_ifunc_impl_list): Likewise.
38700         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
38701         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
38702         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
38703         sysdeps/powerpc/power6/wcsrchr.c.
38705         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
38706         file.
38707         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
38708         file.
38709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
38710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
38711         multiarch wcschr for PPc32.
38712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
38713         multiarch objects.
38714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38715         (__libc_ifunc_impl_list): Likewise.
38716         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
38717         * sysdeps/powerpc/power6/wcschr.c: ... to here.
38718         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
38719         sysdeps/powerpc/power6/wcschr.c.
38721         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
38722         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
38723         file.
38724         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
38725         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
38726         file: multiarch strchr for PPC32.
38727         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
38728         multiarch objects.
38729         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38730         (__libc_ifunc_impl_list): Likewise.
38732         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
38733         name.
38734         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
38735         file.
38736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
38737         file.
38738         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
38739         multiarch strchrnul for PPC32.
38740         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
38741         multiarch objects.
38742         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38743         (__libc_ifunc_impl_list): Likewise.
38745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
38746         file.
38747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
38748         multiarch strncasecmp for PPC32.
38749         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
38750         file.
38751         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
38752         multiarch strncasecmp_l for PPC32.
38753         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
38754         strncasecmp multiarch objects.
38755         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38756         (__libc_ifunc_impl_list): Likewise.
38758         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
38759         file.
38760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
38761         multiarch strncasecmp for PPC32.
38762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
38763         New file.
38764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
38765         multiarch strcasecmp_l for PPC32.
38766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
38767         multiarch objects.
38768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38769         (__libc_ifunc_impl_list): Likewise.
38771         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
38772         file.
38773         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
38774         file.
38775         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
38776         multiarch strncmp for PPC32.
38777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
38778         multiarch objects.
38779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38780         (__libc_ifunc_impl_list): Likewise.
38782         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
38783         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
38784         file.
38785         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
38786         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
38787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
38788         multiarch objects.
38789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38790         (__libc_ifunc_impl_list): Likewise.
38792         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
38793         file.
38794         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
38795         file.
38796         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
38797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
38798         multiarch objects.
38799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38800         (__libc_ifunc_impl_list): Likewise.
38802         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
38803         file.
38804         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
38805         file.
38806         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
38807         multiarch rawmemchr for PPC32.
38808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
38809         multiarch objects.
38810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38811         (__libc_ifunc_impl_list): Likewise.
38813         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
38814         file.
38815         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
38816         file.
38817         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
38818         file: memrchr multiarch for PPC32.
38819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
38820         multiarch objects.
38821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
38822         (__libc_ifunc_impl_list): Likewise.
38824         * string/memchr.c (__memchr): Using macro to redefine symbol name.
38825         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
38826         file.
38827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
38828         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
38829         multiarch memchr for PPC32.
38830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
38831         multiarch objects.
38832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38833         (__libc_ifunc_impl_list): Likewise.
38835         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
38836         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
38837         file.
38838         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
38839         file.
38840         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
38841         file: multiarch mempcpy for PPC32.
38842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
38843         multiarch objects.
38844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38845         (__libc_ifunc_impl_list): Likewise.
38847         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
38848         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
38849         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
38850         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
38851         multiarch bzero for PPC32.
38852         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
38853         file.
38854         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38855         file.
38856         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
38857         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
38858         file: multiarch memset for PPC32.
38859         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
38860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
38861         memset multiarch objects.
38862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38863         (__libc_ifunc_impl_list): Likewise.
38865         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
38866         file.
38867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
38868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
38869         memcmp for PPC32.
38870         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
38871         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
38872         multiarch objects.
38873         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38874         (__libc_ifunc_impl_list): Likewise.
38876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
38877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
38878         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
38879         file.
38880         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
38881         file.
38882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
38883         file.
38884         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
38885         multiarch memcpy for PPC32.
38886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
38887         multiarch objects.
38888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38889         (__libc_ifunc_impl_list): Likewise.
38891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
38892         support multiarch for POWER/PPC32.
38893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
38894         Likewise.
38895         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
38896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
38897         Implies file to make multiarch folder appers before the fpu and
38898         default folder for power4 configuration.
38900 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38902         * scripts/bench.pl: Append volatile keyword to type.
38904 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38906         * sysdeps/sh/sotruss-lib.c: New file.
38907         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38909 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38913 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
38915         [BZ #6810]
38916         * math/w_tgamma.c: Include <errno.h>.
38917         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
38918         * math/w_tgammaf.c: Include <errno.h>.
38919         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
38920         * math/w_tgammal.c: Include <errno.h>.
38921         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
38922         * math/auto-libm-test-in: Do not allow missing errno on tgamma
38923         underflow.  Add more tgamma tests.
38924         * math/auto-libm-test-out: Regenerated.
38925         * sysdeps/i386/fpu/libm-test-ulps: Update.
38926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38928         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
38929         sin, sinh, tan, tanh, tgamma, y0 and y1.
38930         * math/auto-libm-test-out: Regenerated.
38931         * math/libm-test.inc (TEST_COND_x86_64): New macro.
38932         (TEST_COND_x86): Likewise.
38933         (M_E2l): Remove macro.
38934         (M_E3l): Likewise.
38935         (M_2_SQRT_PIl): Likewise.
38936         (M_SQRT_PIl): Likewise.
38937         (M_1_DIV_El): Likewise.
38938         (log_test_data): Use AUTO_TESTS_f_f.
38939         (log10_test_data): Likewise.
38940         (log1p_test_data): Likewise.
38941         (log2_test_data): Likewise.
38942         (sin_test_data): Likewise.
38943         (sin_tonearest_test_data): Likewise.
38944         (sin_towardzero_test_data): Likewise.
38945         (sin_downward_test_data): Likewise.
38946         (sin_upward_test_data): Likewise.
38947         (sinh_test_data): Likewise.
38948         (sinh_tonearest_test_data): Likewise.
38949         (sinh_towardzero_test_data): Likewise.
38950         (sinh_downward_test_data): Likewise.
38951         (sinh_upward_test_data): Likewise.
38952         (tan_test_data): Likewise.
38953         (tan_tonearest_test_data): Likewise.
38954         (tan_towardzero_test_data): Likewise.
38955         (tan_downward_test_data): Likewise.
38956         (tan_upward_test_data): Likewise.
38957         (tanh_test_data): Likewise.
38958         (tgamma_test_data): Likewise.
38959         (y0_test_data): Likewise.
38960         (y1_test_data): Likewise.
38961         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
38962         (special_real_inputs): Add pi/4.
38963         * sysdeps/i386/fpu/libm-test-ulps: Update.
38964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38966 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38968         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
38969         "longjmp_target" static probes.
38970         (__longjmp): Rename to __longjmp_symbol.
38971         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38972         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
38973         on which longjmp to generate.
38974         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
38975         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
38976         probe.
38977         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38978         (__sigjmp_save): Rename to __sigjmp_save_symbol.
38979         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
38980         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
38981         and __sigjmp_save_symbol based on which sigsetjmp to generated.
38982         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
38984         __longjmp_symbol based on which __longjmp to generate.
38985         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
38986         probe.
38987         (setjmp): Rename to setjmp_symbol.
38988         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38989         (_setjmp): Rename to _setjmp_symbol.
38990         (__sigsetjmp): Rename to __sigsetjmp_symbol.
38991         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
38992         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
38993         which setjmp to generate.
38994         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
38995         "longjmp_target" static probes.
38997 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38999         * benchtests/README: Add note about output arguments.
39000         * benchtests/bench-sincos.c: Remove file.
39001         * benchtests/sincos-inputs: New file.
39002         * scripts/bench.pl: Identify output arguments and define
39003         static variables for them.
39005         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39007         [BZ #15941]
39008         * Makefile (INSTALL): Add install-plain.texi as the primary
39009         dependency.
39010         * manual/install-plain.texi: New file.
39011         * manual/install.texi: Include node directive only for
39012         non-plaintext output.
39014 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39016         * stdlib/longlong.h: Update from GCC.
39018         [BZ #6807]
39019         [BZ #15901]
39020         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39021         * math/w_j0f.c (y0f): Likewise.
39022         * math/w_j0l.c (__y0l): Likewise.
39023         * math/w_j1.c (y1): Likewise.
39024         * math/w_j1f.c (y1f): Likewise.
39025         * math/w_j1l.c (__y1l): Likewise.
39026         * math/w_jn.c (yn): Likewise.
39027         * math/w_jnf.c (ynf): Likewise.
39028         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39029         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39030         value for Bessel function domain errors outside _SVID_ mode.
39031         Adjust sign of return value for yn (negative integer, 0).
39032         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39033         by zero in return for negative x and set sign appropriately for
39034         negative n.
39035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39036         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39037         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39038         expectations in error cases.
39039         (y1_test_data): Likewise.
39040         (yn_test_data): Likewise.
39041         * sysdeps/i386/fpu/libm-test-ulps: Update.
39042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39044 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39046         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39047         "64" to "64-v1".  Add "64-v2".
39048         (abi-64-options): Rename to ...
39049         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39050         (abi-64-condition): Rename to ...
39051         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39052         (abi-64-ld-soname): Rename to ...
39053         (abi-64-v1-ld-soname): ... this.
39054         (abi-64-v2-options): Define.
39055         (abi-64-v2-condition): Likewise.
39056         (abi-64-v2-ld-soname): Likewise.
39057         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39058         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39063 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39064             Alan Modra  <amodra@gmail.com>
39066         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39067         New versions for use with the ELFv2 ABI.
39068         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39069         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39070         declaration.
39071         (struct La_ppc64v2_retval): Likewise.
39072         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39073         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39074         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39075         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39076         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39077         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39078         Do not save or restore CR.
39079         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39080         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39081         return values for ELFv2 ABI.  Fix location of FPR return registers.
39082         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39083         updated values for _CALL_ELF == 2.
39084         (La_regs, La_retval, int_retval): Likewise.
39086 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39088         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39089         (FRAME_MIN_SIZE_PARM): Likewise.
39090         (FRAME_BACKCHAIN): Likewise.
39091         (FRAME_CR_SAVE): Likewise.
39092         (FRAME_LR_SAVE): Likewise.
39093         (FRAME_TOC_SAVE): Likewise.
39094         (FRAME_PARM_SAVE): Likewise.
39095         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39096         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39097         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39098         (call_mcount_parm_offset): New macro.
39099         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39100         (PROF): Use symbolic stack frame offsets.
39101         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39102         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39103         Redefine in terms of FRAME_MIN_SIZE.
39104         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39105         (_dl_profile_resolve): Likewise.  Update comment.
39106         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39107         symbols stack frame offsets.
39108         (__sigsetjmp): Likewise.
39109         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39110         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39111         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39112         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39115         (FRAME_BACKCHAIN): Remove.
39116         (FRAME_CR_SAVE): Likewise.
39117         (FRAME_LR_SAVE): Likewise.
39118         (FRAME_COMPILER_DW): Likewise.
39119         (FRAME_LINKER_DW): Likewise.
39120         (FRAME_TOC_SAVE): Likewise.
39121         (FRAME_PARM_SAVE): Likewise.
39122         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39123         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39124         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39126         (CHECK_SP): Use symbolic stack frame offsets.
39127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39128         zone" instead of caller's parameter save area for temp storage.
39129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39130         Likewise.  Also, use symbolic stack frame offsets.
39131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39132         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39133         our own stack frame instead of the caller's.
39134         (__socket): Use symbolic stack frame offsets.
39136 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39137             Alan Modra  <amodra@gmail.com>
39139         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39140         Define.
39141         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39142         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39143         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39144         New function.
39145         (elf_machine_fixup_plt): Call it.
39146         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39147         reloc arguments.
39148         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39149         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39150         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39151         r2 before calling target.
39153 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39154             Alan Modra  <amodra@gmail.com>
39156         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39157         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39158         versions of macros to support ELFv2 ABI.
39159         (LOCALENTRY): New macro.
39160         (ENTRY, EALIGN): Use it.
39161         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39162         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39163         fall through into ENTRY entry point.
39164         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39165         Only define if _CALL_ELF != 2.
39167         (elf_machine_matches_host): Verify ABI version matches.
39168         (RTLD_START): Use LOCALENTRY.
39169         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39170         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39171         (PLT_ENTRY_WORDS): New macro.
39172         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39173         (elf_machine_runtime_setup): Support ELFv2 ABI.
39174         (elf_machine_fixup_plt): Likewise.
39175         (elf_machine_plt_conflict): Likewise.
39176         (resolve_ifunc): Likewise.
39177         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39179         Likewise.
39180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39181         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39183         (makecontext): Support ELFv2 ABI.
39184         * elf/elf.h (EF_PPC64_ABI): Define.
39186 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39188         * sysdeps/powerpc/powerpc64/sysdep.h
39189         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39190         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39191         (ENTRY) [ASSEMBLER]: ... but instead here ...
39192         (EALIGN) [ASSEMBLER]: ... and here.
39193         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39194         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39195         (ENTRY_2) [!ASSEMBLER]: Use it.
39196         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39197         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39199         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39200         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39202         Use PPC64_LOAD_FUNCPTR.
39204         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39206 2013-12-04  Alan Modra  <amodra@gmail.com>
39208         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39209         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39210         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39211         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39214         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39215         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39216         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39217         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39218         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39223         (__makecontext): Fix incorrect CFI when backtracing out of
39224         context created via makecontext.
39225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39226         (__setcontext): Fix incorrect CFI during switch to new context.
39227         (__novec_setcontext): Likewise.
39229 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39231         [BZ #4772]
39232         * time/strptime_l.c (__strptime_internal): Allow modifiers
39233         in strptime.
39234         * time/tst-strptime.c (day_tests): Add testcase.
39236 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39238         * scripts/bench.pl: Skip over blank lines.
39240 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39242         [BZ #926]
39243         * manual/time.texi (Calendar Time): Clarify what timezone functions
39244         use.
39246 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39250 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39252         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39253         implementation.
39254         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39255         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39256         * debug/memset_chk.c (__memset_chk): Likewise.
39257         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39258         * debug/strncpy_chk.c: Likewise.
39260 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39262         [BZ #15268]
39263         [BZ #15425]
39264         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39265         (__ieee754_exp): For possibly underflowing results, check size of
39266         result and force underflow exception if required.
39267         * math/auto-libm-test-in: Add more tests of exp.
39268         * math/auto-libm-test-out: Regenerated.
39269         * sysdeps/i386/fpu/libm-test-ulps: Update.
39270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39272         [BZ #16283]
39273         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39274         * math/w_exp2f.c (__exp2f): Likewise.
39275         * math/w_exp2l.c (__exp2l): Likewise.
39276         * math/auto-libm-test-in: Do not allow missing errno on exp2
39277         underflow.
39278         * math/auto-libm-test-out: Regenerated.
39280 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39282         [BZ #16274]
39283         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39284         handle filename validation.
39285         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39286         (do_open): Delete.
39288 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39290         [BZ #6786]
39291         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39292         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39293         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39294         <float.h>.
39295         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39296         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39297         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39298         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39299         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39301         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39302         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39303         Add more erfc tests.
39304         * math/auto-libm-test-out: Regenerated.
39305         * sysdeps/i386/fpu/libm-test-ulps: Update.
39306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39308         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39309         exp2, expm1, j0 and j1.
39310         * math/auto-libm-test-out: Regenerated.
39311         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39312         (erfc_test_data): Likewise.
39313         (exp_test_data): Likewise.
39314         (exp_tonearest_test_data): Likewise.
39315         (exp_towardzero_test_data): Likewise.
39316         (exp_downward_test_data): Likewise.
39317         (exp_upward_test_data): Likewise.
39318         (exp10_test_data): Likewise.
39319         (exp2_test_data): Likewise.
39320         (expm1_test_data): Likewise.
39321         (j0_test_data): Likewise.
39322         (j1_test_data): Likewise.
39323         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39324         (input_flag_type): Add flag_xfail_rounding.
39325         (input_flags): Add xfail-rounding.
39326         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39327         (output_for_one_input_case): Handle flag_xfail_rounding.
39328         * sysdeps/i386/fpu/libm-test-ulps: Update.
39329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39331 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39333         [BZ #16289]
39334         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39335         division by 0.
39337 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39339         [BZ #16195]
39340         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39341         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39342         (STAP_PROBE0): New macro.
39343         (STAP_PROBE1): Likewise.
39344         (STAP_PROBE2): Likewise.
39345         (STAP_PROBE3): Likewise.
39346         (STAP_PROBE4): Likewise.
39348 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39350         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39352 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39354         * benchtests/Makefile (bench): Add sqrt.
39355         (LDLIBS-bench-sqrt): New.
39356         * benchtests/sqrt-input: New.
39358 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39360         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39361         (GAIH_EAI): Likewise.
39362         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39363         (gaih_inet): Likewise.
39364         (getaddrinfo): Don't use GAIH_EAI.
39366         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39367         (struct gaih): Remove definition.
39369 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39371         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39372         Use HERRNOP directly.
39374 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39378 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39380         * math/gen-auto-libm-tests.c (test_functions): Add more
39381         single-argument functions.
39382         (special_fill_pi_2): New function.
39383         (special_fill_minus_pi_2): Likewise.
39384         (special_fill_pi_6): Likewise.
39385         (special_fill_minus_pi_6): Likewise.
39386         (special_fill_pi_3): Likewise.
39387         (special_fill_2pi_3): Likewise.
39388         (special_fill_e): Likewise.
39389         (special_fill_1_e): Likewise.
39390         (special_fill_e_minus_1): Likewise.
39391         (special_real_inputs): Add more special inputs.
39392         (output_for_one_input_case): Do not require ERANGE on underflow to
39393         zero if round-to-nearest result does not underflow to zero, unless
39394         exact results required.
39395         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39396         atan, atanh, cbrt, cos and cosh.
39397         * math/auto-libm-test-out: Regenerated.
39398         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39399         (acos_tonearest_test_data): Likewise.
39400         (acos_towardzero_test_data): Likewise.
39401         (acos_downward_test_data): Likewise.
39402         (acos_upward_test_data): Likewise.
39403         (acosh_test_data): Likewise.
39404         (asin_test_data): Likewise.
39405         (asin_tonearest_test_data): Likewise.
39406         (asin_towardzero_test_data): Likewise.
39407         (asin_upward_test_data): Likewise.
39408         (asinh_test_data): Likewise.
39409         (atan_test_data): Likewise.
39410         (atanh_test_data): Likewise.
39411         (cbrt_test_data): Likewise.
39412         (cos_test_data): Likewise.
39413         (cos_tonearest_test_data): Likewise.
39414         (cos_towardzero_test_data): Likewise.
39415         (cos_downward_test_data): Likewise.
39416         (cos_upward_test_data): Likewise.
39417         (cosh_test_data): Likewise.
39418         (cosh_tonearest_test_data): Likewise.
39419         (cosh_towardzero_test_data): Likewise.
39420         (cosh_downward_test_data): Likewise.
39421         (cosh_upward_test_data): Likewise.
39422         * sysdeps/i386/fpu/libm-test-ulps: Update.
39423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39425 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
39427         [BZ #6787]
39428         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
39429         * math/w_exp10f.c (__exp10f): Likewise.
39430         * math/w_exp10l.c (__exp10l): Likewise.
39431         * math/libm-test.inc (exp10_test_data): Add more tests and expect
39432         errno settings in existing tests.
39434         [BZ #14032]
39435         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
39436         precision control set to double precision.
39437         * sysdeps/i386/fpu/w_sqrt.c: New file.
39438         * math/auto-libm-test-in: Add more tests.
39439         * math/auto-libm-test-out: Update.
39441         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
39442         (sqrt_test_tonearest): New function.
39443         (sqrt_towardzero_test_data): New variable.
39444         (sqrt_test_towardzero): New function.
39445         (sqrt_downward_test_data): New variable.
39446         (sqrt_test_downward): New function.
39447         (sqrt_upward_test_data): New variable.
39448         (sqrt_test_upward): New function.
39449         (main): Call the new functions.
39451         * math/gen-auto-libm-tests.c: New file.
39452         * math/auto-libm-test-in: Likewise.
39453         * math/auto-libm-test-out: New generated file.
39454         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
39455         variables.
39456         (%beautify): Add generated representations of zero.
39457         (top level): Set $auto_input and call parse_auto_input.
39458         (beautify): Remove trailing "f" from hex float constants.
39459         (parse_args): Handle XFAIL_TEST.
39460         (convert_condition): New function.
39461         (or_value): Likewise.
39462         (or_cond_value): Likewise.
39463         (generate_testfile): Handle AUTO_TESTS_* lines.
39464         (parse_auto_input): New function.
39465         * math/libm-test.inc (XFAIL_TEST): New macro.
39466         (ERRNO_UNCHANGED): Update value.
39467         (ERRNO_EDOM): Likewise.
39468         (ERRNO_ERANGE): Likewise.
39469         (IGNORE_RESULT): Likewise.
39470         (TEST_COND_flt_32): New macro.
39471         (TEST_COND_dbl_64): Likewise.
39472         (TEST_COND_ldbl_96_intel): Likewise.
39473         (TEST_COND_ldbl_96_m68k): Likewise.
39474         (TEST_COND_ldbl_128): Likewise.
39475         (TEST_COND_ldbl_128ibm): Likewise.
39476         (TEST_COND_long32): Likewise.
39477         (TEST_COND_long64): Likewise.
39478         (TEST_COND_before_rounding): Likewise.
39479         (TEST_COND_after_rounding): Likewise.
39480         (enable_test): Handle XFAIL_TEST flag.
39481         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
39482         with finite results.
39483         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
39484         auto-libm-test-out.
39486 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39487             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39489         [BZ #16214]
39490         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
39491         __tls_get_addr_internal instead of __tls_get_offset in order to
39492         avoid GOT pointer dependency.  Make rtld export
39493         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
39494         __tls_get_addr since we are a __tls_get_offset platform.
39495         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
39496         GOT pointer being set up before.
39497         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
39499 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
39501         * manual/math.texi (Errors in Math Functions): Document accuracy
39502         goals.
39504         [BZ #15004]
39505         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
39506         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
39507         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39508         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39509         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39510         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39511         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39512         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
39513         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
39514         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39515         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39516         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39517         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39518         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39519         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39520         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
39522         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
39523         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39524         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
39525         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
39526         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
39527         Likewise.
39528         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
39529         Likewise.
39530         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
39531         Likewise.
39532         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
39533         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
39534         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
39535         atomic-feupdateenv and flt-rounds.
39536         * sysdeps/powerpc/nofpu/Versions (libc): Add
39537         __atomic_feholdexcept, __atomic_feclearexcept,
39538         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
39539         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
39540         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
39541         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
39542         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
39543         here.
39544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39545         Update.
39547         * manual/arith.texi (FP Exceptions): Document that exceptions may
39548         not be raised when matherr is used.
39549         (Math Error Reporting): Document overflow in directed rounding
39550         modes.  Document that errno may not be set when finite values are
39551         returned on overflow.  Document intent to set errno on underflow
39552         only for underflow to zero.
39554         [BZ #16271]
39555         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
39556         round-to-nearest then adjust result for other rounding modes.
39557         * include/fenv.h (fegetround): Use libm_hidden_proto.
39558         * math/fegetround.c (fegetround): Use libm_hidden_def.
39559         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
39560         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
39561         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
39563         Likewise.
39564         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
39565         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39566         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
39567         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
39569 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39571         [BZ #16077]
39572         * nss/Versions (libnss_files): Add
39573         _nss_files_gethostbyname3_r.
39574         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
39575         New function.
39576         (HOST_DB_LOOKUP): Remove macro.
39577         (_nss_files_gethostbyname_r): Implement function without the
39578         HOST_DB_LOOKUP macro.
39579         (_nss_files_gethostbyname2_r): Likewise.
39581 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
39583         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
39585 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
39587         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
39588         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
39589         warning.
39591 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39593         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
39594         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
39595         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39596         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
39597         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
39598         __fe_nomask_env_priv and attribute_hidden.
39599         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
39600         (libc_feupdateenv_test_ppc): Likewise.
39601         (libc_feresetround_ppc): Likewise.
39602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39603         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
39604         compat_symbol macro.
39605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39606         (__fe_nomask_env): Likewise.
39607         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
39609 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39611         * string/Makefile: Remove ifunc tests.
39612         * string/test-string.h: Define TEST_IFUNC.
39613         * string/test-bcopy-ifunc.c: Remove.
39614         * string/test-bzero-ifunc.c: Likewise.
39615         * string/test-memccpy-ifunc.c: Likewise.
39616         * string/test-memchr-ifunc.c: Likewise.
39617         * string/test-memcmp-ifunc.c: Likewise.
39618         * string/test-memcpy-ifunc.c: Likewise.
39619         * string/test-memmem-ifunc.c: Likewise.
39620         * string/test-memmove-ifunc.c: Likewise.
39621         * string/test-mempcpy-ifunc.c: Likewise.
39622         * string/test-memrchr-ifunc.c: Likewise.
39623         * string/test-memset-ifunc.c: Likewise.
39624         * string/test-rawmemchr-ifunc.c: Likewise.
39625         * string/test-stpcpy-ifunc.c: Likewise.
39626         * string/test-stpncpy-ifunc.c: Likewise.
39627         * string/test-strcasecmp-ifunc.c: Likewise.
39628         * string/test-strcasestr-ifunc.c: Likewise.
39629         * string/test-strcat-ifunc.c: Likewise.
39630         * string/test-strchr-ifunc.c: Likewise.
39631         * string/test-strchrnul-ifunc.c: Likewise.
39632         * string/test-strcmp-ifunc.c: Likewise.
39633         * string/test-strcpy-ifunc.c: Likewise.
39634         * string/test-strcspn-ifunc.c: Likewise.
39635         * string/test-strlen-ifunc.c: Likewise.
39636         * string/test-strncasecmp-ifunc.c: Likewise.
39637         * string/test-strncat-ifunc.c: Likewise.
39638         * string/test-strncmp-ifunc.c: Likewise.
39639         * string/test-strncpy-ifunc.c: Likewise.
39640         * string/test-strnlen-ifunc.c: Likewise.
39641         * string/test-strpbrk-ifunc.c: Likewise.
39642         * string/test-strrchr-ifunc.c: Likewise.
39643         * string/test-strspn-ifunc.c: Likewise.
39644         * string/test-strstr-ifunc.c: Likewise.
39646 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39648         * benchtests/Makefile: Remove ifunc tests.
39649         * benchtests/bench-string.h: Define TEST_IFUNC.
39650         * benchtests/bench-bcopy-ifunc.c: Remove.
39651         * benchtests/bench-bzero-ifunc.c: Likewise.
39652         * benchtests/bench-memccpy-ifunc.c: Likewise.
39653         * benchtests/bench-memchr-ifunc.c: Likewise.
39654         * benchtests/bench-memcmp-ifunc.c: Likewise.
39655         * benchtests/bench-memcpy-ifunc.c: Likewise.
39656         * benchtests/bench-memmem-ifunc.c: Likewise.
39657         * benchtests/bench-memmove-ifunc.c: Likewise.
39658         * benchtests/bench-mempcpy-ifunc.c: Likewise.
39659         * benchtests/bench-memrchr-ifunc.c: Likewise.
39660         * benchtests/bench-memset-ifunc.c: Likewise.
39661         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
39662         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
39663         * benchtests/bench-stpcpy-ifunc.c: Likewise.
39664         * benchtests/bench-stpncpy-ifunc.c: Likewise.
39665         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
39666         * benchtests/bench-strcasestr-ifunc.c: Likewise.
39667         * benchtests/bench-strcat-ifunc.c: Likewise.
39668         * benchtests/bench-strchr-ifunc.c: Likewise.
39669         * benchtests/bench-strchrnul-ifunc.c: Likewise.
39670         * benchtests/bench-strcmp-ifunc.c: Likewise.
39671         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
39672         * benchtests/bench-strcpy-ifunc.c: Likewise.
39673         * benchtests/bench-strcspn-ifunc.c: Likewise.
39674         * benchtests/bench-strlen-ifunc.c: Likewise.
39675         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
39676         * benchtests/bench-strncat-ifunc.c: Likewise.
39677         * benchtests/bench-strncmp-ifunc.c: Likewise.
39678         * benchtests/bench-strncpy-ifunc.c: Likewise.
39679         * benchtests/bench-strnlen-ifunc.c: Likewise.
39680         * benchtests/bench-strpbrk-ifunc.c: Likewise.
39681         * benchtests/bench-strrchr-ifunc.c: Likewise.
39682         * benchtests/bench-strsep-ifunc.c: Likewise.
39683         * benchtests/bench-strspn-ifunc.c: Likewise.
39684         * benchtests/bench-strstr-ifunc.c: Likewise.
39686 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39688         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
39690 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
39692         * resolv/netdb.h: Use __glibc_reserved instead __unused.
39693         * rt/aio.h: Likewise.
39694         * sysdeps/gnu/bits/utmp.h: Likewise.
39695         * sysdeps/gnu/bits/utmpx.h: Likewise.
39696         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
39697         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
39698         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
39699         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
39700         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
39701         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
39702         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
39703         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
39704         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
39705         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
39706         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
39707         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
39708         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
39709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
39710         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
39711         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
39712         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
39713         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
39714         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
39715         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
39716         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
39717         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
39718         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
39719         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39720         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
39721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39722         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
39723         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
39724         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
39725         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
39726         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
39727         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
39728         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
39729         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
39730         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
39731         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
39732         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
39733         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
39734         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
39735         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
39736         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
39737         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
39739 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
39741         [BZ #16245]
39742         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
39743         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
39745 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
39747         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
39748         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
39749         Likewise.
39751 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39753         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
39754         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
39755         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
39756         (__fesetround): Remove define.
39757         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
39758         rounding and exceptions handling.
39759         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
39760         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
39761         (__fe_nomask_env): Likewise.
39762         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
39763         __fegetround instead of fegetround.
39764         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39765         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
39767 2013-11-21  Roland McGrath  <roland@hack.frob.com>
39769         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
39770         it's there.
39772         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
39774 2013-11-21  Meador Inge  <meadori@codesourcery.com>
39776         [BZ #11157]
39777         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
39778         (encrypt_r): Likewise.
39779         * malloc/obstack.h (obstack_free): Likewise.
39780         * posix/unistd.h (encrypt): Likewise.
39782 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
39784         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
39785         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
39786         DL_CALL_DT_FINI() that call the functions directly.
39787         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
39788         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
39789         * elf/dl-fini.c: Likewise.
39791 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
39793         * malloc/hooks.c (memalign_check): Add alignment rounding.
39794         * malloc/malloc.c (_mid_memalign): New function.
39795         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
39796         Implement by calling _mid_memalign.
39797         * manual/probes.texi (Memory Allocation Probes): Remove
39798         memory_valloc_retry and memory_pvalloc_retry.
39800 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39802         * locale/programs/locarchive.c (open_archive): Add const
39803         qualifier to ARCHIVEFNAME and copy default fname to
39804         DEFAULT_FNAME.
39806         [BZ #15601]
39807         * libio/tst-widetext.input: Rename Oriya to Odia.
39808         * locale/iso-639.def: Likewise.
39810         * manual/probes.texi (Mathematical Function Probes): Add
39811         documentation for sin, cos, asin and acos probes.
39812         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
39813         (__sin32): Add slowasin probe.
39814         (__cos32): Add slowacos probe.
39815         (__mpsin): Add slowsin probe.
39816         (__mpcos): Add slowcos probe.
39818 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
39820         [BZ #15483]
39821         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
39822         thread-local __sim_exceptions_thread and global
39823         __sim_exceptions_global.
39824         (__sim_disabled_exceptions): Change to thread-local
39825         __sim_disabled_exceptions_thread and global
39826         __sim_disabled_exceptions_global.
39827         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39828         and global __sim_round_mode_global.
39829         (__simulate_exceptions): Use thread-local floating-point state and
39830         set global state from it as needed.
39831         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
39832         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
39833         __sim_round_mode_thread.
39834         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
39835         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
39836         and global __sim_exceptions_global.
39837         (__sim_disabled_exceptions): Change to thread-local
39838         __sim_disabled_exceptions_thread and global
39839         __sim_disabled_exceptions_global.
39840         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
39841         and global __sim_round_mode_global.
39842         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
39843         (SIM_SET_GLOBAL): Likewise.
39844         * sysdeps/powerpc/soft-fp/sfp-machine.h
39845         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
39846         __sim_round_mode_thread.
39847         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
39848         __sim_disabled_exceptions_thread.
39849         (__sim_exceptions): Change to __sim_exceptions_thread.
39850         (__sim_disabled_exceptions): Change to
39851         __sim_disabled_exceptions_thread.
39852         (__sim_round_mode): Change to __sim_round_mode_thread.
39853         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
39854         thread-local floating-point state and set global state from it as
39855         needed.
39856         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
39857         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
39858         (__sim_disabled_exceptions): Remove extern declaration.
39859         (feenableexcept): Use thread-local floating-point state and set
39860         global state from it as needed.
39861         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
39862         extern declaration.
39863         (__sim_disabled_exceptions): Likewise.
39864         (__sim_round_mode): Likewise.
39865         (__fegetenv): Use thread-local floating-point state.
39866         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
39867         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
39868         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
39869         floating-point state and set global state from it as needed.
39870         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
39871         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
39872         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
39873         Likewise.
39874         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
39875         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
39876         Likewise.
39877         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
39878         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
39879         Use __sim_round_mode_thread.
39880         * math/test-fenv-tls.c: New file.
39881         * math/Makefile (tests): Add test-fenv-tls.
39882         ($(objpfx)test-fenv-tls): Depend on
39883         $(common-objpfx)nptl/libpthread.so.
39885 2013-11-19  Andreas Schwab  <schwab@suse.de>
39887         * locale/programs/locale.c (show_info): Decode wordarray elements.
39888         * locale/categories.def (LC_MONETARY): Add element for
39889         _NL_MONETARY_CRNCYSTR.
39890         * locale/C-monetary.c (conversion_rate): New variable.
39891         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
39892         element.
39894 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
39896         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
39897         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
39899 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
39901         * elf/Makefile (tst-auxv): New test.
39902         * elf/tst-auxv.c: New
39903         * elf/rtld.c (dl_main): Adjust AT_EXECFN
39905 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
39907         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
39908         (hidden_proto): Caller changed.
39909         (hidden_tls_proto): New macro.
39910         (libc_hidden_tls_proto): Likewise.
39911         (rtld_hidden_tls_proto): Likewise.
39912         (libm_hidden_tls_proto): Likewise.
39913         (libresolv_hidden_tls_proto): Likewise.
39914         (librt_hidden_tls_proto): Likewise.
39915         (libdl_hidden_tls_proto): Likewise.
39916         (libnss_files_hidden_tls_proto): Likewise.
39917         (libnsl_hidden_tls_proto): Likewise.
39918         (libnss_nisplus_hidden_tls_proto): Likewise.
39919         (libutil_hidden_tls_proto): Likewise.
39921 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
39923         [BZ #10253]
39924         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
39925         (decompose_rpath): Defer expansion to fillin_rpath.
39926         (_dl_init_paths): Pass linkmap to fillin_rpath.
39928 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39930         * benchtests/Makefile: Add strsep.
39931         * benchtests/bench-strsep.c: New file: strsep benchtest.
39932         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
39934 2013-11-18  Andreas Schwab  <schwab@suse.de>
39936         * locale/programs/locale.c (show_info) [case byte]: Check for
39937         '\377' instead of '\177'.
39938         * locale/C-monetary.c (not_available): Always use "\377".
39939         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
39940         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
39941         detect unavailable sign_posn locale elements.
39942         * locale/localeconv.c (__localeconv): For grouping and
39943         mon_grouping handle "\177" and "\377" like no grouping.
39944         (INT_ELEM): New macro.  Use it to set all numeric members.
39945         * locale/programs/ld-monetary.c (monetary_read)
39946         <tok_mon_grouping>: Normalize single -1 to the empty string.
39947         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
39948         Likewise.
39950 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
39952         [BZ #16055]
39953         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
39954         when we match (nil).
39955         * stdio-common/tst-sscanf.c (struct test): Add testcase.
39957 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
39959         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
39960         (NO_TEST_INLINE): Update value.
39961         (ERRNO_UNCHANGED): Likewise.
39962         (ERRNO_EDOM): Likewise.
39963         (ERRNO_ERANGE): Likewise.
39964         (IGNORE_RESULT): Likewise.
39965         (check_float_internal): Check signs of NaN results if
39966         TEST_NAN_SIGN used.
39967         (check_complex): Pass TEST_NAN_SIGN flag through to second
39968         check_float_internal call.
39969         (copysign_test_data): Add tests with quiet NaNs as second
39970         argument.  Use TEST_NAN_SIGN.
39971         (fabs_test_data): Add test of negative quiet NaN argument.  Use
39972         TEST_NAN_SIGN.
39973         (signbit_test_data): Add tests of quiet NaN argument.
39974         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
39976         * math/gen-libm-test.pl (show_exceptions): Take extra argument
39977         $ignore_result.
39978         (parse_args): Handle function results specified as IGNORE.
39979         * math/libm-test.inc (IGNORE_RESULT): New macro.
39980         (check_float_internal): Do not check numerical result if flag
39981         IGNORE_RESULT set.
39982         (check_complex): Pass through IGNORE_RESULT to second
39983         check_float_internal call.
39984         (check_int): Do not check numerical result if flag IGNORE_RESULT
39985         set.
39986         (check_long): Likewise.
39987         (check_bool): Likewise.
39988         (check_longlong): Likewise.
39989         (lrint_test_data): Add tests of infinite and NaN arguments.
39990         (lrint_tonearest_test_data): Likewise.
39991         (lrint_towardzero_test_data): Likewise.
39992         (lrint_downward_test_data): Likewise.
39993         (lrint_upward_test_data): Likewise.
39994         (llrint_test_data): Likewise.
39995         (llrint_tonearest_test_data): Likewise.
39996         (llrint_towardzero_test_data): Likewise.
39997         (llrint_downward_test_data): Likewise.
39998         (llrint_upward_test_data): Likewise.
39999         (lround_test_data): Likewise.
40000         (llround_test_data): Likewise.
40002         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40003         (ERRNO_UNCHANGED): Update value.
40004         (ERRNO_EDOM): Likewise.
40005         (ERRNO_ERANGE): Likewise.
40006         (NO_TEST_INLINE_FLOAT): New macro.
40007         (NO_TEST_INLINE_DOUBLE): Likewise.
40008         (enable_test): New function.
40009         (RUN_TEST_f_f): Check enable_test before running test.
40010         (RUN_TEST_2_f): Likewise.
40011         (RUN_TEST_fff_f): Likewise.
40012         (RUN_TEST_c_f): Likewise.
40013         (RUN_TEST_f_f1): Likewise.
40014         (RUN_TEST_fF_f1): Likewise.
40015         (RUN_TEST_fI_f1): Likewise.
40016         (RUN_TEST_ffI_f1): Likewise.
40017         (RUN_TEST_c_c): Likewise.
40018         (RUN_TEST_cc_c): Likewise.
40019         (RUN_TEST_f_i): Likewise.
40020         (RUN_TEST_f_i_tg): Likewise.
40021         (RUN_TEST_ff_i_tg): Likewise.
40022         (RUN_TEST_f_b): Likewise.
40023         (RUN_TEST_f_b_tg): Likewise.
40024         (RUN_TEST_f_l): Likewise.
40025         (RUN_TEST_f_L): Likewise.
40026         (RUN_TEST_fFF_11): Likewise.
40027         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40028         conditionals.
40029         (cosh_test_data): Likewise.
40030         (exp_test_data): Likewise.
40031         (expm1_test_data): Likewise.
40032         (hypot_test_data): Likewise.
40033         (pow_test_data): Likewise.
40034         (sinh_test_data): Likewise.
40035         (tanh_test_data): Likewise.
40036         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40037         flags argument.
40039         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40040         tests with quiet NaN input and output.
40041         (acosh_test_data): Likewise.
40042         (asin_test_data): Likewise.
40043         (asinh_test_data): Likewise.
40044         (atan_test_data): Likewise.
40045         (atanh_test_data): Likewise.
40046         (atan2_test_data): Likewise.
40047         (cbrt_test_data): Likewise.
40048         (cos_test_data): Likewise.
40049         (cosh_test_data): Likewise.
40050         (erf_test_data): Likewise.
40051         (erfc_test_data): Likewise.
40052         (exp_test_data): Likewise.
40053         (exp10_test_data): Likewise.
40054         (exp2_test_data): Likewise.
40055         (expm1_test_data): Likewise.
40056         (hypot_test_data): Likewise.
40057         (j0_test_data): Likewise.
40058         (j1_test_data): Likewise.
40059         (jn_test_data): Likewise.
40060         (lgamma_test_data): Likewise.
40061         (log_test_data): Likewise.
40062         (log10_test_data): Likewise.
40063         (log1p_test_data): Likewise.
40064         (log2_test_data): Likewise.
40065         (pow_test_data): Likewise.
40066         (scalb_test_data): Likewise.
40067         (sin_test_data): Likewise.
40068         (sincos_test_data): Likewise.
40069         (sinh_test_data): Likewise.
40070         (tan_test_data): Likewise.
40071         (tanh_test_data): Likewise.
40072         (tgamma_test_data): Likewise.
40073         (y0_test_data): Likewise.
40074         (y1_test_data): Likewise.
40075         (yn_test_data): Likewise.
40077         [BZ #16167]
40078         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40079         argument being NaN and avoid computations with second argument in
40080         that case.
40081         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40082         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40083         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40085 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40087         * locale/iso-639.def: Add Chitwani Tharu (the).
40089 2013-11-14  Andreas Schwab  <schwab@suse.de>
40091         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40092         word instead of empty string.
40094 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40097         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40099         (__fe_nomask_env): Likewise.
40101 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40103         * benchtests/bench-timing.h: Include time.h.
40105 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40107         [BZ #15997]
40108         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40109         to 3.4.0 for x32.
40110         * sysdeps/unix/sysv/linux/configure: Regenerated.
40112 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40114         [BZ #16151]
40115         * stdlib/strtod_l.c (round_and_return): Do not consider
40116         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40117         exponent one less than half the least subnormal exponent.
40118         * stdlib/test-strtod-round-data: Add more tests.
40119         * stdlib/tst-strtod-round.c (tests): Regenerated.
40121 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40123         [BZ #14143]
40124         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40125         (__fe_mask_env): Likewise.
40126         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40127         libm_hidden_proto and add function prototype.
40128         (__fe_mask_env): Add function prototype.
40129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40130         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40132         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40134         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40136 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40138         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40139         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40141 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40143         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40144         of htab_find_slot().
40146 2013-11-11  David S. Miller  <davem@davemloft.net>
40148         [BZ #16150]
40149         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40150         symbol in the non-vis3 case in static builds.
40151         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40152         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40153         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40154         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40156 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40158         [BZ #387]
40159         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40160         it is empty.
40162 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40164         * benchtests/Makefile: Add bench-strtod.
40165         * benchtests/bench-strtod.c: New file: strtod benchtest
40167 2013-11-11  Andreas Schwab  <schwab@suse.de>
40169         [BZ #16153]
40170         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40171         terminating NUL in key length.
40173 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40175         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40176         Add artificial ODP entry for vDSO symbol for PPC64.
40177         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40178         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40180 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40182         [BZ #15374]
40183         * nss/getent.c (services_keys): Recognize services starting with digit.
40185 2013-11-06  David S. Miller  <davem@davemloft.net>
40187         [BZ #15985]
40188         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40189         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40191 2013-11-06  Will Newton  <will.newton@linaro.org>
40193         * manual/memory.texi (Malloc Examples): Remove register
40194         keyword from examples.
40196 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40198         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40200 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40202         [BZ #6981]
40203         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40204         depending on [__GCC_IEC_559 > 0].
40205         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40206         depending on [__GCC_IEC_559_COMPLEX > 0].
40208 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40210         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40211         to iso-639.def.
40213 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40215         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40217 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40219         [BZ #16112]
40220         * malloc/malloc (malloc_info): Do not handle first bin as
40221         special case.
40223 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40225         * locale/iso-639.def: Add Central Nahuatl (nhn).
40227 2013-11-01  Bruno Haible  <bruno@clisp.org>
40229         [BZ #7003]
40230         * manual/math.texi (BSD Random): Specify range upper bound as
40231         in POSIX.
40233 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40235         * locale/iso-639.def: Add Meadow Mari (mhr).
40237 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40239         [BZ #14752], [BZ #15763]
40240         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40241         Validate name.
40242         * rt/tst_shm.c: Add test for escaping directory.
40244 2013-10-31  Andreas Schwab  <schwab@suse.de>
40246         [BZ #15917]
40247         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40248         followed by 'x' as part of digit sequence.
40249         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40251 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40253         [BZ #16037]
40254         * configure.ac: allow GNU Make 4.0 and greater.
40255         * configure: Regenerated.
40257 2013-10-30  Will Newton  <will.newton@linaro.org>
40259         [BZ #16038]
40260         * malloc/hooks.c (memalign_check): Limit alignment to the
40261         maximum representable power of two.
40262         * malloc/malloc.c (__libc_memalign): Likewise.
40263         * malloc/tst-memalign.c (do_test): Add test for very
40264         large alignment values.
40265         * malloc/tst-posix_memalign.c (do_test): Likewise.
40267 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40269         [BZ #11087]
40270         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40271         (munmap_chunk): Likewise.
40272         (mremap_chunk): Likewise.
40274 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40276         [BZ #15799]
40277         * stdlib/div.c (div): Remove obsolete code.
40278         * stdlib/ldiv.c (ldiv): Likewise.
40279         * stdlib/lldiv.c (lldiv): Likewise.
40281 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40283         [BZ #16071]
40284         * nss/nss_files/files-XXX.c (get_contents_ret): New
40285         enumerator.
40286         (get_contents): New function.
40287         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40289 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40291         * configure.in: Moved to ...
40292         * configure.ac: ... here. Change reference to configure.in
40293         to configure.ac.
40294         * sysdeps/arm/preconfigure.ac: ... here.
40295         configure.in to configure.ac.
40296         * sysdeps/gnu/configure.in: Moved to ...
40297         * sysdeps/gnu/configure.ac: ... here.
40298         * sysdeps/i386/configure.in: Moved to ...
40299         * sysdeps/i386/configure.ac: ... here.
40300         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40301         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40302         * sysdeps/mach/configure.in: Moved to ...
40303         * sysdeps/mach/configure.ac: ... here.
40304         * sysdeps/mach/hurd/configure.in: Moved to ...
40305         * sysdeps/mach/hurd/configure.ac: ... here.
40306         * sysdeps/powerpc/configure.in: Moved to ...
40307         * sysdeps/powerpc/configure.ac: ... here.
40308         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40309         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40310         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40311         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40312         * sysdeps/s390/s390-32/configure.in: Moved to ...
40313         * sysdeps/s390/s390-32/configure.ac: ... here.
40314         * sysdeps/s390/s390-64/configure.in: Moved to ...
40315         * sysdeps/s390/s390-64/configure.ac: ... here.
40316         * sysdeps/sh/configure.in: Moved to ...
40317         * sysdeps/sh/configure.ac: ... here.
40318         * sysdeps/sparc/configure.in: Moved to ...
40319         * sysdeps/sparc/configure.ac: ... here.
40320         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40321         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40322         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40323         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40324         * sysdeps/x86_64/configure.in: Moved to ...
40325         * sysdeps/x86_64/configure.ac: ... here.
40326         * sysdeps/x86_64/preconfigure.in: Moved to ...
40327         * sysdeps/x86_64/preconfigure.ac: ... here.
40328         * aclocal.m4: Change reference to configure.in to configure.ac.
40329         * config.h.in: Likewise.
40330         * manual/install.texi: Likewise.
40331         * manual/maint.texi: Likewise.
40332         * Makefile: Likewise.
40333         * malloc/Makefile: Likewise.
40334         * nscd/Makefile: Likewise.
40335         * Makeconfig: Change reference to configure.in and
40336         preconfigure.in to configure.ac and preconfigure.ac
40337         respectively.
40338         * INSTALL: Regenerated.
40339         * configure: Likewise.
40340         * sysdeps/gnu/configure: Likewise.
40341         * sysdeps/i386/configure: Likewise.
40342         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40343         * sysdeps/mach/configure: Likewise.
40344         * sysdeps/mach/hurd/configure: Likewise.
40345         * sysdeps/powerpc/configure: Likewise.
40346         * sysdeps/powerpc/powerpc32/configure: Likewise.
40347         * sysdeps/powerpc/powerpc64/configure: Likewise.
40348         * sysdeps/s390/s390-32/configure: Likewise.
40349         * sysdeps/s390/s390-64/configure: Likewise.
40350         * sysdeps/sh/configure: Likewise.
40351         * sysdeps/sparc/configure: Likewise.
40352         * sysdeps/unix/sysv/linux/configure: Likewise.
40353         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40354         * sysdeps/x86_64/configure: Likewise.
40355         * sysdeps/x86_64/preconfigure: Likewise.
40357 2013-10-29  Andreas Schwab  <schwab@suse.de>
40359         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40361 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40363         * benchtests/pow-inputs: Add new inputs.
40365         * benchtests/exp-inputs: Add new inputs.
40367         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40368         conditional check for return value.
40369         (__cos32): Likewise.
40371 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40373         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40374         to provide a boost for large inputs with word alignment.
40375         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40376         implementation based on optimized PPC64 strcpy.
40377         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40378         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40379         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40380         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40382 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40384         [BZ #2801]
40385         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40387 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40389         [BZ #14876]
40390         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40391         * time/tst-strptime.c (day_tests): Add testcase.
40393 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40395         [BZ #14029]
40396         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40398 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40400         [BZ #16074]
40401         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40402         MAP_FAILED on error.
40404 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
40406         [BZ #16072]
40407         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
40408         heap for large requests.
40410 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
40412         [BZ #9954]
40413         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
40414         result if the result has no associated interface.
40415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
40416         interface for all 127.X.Y.Z addresses.
40418 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
40420         * locale/iso-639.def: Add Ligurian (lij)
40422 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
40424         [BZ #15825]
40425         * sunrpc/rpc_main.c: Document rpcgen -5.
40427 2013-10-19  Michael Stahl  <mstahl@redhat.com>
40429         * elf/rtld.c (do_preload): Print the reason why preloading failed.
40431 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40433         [BZ #10278]
40434         * posix/glob.c: Match only directories when trailing slash is present.
40435         * posix/tst-gnuglob.c (my_opendir): Do not open files.
40436         (main): Add testcase.
40438 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
40440         [BZ #15670]
40441         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
40443 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
40445         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
40446         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
40447         AUTH_DES and cindex for FIPS 140-2.
40448         (DES Encryption): Add cindex FIPS 46-3.
40450         * locale/locarchive.h (struct locarhandle): Add fname.
40451         * locale/programs/localedef.c (main): Pass ARGV[remaining]
40452         if an optional argument was specified to --list-archive,
40453         otherwise NULL.
40454         * locale/programs/locarchive.c (show_archive_content): Take new
40455         argument fname and pass it via ah.fname to open_archive.
40456         * locale/programs/localedef.h: Update decl.
40457         (open_archive): If AH->fname is non-null, open that file
40458         rather than the default file name, and don't ignore ENOENT.
40459         (create_archive): Set AH.fname to NULL.
40460         (delete_locales_from_archive): Likewise.
40461         (add_locales_to_archive): Likewise.
40462         * locale/programs/locfile.c (write_all_categories): Likewise.
40464 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
40465             Aldy Hernandez  <aldyh@redhat.com>
40467         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
40468         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
40469         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
40470         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
40471         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
40472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
40473         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
40474         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
40475         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
40476         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
40477         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
40478         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
40479         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
40480         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
40481         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
40482         Likewise.
40483         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
40484         Likewise.
40485         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
40486         Likewise.
40487         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
40488         Likewise.
40489         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
40490         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
40491         Likewise.
40492         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
40493         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
40494         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
40495         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
40496         Likewise.
40497         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
40498         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
40499         * sysdeps/powerpc/preconfigure: Likewise.
40500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
40501         Likewise.
40502         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
40503         Replace contents of file by #include of <fenv_libc.h>.
40504         * sysdeps/powerpc/soft-fp/sfp-machine.h
40505         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
40506         and <sys/prctl.h>.
40507         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
40508         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
40509         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
40510         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
40511         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
40512         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
40513         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
40514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
40515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
40516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
40517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
40518         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
40519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
40520         Allow copysignl PLT reference to be missing.
40522 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
40523             Joseph Myers  <joseph@codesourcery.com
40525         [BZ #15948]
40526         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
40527         single character.
40528         (add_to_tablewc): Assert sequence of wide characters is nonempty.
40530 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40532         * elf/tst-tls-dlinfo.c: Don't include tls.h.
40533         * elf/tst-tls1.c: Likewise.
40534         * elf/tst-tls10.h: Likewise.
40535         * elf/tst-tls14.c: Likewise.
40536         * elf/tst-tls2.c: Likewise.
40537         * elf/tst-tls3.c: Likewise.
40538         * elf/tst-tls4.c: Likewise.
40539         * elf/tst-tls5.c: Likewise.
40540         * elf/tst-tls6.c: Likewise.
40541         * elf/tst-tls7.c: Likewise.
40542         * elf/tst-tls8.c: Likewise.
40543         * elf/tst-tls9.c: Likewise.
40544         * elf/tst-tlsmod1.c: Likewise.
40545         * elf/tst-tlsmod13.c: Likewise.
40546         * elf/tst-tlsmod13a.c: Likewise.
40547         * elf/tst-tlsmod14a.c: Likewise.
40548         * elf/tst-tlsmod16a.c: Likewise.
40549         * elf/tst-tlsmod16b.c: Likewise.
40550         * elf/tst-tlsmod2.c: Likewise.
40551         * elf/tst-tlsmod3.c: Likewise.
40552         * elf/tst-tlsmod4.c: Likewise.
40553         * elf/tst-tlsmod5.c: Likewise.
40554         * elf/tst-tlsmod6.c: Likewise.
40556 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
40558         [BZ #12486]
40559         * malloc/malloc.c: remove checks for statistics.
40561 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40563         [BZ #15277]
40564         * inet/inet_net.c (inet_network): Detect additional invalid strings.
40565         * inet/tst-network.c: Add testcase.
40567 2013-10-17  Andreas Schwab  <schwab@suse.de>
40569         [BZ #15218]
40570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
40571         to determine canonical name.
40573 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
40575         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
40576         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
40577         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40578         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40579         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40580         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40581         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40582         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40583         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40584         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40585         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40586         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40587         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40588         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40589         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40590         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40591         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40592         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40593         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40594         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40595         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40596         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40597         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40598         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
40599         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
40600         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40601         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40602         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
40603         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40604         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
40605         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40607         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40608         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40609         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40610         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40611         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40612         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40613         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40614         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40615         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40616         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40617         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40618         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40619         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40620         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40621         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40622         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40623         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40624         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40625         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40626         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40627         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40628         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40629         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40630         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40631         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40632         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40634 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
40636         [BZ #16041]
40637         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
40638         make result into a quiet NaN.
40640 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
40642         * soft-fp/adddf3.c: Fix horizontal whitespace.
40643         * soft-fp/addsf3.c: Likewise.
40644         * soft-fp/addtf3.c: Likewise.
40645         * soft-fp/divdf3.c: Likewise.
40646         * soft-fp/divsf3.c: Likewise.
40647         * soft-fp/divtf3.c: Likewise.
40648         * soft-fp/double.h: Likewise.
40649         * soft-fp/eqdf2.c: Likewise.
40650         * soft-fp/eqsf2.c: Likewise.
40651         * soft-fp/eqtf2.c: Likewise.
40652         * soft-fp/extenddftf2.c: Likewise.
40653         * soft-fp/extended.h: Likewise.
40654         * soft-fp/extendsfdf2.c: Likewise.
40655         * soft-fp/extendsftf2.c: Likewise.
40656         * soft-fp/extendxftf2.c: Likewise.
40657         * soft-fp/fixdfdi.c: Likewise.
40658         * soft-fp/fixdfsi.c: Likewise.
40659         * soft-fp/fixdfti.c: Likewise.
40660         * soft-fp/fixsfdi.c: Likewise.
40661         * soft-fp/fixsfsi.c: Likewise.
40662         * soft-fp/fixsfti.c: Likewise.
40663         * soft-fp/fixtfdi.c: Likewise.
40664         * soft-fp/fixtfsi.c: Likewise.
40665         * soft-fp/fixtfti.c: Likewise.
40666         * soft-fp/fixunsdfdi.c: Likewise.
40667         * soft-fp/fixunsdfsi.c: Likewise.
40668         * soft-fp/fixunsdfti.c: Likewise.
40669         * soft-fp/fixunssfdi.c: Likewise.
40670         * soft-fp/fixunssfsi.c: Likewise.
40671         * soft-fp/fixunssfti.c: Likewise.
40672         * soft-fp/fixunstfdi.c: Likewise.
40673         * soft-fp/fixunstfsi.c: Likewise.
40674         * soft-fp/fixunstfti.c: Likewise.
40675         * soft-fp/floatdidf.c: Likewise.
40676         * soft-fp/floatdisf.c: Likewise.
40677         * soft-fp/floatditf.c: Likewise.
40678         * soft-fp/floatsidf.c: Likewise.
40679         * soft-fp/floatsisf.c: Likewise.
40680         * soft-fp/floatsitf.c: Likewise.
40681         * soft-fp/floattidf.c: Likewise.
40682         * soft-fp/floattisf.c: Likewise.
40683         * soft-fp/floattitf.c: Likewise.
40684         * soft-fp/floatundidf.c: Likewise.
40685         * soft-fp/floatundisf.c: Likewise.
40686         * soft-fp/floatunditf.c: Likewise.
40687         * soft-fp/floatunsidf.c: Likewise.
40688         * soft-fp/floatunsisf.c: Likewise.
40689         * soft-fp/floatunsitf.c: Likewise.
40690         * soft-fp/floatuntidf.c: Likewise.
40691         * soft-fp/floatuntisf.c: Likewise.
40692         * soft-fp/floatuntitf.c: Likewise.
40693         * soft-fp/fmadf4.c: Likewise.
40694         * soft-fp/fmasf4.c: Likewise.
40695         * soft-fp/fmatf4.c: Likewise.
40696         * soft-fp/gedf2.c: Likewise.
40697         * soft-fp/gesf2.c: Likewise.
40698         * soft-fp/getf2.c: Likewise.
40699         * soft-fp/ledf2.c: Likewise.
40700         * soft-fp/lesf2.c: Likewise.
40701         * soft-fp/letf2.c: Likewise.
40702         * soft-fp/muldf3.c: Likewise.
40703         * soft-fp/mulsf3.c: Likewise.
40704         * soft-fp/multf3.c: Likewise.
40705         * soft-fp/negdf2.c: Likewise.
40706         * soft-fp/negsf2.c: Likewise.
40707         * soft-fp/negtf2.c: Likewise.
40708         * soft-fp/op-1.h: Likewise.
40709         * soft-fp/op-2.h: Likewise.
40710         * soft-fp/op-4.h: Likewise.
40711         * soft-fp/op-8.h: Likewise.
40712         * soft-fp/op-common.h: Likewise.
40713         * soft-fp/quad.h: Likewise.
40714         * soft-fp/single.h: Likewise.
40715         * soft-fp/soft-fp.h: Likewise.
40716         * soft-fp/sqrtdf2.c: Likewise.
40717         * soft-fp/sqrtsf2.c: Likewise.
40718         * soft-fp/sqrttf2.c: Likewise.
40719         * soft-fp/subdf3.c: Likewise.
40720         * soft-fp/subsf3.c: Likewise.
40721         * soft-fp/subtf3.c: Likewise.
40722         * soft-fp/truncdfsf2.c: Likewise.
40723         * soft-fp/trunctfdf2.c: Likewise.
40724         * soft-fp/trunctfsf2.c: Likewise.
40725         * soft-fp/trunctfxf2.c: Likewise.
40726         * soft-fp/unorddf2.c: Likewise.
40727         * soft-fp/unordsf2.c: Likewise.
40728         * soft-fp/unordtf2.c: Likewise.
40730 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
40732         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
40733         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
40735 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
40737         * elf/dl-libc.c: Clear initfini list after freeing.
40739 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
40741         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
40742         * soft-fp/addsf3.c: Likewise.
40743         * soft-fp/addtf3.c: Likewise.
40744         * soft-fp/divdf3.c: Likewise.
40745         * soft-fp/divsf3.c: Likewise.
40746         * soft-fp/divtf3.c: Likewise.
40747         * soft-fp/double.h: Likewise.
40748         * soft-fp/eqdf2.c: Likewise.
40749         * soft-fp/eqsf2.c: Likewise.
40750         * soft-fp/eqtf2.c: Likewise.
40751         * soft-fp/extenddftf2.c: Likewise.
40752         * soft-fp/extended.h: Likewise.
40753         * soft-fp/extendsfdf2.c: Likewise.
40754         * soft-fp/extendsftf2.c: Likewise.
40755         * soft-fp/extendxftf2.c: Likewise.
40756         * soft-fp/fixdfdi.c: Likewise.
40757         * soft-fp/fixdfsi.c: Likewise.
40758         * soft-fp/fixdfti.c: Likewise.
40759         * soft-fp/fixsfdi.c: Likewise.
40760         * soft-fp/fixsfsi.c: Likewise.
40761         * soft-fp/fixsfti.c: Likewise.
40762         * soft-fp/fixtfdi.c: Likewise.
40763         * soft-fp/fixtfsi.c: Likewise.
40764         * soft-fp/fixtfti.c: Likewise.
40765         * soft-fp/fixunsdfdi.c: Likewise.
40766         * soft-fp/fixunsdfsi.c: Likewise.
40767         * soft-fp/fixunsdfti.c: Likewise.
40768         * soft-fp/fixunssfdi.c: Likewise.
40769         * soft-fp/fixunssfsi.c: Likewise.
40770         * soft-fp/fixunssfti.c: Likewise.
40771         * soft-fp/fixunstfdi.c: Likewise.
40772         * soft-fp/fixunstfsi.c: Likewise.
40773         * soft-fp/fixunstfti.c: Likewise.
40774         * soft-fp/floatdidf.c: Likewise.
40775         * soft-fp/floatdisf.c: Likewise.
40776         * soft-fp/floatditf.c: Likewise.
40777         * soft-fp/floatsidf.c: Likewise.
40778         * soft-fp/floatsisf.c: Likewise.
40779         * soft-fp/floatsitf.c: Likewise.
40780         * soft-fp/floattidf.c: Likewise.
40781         * soft-fp/floattisf.c: Likewise.
40782         * soft-fp/floattitf.c: Likewise.
40783         * soft-fp/floatundidf.c: Likewise.
40784         * soft-fp/floatundisf.c: Likewise.
40785         * soft-fp/floatunsidf.c: Likewise.
40786         * soft-fp/floatunsisf.c: Likewise.
40787         * soft-fp/floatuntidf.c: Likewise.
40788         * soft-fp/floatuntisf.c: Likewise.
40789         * soft-fp/floatuntitf.c: Likewise.
40790         * soft-fp/fmadf4.c: Likewise.
40791         * soft-fp/fmasf4.c: Likewise.
40792         * soft-fp/fmatf4.c: Likewise.
40793         * soft-fp/gedf2.c: Likewise.
40794         * soft-fp/gesf2.c: Likewise.
40795         * soft-fp/getf2.c: Likewise.
40796         * soft-fp/ledf2.c: Likewise.
40797         * soft-fp/lesf2.c: Likewise.
40798         * soft-fp/letf2.c: Likewise.
40799         * soft-fp/muldf3.c: Likewise.
40800         * soft-fp/mulsf3.c: Likewise.
40801         * soft-fp/multf3.c: Likewise.
40802         * soft-fp/negdf2.c: Likewise.
40803         * soft-fp/negsf2.c: Likewise.
40804         * soft-fp/negtf2.c: Likewise.
40805         * soft-fp/op-1.h: Likewise.
40806         * soft-fp/op-2.h: Likewise.
40807         * soft-fp/op-4.h: Likewise.
40808         * soft-fp/op-8.h: Likewise.
40809         * soft-fp/op-common.h: Likewise.
40810         * soft-fp/quad.h: Likewise.
40811         * soft-fp/single.h: Likewise.
40812         * soft-fp/soft-fp.h: Likewise.
40813         * soft-fp/sqrtdf2.c: Likewise.
40814         * soft-fp/sqrtsf2.c: Likewise.
40815         * soft-fp/sqrttf2.c: Likewise.
40816         * soft-fp/subdf3.c: Likewise.
40817         * soft-fp/subsf3.c: Likewise.
40818         * soft-fp/subtf3.c: Likewise.
40819         * soft-fp/truncdfsf2.c: Likewise.
40820         * soft-fp/trunctfdf2.c: Likewise.
40821         * soft-fp/trunctfsf2.c: Likewise.
40822         * soft-fp/trunctfxf2.c: Likewise.
40823         * soft-fp/unorddf2.c: Likewise.
40824         * soft-fp/unordsf2.c: Likewise.
40825         * soft-fp/unordtf2.c: Likewise.
40827 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
40829         [BZ #15672]
40830         * misc/error.c (error_tail): Fix possible buffer overflow.
40832 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
40834         [BZ #13028]
40835         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
40836         address.
40838 2013-10-14  P. J. McDermott  <pj@pehjota.net>
40840         [BZ #832]
40841         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
40842         testing pipefail option.
40844 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40846         * soft-fp/double.h: Indent preprocessor directives inside #if.
40847         * soft-fp/extended.h: Likewise.
40848         * soft-fp/op-2.h: Likewise.
40849         * soft-fp/op-4.h: Likewise.
40850         * soft-fp/op-common.h: Likewise.
40851         * soft-fp/quad.h: Likewise.
40852         * soft-fp/single.h: Likewise.
40853         * soft-fp/soft-fp.h: Likewise.
40855 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
40857         * iconv/iconv_prog.c: Fix typos.
40858         * stdio-common/psiginfo-data.h: Likewise.
40860 2013-10-12   Reuben Thomas <rrt@sc3d.org>
40862         [BZ #15764]
40863         * locale/setlocale.c: Fix typo.
40865 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
40867         [BZ #16036]
40868         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
40869         signaling NaN arguments.
40870         * soft-fp/unordsf2.c (__unordsf2): Likewise.
40871         * soft-fp/unordtf2.c (__unordtf2): Likewise.
40873         [BZ #14910]
40874         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
40875         unordered operands.
40876         * soft-fp/gesf2.c (__gesf2): Likewise.
40877         * soft-fp/getf2.c (__getf2): Likewise.
40878         * soft-fp/ledf2.c (__ledf2): Likewise.
40879         * soft-fp/lesf2.c (__lesf2): Likewise.
40880         * soft-fp/letf2.c (__letf2): Likewise.
40882         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
40883         * soft-fp/eqsf2.c (__eqsf2): Likewise.
40884         * soft-fp/eqtf2.c (__eqtf2): Likewise.
40885         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
40886         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
40887         * soft-fp/fixdfti.c (__fixdfti): Likewise.
40888         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
40889         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
40890         * soft-fp/fixsfti.c (__fixsfti): Likewise.
40891         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
40892         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
40893         * soft-fp/fixtfti.c (__fixtfti): Likewise.
40894         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
40895         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
40896         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
40897         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
40898         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
40899         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
40900         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
40901         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
40902         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
40903         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
40904         * soft-fp/floatdisf.c (__floatdisf): Likewise.
40905         * soft-fp/floatsisf.c (__floatsisf): Likewise.
40906         * soft-fp/floattidf.c (__floattidf): Likewise.
40907         * soft-fp/floattisf.c (__floattisf): Likewise.
40908         * soft-fp/floattitf.c (__floattitf): Likewise.
40909         * soft-fp/floatundidf.c (__floatundidf): Likewise.
40910         * soft-fp/floatundisf.c (__floatundisf): Likewise.
40911         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
40912         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
40913         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
40914         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
40915         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
40916         * soft-fp/gesf2.c (__gesf2): Likewise.
40917         * soft-fp/getf2.c (__getf2): Likewise.
40918         * soft-fp/ledf2.c (__ledf2): Likewise.
40919         * soft-fp/lesf2.c (__lesf2): Likewise.
40920         * soft-fp/letf2.c (__letf2): Likewise.
40922         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
40923         Undefine and redefine.
40924         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
40925         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
40926         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
40927         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
40928         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40929         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
40930         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40931         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
40932         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40933         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
40934         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40935         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
40936         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40937         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
40938         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
40940         [BZ #16032]
40941         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
40942         without decrementing exponent if mantissa >= that for the
40943         denominator, not >.
40944         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
40945         denominator, not >.  Decrement exponent in < case instead of
40946         incrementing in >= case.
40947         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
40948         without decrementing exponent if mantissa >= that for the
40949         denominator, not >.
40951         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
40952         computing saturated result for unsigned overflow.
40954 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40955             Jeff Law  <law@redhat.com>
40957         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
40958         (atan2Mp): Add systemtap probe marker.
40959         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
40960         (__ieee754_log): Add systemtap probe marker.
40961         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
40962         (atanMp): Add systemtap probe marker.
40963         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
40964         (tanMp): Add systemtap probe marker.
40965         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
40966         (__slowexp): Add systemtap probe marker.
40967         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
40968         (__slowpow): Add systemtap probe marker.
40969         * manual/probes.texi: Document probes.
40971 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
40973         [BZ #15362]
40974         * libio/fileops.c (_IO_new_file_write): Return count of bytes
40975         written.
40976         (_IO_new_file_xsputn): Don't return EOF if nothing has been
40977         written.
40978         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
40979         written to buffer but not flushed.
40980         * libio/iofwrite_u.c:  Likewise.
40981         * libio/iopadn.c:  Return bytes returned even if EOF was
40982         encountered.
40983         * libio/iowpadn.c:  Likewise.
40984         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
40985         if _IO_padn does not write the whole buffer.
40986         [!COMPILE_WPRINTF] (PAD): Likewise.
40988 2013-10-10  David S. Miller  <davem@davemloft.net>
40990         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
40991         directory block.
40993 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
40995         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
40996         instead of FSF address.
40997         * soft-fp/fixdfti.c: Likewise.
40998         * soft-fp/fixsfti.c: Likewise.
40999         * soft-fp/fixtfti.c: Likewise.
41000         * soft-fp/fixunsdfti.c: Likewise.
41001         * soft-fp/fixunssfti.c: Likewise.
41002         * soft-fp/fixunstfti.c: Likewise.
41003         * soft-fp/floattidf.c: Likewise.
41004         * soft-fp/floattisf.c: Likewise.
41005         * soft-fp/floattitf.c: Likewise.
41006         * soft-fp/floatuntidf.c: Likewise.
41007         * soft-fp/floatuntisf.c: Likewise.
41008         * soft-fp/floatuntitf.c: Likewise.
41009         * soft-fp/trunctfxf2.c: Likewise.
41011         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41012         * soft-fp/fixdfti.c: Likewise.
41013         * soft-fp/fixsfti.c: Likewise.
41014         * soft-fp/fixtfti.c: Likewise.
41015         * soft-fp/fixunsdfti.c: Likewise.
41016         * soft-fp/fixunssfti.c: Likewise.
41017         * soft-fp/fixunstfti.c: Likewise.
41018         * soft-fp/floattidf.c: Likewise.
41019         * soft-fp/floattisf.c: Likewise.
41020         * soft-fp/floattitf.c: Likewise.
41021         * soft-fp/floatuntidf.c: Likewise.
41022         * soft-fp/floatuntisf.c: Likewise.
41023         * soft-fp/floatuntitf.c: Likewise.
41024         * soft-fp/trunctfxf2.c: Likewise.
41026 2013-10-10  David S. Miller  <davem@davemloft.net>
41028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41030 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41032         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41033         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41034         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41035         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41036         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41037         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41038         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41041         for NaNs before doing comparisons on argument.
41042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41043         Likewise.
41045 2013-10-10  Will Newton  <will.newton@linaro.org>
41047         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41048         passed to _int_memalign does not overflow.
41050 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41052         * scripts/bench.pl: Add include-sources directive.
41053         * benchtests/README: Update documentation.
41055 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41057         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41058         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41059         instead of FP_INIT_ROUNDMODE.
41060         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41061         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41063         [BZ #16034]
41064         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41065         copy class of input value.
41066         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41067         not handle exceptions.
41068         * soft-fp/negsf2.c (__negsf2): Likewise.
41069         * soft-fp/negtf2.c (__negtf2): Likewise.
41070         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41072 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41074         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41075         semicolon.  From Linux kernel.
41077 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41079         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41081 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41083         [BZ #156]
41084         * manual/socket.texi: Added statement about buffer
41085         for gethostbyname2_r.
41087 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41089         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41090         Use .p2align directive instead, throughout.
41091         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41092         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41093         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41094         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41095         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41096         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41097         * sysdeps/x86_64/strchr.S: Likewise.
41098         * sysdeps/x86_64/strrchr.S: Likewise.
41100 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41102         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41104         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41106         * sysdeps/generic/math_private.h (__mpsin1): Remove
41107         declaration.
41108         (__mpcos1): Likewise.
41109         (__mpsin): New argument __range_reduce.
41110         (__mpcos): Likewise.
41111         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41112         (slow): Use __mpsin and __mpcos.
41113         (slow1): Likewise.
41114         (slow2): Likewise.
41115         (sloww): Likewise.
41116         (sloww1): Likewise.
41117         (sloww2): Likewise.
41118         (bsloww): Likewise.
41119         (bsloww1): Likewise.
41120         (bsloww2): Likewise.
41121         (cslow2): Likewise.
41122         (csloww): Likewise.
41123         (csloww1): Likewise.
41124         (csloww2): Likewise.
41125         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41126         range_reduce.  Merge in __mpsin1.
41127         (__mpcos): Likewise.
41128         (__mpsin1): Remove.
41129         (__mpcos1): Likewise.
41131 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41133         * locale/loadlocale.c (_nl_intern_locale_data): Use
41134         LOCFILE_ALIGNED_P.
41135         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41136         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41137         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41138         obstack data is appropriately aligned.
41139         (obstack_int32_grow_fast): Likewise.
41140         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41141         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41142         (add_locale_uint32_array): Likewise.
41144 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41146         * benchtests/Makefile: Remove ARGLIST and RET variables.
41147         ($(objpfx)bench-%.c): Pass only function name to the script.
41148         * benchtests/README: Update documentation.
41149         * benchtests/acos-inputs: Add new directives.
41150         * benchtests/acosh-inputs: Likewise.
41151         * benchtests/asin-inputs: Likewise.
41152         * benchtests/asinh-inputs: Likewise.
41153         * benchtests/atan-inputs: Likewise.
41154         * benchtests/atanh-inputs: Likewise.
41155         * benchtests/cos-inputs: Likewise.
41156         * benchtests/cosh-inputs: Likewise.
41157         * benchtests/exp-inputs: Likewise.
41158         * benchtests/log-inputs: Likewise.
41159         * benchtests/pow-inputs: Likewise.
41160         * benchtests/rint-inputs: Likewise.
41161         * benchtests/sin-inputs: Likewise.
41162         * benchtests/sinh-inputs: Likewise.
41163         * benchtests/tan-inputs: Likewise.
41164         * benchtests/tanh-inputs: Likewise.
41165         * scripts/bench.pl: Add support for new directives.
41167 2013-10-07  Alan Modra  <amodra@gmail.com>
41169         * README: Fix careless merge.
41171 2013-10-05  Alan Modra  <amodra@gmail.com>
41173         * NEWS: Mention powerpc64le support and bugs fixed.
41174         * README: Both big-endian and little-endian powerpc64 supported.
41176 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41178         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41179         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41180         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41181         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41183 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41185         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41186         match prototype.
41188 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41190         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41191         Move -mhard-float appending from
41192         ports/sysdeps/powerpc/powerpc32/Makefile.
41193         [$(with-fp) = yes] (ASFLAGS): Likewise.
41194         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41195         * sysdeps/powerpc/nofpu: Move directory from
41196         ports/sysdeps/powerpc/nofpu.
41197         * sysdeps/powerpc/soft-fp: Move directory from
41198         ports/sysdeps/powerpc/soft-fp.
41199         * sysdeps/powerpc/powerpc32/405: Move directory from
41200         ports/sysdeps/powerpc/powerpc32/405.
41201         * sysdeps/powerpc/powerpc32/440: Move directory from
41202         ports/sysdeps/powerpc/powerpc32/440.
41203         * sysdeps/powerpc/powerpc32/464: Move directory from
41204         ports/sysdeps/powerpc/powerpc32/464.
41205         * sysdeps/powerpc/powerpc32/476: Move directory from
41206         ports/sysdeps/powerpc/powerpc32/476.
41207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41208         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41210         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41212         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41214         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41216         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41217         * README: Update for powerpc-*-linux-gnu software floating point
41218         support in libc.
41220         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41221         case to powerpc/powerpc32*.
41222         * sysdeps/unix/sysv/linux/configure: Regenerated.
41224         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41225         (_FPU_MASK_OM): Define as 0x04.
41226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41227         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41228         0x00c10080.
41229         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41230         0x0000003c.
41231         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41234         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41235         getcontext_e500.
41236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41237         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41238         setcontext_e500.
41239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41240         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41241         and setcontext_e500.
41243 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41245         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41247 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41249         * manual/threads.texi (Default Thread Attributes): Fix typo.
41251 2013-10-04  Will Newton  <will.newton@linaro.org>
41253         * malloc/Makefile: Add tst-memalign.
41254         * malloc/tst-memalign.c: New file.
41256         * malloc/tst-posix_memalign.c: Add comments.
41257         (do_test): Add comments and call free on all potentially
41258         allocated pointers. Add space after cast.
41260         * malloc/tst-pvalloc.c: Add comments.
41261         (do_test): Add comments and call free on all potentially
41262         allocated pointers. Remove duplicate check for NULL pointer.
41263         Add space after cast.
41265         * malloc/tst-valloc.c: Add comments.
41266         (do_test): Add comments and call free on all potentially
41267         allocated pointers. Remove duplicate check for NULL pointer.
41268         Add space after cast.
41270 2013-10-04  Alan Modra  <amodra@gmail.com>
41272         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41273         Use stdint types in rather than __attribute__((mode())).
41274         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41276 2013-10-04  Alan Modra  <amodra@gmail.com>
41278         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41279         Correct handling of unaligned relocs for little-endian.
41280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41282 2013-10-04  Alan Modra  <amodra@gmail.com>
41284         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41285         * configure: Regenerate.
41286         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41287         * shlib-versions: Likewise.
41289 2013-10-04  Alan Modra  <amodra@gmail.com>
41291         * string/tester.c (test_memrchr): Increment reported test cycle.
41293 2013-10-04  Alan Modra  <amodra@gmail.com>
41295         * string/test-memcpy.c (do_one_test): When reporting errors, print
41296         string address and don't overrun end of string.
41298 2013-10-04  Alan Modra  <amodra@gmail.com>
41300         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41301         insrdi.  Make better use of reg selection to speed exit slightly.
41302         Schedule entry path a little better.  Remove useless "are we done"
41303         checks on entry to main loop.  Handle wrapping around zero address.
41304         Correct main loop count.  Handle single left-over word from main
41305         loop inline rather than by using loop_small.  Remove extra word
41306         case in loop_small caused by wrong loop count.  Add little-endian
41307         support.
41308         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41309         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41310         cache hint.
41311         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41312         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41313         support.  Avoid rlwimi.
41314         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41316 2013-10-04  Alan Modra  <amodra@gmail.com>
41318         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41319         insrdi.  Formatting.
41320         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41321         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41322         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41323         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41324         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41325         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41327 2013-10-04  Alan Modra  <amodra@gmail.com>
41329         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41331         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41332         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41333         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41334         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41336         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41337         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41338         use of regs.  Use power7 mtocrf.  Tidy function tails.
41340 2013-10-04  Alan Modra  <amodra@gmail.com>
41342         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41343         Formatting.  Consistently use rXXX register defines or rN defines.
41344         Use early exit labels that avoid restoring unused non-volatile regs.
41345         Make cr field use more consistent with rWORDn compares.  Rename
41346         regs used as shift registers for unaligned loop, using rN defines
41347         for short lifetime/multiple use regs.
41348         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41349         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41350         addi 1,1,64 to pop stack frame.  Simplify return value code.
41351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41353 2013-10-04  Alan Modra  <amodra@gmail.com>
41355         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41356         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41357         rather than rlwimi.
41358         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41359         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41360         little-endian support.  Correct typos.
41361         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41362         rather than rlwimi.
41363         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41364         in loop and entry code to keep "and." results.
41365         (strchr): Add little-endian support.  Comment.  Move cntlzd
41366         earlier in tail.
41367         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41369 2013-10-04  Alan Modra  <amodra@gmail.com>
41371         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41372         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41373         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41374         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41376 2013-10-04  Alan Modra  <amodra@gmail.com>
41378         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41379         (rTMP): Define as r11.
41380         (strcmp): Add little-endian support.  Optimise tail.
41381         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41382         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41383         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41384         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41385         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41386         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41387         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41389 2013-10-04  Alan Modra  <amodra@gmail.com>
41391         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41392         little-endian support.  Remove unnecessary "are we done" tests.
41393         Handle "s" wrapping around zero and extremely large "size".
41394         Correct main loop count.  Handle single left-over word from main
41395         loop inline rather than by using small_loop.  Correct comments.
41396         Delete "zero" tail, use "end_max" instead.
41397         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41399 2013-10-04  Alan Modra  <amodra@gmail.com>
41401         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41402         support.  Don't branch over align.
41403         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41404         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41405         support.  Rearrange tmp reg use to suit.  Comment.
41406         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
41408 2013-10-04  Alan Modra  <amodra@gmail.com>
41410         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
41412 2013-10-04  Alan Modra  <amodra@gmail.com>
41414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
41415         conditional form of branch and link when obtaining pc.
41416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41418 2013-10-04  Alan Modra  <amodra@gmail.com>
41420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
41421         HIWORD/LOWORD.
41422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
41423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
41425 2013-10-04  Alan Modra  <amodra@gmail.com>
41427         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
41428         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
41429         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
41430         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
41431         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
41432         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41433         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
41434         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41435         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
41436         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
41438 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41439             Alistair Popple <alistair@ozlabs.au.ibm.com>
41440             Alan Modra <amodra@gmail.com>
41442         [BZ #15723]
41443         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
41444         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
41445         _dl_hwcap access for little-endian.
41446         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
41447         destroy vmx regs when saving unaligned.
41448         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
41449         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
41450         destroy vmx regs when saving unaligned.
41452 2013-10-04  Alan Modra  <amodra@gmail.com>
41454         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
41455         Don't use a union to pack hi/low value.
41457 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41459         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
41460         for little-endian.
41461         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
41462         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
41463         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
41464         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
41465         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
41467 2013-10-04  Alan Modra  <amodra@gmail.com>
41469         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
41470         constants to usual value for .cst8 section, and remove redundant
41471         high address load.
41472         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
41473         constant for 0x1p52.  Load little-endian words of double from
41474         correct stack offsets.
41476 2013-10-04  Alan Modra  <amodra@gmail.com>
41478         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
41479         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
41480         words of double from correct stack offsets.
41481         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
41482         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
41483         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
41484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
41485         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
41486         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
41487         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
41488         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
41489         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
41490         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
41491         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
41492         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
41493         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41494         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41495         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41496         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
41497         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
41499 2013-10-04  Alan Modra  <amodra@gmail.com>
41501         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
41502         64-bit int/double union.
41503         (_FPU_SETCW): Likewise.
41504         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
41505         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
41507 2013-10-04  Alan Modra  <amodra@gmail.com>
41509         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
41510         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
41512 2013-10-04  Alan Modra  <amodra@gmail.com>
41514         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
41515         use vector int constants.
41516         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
41518 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41520         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
41521         array with long long.
41522         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
41523         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
41524         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
41525         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
41526         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
41527         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
41528         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
41529         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
41530         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
41531         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
41532         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
41533         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
41534         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
41536 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
41538         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
41539         (__signbit): Likewise.  Correct for little-endian.
41540         (__signbitl): Call __signbit.
41541         (lrint): Correct for little-endian.
41542         (lrintf): Call lrint.
41544 2013-10-04  Alan Modra  <amodra@gmail.com>
41546         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
41547         union 32-bit int array member with 64-bit int array.
41548         (t515, tm256): Double rather than long double.
41549         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
41551 2013-10-04  Alan Modra  <amodra@gmail.com>
41553         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
41554         Delete.
41555         (IEEE854_LONG_DOUBLE_BIAS): Delete.
41556         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
41557         version of math_ldbl.h.
41559 2013-10-04  Alan Modra  <amodra@gmail.com>
41561         [BZ #15734], [BZ #15735]
41562         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
41563         all uses of ieee875 long double macros and unions.  Simplify test
41564         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
41565         ldbl_extract_mantissa value for ix,iy exponents.  Properly
41566         normalize after ldbl_extract_mantissa, and don't add hidden bit
41567         already handled.  Don't treat low word of ieee854 mantissa like
41568         low word of IBM long double and mask off bit when testing for
41569         zero.
41570         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
41571         all uses of ieee875 long double macros and unions.  Simplify tests
41572         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
41573         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
41574         two1022, instead use their values.  Recognise that tests for large
41575         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
41576         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
41577         Rewrite all uses of ieee875 long double macros and unions.  Simplify
41578         test for 0.0L and nan.  Correct negation.
41579         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
41580         ieee875 long double macros and unions.  Correct output for large
41581         magnitude x.  Correct absolute value calculation.
41582         (__erfcl): Likewise.
41583         * math/libm-test.inc: Add tests for errors discovered in IBM long
41584         double versions of fmodl, remainderl, erfl and erfcl.
41586 2013-10-04  Alan Modra  <amodra@gmail.com>
41588         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
41589         all uses of ieee854 long double macros and unions.  Simplify tests
41590         for long doubles that are fully specified by the high double.
41591         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
41592         Likewise.
41593         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
41594         Remove dead code too.
41595         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
41596         (__ieee754_ynl): Likewise.
41597         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
41598         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41599         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
41600         Remove dead code too.
41601         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
41602         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
41603         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
41604         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
41605         Simplify.
41606         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
41607         Simplify.
41608         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
41609         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
41610         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
41611         Comment on variable precision.
41612         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
41613         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41614         Likewise.
41615         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
41616         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
41617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
41618         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
41619         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
41621 2013-10-04  Alan Modra  <amodra@gmail.com>
41623         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
41624         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
41625         all uses of ieee854 long double macros and unions.
41626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
41627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41628         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
41629         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
41630         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
41631         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
41632         Likewise.
41633         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
41634         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41635         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
41636         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41637         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
41638         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
41639         Simplify sign and nan test too.
41640         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
41641         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
41642         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
41643         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
41644         Likewise.
41645         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
41646         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
41647         Likewise.
41648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41649         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
41650         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
41651         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
41652         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
41653         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
41655 2013-10-04  Alan Modra  <amodra@gmail.com>
41657         * stdio-common/printf_size.c (__printf_size): Don't use
41658         union ieee854_long_double in fpnum union.
41659         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
41660         signbit macro to retrieve sign from long double.
41661         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
41662         retrieve sign from long double.
41663         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
41664         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
41665         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
41666         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
41667         * math/test-misc.c (main): Don't use union ieee854_long_double.
41669 2013-10-04  Alan Modra  <amodra@gmail.com>
41671         [BZ #15680]
41672         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
41673         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
41674         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
41675         calculation.  Remove unnecessary test for denormal exponent.
41676         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
41677         Correct handling of denormals.  Avoid undefined shift behaviour.
41678         Correct normalisation of low mantissa when low double is denormal.
41679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
41680         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
41681         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
41682         Correct normalisation of low mantissa.  Test for overflow of high
41683         mantissa and normalise.
41684         (ldbl_nearbyint): Use more readable constant for two52.
41685         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
41686         (__mpn_construct_long_double): Fix test for overflow of high
41687         mantissa and correct normalisation.  Avoid undefined shift.
41689 2013-10-04  Alan Modra  <amodra@gmail.com>
41691         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
41692         (union ibm_extended_long_double): Define as an array of ieee754_double.
41693         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
41694         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
41695         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
41696         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41698         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
41700         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41705 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
41707         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
41708         page size instead of calling getpagesize.
41710         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
41711         (LOCFILE_ALIGN_MASK): Likewise.
41712         (LOCFILE_ALIGN_UP): Likewise.
41713         (LOCFILE_ALIGNED_P): Likewise.
41714         * locale/programs/ld-collate.c (collate_output): Use the new
41715         macros instead of __alignof__ (int32_t).
41716         * locale/weight.h (findidx): Likewise.
41718 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
41720         [BZ #431]
41721         * manual/string.texi: Fix strncat and wcsncat.
41723 2013-10-03  Brooks Moses  <bmoses@google.com>
41725         [BZ #15915]
41726         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
41727         * Makerules: ...here, and adjust associated comments.
41729 2013-10-02  Will Newton  <will.newton@linaro.org>
41731         * malloc/Makefile: Add tst-pvalloc.
41732         * malloc/tst-pvalloc.c: New file.
41734 2013-10-02  Will Newton  <will.newton@linaro.org>
41736         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
41737         improve test coverage.
41739 2013-10-02  Will Newton  <will.newton@linaro.org>
41741         * malloc/Makefile: Add tst-posix_memalign.
41742         * malloc/tst-posix_memalign.c: New file.
41744 2013-10-01  Eric Blake  <eblake@redhat.com>
41746         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
41747         Use __THROWNL rather than __THROW on static functions.
41749 2013-09-30  Petr Machata  <pmachata@redhat.com>
41751         * elf/elf.h (R_AARCH64_ABS16): New macro.
41752         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
41753         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
41754         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
41755         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
41756         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
41757         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
41758         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
41759         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
41760         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
41761         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
41762         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
41763         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
41764         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
41765         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
41766         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
41767         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
41768         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
41769         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
41770         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
41771         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
41772         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
41773         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
41774         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
41775         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
41776         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
41777         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
41778         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
41779         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
41780         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
41781         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
41782         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
41783         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
41784         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
41785         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
41786         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
41787         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
41788         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
41789         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
41790         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
41791         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
41792         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
41793         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
41794         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
41795         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
41796         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
41797         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
41798         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
41799         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
41800         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
41801         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
41802         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
41803         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
41804         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
41805         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
41806         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
41807         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
41808         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
41809         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
41810         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
41811         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
41812         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
41813         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
41814         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
41815         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
41816         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
41817         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
41818         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
41819         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
41820         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
41821         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
41822         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
41823         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
41824         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
41825         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
41826         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
41827         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
41828         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
41829         (R_AARCH64_TLSDESC_LDR): Likewise.
41830         (R_AARCH64_TLSDESC_ADD): Likewise.
41831         (R_AARCH64_TLSDESC_CALL): Likewise.
41833 2013-09-30  Andreas Schwab  <schwab@suse.de>
41835         [BZ #15048]
41836         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
41837         the nss database lookup.
41838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41839         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41841 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
41843         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
41845 2013-09-28  P. J. McDermott  <pj@pehjota.net>
41847         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
41848         ${Bash-specific parameter/pattern/string} parameter expansion.
41849         * sysdeps/unix/make-syscalls.sh: Likewise.
41851 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41853         * sysdeps/sh/stackguard-macros.h: New file.
41855 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
41857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41858         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
41859         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
41860         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
41861         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41862         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
41864 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41866         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
41867         Fix thread ID register.
41869 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
41871         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
41872         [POSIX || UNIX98]: Require rather than permitting all symbols from
41873         <time.h>.
41874         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
41875         element of struct sched_param.
41876         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
41877         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
41878         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
41879         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
41880         constant.
41882 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
41884         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
41885         argument calculation.
41887 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41889         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
41890         Expect macro.
41891         [POSIX] (pthread_attr_t): Do not require type.
41892         [POSIX] (pthread_cond_t): Likewise.
41893         [POSIX] (pthread_condattr_t): Likewise.
41894         [POSIX] (pthread_key_t): Likewise.
41895         [POSIX] (pthread_mutex_t): Likewise.
41896         [POSIX] (pthread_mutexattr_t): Likewise.
41897         [POSIX] (pthread_once_t): Likewise.
41898         [POSIX] (pthread_t): Likewise.
41899         [POSIX-based standards] (pthread_atfork): Expect function.
41901 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
41902             Richard Sandiford  <richard@codesourcery.com>
41904         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
41905         (swap_endianness_p): New extern variable.
41906         (set_big_endian): New inline function.
41907         (maybe_swap_uint32): Likewise.
41908         (maybe_swap_uint32_array): Likewise.
41909         (maybe_swap_uint32_obstack): Likewise.
41910         * locale/programs/locfile.c: Include <stdbool.h>.
41911         (swap_endianness_p): New variable.
41912         (add_locale_uint32): Call maybe_swap_uint32.
41913         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
41914         (write_locale_data): Call maybe_swap_uint32_array.
41915         * locale/programs/ld-collate.c (obstack_int32_grow): Call
41916         maybe_swap_uint32.
41917         (obstack_int32_grow_fast): Likewise.
41918         (output_weightwc): Call maybe_swap_uint32_obstack.
41919         (collate_output): Likewise.
41920         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
41921         (OPT_LITTLE_ENDIAN): Likewise.
41922         (options): Add --little-endian and --big-endian options.
41923         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
41924         * locale/programs/locarchive.c: Include "locfile.h".
41925         (GET): New macro.
41926         (SET): Likewise.
41927         (INC): Likewise.
41928         (create_archive): Use the new macros to access fields of
41929         structures directly mapped from or written to locale archives.
41930         (oldlocrecentcmp): Likewise.
41931         (enlarge_archive): Likewise.
41932         (insert_name): Likewise.
41933         (add_alias): Likewise.
41934         (add_locale): Likewise.
41935         (delete_locales_from_archive): Likewise.
41936         (show_archive_content): Likewise.
41937         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
41938         locale data.
41940 2013-09-24  Roland McGrath  <roland@hack.frob.com>
41942         * manual/freemanuals.texi: Updated from (newly) canonical copy at
41943         http://www.gnu.org/doc/freemanuals.texi.
41944         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
41946 2013-09-24  Will Newton  <will.newton@linaro.org>
41948         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
41949         macro.
41951 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
41953         * locale/hashval.h (compute_hashval): Interpret bytes of key as
41954         unsigned char.
41956 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
41958         * manual/threads.texi (POSIX Threads): Fix a typo.
41960 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
41962         [BZ #14547]
41963         * string/tst-strcoll-overflow.c: New test case.
41964         * string/Makefile (xtests): Add tst-strcoll-overflow.
41965         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
41966         cache if string sizes may cause integer overflow.
41968         [BZ #14547]
41969         * string/strcoll_l.c (coll_seq): New members rule, idx,
41970         save_idx and back_us.
41971         (get_next_seq_nocache): New function.
41972         (do_compare_nocache): New function.
41973         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
41974         when malloc fails.
41976 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
41978         [BZ #15754]
41979         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
41980         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
41981         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
41983         [BZ #15754]
41984         * elf/Makefile (tests): Add tst-ptrguard1.
41985         (tests-static): Add tst-ptrguard1-static.
41986         (tst-ptrguard1-ARGS): Define.
41987         (tst-ptrguard1-static-ARGS): Define.
41988         * elf/tst-ptrguard1.c: New file.
41989         * elf/tst-ptrguard1-static.c: New file.
41990         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
41991         * sysdeps/i386/stackguard-macros.h: Likewise.
41992         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41993         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41994         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41995         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41996         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41997         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41999 2013-09-23  Hector Marco  <hecmargi@upv.es>
42000             Ismael Ripoll  <iripoll@disca.upv.es>
42001             Carlos O'Donell  <carlos@redhat.com>
42003         [BZ #15754]
42004         * sysdeps/generic/stackguard-macros.h: Define
42005         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42006         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42007         Define __pointer_chk_guard_local.
42008         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42009         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42011 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42013         [BZ #15859]
42014         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42016 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42018         * include/string.h (__ffs): Declare as hidden.
42019         * string/ffs.c (__ffs): Define as hidden.
42020         * sysdeps/i386/ffs.c (__ffs): Likewise.
42021         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42022         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42023         * sysdeps/s390/ffs.c (__ffs): Likewise.
42024         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42026 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42028         * NEWS: Mention malloc probes.
42030         * malloc/arena.c (new_heap): New memory_heap_new probe.
42031         (grow_heap): New memory_heap_more probe.
42032         (shrink_heap): New memory_heap_less probe.
42033         (heap_trim): New memory_heap_free probe.
42034         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42035         (systrim): New memory_sbrk_less probe.
42036         * manual/probes.texi: Document them.
42038         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42039         * manual/probes.texi: Document it.
42041         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42042         (__libc_realloc): Add memory_realloc_retry probe.
42043         (__libc_memalign): Add memory_memalign_retry probe.
42044         (__libc_valloc): Add memory_valloc_retry probe.
42045         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42046         (__libc_calloc): Add memory_calloc_retry probe.
42047         * manual/probes.texi: Document them.
42049         * malloc/arena.c (get_free_list): Add probe
42050         memory_arena_reuse_free_list.
42051         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42052         and memory_arena_reuse.
42053         (arena_get2) [!PER_THREAD]: Likewise.
42054         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42055         memory_arena_reuse_realloc.
42056         * manual/probes.texi: Document them.
42058         * malloc/malloc.c (__libc_free): Add
42059         memory_mallopt_free_dyn_thresholds probe.
42060         (__libc_mallopt): Add multiple memory_mallopt probes.
42061         * manual/probes.texi: Document them.
42063         * malloc/malloc.c: Include stap-probe.h.
42064         (__libc_mallopt): Add memory_mallopt probe.
42065         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42066         * manual/probes.texi: New.
42067         * manual/Makefile (chapters): Add probes.
42068         * manual/threads.texi: Set next node.
42070 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42072         [BZ #15963, #13985]
42073         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42074         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42075         Add `Chinese' to `nan' entry name.
42077 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42079         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42080         (POLYNOMIAL): Likewise.
42081         (TAYLOR_SINCOS): Likewise.
42082         (TAYLOR_SLOW): Likewise.
42083         (__sin): Use TAYLOR_SINCOS.
42084         (__cos): Likewise.
42085         (slow): Use TAYLOR_SLOW.
42086         (sloww): Likewise.
42087         (bsloww): Likewise.
42088         (csloww): Likewise.
42090 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42092         * stdlib/strtod_l.c: Fix buffer overrun.
42094 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42096         * benchtests/Makefile (bench): Add sincos.
42097         * benchtests/bench-sincos.c: New file.
42099         * math/libm-test.inc (cos_test_data): New test inputs.
42100         (sin_test_data): Likewise.
42102         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42103         macro.
42104         (__sin): Use it.
42105         (__cos): Likewise.
42106         (slow1): Likewise.
42107         (slow2): Likewise.
42108         (sloww1): Likewise.
42109         (sloww2): Likewise.
42110         (bsloww1): Likewise.
42111         (bsloww2): Likewise.
42112         (cslow2): Likewise.
42113         (csloww1): Likewise.
42114         (csloww2): Likewise.
42116         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42117         function.
42118         (__sin): Use it.
42119         (__cos): Likewise.
42121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42122         gotos.
42123         (__cos): Likewise.
42125 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42127         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42128         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42129         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42130         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42131         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42132         * elf/cache.c (print_entry): Handle the new cache flags.
42134 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42135             Aldy Hernandez  <aldyh@redhat.com>
42137         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42138         Change condition to [_SOFT_FLOAT].
42139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42151         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42154         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42155         declaration.
42157 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42159         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42160         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42161         (__longjmp): Use LOAD_GP to load saved GPRs.
42162         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42163         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42164         (__sigsetjmp): Use SAVE_GP to save GPRs.
42166         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42167         Do not append -msoft-float.
42168         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42170 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42172         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42174 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42176         [BZ #15966]
42177         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42178         (_FPU_GETCW): Use initial "__" on variable and field names but not
42179         on macro parameter name.
42180         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42181         parentheses around reference to macro parameter.
42183 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42185         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42186         prototype.
42187         (ctype_startup): Use uint32_t in cast and sizeof for
42188         ctype->charnames.
42190 2013-09-11  Jia Liu  <proljc@gmail.com>
42192         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42193         __daddr_t_defined.
42194         [__FreeBSD__]: Likewise.
42196 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42198         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42199         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42200         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42201         (strchr): Remove __strchr_sse42 ifunc selection.
42202         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42203         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42205 2013-09-11  Will Newton  <will.newton@linaro.org>
42207         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42208         parameter to RES. Remove hardcoded 1000 value.
42209         * benchtests/bench-skeleton.c (main): Pass RES parameter
42210         to TIMING_INIT and multiply result by 1000.
42212 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42216 2013-09-11  Andreas Schwab  <schwab@suse.de>
42218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42219         if not defined.
42220         (O_TMPFILE) [__USE_GNU]: Define.
42221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42222         Define.
42224 2013-09-11  Will Newton  <will.newton@linaro.org>
42226         [BZ #15857]
42227         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42228         does not overflow.
42230 2013-09-11  Will Newton  <will.newton@linaro.org>
42232         [BZ #15856]
42233         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42234         does not overflow.
42236 2013-09-11  Will Newton  <will.newton@linaro.org>
42238         [BZ #15855]
42239         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42240         does not overflow.
42242 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42244         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42245         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42250 2013-09-10  Allan McRae  <allan@archlinux.org>
42252         [BZ #15748]
42253         * manual/arith.texi (Parsing of Floats): Clarify
42254         cross-reference.
42256         [BZ #15849]
42257         * manual/install.texi (Running make install): Mention
42258         --enable-pt-chown.
42259         * INSTALL: Regenerated.
42261 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42263         * csu/init-first.c (_init): Remove the !SHARED condition around
42264         FPU control word initialization.
42265         * elf/dl-support.c (_dl_fpu_control): New variable.
42266         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42267         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42268         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42269         * math/test-fpucw-static.c: New file.
42270         * math/test-fpucw-ieee.c: New file.
42271         * math/test-fpucw-ieee-static.c: New file.
42272         * math/Makefile (tests): Add `test-fpucw-ieee' and
42273         `$(tests-static)'.
42274         (tests-static): New variable.
42275         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42276         dependency to...
42277         [($(build-shared),yes)]
42278         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42279         ... this.
42280         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42281         New dependency.
42283 2013-09-09  Allan McRae  <allan@archlinux.org>
42285         [BZ #15939]
42286         * manual/string.texi (Collation Functions): Fix typo in
42287         strcoll example.
42288         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42290         [BZ #15893]
42291         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42293         [BZ #15892]
42294         * libio/memstream.c (open_memstream): Fix memory leak.
42295         * libio/wmemstream.c (open_wmemstream): Likewise.
42297         [BZ #15895]
42298         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42300 2013-09-09  Will Newton  <will.newton@linaro.org>
42302         * malloc/Makefile: Add tst-realloc to tests.
42303         * malloc/tst-realloc.c: New file.
42305 2013-09-09  Allan McRae  <allan@archlinux.org>
42307         [BZ #15844]
42308         * COPYING: Update from GNU website to fix FSF address.
42309         * COPYING.LIB: Likewise.
42311 2013-09-06  David S. Miller  <davem@davemloft.net>
42313         * po/zh_TW.po: Update Chinese (traditional) translation from
42314         translation project.
42316 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42317             Joseph Myers  <joseph@codesourcery.com>
42319         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42320         "localeinfo.h".
42321         (obstack_chunk_alloc): New macro.
42322         (obstack_chunk_free): Likewise.
42323         (record_offset): New function.
42324         (init_locale_data): Likewise.
42325         (align_locale_data): Likewise.
42326         (add_locale_empty): Likewise.
42327         (add_locale_raw_data): Likewise.
42328         (add_locale_raw_obstack): Likewise.
42329         (add_locale_string): Likewise.
42330         (add_locale_wstring): Likewise.
42331         (add_locale_uint32): Likewise.
42332         (add_locale_uint32_array): Likewise.
42333         (add_locale_char): Likewise.
42334         (start_locale_structure): Likewise.
42335         (end_locale_structure): Likewise.
42336         (start_locale_prelude): Likewise.
42337         (end_locale_prelude): Likewise.
42338         (write_locale_data): Take locale_file structure rather than an
42339         iovec.
42340         * locale/programs/locfile.h: Include "obstack.h".
42341         (struct locale_file): Change to store locale file contents instead
42342         of header.
42343         (init_locale_data): New prototype.
42344         (align_locale_data): Likewise.
42345         (add_locale_empty): Likewise.
42346         (add_locale_raw_data): Likewise.
42347         (add_locale_raw_obstack): Likewise.
42348         (add_locale_string): Likewise.
42349         (add_locale_wstring): Likewise.
42350         (add_locale_uint32): Likewise.
42351         (add_locale_uint32_array): Likewise.
42352         (add_locale_char): Likewise.
42353         (start_locale_structure): Likewise.
42354         (end_locale_structure): Likewise.
42355         (start_locale_prelude): Likewise.
42356         (end_locale_prelude): Likewise.
42357         (write_locale_data): Update prototype.
42358         * locale/programs/3level.h (struct TABLE): Remove result field.
42359         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42360         Use new locale_file interface.
42361         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42362         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42363         * locale/programs/ld-address.c (address_output): Use new
42364         locale_file interface.
42365         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42366         NO_ADD_LOCALE.
42367         (collate_finish): Don't call collseq_table_finalize.
42368         (collate_output): Use new locale_file interface.
42369         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42370         in file.
42371         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42372         (TABLE): Move defines earlier in file.
42373         (ELEMENT): Likewise.
42374         (DEFAULT): Likewise.
42375         (wctrans_table_add): Move macro and inline function earlier in
42376         file.
42377         (struct wctype_table): Move type earlier in file.
42378         (add_locale_wctype_table): New static prototype.
42379         (struct locale_ctype_t): Use logical types instead of struct iovec
42380         pointers for members.
42381         (ctype_output): Use new locale_file interface.
42382         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42383         new locale_file interface.
42384         (allocate_arrays): Update for use of new locale_file interface.
42385         * locale/programs/ld-identification.c (identification_output): Use
42386         new locale_file interface.
42387         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42388         * locale/programs/ld-messages.c (messages_output): Likewise.
42389         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42390         * locale/programs/ld-name.c (name_output): Likewise.
42391         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42392         * locale/programs/ld-paper.c (paper_output): Likewise.
42393         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42394         * locale/programs/ld-time.c (time_output): Likewise.
42396 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42398         * benchtests/Makefile: Add memrchr benchmark.
42399         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42400         benchmark as memrchr.
42401         * benchtests/bench-memrchr-ifunc.c: New file.
42402         * benchtests/bench-memrchr.c: New file.
42404 2013-09-06   Will Newton  <will.newton@linaro.org>
42406         * benchtests/Makefile (string-bench): Add memcpy.
42408 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
42409             Cong Wang  <amwang@redhat.com>
42411         [BZ #15850]
42412         * sysdeps/unix/sysv/linux/bits/in.h
42413         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
42414         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
42415         before __USE_KERNEL_IPV6_DEFS uses.
42416         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
42417         IPPROTO_BEETPH.
42418         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
42419         sockaddr_in6, or ipv6_mreq.
42421 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42423         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
42424         memory access for final bytes in some large inputs.
42425         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
42427 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42429         * string/test-memrchr.c: New file.
42430         * string/test-memrchr-ifunc.c: New file.
42431         * string/Makefile: Add new memrchr testcase.
42433 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
42435         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
42436         fanotify_init returns EPERM.
42438 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42440         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
42441         errors.
42442         (top level): Treat second token from macro or constant entries for
42443         allowed headers as allowed.
42444         * include/complex.h: Condition internal declarations on
42445         [!_ISOMAC].
42446         * include/fenv.h: Condition include of <stdbool.h> and internal
42447         declarations on [!_ISOMAC].
42449 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
42451         [BZ #15923]
42452         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
42454 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
42456         * configure.in (--enable-versioning): Remove configure option.
42457         (libc_cv_asm_symver_directive): Remove configure test.
42458         (libc_cv_ld_version_script_option): Likewise.
42459         (VERSIONING): Remove variable and AC_SUBST.
42460         (DO_VERSIONING): Remove AC_DEFINE.
42461         * configure: Regenerated.
42462         * config.h.in (DO_VERSIONING): Remove macro.
42463         * Makerules [$(versioning) = yes]: Change conditionals to
42464         [$(build-shared) = yes].
42465         * config.make.in (versioning): Remove variable.
42466         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
42467         [$(build-shared) = yes].
42468         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
42469         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
42470         * elf/Makefile [$(versioning) = yes]: Change conditionals to
42471         [$(build-shared) = yes].
42472         * extra-lib.mk [$(versioning) = yes]: Likewise.
42473         * hurd/Makefile [$(versioning) = yes]: Likewise.
42474         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
42475         [SHARED].
42476         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
42477         [SHARED].
42478         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42479         [SHARED && !NO_HIDDEN].
42480         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
42481         [SHARED].
42482         [SHARED && DO_VERSIONING]: Likewise..
42483         * libio/Makefile [$(versioning) = yes]: Change conditionals to
42484         [$(build-shared) = yes].
42485         * manual/install.texi (--disable-versioning): Remove
42486         documentation.
42487         * INSTALL: Regenerated.
42488         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
42489         to [SHARED].
42490         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
42491         [$(build-shared) = yes].
42492         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
42493         * sysdeps/i386/i686/multiarch/strstr-c.c
42494         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
42495         [SHARED && !NO_HIDDEN].
42496         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
42497         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
42498         * sysdeps/powerpc/powerpc32/dl-machine.c
42499         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
42500         * sysdeps/powerpc/powerpc32/sysdep.h
42501         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
42502         to [SHARED && PIC && !NO_HIDDEN].
42503         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
42504         conditional to [SHARED].
42506 2013-09-04   Will Newton  <will.newton@linaro.org>
42508         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
42509         * benchtests/bench-string.h: Include bench-timing.h instead
42510         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
42511         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
42512         call to HP_TIMING_DIFF_INIT.
42513         * benchtests/bench-memccpy.c: Use bench-timing.h macros
42514         instead of hp-timing.h macros.
42515         * benchtests/bench-memchr.c: Likewise.
42516         * benchtests/bench-memcmp.c: Likewise.
42517         * benchtests/bench-memcpy.c: Likewise.
42518         * benchtests/bench-memmem.c: Likewise.
42519         * benchtests/bench-memmove.c: Likewise.
42520         * benchtests/bench-memset.c: Likewise.
42521         * benchtests/bench-rawmemchr.c: Likewise.
42522         * benchtests/bench-strcasecmp.c: Likewise.
42523         * benchtests/bench-strcasestr.c: Likewise.
42524         * benchtests/bench-strcat.c: Likewise.
42525         * benchtests/bench-strchr.c: Likewise.
42526         * benchtests/bench-strcmp.c: Likewise.
42527         * benchtests/bench-strcpy.c: Likewise.
42528         * benchtests/bench-strcpy_chk.c: Likewise.
42529         * benchtests/bench-strlen.c: Likewise.
42530         * benchtests/bench-strncasecmp.c: Likewise.
42531         * benchtests/bench-strncat.c: Likewise.
42532         * benchtests/bench-strncmp.c: Likewise.
42533         * benchtests/bench-strncpy.c: Likewise.
42534         * benchtests/bench-strnlen.c: Likewise.
42535         * benchtests/bench-strpbrk.c: Likewise.
42536         * benchtests/bench-strrchr.c: Likewise.
42537         * benchtests/bench-strspn.c: Likewise.
42538         * benchtests/bench-strstr.c: Likewise.
42540 2013-09-04  Will Newton  <will.newton@linaro.org>
42542         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
42544 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
42546         [BZ #15427]
42547         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
42548         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
42549         * math/libm-test.inc (lgamma_test_data): Add more tests.
42550         * sysdeps/i386/fpu/libm-test-ulps: Update.
42551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42553 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
42555         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
42556         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42557         Add ifunc.
42558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
42559         Add strcmp-sse2-unaligned
42560         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
42562 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42564         * Versions.def (libc): Add GLIBC_2.19.
42566 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
42568         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
42569         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
42571 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
42573         [BZ #14155]
42574         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
42575         intermediate calculations in recurrence.
42576         (__ieee754_ynf): Likewise.
42577         * math/libm-test.inc (jn_test_data): Do not allow spurious
42578         underflow exception.  Add more tests.
42579         (yn_test_data): Add more tests.
42580         * sysdeps/i386/fpu/libm-test-ulps: Update.
42581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42583 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
42585         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
42587 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42589         * csu/init-first.c: Fix then/than typos.
42590         * locale/programs/ld-collate.c: Likewise.
42591         * locale/programs/linereader.h: Likewise.
42592         * manual/charset.texi: Likewise.
42593         * manual/filesys.texi: Likewise.
42594         * manual/stdio.texi: Likewise.
42595         * manual/string.texi: Likewise.
42596         * stdlib/fmtmsg.c: Likewise.
42597         * sysdeps/i386/stpncpy.S: Likewise.
42598         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42599         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42600         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42601         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
42603 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
42605         * elf/dl-open.c: Fix typos.
42606         * iconvdata/gbbig5.c: Likewise.
42607         * iconvdata/iso-2022-jp.c: Likewise.
42608         * iconv/gconv_int.h: Likewise.
42609         * iconv/loop.c: Likewise.
42610         * nis/rpcsvc/nis.h: Likewise.
42611         * resolv/ns_name.c: Likewise.
42612         * stdio-common/vfscanf.c: Likewise.
42613         * streams/stropts.h: Likewise.
42614         * sunrpc/rpc_thread.c: Likewise.
42615         * sysdeps/i386/strpbrk.S: Likewise.
42616         * sysdeps/ieee754/k_standard.c: Likewise.
42617         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42618         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42619         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
42620         * sysdeps/mach/hurd/profil.c: Likewise.
42621         * sysdeps/s390/dl-procinfo.h: Likewise.
42622         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
42623         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42624         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
42625         * sysdeps/x86_64/dl-trampoline.S: Likewise.
42626         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
42628 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
42630         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
42631         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
42633 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
42635         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
42636         aix specific files.
42637         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
42638         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
42639         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
42640         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
42641         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
42642         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
42643         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
42644         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
42646 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42647             Roland McGrath  <roland@hack.frob.com>
42649         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
42650         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
42652 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42654         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
42655         __executable_start symbol instead of _start.
42657 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
42659         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
42660         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
42661         Move macros to...
42662         * sysdeps/gnu/ldsodefs.h: ... this new file.
42664         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
42665         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
42666         instead of ELFOSABI_LINUX.
42668         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
42669         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
42670         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
42671         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
42672         Likewise.
42673         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
42674         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
42675         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
42676         Likewise.
42677         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42678         (ibm_extended_long_double): Add ieee_nan member.
42679         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
42680         (do_test): New function.
42682         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
42683         TEST_TRUNC.
42684         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
42685         functions, renamed from truncdfsf_test, trunctfsf_test,
42686         trunctfdf_test.
42687         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
42688         functions.
42689         (do_test): Run all these.
42691 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
42693         * argp/argp-help.c: Fix typos.
42694         * argp/argp-parse.c: Likewise.
42695         * debug/backtracesyms.c: Likewise.
42696         * elf/elf.h: Likewise.
42697         * malloc/malloc.c: Likewise.
42698         * nis/nis_print.c: Likewise.
42699         * resolv/res_comp.c: Likewise.
42700         * stdlib/stdlib.h: Likewise.
42701         * sunrpc/clnt_tcp.c: Likewise.
42702         * sunrpc/clnt_udp.c: Likewise.
42703         * sunrpc/clnt_unix.c: Likewise.
42704         * sysdeps/unix/bsd/ptsname.c: Likewise.
42705         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42706         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
42707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
42708         Likewise.
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
42710         Likewise.
42711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
42712         Likewise.
42713         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42715 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42717         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
42718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42720 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
42722         [BZ #15897]
42723         * dlfcn/Makefile (tests): Add bug-dl-leaf.
42724         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
42725         ($(objpfx)bug-dl-leaf): New rule.
42726         ($(objpfx)bug-dl-leaf.so): Likewise.
42727         ($(objpfx)bug-dl-leaf.out): Likewise.
42728         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
42729         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
42730         * dlfcn/bug-dl-leaf.c: New test.
42731         * dlfcn/bug-dl-leaf-lib.c: Likewise.
42732         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
42733         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
42734         (dlclose): Likewise.
42735         (dlmopen): Likewise.
42737 2013-08-27  Roland McGrath  <roland@hack.frob.com>
42739         * include/netdb.h [!_ISOMAC]:
42740         Don't include <tls.h>.
42741         (h_errno, __libc_h_errno): Move declaration and macros out of
42742         [_LIBC_REENTRANT].
42744         * include/resolv.h [_RESOLV_H_]:
42745         Don't include <tls.h>.
42746         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
42747         * resolv/res_libc.c: Don't include <tls.h>.
42748         (_res): Use __attribute__ ((nocommon)) in place of
42749         __attribute__ ((section (".bss"))).
42751         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
42752         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
42754         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
42756         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
42757         only under [SIOCGIFCONF && SIOCGIFNETMASK].
42759         * resolv/res_mkquery.c: Include <sys/time.h>.
42761         * inet/ifreq.c: Moved to ...
42762         * sysdeps/unix/ifreq.c: ... here.
42763         * inet/ifreq.c: New file, true stub version.
42765         * socket/sa_len.c: New file.
42766         * socket/Makefile (aux): Add it.
42767         * sysdeps/unix/sysv/linux/Makefile
42768         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
42769         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
42770         and #include <socket/sa_len.c>.
42771         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
42772         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
42774         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
42775         * bits/socket.h: ... here.
42777         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
42778         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
42779         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
42781 2013-08-27  Andreas Schwab  <schwab@suse.de>
42783         [BZ #15736]
42784         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
42785         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
42786         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
42787         * string/test-strcasecmp.c (test_main): Run tests in several
42788         locales.
42789         * string/test-strncasecmp.c (test_main): Likewise.
42791         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
42792         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
42793         to __strcasecmp_nonascii and __strncasecmp_nonascii.
42794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
42795         (__strncasecmp_ssse3) [PIC]: Likewise.
42797 2013-08-26  Roland McGrath  <roland@hack.frob.com>
42799         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
42801         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
42802         instead of explicitly declaring xdecrypt.
42803         * nis/nss_nis/nis-publickey.c: Likewise.
42805 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42807         [BZ #15890]
42808         * nscd/aicache.c: Include res_hconf.h.
42809         (addhstaiX): Initialize res_hconf.
42811 2013-08-26  Andreas Schwab  <schwab@suse.de>
42813         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
42814         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
42816 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42818         * nscd/aicache.c (addhstaiX): Fix indentation.
42820 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
42822         * configure.ac: Quote $build_pt_chown test.
42823         * configure: Regenerated.
42825 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
42827         [BZ #15532]
42828         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
42829         * math/s_cexpf.c (__cexpf): Likewise.
42830         * math/s_cexpl.c (__cexpl): Likewise.
42831         * math/libm-test.inc (cexp_test_data): Correct expected return
42832         value for NaN + i0.  Add another test.
42834 2013-08-22  David S. Miller  <davem@davemloft.net>
42836         * po/ca.po: Update Catalan translation from translation project.
42837         * po/uk.po: Add Ukrainian translations from translation project.
42839 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
42841         [BZ #15797]
42842         * math/s_fdim.c (__fdim): Check for infinite arguments if result
42843         is infinite, not alongside NaN test.
42844         * math/s_fdimf.c (__fdimf): Likewise.
42845         * math/s_fdiml.c (__fdiml): Likewise.
42846         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
42847         errno is unchanged.
42849 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
42851         * argp/argp-help.c: Fix typos.
42852         * crypt/speeds.c: Likewise.
42853         * csu/check_fds.c: Likewise.
42854         * elf/dl-load.c: Likewise.
42855         * elf/dl-open.c: Likewise.
42856         * elf/reldep3.c: Likewise.
42857         * elf/reldep.c: Likewise.
42858         * elf/sprof.c: Likewise.
42859         * iconv/iconv_charmap.c: Likewise.
42860         * iconv/skeleton.c: Likewise.
42861         * iconv/strtab.c: Likewise.
42862         * io/lockf64.c: Likewise.
42863         * libio/libioP.h: Likewise.
42864         * resolv/gai_notify.c: Likewise.
42865         * resolv/ns_name.c: Likewise.
42866         * resolv/ns_samedomain.c: Likewise.
42867         * resolv/res_send.c: Likewise.
42868         * stdlib/random.c: Likewise.
42869         * sunrpc/rpc/xdr.h: Likewise.
42870         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
42871         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42872         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42873         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42874         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42875         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42877         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42878         * sysdeps/mach/hurd/check_fds.c: Likewise.
42879         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
42880         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42881         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42882         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
42883         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42884         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
42885         * sysdeps/pthread/aio_notify.c: Likewise.
42886         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
42887         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
42888         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
42889         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42890         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
42892 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42894         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
42895         version if bit_Slow_SSE4_2 is set.
42896         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42897         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42899 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42901         [BZ #15867]
42902         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
42903         trampoline stack frame information.
42904         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
42905         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
42906         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
42907         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
42908         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
42909         * sysdeps/unix/sysv/linux/powerpc/init-first.c
42910         (_libc_vdso_platform_setup): Initialize the signal trampolines.
42911         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
42912         sa_flags value.
42913         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
42914         interrupting a syscall and set with option SA_SIGINFO.
42916 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42918         [BZ #15531]
42919         * math/s_cproj.c (__cproj): Only return an infinity if one part of
42920         argument is infinite.
42921         * math/s_cprojf.c (__cprojf): Likewise.
42922         * math/s_cprojl.c (__cprojl): Likewise.
42923         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
42924         * math/libm-test.inc (cproj_test_data): Add more tests.
42926         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
42928         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
42929         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
42930         size.  Use __ffs to determine corresponding shift.
42932 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
42933             Roland McGrath  <roland@hack.frob.com>
42935         * Makefile (INSTALL): Remove trailing blank lines from output of
42936         makeinfo.
42938 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42940         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
42941         Align 32 bit compat elf_greg to 8 bytes.
42943 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
42945         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
42947 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
42949         * string/strcoll_l.c (coll_seq): New structure.
42950         (get_next_seq_cached): New function.
42951         (get_next_seq): New function.
42952         (do_compare): New function.
42953         (STRCOLL): Use GNU style definition.  Simplify implementation
42954         by using get_next_seq, get_next_seq_cached and do_compare.
42956 2013-08-16  Florian Weimer  <fweimer@redhat.com>
42958         [BZ #14699]
42959         CVE-2013-4237
42960         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
42961         member.
42962         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
42963         member.
42964         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
42965         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
42966         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
42967         conditional.
42968         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
42969         GETDENTS_64BIT_ALIGNED.
42970         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42971         * manual/filesys.texi (Reading/Closing Directory): Document
42972         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
42973         strongly.
42974         * manual/conf.texi (Limits for Files): Add portability note to
42975         NAME_MAX, PATH_MAX.
42976         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
42978 2013-08-13  Andreas Schwab  <schwab@suse.de>
42980         [BZ #15749]
42981         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
42982         of fabs.
42983         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42984         LDBL_MAX_EXP >= 16384]: Add tests for it.
42986 2013-08-12  David S. Miller  <davem@davemloft.net>
42988         * version.h (RELEASE): Set to "development".
42989         (VERSION): Set to "2.18.90".
42990         * NEWS: Add 2.19 section.
42992 2013-08-03  David S. Miller  <davem@davemloft.net>
42994         * po/ko.po: Update Korean translation from translation project.
42996 2013-08-01  David S. Miller  <davem@davemloft.net>
42998         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
42999         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43000         Bilka.
43002 2013-07-30  David S. Miller  <davem@davemloft.net>
43004         * po/fr.po: Update French translation from translation project.
43006 2013-07-28  David S. Miller  <davem@davemloft.net>
43008         * po/cs.po: Update Czech translation from translation project.
43010         * po/sv.po: Update Swedish translation from translation project.
43012 2013-07-27  David S. Miller  <davem@davemloft.net>
43014         * po/eo.po: Update Esperanto translation from translation project.
43016         * po/vi.po: Update Vietnamese translation from translation project.
43018         * po/de.po: Update German translation from translation project.
43020 2013-07-26  David S. Miller  <davem@davemloft.net>
43022         * po/bg.po: Update Bulgarian translation from translation project.
43024         * po/nl.po: Update Dutch translation from translation project.
43025         * po/pl.po: Update Polish translation from translation project.
43026         * po/ru.po: Update Russian translation from translation project.
43028 2013-07-24  David S. Miller  <davem@davemloft.net>
43030         * po/libc.pot: Update.
43032 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43034         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43035         variable page size.
43036         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43037         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43038         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43040 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43042         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43044 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43045             Andreas Schwab  <schwab@suse.de>
43046             Roland McGrath  <roland@hack.frob.com>
43047             Joseph Myers  <joseph@codesourcery.com>
43048             Carlos O'Donell  <carlos@redhat.com>
43050         [BZ #15755]
43051         * config.h.in: Define HAVE_PT_CHOWN.
43052         * config.make.in (build-pt-chown): New variable.
43053         * configure.in (--enable-pt_chown): New configure option.
43054         * configure: Regenerate.
43055         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43056         build-pt-chown is enabled.
43057         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43058         pt_chown to fix pty ownership.
43059         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43060         CLOSE_ALL_FDS.
43061         * manual/install.texi (Configuring and compiling): Mention
43062         --enable-pt_chown. Add @findex for grantpt.
43063         * INSTALL: Regenerate.
43065 2013-07-20  David S. Miller  <davem@davemloft.net>
43067         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43068         difference between 32-bit and 64-bit.
43070 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43072         [BZ #15711]
43073         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43074         Avoid system header dependency with -ffreestanding.
43075         ($(objpfx)bits/syscall%d): Likewise.
43077 2013-07-13  David S. Miller  <davem@davemloft.net>
43079         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43080         underflows from atanl/atan2l due to bug 15319.
43081         (casinh_test_data): Likewise.
43083 2013-07-07  David S. Miller  <davem@davemloft.net>
43085         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43087 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43089         * sysdeps/i386/fpu/libm-test-ulps: Update.
43090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43092 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43094         * configure.in (--enable-lock-elision): Fix message text.
43095         * INSTALL: Regenerate.
43096         * configure: Regenerate.
43098 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43102 2013-07-03  Andreas Jaeger  <aj@suse.de>
43104         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43105         define.
43106         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43107         (ptrace_peeksiginfo_args): Add.
43108         (__ptrace_peeksiginfo_flags): Add.
43109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43110         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43111         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43113 2013-07-03  Allan McRae  <allan@archlinux.org>
43115         * sysdeps/i386/fpu/libm-test-ulps: Update.
43117 2013-07-02  David S. Miller  <davem@davemloft.net>
43119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43121 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43123         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43125 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43127         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43130 2013-07-02  Andi Kleen <ak@linux.intel.com>
43132         * config.h.in (ENABLE_LOCK_ELISION): Add.
43133         * configure.in (--enable-lock-elision): Add option.
43134         * manual/install.texi: Document --enable lock elision.
43135         * configure: Regenerate
43136         * INSTALL: Regenerate.
43138 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43140         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43141         SSE4.2 strcasecmp for libc.a.
43142         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43144 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43146         [BZ #13304]
43147         * soft-fp/op-common.h (_FP_FMA): New macro.
43148         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43149         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43150         (_FP_MUL_MEAT_1_imm): ... here.
43151         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43152         (_FP_MUL_MEAT_1_wide): ... here.
43153         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43154         (_FP_MUL_MEAT_1_hard): ... here.
43155         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43156         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43157         (_FP_MUL_MEAT_2_wide): ... here.
43158         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43159         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43160         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43161         (_FP_MUL_MEAT_2_gmp): ... here.
43162         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43163         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43164         (_FP_MUL_MEAT_4_wide): ... here.
43165         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43166         (_FP_MUL_MEAT_4_gmp): ... here.
43167         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43168         (_FP_WFRACBITS_DW_S): Likewise.
43169         (_FP_WFRACXBITS_DW_S): Likewise.
43170         (_FP_HIGHBIT_DW_S): Likewise.
43171         (FP_FMA_S): Likewise.
43172         (_FP_FRAC_HIGH_DW_S): Likewise.
43173         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43174         (_FP_WFRACBITS_DW_D): Likewise.
43175         (_FP_WFRACXBITS_DW_D): Likewise.
43176         (_FP_HIGHBIT_DW_D): Likewise.
43177         (FP_FMA_D): Likewise.
43178         (_FP_FRAC_HIGH_DW_D): Likewise.
43179         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43180         (_FP_WFRACBITS_DW_E): Likewise.
43181         (_FP_WFRACXBITS_DW_E): Likewise.
43182         (_FP_HIGHBIT_DW_E): Likewise.
43183         (FP_FMA_E): Likewise.
43184         (_FP_FRAC_HIGH_DW_E): Likewise.
43185         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43186         (_FP_WFRACBITS_DW_Q): Likewise.
43187         (_FP_WFRACXBITS_DW_Q): Likewise.
43188         (_FP_HIGHBIT_DW_Q): Likewise.
43189         (FP_FMA_Q): Likewise.
43190         (_FP_FRAC_HIGH_DW_Q): Likewise.
43191         * soft-fp/fmasf4.c: New file.
43192         * soft-fp/fmadf4.c: Likewise.
43193         * soft-fp/fmatf4.c: Likewise.
43195 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43197         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43198         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43199         Silvermont.
43200         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43201         macro.
43202         (index_Slow_SSE4_2): Likewise.
43203         (index_Prefer_PMINUB_for_stringop): Likewise.
43204         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43205         bit_Slow_SSE4_2 is set.
43206         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43207         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43209 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43211         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43212         rtld_global._dl_hwcap2.
43213         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43214         POWER8.
43215         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43216         POWER8 feature descriptions defined in _dl_hwcap2.
43217         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43218         string handling for POWER8 feature bits.
43219         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43220         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43221         _dl_powerpc_cap_flags.
43222         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43223         * sysdeps/powerpc/rtld-global-offsets.sym
43224         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43225         _dl_hwcap2 in the rtld_global_ro structure.
43227 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43229         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43230         hardware capabilities in support of AT_HWCAP2.
43231         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43232         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43233         GLRO(dl_hwcap2).
43234         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43235         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43236         explicitly the unknown a_type display mechanism is used.
43237         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43238         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43239         struct member.
43240         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43241         to macro prototype for AT_HWCAP2 support.
43242         * sysdeps/i386/dl-procinfo.h: Likewise.
43243         * sysdeps/s390/dl-procinfo.h: Likewise.
43244         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43245         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43246         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43247         return -1 for unknown a_type display fallback.
43248         * sysdeps/sparc/dl-procinfo.h: Likewise.
43249         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43250         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43252 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43254         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43255         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43257 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43259         [BZ #12492]
43260         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43261         mprotect making __stack_prot writable.
43263 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43264             Joseph Myers  <joseph@codesourcery.com>
43266         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43267         as being properly aligned.
43269 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43271         * dlfcn/modstatic5.c: New file.
43272         * dlfcn/tststatic5.c: New file.
43273         * dlfcn/Makefile (tests): Add tststatic5.
43274         (tests-static): Likewise.
43275         (modules-names): Add modstatic5.
43276         (tststatic5-ENV): New variable.
43277         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43279         [BZ #15022]
43280         * elf/dl-support.c (_dl_main_map): New variable.
43281         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43282         (_dl_nns, _dl_load_adds): Set to 1.
43283         (_dl_initial_searchlist): Refer to _dl_main_map.
43284         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43285         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43286         call to _dl_get_origin.
43287         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43288         around call_map.
43289         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43290         * dlfcn/modstatic3.c: New file.
43291         * dlfcn/tststatic3.c: New file.
43292         * dlfcn/tststatic4.c: New file.
43293         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43294         (tests-static): Likewise.
43295         (modules-names): Add modstatic3.
43296         (tststatic3-ENV, tststatic4-ENV): New variables.
43297         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43298         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43300 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43302         * configure.in (CC): Require GCC version 4.4 or later.
43303         * configure: Regenerated.
43304         * manual/install.texi (Tools for Compilation): Update GCC version
43305         requirement.
43306         * INSTALL: Regenerated.
43308 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43310         [BZ #15674]
43311         * string/test-memcmp.c (check2): New.
43312         (main): Call check2.
43314         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43316 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43318         [BZ #15022]
43319         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43320         over to...
43321         (dl_open_worker) [!SHARED]: ... here.
43323 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43325         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43327 2013-06-25  Richard Henderson  <rth@redhat.com>
43329         * locale/programs/locarchive.c: Include <libc-internal.h>
43331 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43333         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43334         trailing whitespace removed.
43336 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43338         [BZ #10283]
43339         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43340         * locale/programs/locarchive.c: Include libc-mmap.h.
43341         (prepare_address_space): Take two new outputs (the mmap base and len).
43342         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43343         values.
43344         (create_archive): Declare new mmap base and len values for
43345         prepare_address_space, and store the result in ah.
43346         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43347         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43348         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43349         Declare new mmap base and len values for
43350         prepare_address_space, and store the result in new_ah.
43351         (open_archive): Declare new mmap base and len values for
43352         prepare_address_space, and store the result in ah.
43353         (close_archive): If ah->mmap_base is not NULL, use that and
43354         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43355         * sysdeps/generic/libc-mmap.h: New file.
43357 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43359         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43360         (ALIGN_UP): Likewise.
43361         (PTR_ALIGN_DOWN): Likewise.
43362         (PTR_ALIGN_UP): Likewise.
43364 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43366         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43367         entry mapped to PPC_PLATFORM_POWER8.
43368         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43369         POWER8.
43370         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43371         (_dl_string_platform): Add case for exporting platform position for
43372         POWER8.
43373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43374         search path to sysdeps/powerpc/powerpc32/power8 directory.
43375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43376         search path to sysdeps/powerpc/powerpc64/power8 directory.
43377         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43378         power7 directories.
43379         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43380         power7 directories.
43382 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43384         * INSTALL: Regenerate.
43386         * nscd/connections.c (nscd_init): Fix comment.
43388 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43390         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43392         [BZ #15667]
43393         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43394         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43396 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43398         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43399         DL_DST_REQ_STATIC.
43400         (DL_DST_REQ_STATIC): Remove macro.
43402 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43404         [BZ #7006]
43405         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
43406         with a shift of 0 bits.
43408 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43410         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
43411         $(tststatic-ENV).
43413 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43415         [BZ #15655]
43416         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
43418 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43420         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
43421         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
43422         accepts -fno-tree-loop-distribute-patterns.
43423         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
43424         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
43425         recursive call.
43426         * string/memset.c (memset): Likewise.
43427         * string/test-memmove.c (simple_memmove): Disable loop transformation
43428         to library calls.
43429         * string/test-memset.c (simple_memset): Likewise.
43430         * benchtests/bench-memmove.c (simple_memmove): Likewise.
43431         * benchtests/bench-memset.c (simple_memset): Likewise.
43432         * configure: Regenerated.
43434 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
43436         * math/test-misc.c (main): Ignore fesetround failure when failures
43437         of subsequent rounding tests would be ignored.
43439         [BZ #15654]
43440         * math/fedisblxcpt.c (fedisableexcept): Return 0.
43441         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
43442         * math/fegetenv.c (__fegetenv): Return 0.
43443         * math/fegetexcept.c (fegetexcept): Return 0.
43444         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
43445         FE_TONEAREST.
43446         * math/feholdexcpt.c (feholdexcept): Return 0.
43447         * math/fesetenv.c (__fesetenv): Return 0.
43448         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
43449         argument FE_TONEAREST.
43450         * math/feupdateenv.c (__feupdateenv): Return 0.
43451         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
43453 2013-06-18  Roland McGrath  <roland@hack.frob.com>
43455         * elf/rtld-Rules (rtld-compile-command.S): New variable.
43456         (rtld-compile-command.s, rtld-compile-command.c): New variables.
43457         ($(objpfx)rtld-%.os rules): Use them.
43459 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43461         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
43462         fields.
43464 2013-06-17  Roland McGrath  <roland@hack.frob.com>
43466         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
43467         length of target pattern, then descending length of dependency pattern.
43468         * configure.in (AWK): Require gawk 3.1.2 or newer.
43469         * manual/install.texi (Tools for Compilation): Say that we do.
43470         * configure: Regenerated.
43472         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
43473         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
43474         * scripts/sysd-rules.awk: ... this new script.
43475         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
43476         than a glob-style pattern.
43478 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
43480         * math/test-misc.c (main): Do not treat incorrectly rounded
43481         conversions as failure unless ROUNDING_TESTS passes.
43483 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
43485         [BZ #15631]
43486         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
43487         restore exception state around main square root computation, then
43488         check for inexactness explicitly.
43490         * math/libm-test.inc (fma_test_data): Add another test.
43492 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43494         * manual/threads.texi (Non-POSIX Extensions): New document
43495         node.  Document pthread_getattr_default_np and
43496         pthread_setattr_default_np.
43498         * Versions.def (libpthread): Add GLIBC_2.18.
43499         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
43500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43501         Likewise.
43502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43503         Likewise.
43504         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43505         Likewise.
43506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43507         Likewise.
43508         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
43509         Likewise.
43510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43511         Likewise.
43512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43513         Likewise.
43514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43515         Likewise.
43516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43517         Likewise.
43519 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43522         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
43524 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
43525             H.J. Lu  <hjl.tools@gmail.com>
43527         [BZ #15627]
43528         * sysdeps/x86_64/rtld-memset.c: Remove file.
43529         * sysdeps/x86_64/rtld-memset.S: New file.
43531 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
43533         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
43534         (test_in_one_mode): Take arguments for whether the rounding mode
43535         is supported for each floating-point type.
43536         (do_test): Pass new arguments to test_in_one_mode using
43537         ROUNDING_TESTS.
43539 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43541         * posix/tst-waitid.c (do_test): Distinguish different instances of
43542         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
43543         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
43544         before entering the kernel for waitpid.
43546 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43548         * NEWS: Fix note on clock function precision.  Text by Roland
43549         McGrath.
43551 2013-06-13  Roland McGrath  <roland@hack.frob.com>
43553         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
43554         it into place only when and if the sanity check passes.
43556 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
43558         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
43559         output for whether conversion result is exact.  Take argument
43560         indicating whether type is IBM long double.
43561         (round_for_all): Change need_exact field to ibm_ld.
43562         * stdlib/tst-strtod-round.c (struct exactness): New type.
43563         (struct test): Change bool ld_ok field to struct exactness exact.
43564         (TEST): Update all definitions for change to field.
43565         (tests): Regenerate array contents.
43566         (test_in_one_mode): Take pointer to new field instead of old ld_ok
43567         field value.  Check for IBM long double here.
43568         (do_test): Update calls to test_in_one_mode.
43570 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43572         [BZ #12515]
43573         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
43574         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
43576 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43578         [BZ #15605]
43579         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
43580         generated by the compiler on loop optimizations.
43581         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
43582         general definitions.
43584 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
43586         * math/bug-nextafter.c: Include <math-tests.h>.
43587         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43588         the relevant type.
43589         * math/bug-nexttoward.c: Include <math-tests.h>.
43590         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43591         the relevant type.
43592         * math/test-misc.c: Include <math-tests.h>.
43593         (main): Only test for exceptions if EXCEPTION_TESTS is true for
43594         the relevant type.
43596 2013-06-12  Andreas Jaeger  <aj@suse.de>
43598         * po/ia.po: Update Interlingua translation from translation
43599         project.
43601 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43603         * include/fenv.h: Include stdbool.h.
43604         (struct rm_ctx): New structure.
43605         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
43606         Define macro.
43607         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
43608         (SET_RESTORE_ROUNDF): Likewise.
43609         (SET_RESTORE_ROUNDL): Likewise.
43610         (SET_RESTORE_ROUND_NOEX): Likewise.
43611         (SET_RESTORE_ROUND_NOEXF): Likewise.
43612         (SET_RESTORE_ROUND_NOEXL): Likewise.
43613         (SET_RESTORE_ROUND_53BIT): Likewise.
43614         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
43615         (libc_feresetround_noexf_ctx): Likewise.
43616         (libc_feresetround_noexl_ctx): Likewise.
43617         (libc_feholdsetround_53bit_ctx): Likewise.
43618         (libc_feresetround_53bit_ctx): Likewise.
43619         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
43620         (libc_feholdexcept_setround_sse_ctx): New function.
43621         (libc_fesetenv_sse_ctx): Likewise.
43622         (libc_feupdateenv_sse_ctx): Likewise.
43623         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
43624         (libc_feholdexcept_setround_387_ctx): Likewise.
43625         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
43626         (libc_feholdsetround_387_prec_ctx): Likewise.
43627         (libc_feholdsetround_387_ctx): Likewise.
43628         (libc_feholdsetround_387_53bit_ctx): Likewise.
43629         (libc_feholdsetround_sse_ctx): Likewise.
43630         (libc_feresetround_sse_ctx): Likewise.
43631         (libc_feresetround_387_ctx): Likewise.
43632         (libc_feupdateenv_387_ctx): Likewise.
43633         (libc_feholdexcept_setroundf_ctx): Define macro.
43634         (libc_fesetenvf_ctx): Likewise.
43635         (libc_feupdateenvf_ctx): Likewise.
43636         (libc_feholdsetroundf_ctx): Likewise.
43637         (libc_feresetroundf_ctx): Likewise.
43638         (libc_feholdexcept_setround_ctx): Likewise.
43639         (libc_fesetenv_ctx): Likewise.
43640         (libc_feupdateenv_ctx): Likewise.
43641         (libc_feholdsetround_ctx): Likewise.
43642         (libc_feresetround_ctx): Likewise.
43643         (libc_feholdexcept_setroundl_ctx): Likewise.
43644         (libc_feupdateenvl_ctx): Likewise.
43645         (libc_feholdsetroundl_ctx): Likewise.
43646         (libc_feresetroundl_ctx): Likewise.
43647         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
43648         (libc_feresetround_53bit_ctx): Likewise.
43650 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43652         * locale/iso-639.def: Convert to UTF-8.
43654 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
43656         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
43657         (EXCEPTION_TESTS_double): Likewise.
43658         (EXCEPTION_TESTS_long_double): Likewise.
43659         (EXCEPTION_TESTS): Likewise.
43660         * math/libm-test.inc (test_exceptions): Only test exceptions if
43661         EXCEPTION_TESTS (FLOAT).
43663 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43665         * benchtests/Makefile (string-bench): Add strcpy_chk and
43666         stpcpy_chk.
43667         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
43668         * benchtests/bench-stpcpy_chk.c: New file.
43669         * benchtests/bench-strcpy_chk-ifunc.c: New file.
43670         * benchtests/bench-strcpy_chk.c: New file.
43671         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
43672         code.
43673         (do_test): Likewise.
43675 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43677         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
43678         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
43679         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
43680         with tabs where appropriate.
43681         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
43682         dl-procinfo.h.
43683         [PPC_PLATFORM_PPC440]: Likewise.
43684         [PPC_PLATFORM_PPC464]: Likewise.
43685         [PPC_PLATFORM_PPC476]: Likewise.
43686         (_dl_string_platform): Add support for detecting ppc405, ppc440,
43687         ppc464, and ppc476 platform strings merging from ports/
43688         dl-procinfo.h.
43690 2013-06-11  Andreas Schwab  <schwab@suse.de>
43692         [BZ #14991]
43693         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
43694         (from_ucs4_idx): Regenerate.
43695         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
43696         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
43697         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
43698         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
43699         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
43700         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
43701         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
43702         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
43703         from FROM_LOOP and TO_LOOP specific macros.
43704         (BODY): Handle combining characters.
43705         * iconvdata/BIG5HKSCS.irreversible: Update.
43706         * iconvdata/BIG5HKSCS.precomposed: New file.
43707         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
43708         characters.
43709         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
43711 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43713         * include/sys/time.h: Fix indentation and add copyright header.
43715         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
43716         (do_test): Likewise.
43717         * string/test-memchr.c (do_one_test): Likewise.
43718         (do_test): Likewise.
43719         * string/test-memcmp.c (do_one_test): Likewise.
43720         (do_test): Likewise.
43721         * string/test-memcpy.c (do_one_test): Likewise.
43722         (do_test): Likewise.
43723         * string/test-memmem.c (do_one_test): Likewise.
43724         (do_test): Likewise.
43725         (do_random_tests): Likewise.
43726         * string/test-memmove.c (do_one_test): Likewise.
43727         (do_test): Likewise.
43728         * string/test-memset.c (do_one_test): Likewise.
43729         (do_test): Likewise.
43730         * string/test-rawmemchr.c (do_one_test): Likewise.
43731         (do_test): Likewise.
43732         * string/test-strcasecmp.c (do_one_test): Likewise.
43733         (do_test): Likewise.
43734         * string/test-strcasestr.c (do_one_test): Likewise.
43735         (do_test): Likewise.
43736         * string/test-strcat.c (do_one_test): Likewise.
43737         (do_test): Likewise.
43738         * string/test-strchr.c (do_one_test): Likewise.
43739         (do_test): Likewise.
43740         * string/test-strcmp.c (do_one_test): Likewise.
43741         (do_test): Likewise.
43742         * string/test-strcpy.c (do_one_test): Likewise.
43743         (do_test): Likewise.
43744         * string/test-string.h: Likewise.
43745         (test_init): Likewise.
43746         * string/test-strlen.c (do_one_test): Likewise.
43747         (do_test): Likewise.
43748         * string/test-strncasecmp.c (do_one_test): Likewise.
43749         (do_test): Likewise.
43750         * string/test-strncat.c (do_one_test): Likewise.
43751         (do_test): Likewise.
43752         * string/test-strncmp.c (do_one_test): Likewise.
43753         (do_test_limit): Likewise.
43754         (do_test): Likewise.
43755         * string/test-strncpy.c (do_one_test): Likewise.
43756         (do_test): Likewise.
43757         * string/test-strnlen.c (do_one_test): Likewise.
43758         (do_test): Likewise.
43759         * string/test-strpbrk.c (do_one_test): Likewise.
43760         (do_test): Likewise.
43761         * string/test-strrchr.c (do_one_test): Likewise.
43762         (do_test): Likewise.
43763         * string/test-strspn.c (do_one_test): Likewise.
43764         (do_test): Likewise.
43765         * string/test-strstr.c (do_one_test): Likewise.
43766         (do_test): Likewise.
43768         * benchtests/Makefile (string-bench): Add string benchmarks.
43769         * benchtests/bench-bcopy-ifunc.c: New file.
43770         * benchtests/bench-bcopy.c: New file.
43771         * benchtests/bench-bzero-ifunc.c: New file.
43772         * benchtests/bench-bzero.c: New file.
43773         * benchtests/bench-memccpy-ifunc.c: New file.
43774         * benchtests/bench-memccpy.c: New file.
43775         * benchtests/bench-memchr-ifunc.c: New file.
43776         * benchtests/bench-memchr.c: New file.
43777         * benchtests/bench-memcmp-ifunc.c: New file.
43778         * benchtests/bench-memcmp.c: New file.
43779         * benchtests/bench-memmem-ifunc.c: New file.
43780         * benchtests/bench-memmem.c: New file.
43781         * benchtests/bench-memmove-ifunc.c: New file.
43782         * benchtests/bench-memmove.c: New file.
43783         * benchtests/bench-mempcpy-ifunc.c: New file.
43784         * benchtests/bench-mempcpy.c: New file.
43785         * benchtests/bench-memset-ifunc.c: New file.
43786         * benchtests/bench-memset.c: New file.
43787         * benchtests/bench-rawmemchr-ifunc.c: New file.
43788         * benchtests/bench-rawmemchr.c: New file.
43789         * benchtests/bench-stpcpy-ifunc.c: New file.
43790         * benchtests/bench-stpcpy.c: New file.
43791         * benchtests/bench-stpncpy-ifunc.c: New file.
43792         * benchtests/bench-stpncpy.c: New file.
43793         * benchtests/bench-strcasecmp-ifunc.c: New file.
43794         * benchtests/bench-strcasecmp.c: New file.
43795         * benchtests/bench-strcasestr-ifunc.c: New file.
43796         * benchtests/bench-strcasestr.c: New file.
43797         * benchtests/bench-strcat-ifunc.c: New file.
43798         * benchtests/bench-strcat.c: New file.
43799         * benchtests/bench-strchr-ifunc.c: New file.
43800         * benchtests/bench-strchr.c: New file.
43801         * benchtests/bench-strchrnul-ifunc.c: New file.
43802         * benchtests/bench-strchrnul.c: New file.
43803         * benchtests/bench-strcmp-ifunc.c: New file.
43804         * benchtests/bench-strcmp.c: New file.
43805         * benchtests/bench-strcpy-ifunc.c: New file.
43806         * benchtests/bench-strcpy.c: New file.
43807         * benchtests/bench-strcspn-ifunc.c: New file.
43808         * benchtests/bench-strcspn.c: New file.
43809         * benchtests/bench-strlen-ifunc.c: New file.
43810         * benchtests/bench-strlen.c: New file.
43811         * benchtests/bench-strncasecmp-ifunc.c: New file.
43812         * benchtests/bench-strncasecmp.c: New file.
43813         * benchtests/bench-strncat-ifunc.c: New file.
43814         * benchtests/bench-strncat.c: New file.
43815         * benchtests/bench-strncmp-ifunc.c: New file.
43816         * benchtests/bench-strncmp.c: New file.
43817         * benchtests/bench-strncpy-ifunc.c: New file.
43818         * benchtests/bench-strncpy.c: New file.
43819         * benchtests/bench-strnlen-ifunc.c: New file.
43820         * benchtests/bench-strnlen.c: New file.
43821         * benchtests/bench-strpbrk-ifunc.c: New file.
43822         * benchtests/bench-strpbrk.c: New file.
43823         * benchtests/bench-strrchr-ifunc.c: New file.
43824         * benchtests/bench-strrchr.c: New file.
43825         * benchtests/bench-strspn-ifunc.c: New file.
43826         * benchtests/bench-strspn.c: New file.
43827         * benchtests/bench-strstr-ifunc.c: New file.
43828         * benchtests/bench-strstr.c: New file.
43830         * benchtests/Makefile: Disable parallel execution of targets.
43831         (string-bench): Add memcpy.
43832         (benchset): New variable to store a list of benchmark sets.
43833         (bench-func): Renamed from bench.
43834         (bench-set): New target.
43835         (bench): Depend on bench-func and bench-set.
43836         * benchtests/README: Add section on benchmark sets.
43837         * benchtests/bench-memcpy-ifunc.c: New file.
43838         * benchtests/bench-memcpy.c: New file.
43839         * benchtests/bench-string.h: New file.
43841 2013-06-11  Andreas Schwab  <schwab@suse.de>
43843         [BZ #15577]
43844         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
43845         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
43846         values in the triple.
43847         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
43848         terminator in the group key.
43850 2013-06-11  Andreas Jaeger  <aj@suse.de>
43852         * po/zh_TW.po: Update Chinese (traditional) translation from
43853         translation project.
43855 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43857         * include/time.h (__clock_gettime): Add libc_hidden_proto.
43858         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
43859         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
43860         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43861         (clock_getcpuclockid): Likewise.
43862         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
43863         Add weak_alias and libc_hidden_def.
43864         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
43865         * rt/clock_gettime.c (clock_gettime): Rename to
43866         __clock_gettime.  Add weak_alias and libc_hidden_def.
43867         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
43868         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
43869         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
43870         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
43871         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
43872         Likewise.
43873         * rt/clock_settime.c (clock_settime): Rename to
43874         __clock_settime.  Add weak_alias and libc_hidden_def.
43875         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
43877 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
43879         * mach/err_boot.sub: Remove trailing whitespace.
43880         * mach/err_ipc.sub: Likewise.
43881         * mach/err_mach.sub: Likewise.
43883         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
43884         (ROUNDING_TESTS_double): Likewise.
43885         (ROUNDING_TESTS_long_double): Likewise.
43886         (ROUNDING_TESTS): Likewise.
43887         * math/libm-test.inc: Include <math-tests.h>.
43888         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
43889         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
43890         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
43891         (IF_ROUND_INIT_FE_UPWARD): Likewise.
43893 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43895         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
43896         of assigning.
43898 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
43900         * sysdeps/gnu/errlist.awk: Do not generate space at end of
43901         otherwise empty TRANS lines.
43902         * sysdeps/gnu/errlist.c: Regenerated.
43904         * catgets/gencat.c (error_print): Use (void) in function
43905         definition.
43906         * crypt/crypt_util.c (__init_des): Likewise.
43907         * crypt/speeds.c (Stop): Likewise.
43908         (main): Likewise.
43909         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
43910         * inet/ruserpass.c (token): Likewise.
43911         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
43912         * intl/localealias.c (extend_alias_table): Likewise.
43913         * intl/plural-exp.c (init_germanic_plural): Likewise.
43914         * libio/fcloseall.c (__fcloseall): Likewise.
43915         * libio/genops.c (_IO_flush_all): Likewise.
43916         (_IO_flush_all_linebuffered): Likewise.
43917         (_IO_cleanup): Likewise.
43918         (_IO_iter_begin): Likewise.
43919         (_IO_iter_end): Likewise.
43920         (_IO_list_lock): Likewise.
43921         (_IO_list_unlock): Likewise.
43922         (_IO_list_resetlock): Likewise.
43923         * libio/getchar.c (getchar): Likewise.
43924         * libio/getchar_u.c (getchar_unlocked): Likewise.
43925         * libio/getwchar.c (getwchar): Likewise.
43926         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
43927         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
43928         * login/getpt.c (__getpt): Likewise.
43929         * login/tst-utmp.c (main): Likewise.
43930         * malloc/hooks.c (__malloc_check_init): Likewise.
43931         * malloc/malloc.c (__malloc_stats): Likewise.
43932         * malloc/mtrace.c (tr_break): Likewise.
43933         (mtrace): Likewise.
43934         (muntrace): Likewise.
43935         * misc/fstab.c (endfsent): Likewise.
43936         * misc/getclktck.c (__getclktck): Likewise.
43937         * misc/getdtsz.c (__getdtablesize): Likewise.
43938         * misc/gethostid.c (gethostid): Likewise.
43939         * misc/getpagesize.c (__getpagesize): Likewise.
43940         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
43941         (__get_nprocs): Likewise.
43942         (__get_phys_pages): Likewise.
43943         (__get_avphys_pages): Likewise.
43944         * misc/getttyent.c (getttyent): Likewise.
43945         (setttyent): Likewise.
43946         (endttyent): Likewise.
43947         * misc/getusershell.c (getusershell): Likewise.
43948         (endusershell): Likewise.
43949         (setusershell): Likewise.
43950         (initshells): Likewise.
43951         * misc/hsearch.c (__hdestroy): Likewise.
43952         * misc/sync.c (sync): Likewise.
43953         * misc/syslog.c (closelog_internal): Likewise.
43954         (closelog): Likewise.
43955         * misc/ttyslot.c (ttyslot): Likewise.
43956         * misc/vhangup.c (vhangup): Likewise.
43957         * posix/fork.c (__fork): Likewise.
43958         * posix/getegid.c (__getegid): Likewise.
43959         * posix/geteuid.c (__geteuid): Likewise.
43960         * posix/getgid.c (__getgid): Likewise.
43961         * posix/getpid.c (__getpid): Likewise.
43962         * posix/getppid.c (__getppid): Likewise.
43963         * posix/getuid.c (__getuid): Likewise.
43964         * posix/pause.c (pause): Likewise.
43965         * posix/setpgrp.c (setpgrp): Likewise.
43966         * posix/setsid.c (__setsid): Likewise.
43967         * posix/test-vfork.c (noop): Likewise.
43968         * resolv/gethnamaddr.c (_endhtent): Likewise.
43969         (_gethtent): Likewise.
43970         (ht_endhostent): Likewise.
43971         (gethostent): Likewise.
43972         (dns_service): Likewise.
43973         * stdlib/drand48.c (drand48): Likewise.
43974         * stdlib/lrand48.c (lrand48): Likewise.
43975         * stdlib/mrand48.c (mrand48): Likewise.
43976         * stdlib/rand.c (rand): Likewise.
43977         * stdlib/random.c (__random): Likewise.
43978         * stdlib/setenv.c (clearenv): Likewise.
43979         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
43980         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
43981         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
43982         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
43983         (__get_nprocs): Likewise.
43984         (__get_phys_pages): Likewise.
43985         (__get_avphys_pages): Likewise.
43986         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
43987         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
43988         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
43989         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
43990         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
43991         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
43992         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
43993         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
43994         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
43995         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
43996         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
43997         * sysdeps/mach/hurd/sync.c (sync): Likewise.
43998         * sysdeps/posix/clock.c (clock): Likewise.
43999         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44000         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44001         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44002         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44003         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44004         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44005         (__get_nprocs_conf): Likewise.
44006         (__get_phys_pages): Likewise.
44007         (__get_avphys_pages): Likewise.
44008         * time/clock.c (clock): Likewise.
44009         * time/tzset.c (__tzname_max): Likewise.
44011 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44013         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44014         (__bswap_32): Do not use "register".
44015         * crypt/crypt.c (_ufc_doit_r): Likewise.
44016         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44017         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44018         * gmon/gmon.c (__monstartup): Likewise.
44019         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44020         * hurd/hurdmalloc.c (more_memory): Likewise.
44021         (malloc): Likewise.
44022         (free): Likewise.
44023         (realloc): Likewise.
44024         (malloc_fork_prepare): Likewise.
44025         (malloc_fork_parent): Likewise.
44026         (malloc_fork_child): Likewise.
44027         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44028         (_svcauth_des): Likewise.
44029         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44030         * inet/inet_net.c (inet_network): Likewise.
44031         * inet/inet_netof.c (inet_netof): Likewise.
44032         * inet/rcmd.c (__validuser2_sa): Likewise.
44033         * io/fts.c (fts_open): Likewise.
44034         (fts_load): Likewise.
44035         (fts_close): Likewise.
44036         (fts_read): Likewise.
44037         (fts_children): Likewise.
44038         (fts_build): Likewise.
44039         (fts_stat): Likewise.
44040         (fts_sort): Likewise.
44041         (fts_alloc): Likewise.
44042         (fts_lfree): Likewise.
44043         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44044         (_IO_file_xsgetn): Likewise.
44045         (_IO_file_xsgetn_mmap): Likewise.
44046         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44047         (_IO_cookie_write): Likewise.
44048         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44049         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44050         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44051         * malloc/obstack.c (_obstack_begin): Likewise.
44052         (_obstack_begin_1): Likewise.
44053         (_obstack_newchunk): Likewise.
44054         (_obstack_allocated_p): Likewise.
44055         (obstack_free): Likewise.
44056         (_obstack_memory_used): Likewise.
44057         * misc/getttyent.c (getttynam): Likewise.
44058         (getttyent): Likewise.
44059         (skip): Likewise.
44060         (value): Likewise.
44061         * misc/getusershell.c (initshells): Likewise.
44062         * misc/syslog.c (__vsyslog_chk): Likewise.
44063         * misc/ttyslot.c (ttyslot): Likewise.
44064         * nis/nis_hash.c (__nis_hash): Likewise.
44065         * posix/fnmatch_loop.c (FCT): Likewise.
44066         * posix/getconf.c (print_all): Likewise.
44067         (main): Likewise.
44068         * posix/getopt.c (exchange): Likewise.
44069         * posix/glob.c (globfree): Likewise.
44070         (prefix_array): Likewise.
44071         (__glob_pattern_type): Likewise.
44072         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44073         (NS_GET32): Likewise.
44074         (NS_PUT16): Likewise.
44075         (NS_PUT32): Likewise.
44076         * resolv/gethnamaddr.c (getanswer): Likewise.
44077         (gethostbyname2): Likewise.
44078         (gethostbyaddr): Likewise.
44079         (_gethtent): Likewise.
44080         (_gethtbyname2): Likewise.
44081         (_gethtbyaddr): Likewise.
44082         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44083         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44084         * resolv/res_init.c (__res_vinit): Likewise.
44085         (net_mask): Likewise.
44086         * resolv/res_mkquery.c (outchar): Likewise.
44087         (PRINT): Likewise.
44088         * stdio-common/printf_fp.c (outchar): Likewise.
44089         (PRINT): Likewise.
44090         * stdio-common/printf_fphex.c (outchar): Likewise.
44091         (PRINT): Likewise.
44092         * stdio-common/printf_size.c (outchar): Likewise.
44093         (PRINT): Likewise.
44094         * stdio-common/test_rdwr.c (main): Likewise.
44095         * stdio-common/tfformat.c (matches): Likewise.
44096         * stdio-common/vfprintf.c (outchar): Likewise.
44097         (printf_unknown): Likewise.
44098         (buffered_vfprintf): Likewise.
44099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44100         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44101         (ReadFile): Likewise.
44102         * stdlib/qsort.c (SWAP): Likewise.
44103         (_quicksort): Likewise.
44104         * stdlib/setenv.c (__add_to_environ): Likewise.
44105         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44106         * stdlib/strtol_l.c (__strtol_l): Likewise.
44107         * stdlib/tst-strtod.c (main): Likewise.
44108         * stdlib/tst-strtol.c (main): Likewise.
44109         * stdlib/tst-strtoll.c (main): Likewise.
44110         * string/bits/string2.h (__strcmp_cc): Likewise.
44111         (__strcmp_cg): Likewise.
44112         (__strcspn_c1): Likewise.
44113         (__strcspn_c2): Likewise.
44114         (__strcspn_c3): Likewise.
44115         (__strspn_c1): Likewise.
44116         (__strspn_c2): Likewise.
44117         (__strspn_c3): Likewise.
44118         (__strsep_1c): Likewise.
44119         (__strsep_2c): Likewise.
44120         (__strsep_3c): Likewise.
44121         * string/memccpy.c (__memccpy): Likewise.
44122         * string/stpcpy.c (__stpcpy): Likewise.
44123         * string/strcmp.c (strcmp): Likewise.
44124         * string/strrchr.c (strrchr): Likewise.
44125         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44126         Likewise.
44127         * sysdeps/mach/hurd/getcwd.c
44128         (_hurd_canonicalize_directory_name_internal): Likewise.
44129         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44130         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44131         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44132         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44133         Likewise, in both definitions.
44134         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44135         definitions.
44136         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44137         64] (__bswap_64): Likewise.
44138         * time/test_time.c (main): Likewise.
44139         * time/tzfile.c (__tzfile_read): Likewise.
44140         (__tzfile_compute): Likewise.
44141         * time/tzset.c (__tzset_parse_tz): Likewise.
44142         (tzset_internal): Likewise.
44143         (compute_change): Likewise.
44144         * wcsmbs/wcscat.c (__wcscat): Likewise.
44145         * wcsmbs/wcschr.c (wcschr): Likewise.
44146         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44147         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44148         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44149         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44150         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44151         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44152         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44153         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44154         * wcsmbs/wmemset.c (wmemset): Likewise.
44156 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44158         * scripts/config.guess: Update to version 2013-05-16.
44159         * scripts/config.sub: Update to version 2013-04-24.
44160         * scripts/install-sh: Update to version 2011-11-20.07.
44161         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44162         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44164 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44166         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44167         * elf/sln.c: Likewise.
44168         * hurd/hurd/ioctl.h: Likewise.
44169         * hurd/hurdmalloc.c: Likewise.
44170         * hurd/xattr.c: Likewise.
44171         * include/shlib-compat.h: Likewise.
44172         * inet/ruserpass.c: Likewise.
44173         * libio/iofgets_u.c: Likewise.
44174         * libio/iofgetws_u.c: Likewise.
44175         * locale/programs/ld-identification.c: Likewise.
44176         * locale/programs/ld-time.c: Likewise.
44177         * mach/msg-destroy.c: Likewise.
44178         * nss/nss_files/files-netgrp.c: Likewise.
44179         * resolv/res_data.c: Likewise.
44180         * soft-fp/op-1.h: Likewise.
44181         * soft-fp/op-2.h: Likewise.
44182         * soft-fp/op-4.h: Likewise.
44183         * soft-fp/op-common.h: Likewise.
44184         * stdio-common/printf_fphex.c: Likewise.
44185         * stdlib/strtod_l.c: Likewise.
44186         * sunrpc/rpc/clnt.h: Likewise.
44187         * sysdeps/generic/framestate.c: Likewise.
44188         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44189         * sysdeps/i386/bsd-setjmp.S: Likewise.
44190         * sysdeps/i386/__longjmp.S: Likewise.
44191         * sysdeps/i386/setjmp.S: Likewise.
44192         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44193         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44194         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44195         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44196         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44197         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44198         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44199         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44200         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44201         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44202         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44203         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44204         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44205         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44206         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44207         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44208         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44209         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44210         * sysdeps/ieee754/support.c: Likewise.
44211         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44212         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44213         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44214         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44215         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44216         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44217         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44218         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44219         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44220         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44221         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44222         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44223         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44224         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44225         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44226         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44227         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44230 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44232         * posix/transbug.c: Remove executable mode.
44234 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44236         * crypt/speeds.c: Remove trailing whitespace.
44237         * dlfcn/default.c: Likewise.
44238         * elf/ifuncdep2.c: Likewise.
44239         * elf/ifuncmain1.c: Likewise.
44240         * elf/ifuncmain1vis.c: Likewise.
44241         * elf/testobj.h: Likewise.
44242         * elf/tst-stackguard1.c: Likewise.
44243         * gmon/sys/gmon.h: Likewise.
44244         * hurd/hurdmsg.c: Likewise.
44245         * hurd/new-fd.c: Likewise.
44246         * hurd/ports-get.c: Likewise.
44247         * iconvdata/ibm1008_420.c: Likewise.
44248         * inet/tst-getni1.c: Likewise.
44249         * inet/tst-getni2.c: Likewise.
44250         * libio/ioungetc.c: Likewise.
44251         * libio/wfiledoalloc.c: Likewise.
44252         * manual/libm-err-tab.pl: Likewise.
44253         * math/w_dremf.c: Likewise.
44254         * misc/ftruncate.c: Likewise.
44255         * posix/bug-glob2.c: Likewise.
44256         * posix/tst-pcre.c: Likewise.
44257         * posix/wait4.c: Likewise.
44258         * resolv/README: Likewise.
44259         * resolv/res_debug.h: Likewise.
44260         * resolv/tst-inet_ntop.c: Likewise.
44261         * setjmp/bug269-setjmp.c: Likewise.
44262         * soft-fp/extended.h: Likewise.
44263         * soft-fp/op-1.h: Likewise.
44264         * soft-fp/op-2.h: Likewise.
44265         * soft-fp/op-4.h: Likewise.
44266         * soft-fp/op-8.h: Likewise.
44267         * soft-fp/testit.c: Likewise.
44268         * stdio-common/bug16.c: Likewise.
44269         * stdlib/random.c: Likewise.
44270         * sunrpc/rpcsvc/rquota.x: Likewise.
44271         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44272         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44273         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44274         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44275         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44276         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44277         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44278         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44279         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44280         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44281         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44282         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44283         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44284         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44285         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44286         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44287         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44288         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44289         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44290         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44291         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44292         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44293         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44294         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44295         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44296         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44297         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44298         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44299         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44300         * sysdeps/ieee754/s_lib_version.c: Likewise.
44301         * sysdeps/mach/hurd/check_fds.c: Likewise.
44302         * sysdeps/mach/hurd/getsockname.c: Likewise.
44303         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44304         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44305         * sysdeps/powerpc/bits/link.h: Likewise.
44306         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44307         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44308         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44309         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44310         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44311         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44312         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44313         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44314         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44315         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44316         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44317         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44318         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44319         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44320         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44321         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44322         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44323         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44324         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44325         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44326         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44327         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44328         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44329         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44330         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44331         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44332         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44333         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44335         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44336         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44337         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44338         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44339         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44340         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44341         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44342         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44343         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44344         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44345         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44346         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44347         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44348         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44349         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44350         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44351         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44352         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44353         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44354         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44355         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44356         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44357         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44358         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44359         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44360         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44361         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44362         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44363         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44364         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44365         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44366         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44367         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44368         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44369         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44370         * sysdeps/powerpc/sysdep.h: Likewise.
44371         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44372         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44373         * sysdeps/sh/dl-trampoline.S: Likewise.
44374         * sysdeps/sh/memset.S: Likewise.
44375         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44376         * sysdeps/sh/strlen.S: Likewise.
44377         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44378         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44379         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44380         * sysdeps/sparc/sparc32/rem.S: Likewise.
44381         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44382         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44383         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44384         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44385         * sysdeps/sparc/sparc32/urem.S: Likewise.
44386         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44387         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44388         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44389         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44390         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44391         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44392         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44393         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44394         * sysdeps/unix/bsd/times.c: Likewise.
44395         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44396         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44400         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44401         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44402         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44403         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44404         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44405         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
44406         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
44407         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
44408         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44409         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
44410         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
44411         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
44412         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
44413         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
44414         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
44415         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
44416         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
44417         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44418         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
44419         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
44420         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
44421         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
44422         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44423         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
44424         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
44425         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
44426         * sysdeps/x86_64/strcspn.S: Likewise.
44428 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44430         * locale/C-translit.h: Revert #include <stdint.h> because this is a
44431         generated file.  Regenerate properly from gen-translit.pl.
44432         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
44433         locale/C-translit.h.
44435 2013-06-05  Andreas Schwab  <schwab@suse.de>
44437         [BZ #15100]
44438         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
44439         week as 6 instead of -1.
44440         * time/tst-strptime.c (day_tests): Add test case.
44442 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44444         * sysdeps/generic/math_private.h
44445         (libc_feholdexcept_setround_53bit): Replace with
44446         libc_feholdsetround_53bit.
44447         (libc_feupdateenv_53bit): Replace with
44448         libc_feresetround_53bit.
44449         (SET_RESTORE_ROUND_53BIT): Adjust.
44451 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44453         * string/test-strchrnul.c: Add copyright header.
44455         * posix/tst-getaddrinfo4.c: Increase test timeout.
44457 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
44459         [BZ #15536]
44460         * math/libm-test.inc (MAX_EXP): Remove
44461         (MIN_EXP): Define.
44462         (ulp): Use MIN_EXP - MANT_DIG.
44463         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
44465 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
44467         * po/be.po: Revert last change.
44468         * po/zh_CN.po: Likewise.
44469         * po/header.pot: Likewise.
44471 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
44473         * Makefile ($(common-objpfx)linkobj/libc.so): Define
44474         link-libc-deps to empty as target-specific variable.
44475         * Makerules (link-libc-args): New variable.
44476         (libc-for-link): Likewise.
44477         (link-libc-deps): Likewise.
44478         (lib%.so): Depend on $(link-libc-deps).  Link with
44479         $(link-libc-args).
44480         (build-module): Link with $(link-libc-args).
44481         (build-module-asneeded): Likewise.
44482         (build-module-helper-objlist): Filter out $(link-libc-deps) from
44483         list of objects.
44484         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
44485         target-specific variable.
44486         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
44487         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
44488         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
44489         libc.
44490         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
44491         libc and ld.so.
44492         ($(objpfx)libpcprofile.so): Likewise.
44493         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
44494         libc_nonshared.a.
44495         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
44496         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
44497         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
44498         $(link-libc-deps).
44499         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
44500         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
44501         * login/Makefile ($(objpfx)libutil.so): Likewise.
44502         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
44503         * math/Makefile ($(objpfx)libm.so): Likewise.
44504         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
44505         $(objpfx)libnsl.so): Define libc-for-link as target-specific
44506         variable instead of depending directly on libc.
44507         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
44508         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
44509         $(link-libc-deps).
44510         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
44511         libc.
44512         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
44513         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
44514         ($(objpfx)libanl.so): Likewise.
44515         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
44516         ld.so.
44517         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
44518         $(link-libc-deps).
44519         * sysdeps/i386/fpu/Makefile: Remove file.
44520         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
44521         ($(objpfx)libm.so): Remove dependency on ld.so.
44523 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
44525         [BZ # 15553]
44526         * nis/yp_xdr.c (XDRMAXNAME): Define.
44527         (XDRMAXRECORD): Define.
44528         (xdr_domainname): Use XDRMAXNAME.
44529         (xdr_mapname): Likewise.
44530         (xdr_peername): Likewise.
44531         (xdr_keydat): Use XDRMAXRECORD.
44532         (xdr_valdat): Likewise.
44534 2013-05-30  Jeff Law  <law@redhat.com>
44536         [BZ #14256]
44537         * manual/errno.texi (ESTALE): Update to account for more than
44538         just NFS file systems.
44539         * sysdeps/gnu/errlist.c: Regenerated.
44541 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
44543         [BZ #15465]
44544         * elf/Makefile (tests): Add tst-null-argv.
44545         (modules-names):  Add tst-null-argv-lib.
44546         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
44547         (tst-null-argv-ENV): Set environment for tst-null-argv.
44548         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
44549         (RTLD_PROGNAME): New macro.
44550         * elf/tst-null-argv.c: New test case.
44551         * elf/tst-null-argv-lib.c: Library for test case.
44552         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
44553         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
44554         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
44555         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
44556         * elf/dl-init.c (call_init): Likewise.
44557         (_dl_init): Likewise.
44558         * elf/dl-load.c (print_search_path): Likewise.
44559         (_dl_map_object): Likewise.
44560         * elf/dl-lookup.c (do_lookup_x): Likewise.
44561         (add_dependency): Likewise.
44562         (_dl_lookup_symbol_x): Likewise.
44563         (_dl_debug_bindings): Likewise.
44564         * elf/dl-open.c (_dl_show_scope): Likewise.
44565         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
44566         * elf/dl-version.c (match_symbol): Likewise.
44567         (_dl_check_map_versions): Likewise.
44568         * elf/rtld.c (dl_main): Likewise.
44569         (print_unresolved): Use RTLD_PROGNAME.
44570         (print_missing_version): Likewise.
44571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
44572         (elf_machine_rela): Likewise.
44573         * sysdeps/powerpc/powerpc32/dl-machine.c
44574         (__process_machine_rela): Likewise.
44575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44576         Likewise.
44577         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44578         Likewise.
44579         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44580         Likewise.
44581         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44582         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
44583         Likewise.
44584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
44585         Likewise.
44586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
44588 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
44590         * po/be.po: Add descriptive title.
44591         * po/zh_CN.po: Likewise.
44592         * po/header.pot: Likewise.
44594 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
44596         * locale/programs/locarchive.c (create_archive): Inlucde fname in
44597         error message.
44598         (enlarge_archive): Likewise.
44600 2013-05-28  Ben North  <ben@redfrontdoor.org>
44602         * manual/arith.texi (frexp): It is the magnitude of the return
44603         value which lies in [0.5, 1), not the return value itself.
44605 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44607         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44609 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
44611         * stdio-common/bug26.c (main): Correct fscanf template.
44613         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
44614         declare _dl_skip_args.
44616         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
44617         Don't declare.
44619         * manual/platform.texi: Add missing @end deftypefun.
44621 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44623         [BZ #15529]
44624         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
44625         bit of mantissa of 2^16382.
44626         * math/libm-test.inc (hypot_test_data): Add more tests.
44628         * math/libm-test.inc: Add drem and pow10 to list of tested
44629         functions.
44630         (pow10_test): New function.
44631         (drem_test): Likewise.
44632         (drem_test_tonearest): Likewise.
44633         (drem_test_towardzero): Likewise.
44634         (drem_test_downward): Likewise.
44635         (drem_test_upward): Likewise.
44636         (main): Call the new functions.
44638         * math/libm-test.inc (finite_test_data): Remove.
44639         (finite_test): Run tests from isfinite_test_data.
44640         (gamma_test_data): Remove.
44641         (gamma_test): Run tests from lgamma_test_data.
44642         * sysdeps/i386/fpu/libm-test-ulps: Update.
44643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44645 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44647         * manual/platform.texi: Add PowerPC PPR function set documentation.
44648         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
44649         implementation.
44651 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
44653         * math/libm-test.inc (MAX_EXP): Define.
44654         (ULPDIFF): Define.
44655         (ulp): New function.
44656         (check_float_internal): Use ULPDIFF.
44657         (cpow_test): Disable failing test.
44658         (check_ulp): Test ulp() implemetnation.
44659         (main): Call check_ulp before starting tests.
44661 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
44663         * math/gen-libm-test.pl (generate_testfile): Do not handle
44664         START_DATA and END_DATA.
44665         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
44666         END_DATA.
44667         (acos_tonearest_test_data): Likewise.
44668         (acos_towardzero_test_data): Likewise.
44669         (acos_downward_test_data): Likewise.
44670         (acos_upward_test_data): Likewise.
44671         (acosh_test_data): Likewise.
44672         (asin_test_data): Likewise.
44673         (asin_tonearest_test_data): Likewise.
44674         (asin_towardzero_test_data): Likewise.
44675         (asin_downward_test_data): Likewise.
44676         (asin_upward_test_data): Likewise.
44677         (asinh_test_data): Likewise.
44678         (atan_test_data): Likewise.
44679         (atanh_test_data): Likewise.
44680         (atan2_test_data): Likewise.
44681         (cabs_test_data): Likewise.
44682         (cacos_test_data): Likewise.
44683         (cacosh_test_data): Likewise.
44684         (carg_test_data): Likewise.
44685         (casin_test_data): Likewise.
44686         (casinh_test_data): Likewise.
44687         (catan_test_data): Likewise.
44688         (catanh_test_data): Likewise.
44689         (cbrt_test_data): Likewise.
44690         (ccos_test_data): Likewise.
44691         (ccosh_test_data): Likewise.
44692         (ceil_test_data): Likewise.
44693         (cexp_test_data): Likewise.
44694         (cimag_test_data): Likewise.
44695         (clog_test_data): Likewise.
44696         (clog10_test_data): Likewise.
44697         (conj_test_data): Likewise.
44698         (copysign_test_data): Likewise.
44699         (cos_test_data): Likewise.
44700         (cos_tonearest_test_data): Likewise.
44701         (cos_towardzero_test_data): Likewise.
44702         (cos_downward_test_data): Likewise.
44703         (cos_upward_test_data): Likewise.
44704         (cosh_test_data): Likewise.
44705         (cosh_tonearest_test_data): Likewise.
44706         (cosh_towardzero_test_data): Likewise.
44707         (cosh_downward_test_data): Likewise.
44708         (cosh_upward_test_data): Likewise.
44709         (cpow_test_data): Likewise.
44710         (cproj_test_data): Likewise.
44711         (creal_test_data): Likewise.
44712         (csin_test_data): Likewise.
44713         (csinh_test_data): Likewise.
44714         (csqrt_test_data): Likewise.
44715         (ctan_test_data): Likewise.
44716         (ctan_tonearest_test_data): Likewise.
44717         (ctan_towardzero_test_data): Likewise.
44718         (ctan_downward_test_data): Likewise.
44719         (ctan_upward_test_data): Likewise.
44720         (ctanh_test_data): Likewise.
44721         (ctanh_tonearest_test_data): Likewise.
44722         (ctanh_towardzero_test_data): Likewise.
44723         (ctanh_downward_test_data): Likewise.
44724         (ctanh_upward_test_data): Likewise.
44725         (erf_test_data): Likewise.
44726         (erfc_test_data): Likewise.
44727         (exp_test_data): Likewise.
44728         (exp_tonearest_test_data): Likewise.
44729         (exp_towardzero_test_data): Likewise.
44730         (exp_downward_test_data): Likewise.
44731         (exp_upward_test_data): Likewise.
44732         (exp10_test_data): Likewise.
44733         (exp2_test_data): Likewise.
44734         (expm1_test_data): Likewise.
44735         (fabs_test_data): Likewise.
44736         (fdim_test_data): Likewise.
44737         (finite_test_data): Likewise.
44738         (floor_test_data): Likewise.
44739         (fma_test_data): Likewise.
44740         (fma_towardzero_test_data): Likewise.
44741         (fma_downward_test_data): Likewise.
44742         (fma_upward_test_data): Likewise.
44743         (fmax_test_data): Likewise.
44744         (fmin_test_data): Likewise.
44745         (fmod_test_data): Likewise.
44746         (fpclassify_test_data): Likewise.
44747         (frexp_test_data): Likewise.
44748         (gamma_test_data): Likewise.
44749         (hypot_test_data): Likewise.
44750         (ilogb_test_data): Likewise.
44751         (isfinite_test_data): Likewise.
44752         (isgreater_test_data): Likewise.
44753         (isgreaterequal_test_data): Likewise.
44754         (isinf_test_data): Likewise.
44755         (isless_test_data): Likewise.
44756         (islessequal_test_data): Likewise.
44757         (islessgreater_test_data): Likewise.
44758         (isnan_test_data): Likewise.
44759         (isnormal_test_data): Likewise.
44760         (issignaling_test_data): Likewise.
44761         (isunordered_test_data): Likewise.
44762         (j0_test_data): Likewise.
44763         (j1_test_data): Likewise.
44764         (jn_test_data): Likewise.
44765         (ldexp_test_data): Likewise.
44766         (lgamma_test_data): Likewise.
44767         (lrint_test_data): Likewise.
44768         (lrint_tonearest_test_data): Likewise.
44769         (lrint_towardzero_test_data): Likewise.
44770         (lrint_downward_test_data): Likewise.
44771         (lrint_upward_test_data): Likewise.
44772         (llrint_test_data): Likewise.
44773         (llrint_tonearest_test_data): Likewise.
44774         (llrint_towardzero_test_data): Likewise.
44775         (llrint_downward_test_data): Likewise.
44776         (llrint_upward_test_data): Likewise.
44777         (log_test_data): Likewise.
44778         (log10_test_data): Likewise.
44779         (log1p_test_data): Likewise.
44780         (log2_test_data): Likewise.
44781         (logb_test_data): Likewise.
44782         (logb_downward_test_data): Likewise.
44783         (lround_test_data): Likewise.
44784         (llround_test_data): Likewise.
44785         (modf_test_data): Likewise.
44786         (nearbyint_test_data): Likewise.
44787         (nextafter_test_data): Likewise.
44788         (nexttoward_test_data): Likewise.
44789         (pow_test_data): Likewise.
44790         (pow_tonearest_test_data): Likewise.
44791         (pow_towardzero_test_data): Likewise.
44792         (pow_downward_test_data): Likewise.
44793         (pow_upward_test_data): Likewise.
44794         (remainder_test_data): Likewise.
44795         (remainder_tonearest_test_data): Likewise.
44796         (remainder_towardzero_test_data): Likewise.
44797         (remainder_downward_test_data): Likewise.
44798         (remainder_upward_test_data): Likewise.
44799         (remquo_test_data): Likewise.
44800         (rint_test_data): Likewise.
44801         (rint_tonearest_test_data): Likewise.
44802         (rint_towardzero_test_data): Likewise.
44803         (rint_downward_test_data): Likewise.
44804         (rint_upward_test_data): Likewise.
44805         (round_test_data): Likewise.
44806         (scalb_test_data): Likewise.
44807         (scalbn_test_data): Likewise.
44808         (scalbln_test_data): Likewise.
44809         (signbit_test_data): Likewise.
44810         (sin_test_data): Likewise.
44811         (sin_tonearest_test_data): Likewise.
44812         (sin_towardzero_test_data): Likewise.
44813         (sin_downward_test_data): Likewise.
44814         (sin_upward_test_data): Likewise.
44815         (sincos_test_data): Likewise.
44816         (sinh_test_data): Likewise.
44817         (sinh_tonearest_test_data): Likewise.
44818         (sinh_towardzero_test_data): Likewise.
44819         (sinh_downward_test_data): Likewise.
44820         (sinh_upward_test_data): Likewise.
44821         (sqrt_test_data): Likewise.
44822         (tan_test_data): Likewise.
44823         (tan_tonearest_test_data): Likewise.
44824         (tan_towardzero_test_data): Likewise.
44825         (tan_downward_test_data): Likewise.
44826         (tan_upward_test_data): Likewise.
44827         (tanh_test_data): Likewise.
44828         (tgamma_test_data): Likewise.
44829         (trunc_test_data): Likewise.
44830         (y0_test_data): Likewise.
44831         (y1_test_data): Likewise.
44832         (yn_test_data): Likewise.
44833         (significand_test_data): Likewise.
44835         * math/gen-libm-test.pl (@functions): Remove variable.
44836         (generate_testfile): Don't handle START and END lines.
44837         * math/libm-test.inc (START): New macro.
44838         (END): Likewise.
44839         (END_COMPLEX): Likewise.
44840         (acos_test): Use END macro without arguments.
44841         (acos_test_tonearest): Likewise.
44842         (acos_test_towardzero): Likewise.
44843         (acos_test_downward): Likewise.
44844         (acos_test_upward): Likewise.
44845         (acosh_test): Likewise.
44846         (asin_test): Likewise.
44847         (asin_test_tonearest): Likewise.
44848         (asin_test_towardzero): Likewise.
44849         (asin_test_downward): Likewise.
44850         (asin_test_upward): Likewise.
44851         (asinh_test): Likewise.
44852         (atan_test): Likewise.
44853         (atanh_test): Likewise.
44854         (atan2_test): Likewise.
44855         (cabs_test): Likewise.
44856         (cacos_test): Use END_COMPLEX macro without arguments.
44857         (cacosh_test): Likewise.
44858         (carg_test): Use END macro without arguments.
44859         (casin_test): Use END_COMPLEX macro without arguments.
44860         (casinh_test): Likewise.
44861         (catan_test): Likewise.
44862         (catanh_test): Likewise.
44863         (cbrt_test): Use END macro without arguments.
44864         (ccos_test): Use END_COMPLEX macro without arguments.
44865         (ccosh_test): Likewise.
44866         (ceil_test): Use END macro without arguments.
44867         (cexp_test): Use END_COMPLEX macro without arguments.
44868         (cimag_test): Use END macro without arguments.
44869         (clog_test): Use END_COMPLEX macro without arguments.
44870         (clog10_test): Likewise.
44871         (conj_test): Likewise.
44872         (copysign_test): Use END macro without arguments.
44873         (cos_test): Likewise.
44874         (cos_test_tonearest): Likewise.
44875         (cos_test_towardzero): Likewise.
44876         (cos_test_downward): Likewise.
44877         (cos_test_upward): Likewise.
44878         (cosh_test): Likewise.
44879         (cosh_test_tonearest): Likewise.
44880         (cosh_test_towardzero): Likewise.
44881         (cosh_test_downward): Likewise.
44882         (cosh_test_upward): Likewise.
44883         (cpow_test): Use END_COMPLEX macro without arguments.
44884         (cproj_test): Likewise.
44885         (creal_test): Use END macro without arguments.
44886         (csin_test): Use END_COMPLEX macro without arguments.
44887         (csinh_test): Likewise.
44888         (csqrt_test): Likewise.
44889         (ctan_test): Likewise.
44890         (ctan_test_tonearest): Likewise.
44891         (ctan_test_towardzero): Likewise.
44892         (ctan_test_downward): Likewise.
44893         (ctan_test_upward): Likewise.
44894         (ctanh_test): Likewise.
44895         (ctanh_test_tonearest): Likewise.
44896         (ctanh_test_towardzero): Likewise.
44897         (ctanh_test_downward): Likewise.
44898         (ctanh_test_upward): Likewise.
44899         (erf_test): Use END macro without arguments.
44900         (erfc_test): Likewise.
44901         (exp_test): Likewise.
44902         (exp_test_tonearest): Likewise.
44903         (exp_test_towardzero): Likewise.
44904         (exp_test_downward): Likewise.
44905         (exp_test_upward): Likewise.
44906         (exp10_test): Likewise.
44907         (exp2_test): Likewise.
44908         (expm1_test): Likewise.
44909         (fabs_test): Likewise.
44910         (fdim_test): Likewise.
44911         (finite_test): Likewise.
44912         (floor_test): Likewise.
44913         (fma_test): Likewise.
44914         (fma_test_towardzero): Likewise.
44915         (fma_test_downward): Likewise.
44916         (fma_test_upward): Likewise.
44917         (fmax_test): Likewise.
44918         (fmin_test): Likewise.
44919         (fmod_test): Likewise.
44920         (fpclassify_test): Likewise.
44921         (frexp_test): Likewise.
44922         (gamma_test): Likewise.
44923         (hypot_test): Likewise.
44924         (ilogb_test): Likewise.
44925         (isfinite_test): Likewise.
44926         (isgreater_test): Likewise.
44927         (isgreaterequal_test): Likewise.
44928         (isinf_test): Likewise.
44929         (isless_test): Likewise.
44930         (islessequal_test): Likewise.
44931         (islessgreater_test): Likewise.
44932         (isnan_test): Likewise.
44933         (isnormal_test): Likewise.
44934         (issignaling_test): Likewise.
44935         (isunordered_test): Likewise.
44936         (j0_test): Likewise.
44937         (j1_test): Likewise.
44938         (jn_test): Likewise.
44939         (ldexp_test): Likewise.
44940         (lgamma_test): Likewise.
44941         (lrint_test): Likewise.
44942         (lrint_test_tonearest): Likewise.
44943         (lrint_test_towardzero): Likewise.
44944         (lrint_test_downward): Likewise.
44945         (lrint_test_upward): Likewise.
44946         (llrint_test): Likewise.
44947         (llrint_test_tonearest): Likewise.
44948         (llrint_test_towardzero): Likewise.
44949         (llrint_test_downward): Likewise.
44950         (llrint_test_upward): Likewise.
44951         (log_test): Likewise.
44952         (log10_test): Likewise.
44953         (log1p_test): Likewise.
44954         (log2_test): Likewise.
44955         (logb_test): Likewise.
44956         (logb_test_downward): Likewise.
44957         (lround_test): Likewise.
44958         (llround_test): Likewise.
44959         (modf_test): Likewise.
44960         (nearbyint_test): Likewise.
44961         (nextafter_test): Likewise.
44962         (nexttoward_test): Likewise.
44963         (pow_test): Likewise.
44964         (pow_test_tonearest): Likewise.
44965         (pow_test_towardzero): Likewise.
44966         (pow_test_downward): Likewise.
44967         (pow_test_upward): Likewise.
44968         (remainder_test): Likewise.
44969         (remainder_test_tonearest): Likewise.
44970         (remainder_test_towardzero): Likewise.
44971         (remainder_test_downward): Likewise.
44972         (remainder_test_upward): Likewise.
44973         (remquo_test): Likewise.
44974         (rint_test): Likewise.
44975         (rint_test_tonearest): Likewise.
44976         (rint_test_towardzero): Likewise.
44977         (rint_test_downward): Likewise.
44978         (rint_test_upward): Likewise.
44979         (round_test): Likewise.
44980         (scalb_test): Likewise.
44981         (scalbn_test): Likewise.
44982         (scalbln_test): Likewise.
44983         (signbit_test): Likewise.
44984         (sin_test): Likewise.
44985         (sin_test_tonearest): Likewise.
44986         (sin_test_towardzero): Likewise.
44987         (sin_test_downward): Likewise.
44988         (sin_test_upward): Likewise.
44989         (sincos_test): Likewise.
44990         (sinh_test): Likewise.
44991         (sinh_test_tonearest): Likewise.
44992         (sinh_test_towardzero): Likewise.
44993         (sinh_test_downward): Likewise.
44994         (sinh_test_upward): Likewise.
44995         (sqrt_test): Likewise.
44996         (tan_test): Likewise.
44997         (tan_test_tonearest): Likewise.
44998         (tan_test_towardzero): Likewise.
44999         (tan_test_downward): Likewise.
45000         (tan_test_upward): Likewise.
45001         (tanh_test): Likewise.
45002         (tgamma_test): Likewise.
45003         (trunc_test): Likewise.
45004         (y0_test): Likewise.
45005         (y1_test): Likewise.
45006         (yn_test): Likewise.
45007         (significand_test): Likewise.
45009 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45011         [BZ #15381]
45012         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45014 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45016         [BZ #14894]
45017         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45018         __ppc_mdoio and __ppc_mdoom.
45019         * manual/platform.texi: Document new functions __ppc_yield,
45020         __ppc_mdoio and __ppc_mdoom.
45022 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45024         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45025         (main): Mention "tls" pseudo-hwcap is legacy.
45026         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45028 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45030         * math/gen-libm-test.pl (parse_args): Output only string of
45031         arguments as text for test name, not full call or descriptions of
45032         tests for extra outputs.
45033         (generate_testfile): Do not pass function name to parse_args.
45034         Generate this_func variable from START.
45035         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45036         field to arg_str.
45037         (struct test_ff_f_data): Likewise.
45038         (test_ff_f_data_nexttoward): Likewise.
45039         (struct test_fi_f_data): Likewise.
45040         (struct test_fl_f_data): Likewise.
45041         (struct test_if_f_data): Likewise.
45042         (struct test_fff_f_data): Likewise.
45043         (struct test_c_f_data): Likewise.
45044         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45045         (struct test_fF_f1_data): Likewise.
45046         (struct test_ffI_f1_data): Likewise.
45047         (struct test_c_c_data): Rename test_name field to arg_str.
45048         (struct test_cc_c_data): Likewise.
45049         (struct test_f_i_data): Likewise.
45050         (struct test_ff_i_data): Likewise.
45051         (struct test_f_l_data): Likewise.
45052         (struct test_f_L_data): Likewise.
45053         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45054         and extra2_name.
45055         (COMMON_TEST_SETUP): New macro.
45056         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45057         (COMMON_TEST_CLEANUP): Likewise.
45058         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45059         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45060         macros.
45061         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45062         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45063         macros.
45064         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45065         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45066         cleanup macros.
45067         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45068         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45069         macros.
45070         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45071         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45072         macros.
45073         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45074         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45075         cleanup macros.
45076         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45077         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45078         cleanup macros.
45079         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45080         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45081         cleanup macros.
45082         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45083         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45084         macros.
45085         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45086         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45087         macros.
45088         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45089         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45090         macros.
45091         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45092         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45093         cleanup macros.
45094         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45095         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45096         cleanup macros.
45097         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45098         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45099         macros.
45100         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45101         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45102         cleanup macros.
45103         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45104         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45105         macros.
45106         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45107         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45108         macros.
45109         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45110         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45111         cleanup macros.
45112         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45114 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45116         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45117         to _sifields.sigfault.
45118         (si_addr_lsb): Define new macro.
45119         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45120         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45121         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45123 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45125         [BZ #15441]
45126         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45127         returns -1.
45128         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45129         null return -1.
45130         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45131         loading the domain.
45133 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45135         * math/gen-libm-test.pl (parse_args): Do not include expected
45136         result in test name.
45137         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45138         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45139         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45140         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45141         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45144 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45146         * benchtests/Makefile: Sort function entries.
45148         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45149         tanh, asinh, acosh, atanh.
45150         * benchtests/acos-inputs: New file.
45151         * benchtests/acosh-inputs: New file.
45152         * benchtests/asin-inputs: New file.
45153         * benchtests/asinh-inputs: New file.
45154         * benchtests/atanh-inputs: New file.
45155         * benchtests/cosh-inputs: New file.
45156         * benchtests/log-inputs: New file.
45157         * benchtests/sinh-inputs: New file.
45158         * benchtests/tanh-inputs: New file.
45160 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45162         [BZ #15339]
45163         * posix/tst-getaddrinfo4.c: New test.
45164         * posix/Makefile (tests): Add it.
45166 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45168         [BZ #15339]
45169         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45170         when no services were used.
45171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45172         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45174 2013-05-21  Andreas Schwab  <schwab@suse.de>
45176         [BZ #15014]
45177         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45178         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45179         successful.
45180         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45181         redundant variable declarations and reallocation of buffer when
45182         parsing as IPv6 address.  Always set NSS status when called from
45183         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45184         buffer too small.  Correct computation of needed size.
45185         * nss/Makefile (tests): Add test-digits-dots.
45186         * nss/test-digits-dots.c: New test.
45188 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45190         * benchtests/Makefile: Remove instructions for adding
45191         benchmark tests.
45192         * benchtests/README: New file to explain how to execute and
45193         enhance the benchmark tests.
45195 2013-05-21  Andreas Schwab  <schwab@suse.de>
45197         [BZ #15493]
45198         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45199         * setjmp/tst-sigsetjmp.c: New test.
45201 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45203         * sysdeps/x86_64/memset.S (memset): New implementation.
45204         (__bzero): Likewise.
45205         (__memset_tail): New function.
45207 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45209         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45210         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45211         __memcpy_sse2_unaligned ifunc selection.
45212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45213         Add memcpy-sse2-unaligned.S.
45214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45215         Add: __memcpy_sse2_unaligned.
45217 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45219         [BZ #15490]
45220         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45221         math_force_eval before restoring floating-point envrionment.
45222         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45223         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45224         Likewise.
45225         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45226         <math_private.h>.
45227         (__nearbyintl): Use math_force_eval before restoring
45228         floating-point environment.
45229         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45231         * math/gen-libm-test.pl (special_functions): Remove.
45232         (parse_args): Don't handle TEST_extra.  Handle functions with no
45233         return value.
45234         * math/libm-test.inc (struct test_sincos_data): Replace with
45235         struct test_fFF_11_data.
45236         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45237         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45238         (sincos_test_data): Change element type to struct
45239         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45240         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45241         RUN_TEST_LOOP_sincos.
45242         * math/README.libm-test: Don't mention special handling of
45243         individual functions.
45244         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45245         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45246         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45247         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45248         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45251         * math/gen-libm-test.pl (get_variable): Remove function.
45252         (parse_args): Don't show pointer parameters to call in test
45253         names.  Use "extra output N" in test names for extra outputs
45254         rather than naming variables.
45256 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45258         [BZ #15488]
45259         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45260         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45261         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45262         double tests.
45263         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45264         disable.
45265         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45266         check_long_double.
45268         * math/gen-libm-test.pl (@tests): Remove variable.
45269         ($count): Likewise.
45270         (new_test): Remove function.
45271         (show_exceptions): New function.
45272         (special_functions): Use show_exceptions instead of new_test.
45273         (parse_args): Likewise.
45274         (generate_testfile): Pass only function name in generated call to
45275         print_max_error or print_complex_max_error.
45276         (get_ulps): Do not handle complex tests specially.
45277         (output_test): Rename to ...
45278         (get_all_ulps_for_test): ... this.  Return a string rather than
45279         printing to a file.  Require ulps to be present.
45280         (output_ulps): Generate arrays rather than #defines.
45281         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45282         (struct ulp_data): New type.
45283         (BUILD_COMPLEX_ULP): Remove macro.
45284         (compare_ulp_data): New function.
45285         (find_ulps): Likewise.
45286         (find_test_ulps): Likewise.
45287         (find_function_ulps): Likewise.
45288         (find_complex_function_ulps): Likewise.
45289         (print_max_error): Determine allowed ulps using
45290         find_function_ulps.
45291         (print_complex_max_error): Determine allowed ulps using
45292         find_complex_function_ulps.
45293         (check_float_internal): Determine max ulps using find_test_ulps.
45294         (check_float): Do not take max_ulp parameter.  Update call to
45295         check_float_internal.
45296         (check_complex): Likewise.
45297         (check_int): Do not take max_ulp parameter.
45298         (check_long): Likewise.
45299         (check_bool): Likewise.
45300         (check_longlong): Likewise.
45301         (struct test_f_f_data): Remove max_ulp field.
45302         (struct test_ff_f_data): Likewise.
45303         (struct test_ff_f_data_nexttoward): Likewise.
45304         (struct test_fi_f_data): Likewise.
45305         (struct test_fl_f_data): Likewise.
45306         (struct test_if_f_data): Likewise.
45307         (struct test_fff_f_data): Likewise.
45308         (struct test_c_f_data): Likewise.
45309         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45310         (struct test_fF_f1_data): Likewise.
45311         (struct test_ffI_f1_data): Likewise.
45312         (struct test_c_c_data): Remove max_ulp field.
45313         (struct test_cc_c_data): Likewise.
45314         (struct test_f_i_data): Likewise.
45315         (struct test_ff_i_data): Likewise.
45316         (struct test_f_l_data): Likewise.
45317         (struct test_f_L_data): Likewise.
45318         (struct test_sincos_data): Likewise.
45319         (RUN_TEST_f_f): Do not handle ulps.
45320         (RUN_TEST_LOOP_f_f): Likewise.
45321         (RUN_TEST_2_f): Likewise.
45322         (RUN_TEST_LOOP_2_f): Likewise.
45323         (RUN_TEST_fff_f): Likewise.
45324         (RUN_TEST_LOOP_fff_f): Likewise.
45325         (RUN_TEST_c_f): Likewise.
45326         (RUN_TEST_LOOP_c_f): Likewise.
45327         (RUN_TEST_f_f1): Likewise.
45328         (RUN_TEST_LOOP_f_f1): Likewise.
45329         (RUN_TEST_fF_f1): Likewise.
45330         (RUN_TEST_LOOP_fF_f1): Likewise.
45331         (RUN_TEST_fI_f1): Likewise.
45332         (RUN_TEST_LOOP_fI_f1): Likewise.
45333         (RUN_TEST_ffI_f1): Likewise.
45334         (RUN_TEST_LOOP_ffI_f1): Likewise.
45335         (RUN_TEST_c_c): Likewise.
45336         (RUN_TEST_LOOP_c_c): Likewise.
45337         (RUN_TEST_cc_c): Likewise.
45338         (RUN_TEST_LOOP_cc_c): Likewise.
45339         (RUN_TEST_f_i): Likewise.
45340         (RUN_TEST_LOOP_f_i): Likewise.
45341         (RUN_TEST_f_i_tg): Likewise.
45342         (RUN_TEST_LOOP_f_i_tg): Likewise.
45343         (RUN_TEST_ff_i_tg): Likewise.
45344         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45345         (RUN_TEST_f_b): Likewise.
45346         (RUN_TEST_LOOP_f_b): Likewise.
45347         (RUN_TEST_f_b_tg): Likewise.
45348         (RUN_TEST_LOOP_f_b_tg): Likewise.
45349         (RUN_TEST_f_l): Likewise.
45350         (RUN_TEST_LOOP_f_l): Likewise.
45351         (RUN_TEST_f_L): Likewise.
45352         (RUN_TEST_LOOP_f_L): Likewise.
45353         (RUN_TEST_sincos): Likewise.
45354         (RUN_TEST_LOOP_sincos): Likewise.
45356 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45358         [BZ #15480]
45359         [BZ #15485]
45360         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45361         main case of finite arguments, set rounding mode to FE_TONEAREST
45362         and discard exceptions.
45363         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45364         exceptions.
45365         (remainder_tonearest_test_data): New variable.
45366         (remainder_test_tonearest): New function.
45367         (remainder_towardzero_test_data): New variable.
45368         (remainder_test_towardzero): New function.
45369         (remainder_downward_test_data): New variable.
45370         (remainder_test_downward): New function.
45371         (remainder_upward_test_data): New variable.
45372         (remainder_test_upward): New function.
45373         (main): Call the new test functions.
45375         * math/libm-test.inc (struct test_f_f1_data): Remove field
45376         extra_init.
45377         (struct test_fF_f1_data): Likewise.
45378         (struct test_ffI_f1_data): Likewise.
45379         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45380         based on value of EXTRA_EXPECTED.
45381         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45382         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45383         EXTRA_VAR based on value of EXTRA_EXPECTED.
45384         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45385         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45386         EXTRA_VAR based on value of EXTRA_EXPECTED.
45387         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45388         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45389         EXTRA_VAR based on value of EXTRA_EXPECTED.
45390         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45391         * math/gen-libm-test.pl (parse_args): Don't output initializers
45392         for extra output values.
45394         * math/libm-test.inc (check_int): Expect result to be exactly
45395         equal to expected value and do not handle ulps.
45396         (check_long): Likewise.
45397         (check_longlong): Likewise.
45399         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45400         exceptions.
45401         (cimag_test_data): Likewise.
45402         (conj_test_data): Likewise.
45403         (copysign_test_data): Likewise.
45404         (cproj_test_data): Likewise.
45405         (creal_test_data): Likewise.
45406         (fabs_test_data): Likewise.
45407         (fdim_test_data): Likewise.
45408         (finite_test_data): Likewise.
45409         (floor_test_data): Likewise.
45410         (fmax_test_data): Likewise.
45411         (fmin_test_data): Likewise.
45412         (fmod_test_data): Likewise.
45413         (fpclassify_test_data): Likewise.
45414         (frexp_test_data): Likewise.
45415         (ilogb_test_data): Likewise.
45416         (isfinite_test_data): Likewise.
45417         (isgreater_test_data): Likewise.
45418         (isgreaterequal_test_data): Likewise.
45419         (isinf_test_data): Likewise.
45420         (isless_test_data): Likewise.
45421         (islessequal_test_data): Likewise.
45422         (islessgreater_test_data): Likewise.
45423         (isnan_test_data): Likewise.
45424         (isnormal_test_data): Likewise.
45425         (issignaling_test_data): Likewise.
45426         (isunordered_test_data): Likewise.
45427         (ldexp_test_data): Likewise.
45428         (lrint_test_data): Likewise.
45429         (lrint_test_data) [TEST_FLOAT]: Disable one test.
45430         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
45431         (lrint_tonearest_test_data): Test for "inexact" exceptions.
45432         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45433         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
45434         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45435         test input.
45436         (lrint_towardzero_test_data): Test for "inexact" exceptions.
45437         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45438         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
45439         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
45440         that test input.
45441         (lrint_downward_test_data): Test for "inexact" exceptions.
45442         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45443         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
45444         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
45445         test input.
45446         (lrint_upward_test_data): Test for "inexact" exceptions.
45447         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
45448         test input.
45449         (llrint_test_data): Test for "inexact" exceptions.
45450         (llrint_test_data) [TEST_FLOAT]: Disable one test.
45451         (llrint_tonearest_test_data): Test for "inexact" exceptions.
45452         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
45453         (llrint_towardzero_test_data): Test for "inexact" exceptions.
45454         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
45455         (llrint_downward_test_data): Test for "inexact" exceptions.
45456         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
45457         (llrint_upward_test_data): Test for "inexact" exceptions.
45458         (logb_test_data): Likewise.
45459         (logb_downward_test_data): Likewise.
45460         (nextafter_test_data): Likewise.
45461         (nexttoward_test_data): Likewise.
45462         (remainder_test_data): Likewise.
45463         (remquo_test_data): Likewise.
45464         (scalbn_test_data): Likewise.
45465         (scalbln_test_data): Likewise.
45466         (signbit_test_data): Likewise.
45467         (sqrt_test_data): Likewise.
45468         (significand_test_data): Likewise.
45470 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45472         [BZ #15424]
45473         * benchtests/bench-modf.c (struct args): Mark arg0 as
45474         volatile.
45475         * scripts/bench.pl: Mark members of struct args as volatile.
45477 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45479         [BZ # 15497]
45480         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
45481         negative infinity on POWER6 or lower.
45482         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
45484 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45486         [BZ #15442]
45487         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
45488         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
45489         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
45490         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
45491         (_FP_SETQNAN): New macro.
45492         (_FP_SETQNAN_SEMIRAW): Likewise.
45493         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
45494         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
45495         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
45496         (FP_EXTEND): Use _FP_FRAC_SNANP.
45497         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
45498         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
45499         into account.
45500         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45501         New macro.
45502         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
45503         Likewise.
45505 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45507         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
45508         with DIVIDE_BY_ZERO_EXCEPTION.
45509         (gamma_test_data): Likewise.
45510         (lgamma_test_data): Likewise.
45511         (log_test_data): Likewise.
45512         (log10_test_data): Likewise.
45513         (log2_test_data): Likewise.
45514         (tgamma_test_data): Likewise.
45516         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
45517         (acos_test_tonearest): Likewise.
45518         (acos_test_towardzero): Likewise.
45519         (acos_test_downward): Likewise.
45520         (acos_test_upward): Likewise.
45521         (acosh_test): Likewise.
45522         (asin_test): Likewise.
45523         (asin_test_tonearest): Likewise.
45524         (asin_test_towardzero): Likewise.
45525         (asin_test_downward): Likewise.
45526         (asin_test_upward): Likewise.
45527         (asinh_test): Likewise.
45528         (atan_test): Likewise.
45529         (atanh_test): Likewise.
45530         (atan2_test): Likewise.
45531         (cabs_test): Likewise.
45532         (cacos_test): Likewise.
45533         (cacosh_test): Likewise.
45534         (casin_test): Likewise.
45535         (casinh_test): Likewise.
45536         (catan_test): Likewise.
45537         (catanh_test): Likewise.
45538         (cbrt_test): Likewise.
45539         (ccos_test): Likewise.
45540         (ccosh_test): Likewise.
45541         (cexp_test): Likewise.
45542         (clog_test): Likewise.
45543         (clog10_test): Likewise.
45544         (cos_test): Likewise.
45545         (cos_test_tonearest): Likewise.
45546         (cos_test_towardzero): Likewise.
45547         (cos_test_downward): Likewise.
45548         (cos_test_upward): Likewise.
45549         (cosh_test): Likewise.
45550         (cosh_test_tonearest): Likewise.
45551         (cosh_test_towardzero): Likewise.
45552         (cosh_test_downward): Likewise.
45553         (cosh_test_upward): Likewise.
45554         (cpow_test): Likewise.
45555         (csin_test): Likewise.
45556         (csinh_test): Likewise.
45557         (csqrt_test): Likewise.
45558         (ctan_test): Likewise.
45559         (ctan_test_tonearest): Likewise.
45560         (ctan_test_towardzero): Likewise.
45561         (ctan_test_downward): Likewise.
45562         (ctan_test_upward): Likewise.
45563         (ctanh_test): Likewise.
45564         (ctanh_test_tonearest): Likewise.
45565         (ctanh_test_towardzero): Likewise.
45566         (ctanh_test_downward): Likewise.
45567         (ctanh_test_upward): Likewise.
45568         (erf_test): Likewise.
45569         (erfc_test): Likewise.
45570         (exp_test): Likewise.
45571         (exp_test_tonearest): Likewise.
45572         (exp_test_towardzero): Likewise.
45573         (exp_test_downward): Likewise.
45574         (exp_test_upward): Likewise.
45575         (exp10_test): Likewise.
45576         (exp2_test): Likewise.
45577         (expm1_test): Likewise.
45578         (fmod_test): Likewise.
45579         (gamma_test): Likewise.
45580         (hypot_test): Likewise.
45581         (j0_test): Likewise.
45582         (j1_test): Likewise.
45583         (jn_test): Likewise.
45584         (lgamma_test): Likewise.
45585         (log_test): Likewise.
45586         (log10_test): Likewise.
45587         (log1p_test): Likewise.
45588         (log2_test): Likewise.
45589         (logb_test_downward): Likewise.
45590         (pow_test): Likewise.
45591         (pow_test_tonearest): Likewise.
45592         (pow_test_towardzero): Likewise.
45593         (pow_test_downward): Likewise.
45594         (pow_test_upward): Likewise.
45595         (remainder_test): Likewise.
45596         (remquo_test): Likewise.
45597         (sin_test): Likewise.
45598         (sin_test_tonearest): Likewise.
45599         (sin_test_towardzero): Likewise.
45600         (sin_test_downward): Likewise.
45601         (sin_test_upward): Likewise.
45602         (sincos_test): Likewise.
45603         (sinh_test): Likewise.
45604         (sinh_test_tonearest): Likewise.
45605         (sinh_test_towardzero): Likewise.
45606         (sinh_test_downward): Likewise.
45607         (sinh_test_upward): Likewise.
45608         (sqrt_test): Likewise.
45609         (tan_test): Likewise.
45610         (tan_test_tonearest): Likewise.
45611         (tan_test_towardzero): Likewise.
45612         (tan_test_downward): Likewise.
45613         (tan_test_upward): Likewise.
45614         (tanh_test): Likewise.
45615         (tgamma_test): Likewise.
45616         (y0_test): Likewise.
45617         (y1_test): Likewise.
45618         (yn_test): Likewise.
45620         * math/gen-libm-test.pl (adjust_arg): Remove function.
45621         (special_function): Remove argument $in_func.  Only handle
45622         generating output for tables of tests, not inside functions.
45623         (parse_args): Likewise.
45624         (generate_testfile): Remove variable $in_func.  Update call to
45625         parse_args.
45626         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
45627         (MINUS_ZERO_INIT): Rename macro to minus_zero.
45628         (PLUS_INFTY_INIT): Rename macro to plus_infty.
45629         (MINUS_INFTY_INIT): Rename macro to minus_infty.
45630         (QNAN_VALUE_INIT): Rename macro to qnan_value.
45631         (MAX_VALUE_INIT): Rename macro to max_value.
45632         (MIN_VALUE_INIT): Rename macro to min_value.
45633         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
45634         (plus_zero): Remove variable.
45635         (minus_zero): Likewise.
45636         (plus_infty): Likewise.
45637         (minus_infty): Likewise.
45638         (qnan_value): Likewise.
45639         (max_value): Likewise.
45640         (min_value): Likewise.
45641         (min_subnorm_value): Likewise.
45643 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45645         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
45646         uint64_t or uint32_t usage.
45647         * crypt/sha256-block.c: Likewise.
45648         * crypt/sha256-crypt.c: Likewise.
45649         * crypt/sha256.c: Likewise.
45650         * crypt/sha512-block.c: Likewise.
45651         * crypt/sha512-crypt.c: Likewise.
45652         * crypt/sha512.c: Likewise.
45653         * debug/backtrace-tst.c: Likewise.
45654         * debug/pcprofiledump.c: Likewise.
45655         * elf/cache.c: Likewise.
45656         * elf/dl-cache.c: Likewise.
45657         * elf/dl-misc.c: Likewise.
45658         * elf/dl-profile.c: Likewise.
45659         * elf/dl-support.c: Likewise.
45660         * elf/ldconfig.c: Likewise.
45661         * elf/sprof.c: Likewise.
45662         * iconv/dummy-repertoire.c: Likewise.
45663         * iconv/iconv_charmap.c: Likewise.
45664         * iconv/skeleton.c: Likewise.
45665         * iconvdata/8bit-generic.c: Likewise.
45666         * iconvdata/cp737.h: Likewise.
45667         * iconvdata/cp775.h: Likewise.
45668         * iconvdata/ibm1008.h: Likewise.
45669         * iconvdata/ibm1025.h: Likewise.
45670         * iconvdata/ibm1046.h: Likewise.
45671         * iconvdata/ibm1097.h: Likewise.
45672         * iconvdata/ibm1112.h: Likewise.
45673         * iconvdata/ibm1122.h: Likewise.
45674         * iconvdata/ibm1123.h: Likewise.
45675         * iconvdata/ibm1124.h: Likewise.
45676         * iconvdata/ibm1129.h: Likewise.
45677         * iconvdata/ibm1130.h: Likewise.
45678         * iconvdata/ibm1132.h: Likewise.
45679         * iconvdata/ibm1133.h: Likewise.
45680         * iconvdata/ibm1137.h: Likewise.
45681         * iconvdata/ibm1140.h: Likewise.
45682         * iconvdata/ibm1141.h: Likewise.
45683         * iconvdata/ibm1142.h: Likewise.
45684         * iconvdata/ibm1143.h: Likewise.
45685         * iconvdata/ibm1144.h: Likewise.
45686         * iconvdata/ibm1145.h: Likewise.
45687         * iconvdata/ibm1146.h: Likewise.
45688         * iconvdata/ibm1147.h: Likewise.
45689         * iconvdata/ibm1148.h: Likewise.
45690         * iconvdata/ibm1149.h: Likewise.
45691         * iconvdata/ibm1153.h: Likewise.
45692         * iconvdata/ibm1154.h: Likewise.
45693         * iconvdata/ibm1155.h: Likewise.
45694         * iconvdata/ibm1156.h: Likewise.
45695         * iconvdata/ibm1157.h: Likewise.
45696         * iconvdata/ibm1158.h: Likewise.
45697         * iconvdata/ibm1160.h: Likewise.
45698         * iconvdata/ibm1161.h: Likewise.
45699         * iconvdata/ibm1162.h: Likewise.
45700         * iconvdata/ibm1163.h: Likewise.
45701         * iconvdata/ibm1164.h: Likewise.
45702         * iconvdata/ibm1166.h: Likewise.
45703         * iconvdata/ibm1167.h: Likewise.
45704         * iconvdata/ibm12712.h: Likewise.
45705         * iconvdata/ibm1390.h: Likewise.
45706         * iconvdata/ibm1399.h: Likewise.
45707         * iconvdata/ibm16804.h: Likewise.
45708         * iconvdata/ibm4517.h: Likewise.
45709         * iconvdata/ibm4899.h: Likewise.
45710         * iconvdata/ibm4909.h: Likewise.
45711         * iconvdata/ibm4971.h: Likewise.
45712         * iconvdata/ibm5347.h: Likewise.
45713         * iconvdata/ibm803.h: Likewise.
45714         * iconvdata/ibm856.h: Likewise.
45715         * iconvdata/ibm901.h: Likewise.
45716         * iconvdata/ibm902.h: Likewise.
45717         * iconvdata/ibm9030.h: Likewise.
45718         * iconvdata/ibm9066.h: Likewise.
45719         * iconvdata/ibm921.h: Likewise.
45720         * iconvdata/ibm922.h: Likewise.
45721         * iconvdata/ibm9448.h: Likewise.
45722         * iconvdata/isiri-3342.h: Likewise.
45723         * iconvdata/jis0201.h: Likewise.
45724         * include/link.h: Likewise.
45725         * include/netdb.h: Likewise.
45726         * inet/check_native.c: Likewise.
45727         * inet/check_pf.c: Likewise.
45728         * inet/getipv4sourcefilter.c: Likewise.
45729         * inet/getnameinfo.c: Likewise.
45730         * inet/getsourcefilter.c: Likewise.
45731         * inet/htonl.c: Likewise.
45732         * inet/setipv4sourcefilter.c: Likewise.
45733         * inet/setsourcefilter.c: Likewise.
45734         * inet/test-inet6_opt.c: Likewise.
45735         * inet/tst-network.c: Likewise.
45736         * locale/C-collate.c: Likewise.
45737         * locale/C-ctype.c: Likewise.
45738         * locale/C-time.c: Likewise.
45739         * locale/C-translit.h: Likewise.
45740         * locale/loadarchive.c: Likewise.
45741         * locale/programs/3level.h: Likewise.
45742         * locale/programs/charmap.c: Likewise.
45743         * locale/programs/charmap.h: Likewise.
45744         * locale/programs/ld-address.c: Likewise.
45745         * locale/programs/ld-collate.c: Likewise.
45746         * locale/programs/ld-ctype.c: Likewise.
45747         * locale/programs/ld-identification.c: Likewise.
45748         * locale/programs/ld-measurement.c: Likewise.
45749         * locale/programs/ld-messages.c: Likewise.
45750         * locale/programs/ld-monetary.c: Likewise.
45751         * locale/programs/ld-name.c: Likewise.
45752         * locale/programs/ld-numeric.c: Likewise.
45753         * locale/programs/ld-paper.c: Likewise.
45754         * locale/programs/ld-telephone.c: Likewise.
45755         * locale/programs/ld-time.c: Likewise.
45756         * locale/programs/linereader.c: Likewise.
45757         * locale/programs/locale.c: Likewise.
45758         * locale/programs/locarchive.c: Likewise.
45759         * locale/programs/locfile.h: Likewise.
45760         * locale/programs/repertoire.c: Likewise.
45761         * locale/programs/simple-hash.c: Likewise.
45762         * locale/programs/simple-hash.h: Likewise.
45763         * malloc/memusage.c: Likewise.
45764         * malloc/memusagestat.c: Likewise.
45765         * nis/nis_defaults.c: Likewise.
45766         * nis/nis_hash.c: Likewise.
45767         * nis/nis_print.c: Likewise.
45768         * nis/nis_xdr.c: Likewise.
45769         * nscd/connections.c: Likewise.
45770         * nscd/hstcache.c: Likewise.
45771         * nscd/nscd_gethst_r.c: Likewise.
45772         * nscd/nscd_getserv_r.c: Likewise.
45773         * nscd/nscd_helper.c: Likewise.
45774         * nscd/servicescache.c: Likewise.
45775         * nss/makedb.c: Likewise.
45776         * nss/nss_db/db-XXX.c: Likewise.
45777         * nss/nss_db/db-initgroups.c: Likewise.
45778         * nss/nss_db/db-netgrp.c: Likewise.
45779         * nss/nss_files/files-network.c: Likewise.
45780         * nss/nss_files/files-parse.c: Likewise.
45781         * posix/bug-regex5.c: Likewise.
45782         * posix/fnmatch_loop.c: Likewise.
45783         * posix/regcomp.c: Likewise.
45784         * posix/regexec.c: Likewise.
45785         * posix/tst-rfc3484-2.c: Likewise.
45786         * posix/tst-rfc3484-3.c: Likewise.
45787         * posix/tst-rfc3484.c: Likewise.
45788         * resolv/nss_dns/dns-canon.c: Likewise.
45789         * resolv/nss_dns/dns-network.c: Likewise.
45790         * resolv/res_init.c: Likewise.
45791         * resolv/res_mkquery.c: Likewise.
45792         * resolv/tst-aton.c: Likewise.
45793         * stdlib/cxa_atexit.c: Likewise.
45794         * stdlib/cxa_finalize.c: Likewise.
45795         * stdlib/gen-fpioconst.c: Likewise.
45796         * stdlib/strtol_l.c: Likewise.
45797         * string/tst-endian.c: Likewise.
45798         * sunrpc/auth_des.c: Likewise.
45799         * sunrpc/clnt_udp.c: Likewise.
45800         * sunrpc/rtime.c: Likewise.
45801         * sunrpc/svcauth_des.c: Likewise.
45802         * sunrpc/xdr.c: Likewise.
45803         * sunrpc/xdr_intXX_t.c: Likewise.
45804         * sunrpc/xdr_rec.c: Likewise.
45805         * sysdeps/generic/ldconfig.h: Likewise.
45806         * sysdeps/generic/ldsodefs.h: Likewise.
45807         * sysdeps/generic/memusage.h: Likewise.
45808         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45809         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
45810         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
45811         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45812         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45813         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45814         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45815         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45816         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45817         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45818         * sysdeps/posix/getaddrinfo.c: Likewise.
45819         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45820         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45821         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
45822         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
45823         * sysdeps/powerpc/test-gettimebase.c: Likewise.
45824         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45825         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
45826         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
45827         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45828         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
45829         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45830         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45831         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
45832         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
45833         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
45834         * sysdeps/x86_64/dl-tls.h: Likewise.
45835         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
45836         * time/alt_digit.c: Likewise.
45837         * time/era.c: Likewise.
45838         * wcsmbs/tst-c16c32-1.c: Likewise.
45840 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45842         * math/libm-test.inc (struct test_sincos_data): New type.
45843         (RUN_TEST_LOOP_sincos): New macro.
45844         (sincos_test_data): New variable.
45845         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
45847 2013-05-16  Richard Henderson  <rth@redhat.com>
45849         * math/atest-exp2.c (LIMB64): New macro.
45850         (CONSTSZ): New macro.
45851         (mp_exp1, mp_exp_m1, mp_log2): New variables.
45852         (hexdig): Move ...
45853         (print_mpn_fp): ... to function scope.
45854         (read_mpn_hex): Remove.
45855         (get_log2): Remove.
45856         (exp2_mpn): Use mp_log2.
45857         (main): Use mp_exp1.
45859 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
45861         * math/libm-test.inc: Remove comment about not testing "inexact"
45862         exceptions.
45863         (INEXACT_EXCEPTION): New macro.
45864         (NO_INEXACT_EXCEPTION): Likewise.
45865         (INVALID_EXCEPTION_OK): Update value.
45866         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45867         (OVERFLOW_EXCEPTION_OK): Likewise.
45868         (UNDERFLOW_EXCEPTION_OK): Likewise.
45869         (IGNORE_ZERO_INF_SIGN): Likewise.
45870         (ERRNO_UNCHANGED): Likewise.
45871         (ERRNO_EDOM): Likewise.
45872         (ERRNO_ERANGE): Likewise.
45873         (test_exceptions): Handle testing "inexact" exceptions.
45874         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
45875         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
45876         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
45877         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
45878         INEXACT_EXCEPTION.
45879         (rint_towardzero_test_data): Likewise.
45880         (rint_downward_test_data): Likewise.
45881         (rint_upward_test_data): Likewise.
45883         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
45884         with OVERFLOW_EXCEPTION.
45885         (exp10_test_data): Likewise.
45886         (exp2_test_data): Likewise.
45887         (expm1_test_data): Likewise.
45888         (lgamma_test_data): Likewise.
45889         (pow_test_data): Likewise.
45890         (tgamma_test_data): Likewise.
45891         (yn_test_data): Remove duplicate test of overflow.
45893         * math/libm-test.inc (struct test_cc_c_data): New type.
45894         (RUN_TEST_LOOP_cc_c): New macro.
45895         (cpow_test_data): New variable.
45896         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
45898         * math/libm-test.inc (struct test_f_L_data): New type.
45899         (RUN_TEST_LOOP_f_L): New macro.
45900         (llrint_test_data): New variable.
45901         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
45902         (llrint_tonearest_test_data): New variable.
45903         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
45904         (llrint_towardzero_test_data): New variable.
45905         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
45906         (llrint_downward_test_data): New variable.
45907         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
45908         (llrint_upward_test_data): New variable.
45909         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
45910         (llround_test_data): New variable.
45911         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
45913 2013-05-13  Peter Collingbourne  <pcc@google.com>
45915         * math/atest-exp2.c (get_log2): Remove const attribute.
45917 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45919         * math/libm-test.inc (struct test_f_l_data): New type.
45920         (RUN_TEST_LOOP_f_l): New macro.
45921         (lrint_test_data): New variable.
45922         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
45923         (lrint_tonearest_test_data): New variable.
45924         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
45925         (lrint_towardzero_test_data): New variable.
45926         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
45927         (lrint_downward_test_data): New variable.
45928         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
45929         (lrint_upward_test_data): New variable.
45930         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
45931         (lround_test_data): New variable.
45932         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
45934 2013-05-15  Peter Collingbourne  <pcc@google.com>
45936         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
45937         (EXTRACT_WORDS64) Use where appropriate.
45938         (INSERT_WORDS64) Likewise.
45940         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
45941         constraints with x constraints.
45942         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
45944         * malloc/obstack.c (_obstack_compat): Add initializer.
45946 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45948         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
45949         si_trapno and add si_addr_lsb to _sifields.sigfault.
45950         (si_trapno): Remove macro.
45951         (si_addr_lsb): Define new macro.
45952         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45954 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
45956         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
45957         instead of TEST_f_l.
45958         (llrint_test_tonearest): Likewise.
45959         (llrint_test_towardzero): Likewise.
45960         (llrint_test_downward): Likewise.
45961         (llrint_test_upward): Likewise.
45962         (llround_test): Likewise.
45964         * math/libm-test.inc (struct test_f_i_data): Add comment.
45965         (RUN_TEST_LOOP_f_b): New macro.
45966         (RUN_TEST_LOOP_f_b_tg): Likewise.
45967         (finite_test_data): New variable.
45968         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
45969         (isfinite_test_data): New variable.
45970         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45971         (isinf_test_data): New variable.
45972         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45973         (isnan_test_data): New variable.
45974         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45975         (isnormal_test_data): New variable.
45976         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45977         (issignaling_test_data): New variable.
45978         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45979         (signbit_test_data): New variable.
45980         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
45982         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
45983         with INVALID_EXCEPTION.
45984         (acosh_test_data): Likewise.
45985         (asin_test_data): Likewise.
45986         (atanh_test_data): Likewise.
45987         (fmod_test_data): Likewise.
45988         (log_test_data): Likewise.
45989         (log10_test_data): Likewise.
45990         (log2_test_data): Likewise.
45991         (pow_test_data): Likewise.
45992         (sqrt_test_data): Likewise.
45993         (y0_test_data): Likewise.
45994         (y1_test_data): Likewise.
45995         (yn_test_data): Likewise.
45997         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
45998         function contents.
46000         * math/libm-test.inc (struct test_ff_i_data): New type.
46001         (RUN_TEST_LOOP_ff_i_tg): New macro.
46002         (isgreater_test_data): New variable.
46003         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46004         (isgreaterequal_test_data): New variable.
46005         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46006         (isless_test_data): New variable.
46007         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46008         (islessequal_test_data): New variable.
46009         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46010         (islessgreater_test_data): New variable.
46011         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46012         (isunordered_test_data): New variable.
46013         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46015 2013-05-14  David S. Miller  <davem@davemloft.net>
46017         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46019 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46021         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46023         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46024         extra_test to int.
46025         (struct test_f_i_data): Change type of max_ulp to int.
46027         * math/libm-test.inc (test_ffI_f1_data): New type.
46028         (RUN_TEST_LOOP_ffI_f1): New macro.
46029         (remquo_test_data): New variable.
46030         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46032         * setjmp/tst-setjmp-fp.c: New file.
46033         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46034         (link-libm): New variable.
46035         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46037         * math/libm-test.inc (struct test_f_i_data): New type.
46038         (RUN_TEST_LOOP_f_i): New macro.
46039         (RUN_TEST_LOOP_f_i_tg): Likewise.
46040         (fpclassify_test_data): New variable.
46041         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46042         (ilogb_test_data): New variable.
46043         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46045         * math/libm-test.inc (scalbln_test): Correct function name in END
46046         call.
46048         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46049         (RUN_TEST_LOOP_fI_f1): New macro.
46050         (frexp_test_data): New variable.
46051         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46053         * math/libm-test.inc (struct test_fF_f1_data): New type.
46054         (RUN_TEST_LOOP_fF_f1): New macro.
46055         (modf_test_data): New variable.
46056         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46058         * math/libm-test.inc (struct test_f_f1_data): New type.
46059         (RUN_TEST_LOOP_f_f1): New macro.
46060         (gamma_test_data): New variable.
46061         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46062         (lgamma_test_data): New variable.
46063         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46065 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46067         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46068         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46069         (main): Comment "tls" pseudo-hwcap.
46071 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46073         * math/libm-test.inc (struct test_fl_f_data): New type.
46074         (RUN_TEST_LOOP_fl_f): New variable.
46075         (scalbln_test_data): New variable.
46076         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46078         * math/libm-test.inc (struct test_fi_f_data): New type.
46079         (RUN_TEST_LOOP_fi_f): New macro.
46080         (ldexp_test_data): New variable.
46081         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46082         (scalbn_test_data): New variable.
46083         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46085         * math/libm-test.inc (struct test_c_f_data): New type.
46086         (RUN_TEST_LOOP_c_f): New macro.
46087         (cabs_test_data): New variable.
46088         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46089         (carg_test_data): New variable.
46090         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46091         (cimag_test_data): New variable.
46092         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46093         (creal_test_data): New variable.
46094         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46096         * math/libm-test.inc (struct test_if_f_data): New type.
46097         (RUN_TEST_LOOP_if_f): New macro.
46098         (jn_test_data): New variable.
46099         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46100         (yn_test_data): New variable.
46101         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46103         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46105 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46107         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46108         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46110 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46112         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46113         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46114         (bench-deps): Add bench-timing.h.
46115         * benchtests-bench-skeleton.c: Include bench-timing.h.
46116         (main): Use TIMING_* macros instead of clock_gettime.
46117         * benchtests/bench-timing.h: New file.
46119         [BZ #14582]
46120         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46121         Renamed from _LIB_VERSION.
46122         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46124 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46126         * math/libm-test.inc (struct test_fff_f_data): New type.
46127         (RUN_TEST_LOOP_fff_f): New macro.
46128         (fma_test_data): New variable.
46129         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46130         (fma_towardzero_test_data): New variable.
46131         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46132         (fma_downward_test_data): New variable.
46133         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46134         (fma_upward_test_data): New variable.
46135         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46137         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46138         (struct test_c_c_data): New type.
46139         (RUN_TEST_LOOP_c_c): New macro.
46140         (cacos_test_data): New variable.
46141         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46142         (cacosh_test_data): New variable.
46143         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46144         (casin_test_data): New variable.
46145         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46146         (casinh_test_data): New variable.
46147         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46148         (catan_test_data): New variable.
46149         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46150         (catanh_test_data): New variable.
46151         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46152         (ccos_test_data): New variable.
46153         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46154         (ccosh_test_data): New variable.
46155         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46156         (cexp_test_data): New variable.
46157         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46158         (clog_test_data): New variable.
46159         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46160         (clog10_test_data): New variable.
46161         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46162         (conj_test_data): New variable.
46163         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46164         (cproj_test_data): New variable.
46165         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46166         (csin_test_data): New variable.
46167         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46168         (csinh_test_data): New variable.
46169         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46170         (csqrt_test_data): New variable.
46171         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46172         (ctan_test_data): New variable.
46173         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46174         (ctan_tonearest_test_data): New variable.
46175         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46176         (ctan_towardzero_test_data): New variable.
46177         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46178         (ctan_downward_test_data): New variable.
46179         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46180         (ctan_upward_test_data): New variable.
46181         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46182         (ctanh_test_data): New variable.
46183         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46184         (ctanh_tonearest_test_data): New variable.
46185         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46186         (ctanh_towardzero_test_data): New variable.
46187         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46188         (ctanh_downward_test_data): New variable.
46189         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46190         (ctanh_upward_test_data): New variable.
46191         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46192         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46193         of BUILD_COMPLEX.
46195         * math/libm-test.inc (struct test_ff_f_data): New type.
46196         (struct test_ff_f_data_nexttoward): Likewise.
46197         (RUN_TEST_LOOP_2_f): New macro.
46198         (RUN_TEST_LOOP_ff_f): Likewise.
46199         (atan2_test_data): New variable.
46200         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46201         (copysign_test_data): New variable.
46202         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46203         (fdim_test_data): New variable.
46204         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46205         (fmax_test_data): New variable.
46206         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46207         (fmin_test_data): New variable.
46208         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46209         (fmod_test_data): New variable.
46210         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46211         (hypot_test_data): New variable.
46212         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46213         (nextafter_test_data): New variable.
46214         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46215         (nexttoward_test_data): New variable.
46216         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46217         (pow_test_data): New variable.
46218         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46219         (pow_tonearest_test_data): New variable.
46220         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46221         (pow_towardzero_test_data): New variable.
46222         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46223         (pow_downward_test_data): New variable.
46224         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46225         (pow_upward_test_data): New variable.
46226         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46227         (remainder_test_data): New variable.
46228         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46229         (scalb_test_data): New variable.
46230         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46231         * sysdeps/i386/fpu/libm-test-ulps: Update.
46233 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46235         * math/libm-test.inc (fma_test): Use max_value instead of local
46236         variable fltmax.
46237         (nextafter_test): Likewise.
46239         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46240         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46241         (acos_downward_test_data): New variable.
46242         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46243         (acos_upward_test_data): New variable.
46244         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46245         (acosh_test_data): New variable.
46246         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46247         (asin_test_data): New variable.
46248         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46249         (asin_tonearest_test_data): New variable.
46250         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46251         (asin_towardzero_test_data): New variable.
46252         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46253         (asin_downward_test_data): New variable.
46254         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46255         (asin_upward_test_data): New variable.
46256         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46257         (asinh_test_data): New variable.
46258         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46259         (atan_test_data): New variable.
46260         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46261         (atanh_test_data): New variable.
46262         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46263         (cbrt_test_data): New variable.
46264         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46265         (ceil_test_data): New variable.
46266         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46267         (cos_test_data): New variable.
46268         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46269         (cos_tonearest_test_data): New variable.
46270         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46271         (cos_towardzero_test_data): New variable.
46272         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46273         (cos_downward_test_data): New variable.
46274         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46275         (cos_upward_test_data): New variable.
46276         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46277         (cosh_test_data): New variable.
46278         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46279         (cosh_tonearest_test_data): New variable.
46280         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46281         (cosh_towardzero_test_data): New variable.
46282         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46283         (cosh_downward_test_data): New variable.
46284         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46285         (cosh_upward_test_data): New variable.
46286         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46287         (erf_test_data): New variable.
46288         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46289         (erfc_test_data): New variable.
46290         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46291         (exp_test_data): New variable.
46292         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46293         (exp_tonearest_test_data): New variable.
46294         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46295         (exp_towardzero_test_data): New variable.
46296         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46297         (exp_downward_test_data): New variable.
46298         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46299         (exp_upward_test_data): New variable.
46300         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46301         (exp10_test_data): New variable.
46302         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46303         (exp2_test_data): New variable.
46304         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46305         (expm1_test_data): New variable.
46306         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46307         (fabs_test_data): New variable.
46308         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46309         (floor_test_data): New variable.
46310         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46311         (j0_test_data): New variable.
46312         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46313         (j1_test_data): New variable.
46314         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46315         (log_test_data): New variable.
46316         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46317         (log10_test_data): New variable.
46318         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46319         (log1p_test_data): New variable.
46320         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46321         (log2_test_data): New variable.
46322         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46323         (logb_test_data): New variable.
46324         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46325         (logb_downward_test_data): New variable.
46326         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46327         (nearbyint_test_data): New variable.
46328         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46329         (rint_test_data): New variable.
46330         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46331         (rint_tonearest_test_data): New variable.
46332         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46333         (rint_towardzero_test_data): New variable.
46334         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46335         (rint_downward_test_data): New variable.
46336         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46337         (rint_upward_test_data): New variable.
46338         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46339         (round_test_data): New variable.
46340         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46341         (sin_test_data): New variable.
46342         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46343         (sin_tonearest_test_data): New variable.
46344         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46345         (sin_towardzero_test_data): New variable.
46346         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46347         (sin_downward_test_data): New variable.
46348         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46349         (sin_upward_test_data): New variable.
46350         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46351         (sinh_test_data): New variable.
46352         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46353         (sinh_tonearest_test_data): New variable.
46354         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46355         (sinh_towardzero_test_data): New variable.
46356         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46357         (sinh_downward_test_data): New variable.
46358         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46359         (sinh_upward_test_data): New variable.
46360         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46361         (sqrt_test_data): New variable.
46362         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46363         (tan_test_data): New variable.
46364         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46365         (tan_tonearest_test_data): New variable.
46366         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46367         (tan_towardzero_test_data): New variable.
46368         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46369         (tan_downward_test_data): New variable.
46370         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46371         (tan_upward_test_data): New variable.
46372         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46373         (tanh_test_data): New variable.
46374         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46375         (tgamma_test_data): New variable.
46376         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46377         (trunc_test_data): New variable.
46378         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46379         (y0_test_data): New variable.
46380         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46381         (y1_test_data): New variable.
46382         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46383         (significand_test_data): New variable.
46384         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46386 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46388         [BZ #12387]
46389         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46391 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46393         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46395 2013-05-10  Andreas Jaeger  <aj@suse.de>
46397         [BZ #15448]
46398         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46399         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46401 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46403         * math/gen-libm-test.pl (adjust_arg): New function.
46404         (special_functions): Handle generating output in both functions
46405         and arrays.
46406         (parse_args): Likewise.
46407         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
46408         $in_func argument to parse_args.
46409         * math/libm-test.inc (struct test_f_f_data): New type.
46410         (IF_ROUND_INIT_): New macro.
46411         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
46412         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
46413         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
46414         (IF_ROUND_INIT_FE_UPWARD): Likewise.
46415         (ROUND_RESTORE_): Likewise.
46416         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
46417         (ROUND_RESTORE_FE_TONEAREST): Likewise.
46418         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
46419         (ROUND_RESTORE_FE_UPWARD): Likewise.
46420         (RUN_TEST_LOOP_f_f): New macro.
46421         (acos_test_data): New variable.
46422         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
46423         (acos_tonearest_test_data): New variable.
46424         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46426 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46428         * benchtests/bench-skeleton.c (startup): Fix coding style.
46430 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46432         [BZ #6809]
46433         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
46434         negative infinity argument.
46435         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
46436         negative infinity argument.
46437         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
46438         negative infinity argument.
46439         * math/libm-test.inc (tgamma_test): Expect errno to be set for
46440         domain errors.
46442 2013-05-10  Florian Weimer  <fweimer@redhat.com>
46444         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
46445         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
46446         * iconv/iconv_prog.c (main): Likewise.
46447         * locale/programs/charmap-dir.c (charmap_readdir)
46448         (fopen_uncompressed): Likewise.
46449         * locale/programs/locfile.c (siblings_uncached)
46450         (write_locale_data): Use lstat64 instead of lstat.
46451         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
46452         stat.
46454 2013-05-10  Andreas Jaeger  <aj@suse.de>
46456         [BZ #15395]
46457         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
46458         localization.
46459         Include <locale.h>.
46461 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
46463         * elf/dl-close.c (_dl_close_worker): Add comments.
46465 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
46467         [BZ #15359]
46468         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
46469         high part of pi/2.
46470         (__ieee754_rem_pio2l): Update comments.
46472         [BZ #15429]
46473         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
46474         high part of pi/2.
46475         (__ieee754_rem_pio2l): Update comments.
46477         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
46478         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
46480         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
46481         M_PI_4l.
46483         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
46484         (M_PI_34_LOG10El): Likewise.
46485         (M_PI2_LOG10El): Likewise.
46486         (M_PI4_LOG10El): Likewise.
46487         (M_PI_LOG10El): Likewise.
46489 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46493 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
46495         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
46496         (MINUS_ZERO_INIT): Likewise.
46497         (PLUS_INFTY_INIT): Likewise.
46498         (MINUS_INFTY_INIT): Likewise.
46499         (QNAN_VALUE_INIT): Likewise.
46500         (MAX_VALUE_INIT): Likewise.
46501         (MIN_VALUE_INIT): Likewise.
46502         (MIN_SUBNORM_VALUE_INIT): Likewise.
46503         (plus_zero): Initialize with PLUS_ZERO_INIT.
46504         (minus_zero): Initialize with MINUS_ZERO_INIT.
46505         (plus_infty): Initialize with PLUS_INFTY_INIT.
46506         (minus_infty): Initialize with MINUS_INFTY_INIT.
46507         (qnan_value): Initialize with QNAN_VALUE_INIT.
46508         (max_value): Initialize with MAX_VALUE_INIT.
46509         (min_value): Initialize with MIN_VALUE_INIT.
46510         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
46512         * math/libm-test.inc (RUN_TEST_if_f): New macro.
46513         (jn_test): Use TEST_if_f instead of TEST_ff_f.
46514         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
46515         (yn_test): Use TEST_if_f instead of TEST_ff_f.
46517         * math/libm-test.inc (RUN_TEST_f_f): New macro.
46518         (RUN_TEST_2_f): Likewise.
46519         (RUN_TEST_ff_f): Likewise.
46520         (RUN_TEST_fi_f): Likewise.
46521         (RUN_TEST_fl_f): Likewise.
46522         (RUN_TEST_fff_f): Likewise.
46523         (RUN_TEST_c_f): Likewise.
46524         (RUN_TEST_f_f1): Likewise.
46525         (RUN_TEST_fF_f1): Likewise.
46526         (RUN_TEST_fI_f1): Likewise.
46527         (RUN_TEST_ffI_f1): Likewise.
46528         (RUN_TEST_c_c): Likewise.
46529         (RUN_TEST_cc_c): Likewise.
46530         (RUN_TEST_f_i): Likewise.
46531         (RUN_TEST_f_i_tg): Likewise.
46532         (RUN_TEST_ff_i_tg): Likewise.
46533         (RUN_TEST_f_b): Likewise.
46534         (RUN_TEST_f_b_tg): Likewise.
46535         (RUN_TEST_f_l): Likewise.
46536         (RUN_TEST_f_L): Likewise.
46537         (RUN_TEST_sincos): Likewise.
46538         * math/gen-libm-test.pl (new_test): Take new argument to indicate
46539         whether to show exceptions.  Do not include ");\n" in return
46540         value.
46541         (special_functions): Output call to RUN_TEST_sincos instead of
46542         check_float calls.  Update calls to new_test.
46543         (parse_args): Output call to single RUN_TEST_* macro instead of
46544         check_* calls and other assignments.  Update calls to new_test.
46546         [BZ #2546]
46547         [BZ #2560]
46548         [BZ #5159]
46549         [BZ #15426]
46550         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
46551         input to result for tgamma overflow.
46552         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
46553         (gamma_coeff): New variable.
46554         (NCOEFF): New macro.
46555         (gamma_positive): New function.
46556         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
46557         underflow here.  Use gamma_positive instead of exp (lgamma) for
46558         other arguments.
46559         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
46560         (gamma_coeff): New variable.
46561         (NCOEFF): New macro.
46562         (gammaf_positive): New function.
46563         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
46564         underflow here.  Use gamma_positive instead of exp (lgamma) for
46565         other arguments.
46566         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
46567         (gamma_coeff): New variable.
46568         (NCOEFF): New macro.
46569         (gammal_positive): New function.
46570         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
46571         underflow here.  Use gamma_positive instead of exp (lgamma) for
46572         other arguments.
46573         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
46574         (gamma_coeff): New variable.
46575         (NCOEFF): New macro.
46576         (gammal_positive): New function.
46577         (__ieee754_gammal_r): Handle positive infinity, overflow and
46578         underflow here.  Handle NaN the same as positive infinity.  Remove
46579         check x < 0xffffffff for negative integers.  Use gamma_positive
46580         instead of exp (lgamma) for other arguments.
46581         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
46582         (gamma_coeff): New variable.
46583         (NCOEFF): New macro.
46584         (gammal_positive): New function.
46585         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
46586         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
46587         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
46588         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
46589         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
46590         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
46591         * sysdeps/generic/math_private.h (__gamma_productf): New
46592         prototype.
46593         (__gamma_product): Likewise.
46594         (__gamma_productl): Likewise.
46595         * math/Makefile (libm-calls): Add gamma_product.
46596         * math/libm-test.inc (tgamma_test): Add more tests.
46597         * sysdeps/i386/fpu/libm-test-ulps: Update.
46598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46600 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
46602         * benchtests/bench-skeleton.c (main): Preheat CPU.
46604 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
46606         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
46608 2013-05-07  Roland McGrath  <roland@hack.frob.com>
46610         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
46611         and _dl_skip_args_internal.
46613 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
46615         * manual/message.texi (Message Translation): Talk about users.
46616         Message to key mapping impacts design.
46618 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46620         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
46622         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
46624         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
46625         * sysdeps/wordsize-64/glob64.c: ... here.
46627         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
46628         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
46629         New macros.
46631         * debug/getlogin_r_chk.c: Moved to ...
46632         * login/getlogin_r_chk.c: ... here.
46633         * debug/Makefile (routines): Move getlogin_r_chk to ...
46634         * login/Makefile (routines): ... here.
46635         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
46636         * login/Versions (libc: GLIBC_2.4): ... here.
46638         * io/poll.c (__poll): Renamed from poll.
46639         Add libc_hidden_def.
46640         (poll): Define as weak alias.
46642         * debug/ptsname_r_chk.c: Moved to ...
46643         * login/ptsname_r_chk.c: ... here.
46644         * debug/Makefile (routines): Move ptsname_r_chk to ...
46645         * login/Makefile (routines): ... here.
46646         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
46647         * login/Versions (libc: GLIBC_2.4): ... here.
46649         * posix/getlogin.c: Moved to ...
46650         * login/getlogin.c: ... here.
46651         * posix/getlogin_r.c: Moved to ...
46652         * login/getlogin_r.c: ... here.
46653         * posix/getlogin_r.c: Moved to ...
46654         * login/getlogin_r.c: ... here.
46655         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
46656         * login/Makefile (routines): ... here.
46657         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
46658         * login/Versions (libc: GLIBC_2.0): ... here.
46660         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
46661         (setrlimit): Define as weak alias.
46663         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
46664         Call __ names for open, ftruncate, and close.
46665         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
46666         (truncate): Define as weak alias.
46668 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
46670         * math/gen-libm-test.pl (parse_args): Initialize x before each
46671         test of frexp, modf and remquo.
46673         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
46674         test signgam value.
46676 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46678         [BZ #15418]
46679         [BZ #15419]
46680         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
46681         internal tests.
46682         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46684 2013-05-06  Roland McGrath  <roland@hack.frob.com>
46686         * elf/dl-writev.h: New file.
46687         * elf/dl-misc.c: Include it.
46688         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
46689         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
46691 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
46693         * math/libm-test.inc (noXFails): Remove variable.
46694         (noXPasses): Likewise.
46695         (BUILD_COMPLEX_INT): Remove macro.
46696         (print_screen): Remove xfail argument.
46697         (print_screen_max_error): Likewise.
46698         (update_stats): Likewise.
46699         (print_max_error): Likewise.  Update calls to other affected
46700         functions.
46701         (print_complex_max_error): Likewise.
46702         (test_single_exception): Update calls to print_screen.
46703         (test_single_errno): Likewise.
46704         (check_float_internal): Remove xfail argument.  Update calls to
46705         other affected functions.
46706         (check_float): Likewise.
46707         (check_complex): Likewise.
46708         (check_int): Likewise.
46709         (check_long): Likewise.
46710         (check_bool): Likewise.
46711         (check_longlong): Likewise.
46712         (main): Don't print noXFails and noXPasses.
46713         * math/gen-libm-test.pl (top level): Don't mention expected
46714         failure handling in comment.
46715         (new_test): Don't handle expected failures.
46716         (parse_args): Don't mention expected failure handling in comment.
46717         (generate_testfile): Don't handle expected failures.
46718         (parse_ulps): Likewise.
46719         (print_ulps_file): Likewise.
46720         (get_failure): Remove function.
46721         (output_test): Don't handle expected failures.
46722         * make/README.libm-test: Don't mention expected failure handling.
46724         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
46725         (minus_zero): Likewise.
46726         (plus_infty): Likewise.
46727         (minus_infty): Likewise.
46728         (qnan_value): Likewise.
46729         (max_value): Likewise.
46730         (min_value): Likewise.
46731         (min_subnorm_value): Likewise.
46732         (initialize): Do not initialize those variables dynamically.
46734 2013-05-03  Roland McGrath  <roland@hack.frob.com>
46736         * io/open.c (__open_2): Moved to ...
46737         * io/open_2.c: ... this new file.
46738         * io/open64.c (__open64_2): Moved to ...
46739         * io/open64_2.c: ... this new file.
46740         * io/openat.c (__openat_2): Moved to ...
46741         * io/openat_2.c: ... this new file.
46742         * io/openat64.c (__openat64_2): Moved to ...
46743         * io/openat64_2.c: ... this new file.
46744         * io/Makefile (routines): Add them.
46745         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
46746         * sysdeps/unix/sysv/linux/open_2.c: File removed.
46747         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
46748         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
46749         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
46750         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
46751         (__openat64): Add hidden_ver.
46752         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
46753         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
46755         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
46756         Separately conditionalize setting of GLRO(dl_sysinfo) so
46757         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
46758         as well, but the actual setting is only under [NEED_DL_SYSINFO].
46760 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46762         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
46763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
46764         definition.
46765         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
46766         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46767         (_libc_vdso_platform_setup): Add __vdso_time initialization.
46768         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
46769         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
46771 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
46773         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
46774         test signgam value.
46776         * math/libm-test.inc (hypot_test): Do not use
46777         IGNORE_ZERO_INF_SIGN.
46779 2013-05-03  Andreas Jaeger  <aj@suse.de>
46781         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
46782         Linux 3.9.
46783         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
46784         (PF_MAX): Adjust for VSOCK change.
46786 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46790 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
46792         [BZ #15264]
46793         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
46794         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
46795         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
46797 2013-05-02  David S. Miller  <davem@davemloft.net>
46799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46801 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
46803         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
46805 2013-05-01  Roland McGrath  <roland@hack.frob.com>
46807         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
46809 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
46811         [BZ #14952]
46812         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
46813         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46814         Use __attribute__ ((__gnu_inline__)).
46815         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
46816         Don't use __attribute__ ((__gnu_inline__)).
46818 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
46820         [BZ #15423]
46821         * math/s_catan.c (__catan): Handle small real or imaginary part of
46822         input specially to avoid spurious underflow.
46823         * math/s_catanf.c (__catanf): Likewise.
46824         * math/s_catanh.c (__catanh): Likewise.
46825         * math/s_catanhf.c (__catanhf): Likewise.
46826         * math/s_catanhl.c (__catanhl): Likewise.
46827         * math/s_catanl.c (__catanl): Likewise.
46828         * math/libm-test.inc (catan_test): Add more tests.
46829         (catanh_test): Likewise.
46830         * sysdeps/i386/fpu/libm-test-ulps: Update.
46831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46833 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46837 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
46839         [BZ #15416]
46840         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
46841         accurately for denominator in atan2.
46842         * math/s_catanf.c (__catanf): Likewise.
46843         * math/s_catanh.c (__catanh): Likewise.
46844         * math/s_catanhf.c (__catanhf): Likewise.
46845         * math/s_catanhl.c (__catanhl): Likewise.
46846         * math/s_catanl.c (__catanl): Likewise.
46847         * math/libm-test.inc (catan_test): Add more tests.
46848         (catanh_test): Likewise.
46849         * sysdeps/i386/fpu/libm-test-ulps: Update.
46850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46852 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46854         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
46856         * benchtests/Makefile (bench): Remove slow benchmarks.
46857         * benchtests/atan-inputs: Add slow benchmark inputs.
46858         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
46859         (BENCH_FUNC): Accept variant offset.
46860         (VARIANT): Define.
46861         * benchtests/bench-skeleton.c (main): Run benchmark for each
46862         variant.
46863         * benchtests/cos-inputs: Add slow benchmark inputs.
46864         * benchtests/exp-inputs: Likewise.
46865         * benchtests/pow-inputs: Likewise.
46866         * benchtests/sin-inputs: Likewise.
46867         * benchtests/slowatan-inputs: Remove.
46868         * benchtests/slowatan.c: Remove.
46869         * benchtests/slowcos-inputs: Remove.
46870         * benchtests/slowcos.c: Remove.
46871         * benchtests/slowexp-inputs: Remove.
46872         * benchtests/slowexp.c: Remove.
46873         * benchtests/slowpow-inputs: Remove.
46874         * benchtests/slowpow.c: Remove.
46875         * benchtests/slowsin-inputs: Remove.
46876         * benchtests/slowsin.c: Remove.
46877         * benchtests/slowtan-inputs: Remove.
46878         * benchtests/slowtan.c: Remove.
46879         * benchtests/tan-inputs: Add slow benchmark inputs.
46880         * scripts/bench.pl: Parse comments and directives.
46882         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
46883         in CPPFLAGS.
46884         ($(objpfx)bench-%.c): Remove *-ITER.
46885         * benchtests/bench-modf.c: Remove definition of ITER.
46886         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
46887         (main): Loop for DURATION seconds instead of fixed number of
46888         iterations.
46889         * scripts/bench.pl: Don't expect iterations in parameters.
46891 2013-04-29  Roland McGrath  <roland@hack.frob.com>
46893         * io/fchdir.c (__fchdir): Renamed from fchdir.
46894         (fchdir): Define as weak alias.
46896 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46898         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
46899         (ERRNO_EDOM): Likewise.
46900         (ERRNO_ERANGE): Likewise.
46901         (noErrnoTests): New variable.
46902         (init_max_error): Set errno to 0.
46903         (test_single_errno): New function.
46904         (test_errno): Likewise.
46905         (check_float_internal): Call test_errno.  Set errno to 0.
46906         (check_complex): Refer to errno tests in comment.
46907         (check_int): Call test_errno.  Set errno to 0.
46908         (check_long): Likewise.
46909         (check_bool): Likewise.
46910         (check_longlong): Likewise.
46911         (cos_test): Use ERRNO_* flags for errno tests instead of
46912         check_int.
46913         (expm1_test): Likewise.
46914         (fmod_test): Likewise.
46915         (ilogb_test): Likewise.
46916         (lgamma_test): Likewise.
46917         (pow_test): Likewise.
46918         (remainder_test): Likewise.
46919         (sin_test): Likewise.
46920         (tan_test): Likewise.
46921         (yn_test): Likewise.
46922         (initialize): Set errno to 0.
46923         (main): Print number of errno tests.
46924         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
46926 2013-04-29  Andreas Jaeger  <aj@suse.de>
46928         [BZ #15084]
46929         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
46930         and RES_USEVC.
46932         [BZ #15085]
46933         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
46934         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
46935         unimplemented.
46937         [BZ #15380]
46938         * stdlib/random.c (__initstate): Return NULL if
46939         __initstate fails.
46941         [BZ #15086]
46942         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
46943         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
46944         RES_SNGLKUPREOP.
46946 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46950 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
46952         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
46953         of individual tests.
46954         (casin_test): Likewise.
46955         (casinh_test): Likewise.
46957 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
46959         [BZ #15409]
46960         * math/s_catan.c (__catan): Handle arguments with large real or
46961         imaginary part separately without squaring.
46962         * math/s_catanf.c (__catanf): Likewise.
46963         * math/s_catanh.c (__catanh): Likewise.
46964         * math/s_catanhf.c (__catanhf): Likewise.
46965         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46966         and redefine.
46967         (__catanhl): Handle arguments with large real or imaginary part
46968         separately without squaring.
46969         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
46970         and redefine.
46971         (__catanl): Handle arguments with large real or imaginary part
46972         separately without squaring.
46973         * math/libm-test.inc (catan_test): Add more tests.
46974         (catanh_test): Likewise.
46975         * sysdeps/i386/fpu/libm-test-ulps: Update.
46976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46978 2013-04-27  Andreas Jaeger  <aj@suse.de>
46980         [BZ #15007]
46981         * stdlib/stdlib.h: Update guards for qecvt.
46982         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
46983         <stdlib.h>.
46985 2013-04-27  Allan McRae  <allan@archlinux.org>
46987         * sysdeps/i386/fpu/libm-test-ulps: Update.
46989 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
46991         [BZ #15406]
46992         * math/s_catan.c: Include <float.h>.
46993         (__catan): Ensure underflow exception occurs for underflowed
46994         result.
46995         * math/s_catanf.c: Include <float.h>.
46996         (__catanf): Ensure underflow exception occurs for underflowed
46997         result.
46998         * math/s_catanh.c: Include <float.h>.
46999         (__catanh): Ensure underflow exception occurs for underflowed
47000         result.
47001         * math/s_catanhf.c: Include <float.h>.
47002         (__catanhf): Ensure underflow exception occurs for underflowed
47003         result.
47004         * math/s_catanhl.c: Include <float.h>.
47005         (__catanhl): Ensure underflow exception occurs for underflowed
47006         result.
47007         * math/s_catanl.c: Include <float.h>.
47008         (__catanl): Ensure underflow exception occurs for underflowed
47009         result.
47010         * math/libm-test.inc (catan_test): Add more tests.
47011         (catanh_test): Likewise.
47013         [BZ #15405]
47014         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47015         underflowed result.
47016         * math/s_ccoshf.c (__ccoshf): Likewise.
47017         * math/s_ccoshl.c (__ccoshl): Likewise.
47018         * math/s_csin.c (__csin): Likewise.
47019         * math/s_csinf.c (__csinf): Likewise.
47020         * math/s_csinh.c (__csinh): Likewise.
47021         * math/s_csinhf.c (__csinhf): Likewise.
47022         * math/s_csinhl.c (__csinhl): Likewise.
47023         * math/s_csinl.c (__csinl): Likewise.
47024         * math/libm-test.inc (ccos_test): Add more tests.
47025         (ccosh_test): Likewise.
47026         (csin_test): Likewise.
47027         (csinh_test): Likewise.
47029 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47031         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47032         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47033         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47034         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47035         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47036         powerpc/power5+/fpu folders.
47037         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47040 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47044 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47046         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47047         additions to variable.
47048         [$(config-machine) = x86_64] (modules-names): Likewise.
47049         ($(objpfx)tst-audit3): Remove dependency.
47050         ($(objpfx)tst-audit3.out): Likewise.
47051         ($(objpfx)tst-audit4): Likewise.
47052         ($(objpfx)tst-audit4.out): Likewise.
47053         ($(objpfx)tst-audit5): Likewise.
47054         ($(objpfx)tst-audit5.out): Likewise.
47055         ($(objpfx)tst-audit6): Likewise.
47056         ($(objpfx)tst-audit6.out): Likewise.
47057         ($(objpfx)tst-audit7): Likewise.
47058         ($(objpfx)tst-audit7.out): Likewise.
47059         (tst-audit3-ENV): Remove variable.
47060         (tst-audit4-ENV): Likewise.
47061         (tst-audit5-ENV): Likewise.
47062         (tst-audit6-ENV): Likewise.
47063         (tst-audit7-ENV): Likewise.
47064         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47065         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47066         addition to variable.
47067         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47068         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47069         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47070         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47071         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47072         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47073         tst-audit3, tst-audit4 and tst-audit5.
47074         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47075         tst-audit6 and tst-audit7.
47076         [$(subdir) = elf] (modules-names): Add audit modules for those
47077         tests.
47078         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47079         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47080         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47081         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47082         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47083         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47084         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47085         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47086         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47087         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47088         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47089         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47090         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47091         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47092         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47093         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47094         Likewise.
47095         [$(subdir) = elf && $(config-cflags-avx) = yes]
47096         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47097         [$(subdir) = elf && $(config-cflags-avx) = yes]
47098         (CFLAGS-tst-auditmod4a.c): Likewise.
47099         [$(subdir) = elf && $(config-cflags-avx) = yes]
47100         (CFLAGS-tst-auditmod4b.c): Likewise.
47101         [$(subdir) = elf && $(config-cflags-avx) = yes]
47102         (CFLAGS-tst-auditmod6b.c): Likewise.
47103         [$(subdir) = elf && $(config-cflags-avx) = yes]
47104         (CFLAGS-tst-auditmod6c.c): Likewise.
47105         [$(subdir) = elf && $(config-cflags-avx) = yes]
47106         (CFLAGS-tst-auditmod7b.c): Likewise.
47107         * elf/tst-audit3.c: Move to ...
47108         * sysdeps/x86_64/tst-audit3.c: ... here.
47109         * elf/tst-audit4.c: Move to ...
47110         * sysdeps/x86_64/tst-audit4.c: ... here.
47111         * elf/tst-audit5.c: Move to ...
47112         * sysdeps/x86_64/tst-audit5.c: ... here.
47113         * elf/tst-audit6.c: Move to ...
47114         * sysdeps/x86_64/tst-audit6.c: ... here.
47115         * elf/tst-audit7.c: Move to ...
47116         * sysdeps/x86_64/tst-audit7.c: ... here.
47117         * elf/tst-auditmod3a.c: Move to ...
47118         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47119         * elf/tst-auditmod3b.c: Move to ...
47120         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47121         * elf/tst-auditmod4a.c: Move to ...
47122         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47123         * elf/tst-auditmod4b.c: Move to ...
47124         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47125         * elf/tst-auditmod5a.c: Move to ...
47126         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47127         * elf/tst-auditmod5b.c: Move to ...
47128         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47129         * elf/tst-auditmod6a.c: Move to ...
47130         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47131         * elf/tst-auditmod6b.c: Move to ...
47132         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47133         * elf/tst-auditmod6c.c: Move to ...
47134         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47135         * elf/tst-auditmod7a.c: Move to ...
47136         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47137         * elf/tst-auditmod7b.c: Move to ...
47138         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47140 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47142         [BZ #15366]
47143         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47144         define unconditionally.
47145         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47146         define unconditionally.
47147         (INT8_C, INT16_C, etc.): Likewise.
47149 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47151         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47152         __ehdr_start with hidden visibility.
47154         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47156 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47158         * math/libm-test.inc (cos_test): Use accurate hex constants.
47159         (sincost_test): Likewise.
47161 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47163         * math/libm-test.inc (catan_test): Add more tests.
47164         (catanh_test): Likewise.
47166         * math/s_catanf.c (__catanf): Use suffixed floating-point
47167         constants.
47168         * math/s_catanhf.c (__catanhf): Likewise.
47169         * math/s_catanhl.c (__catanhl): Likewise.
47170         * math/s_catanl.c (__catanl): Likewise.
47172         [BZ #15394]
47173         * math/s_catan.c (__catan): Calculate imaginary part of result
47174         with log1p not log unless computing log of number close to 0.
47175         * math/s_catanf.c (__catanf): Likewise.
47176         * math/s_catanl.c (__catanl): Likewise.
47177         * math/s_catanh.c (__catanh): Calculate real part of result with
47178         log1p not log unless computing log of number close to 0.
47179         * math/s_catanhf.c (__catanhf): Likewise.
47180         * math/s_catanhl.c (__catanhl): Likewise.
47181         * math/libm-test.inc (catan_test): Add more tests.
47182         (catanh_test): Likewise.
47183         * sysdeps/i386/fpu/libm-test-ulps: Update.
47184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47186 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47188         * benchtests/Makefile: Mention files in which fast and slow
47189         paths of math functions are implemented.
47191 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47193         * sysdeps/posix/timespec_get.c: New file.
47195 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47197         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47198         POWER.
47199         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47200         for POWER.
47201         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47202         powerpc/power5/fpu folders.
47203         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47204         * benchtests/Makefile: Add modf testcase.
47205         * benchtests/bench-modf.c: New file: Benchmark test for mo
47207 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47209         [BZ #14888]
47210         * time/Makefile (tests): Add tst-strptime-whitespace.
47211         * time/strptime_l.c (get_number): Use ISSPACE.
47212         (__strptime_internal): Likewise.
47213         * time/tst-strptime-whitespace.c: New test case.
47215 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47217         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47218         member.
47219         (_nss_files_init): Set it here.
47221 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47223         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47224         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47225         unsigned.
47227 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47229         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47231 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47233         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47234         size just once.
47236 2013-04-21  David S. Miller  <davem@davemloft.net>
47238         * po/ru.po: Update Russion translation from translation project.
47240 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47242         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47243         and setfsgid.
47245 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47247         * configure.in: Remove i386 configure warning. Remove i386 case.
47248         * configure: Regenerate.
47249         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47250         Add example to error message.
47251         * sysdeps/i386/configure: Regenerate.
47253 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47255         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47256         slowtan.
47257         * benchtests/cos-inputs: New file.
47258         * benchtests/slowcos-inputs: New file.
47259         * benchtests/slowcos.c: New file.
47260         * benchtests/slowtan-inputs: New file.
47261         * benchtests/slowtan.c: New file.
47262         * benchtests/tan-inputs: New file.
47264 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47266         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47267         considered kosher.
47269 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47271         * benchtests/Makefile: Include cppflags-iterator.mk to add
47272         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47274         * Makefile.in (bench-clean): New target.
47275         * benchtests/Makefile (bench-clean): Likewise.
47277 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47279         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47281 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47283         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47285 2013-04-15  Andreas Schwab  <schwab@suse.de>
47287         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47288         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47289         * nscd/pwdcache.c (cache_addpw): Likewise.
47290         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47291         more than recsize.
47293 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47295         * benchtests/Makefile (bench): Write all output to
47296         bench-out.tmp together.
47298 2013-04-15  Andreas Schwab  <schwab@suse.de>
47300         * nscd/nscd.c (main): Don't fork again after closing files.
47302 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47304         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47306         * benchtests/Rules (bench-deps): Collect dependencies into a
47307         single variable.  Add Makefile to dependencies.
47308         ($(objpfx)bench-%.c): Depend on bench-deps.
47310 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47311             Xavier Roche  <roche+kml2@exalead.com>
47313         [BZ #15361]
47314         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47315         just that it's a file descriptor.
47316         * manual/llio.texi (Synchronizing AIO Operations): Update description
47317         for EBADF error from aio_fsync.
47319 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47321         * Rules (bench): Move target definition...
47322         * benchtests/Makefile: ... here.
47324 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47326         * math/libm-test.inc (cos_test): Fix PI/2 test.
47327         (sincos_test): Likewise.
47328         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47329         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47331 2013-04-11  Andreas Schwab  <schwab@suse.de>
47333         [BZ #13988]
47334         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47335         accept exponent character only when digits were seen.
47336         * stdio-common/Makefile (tests): Add bug26.
47337         * stdio-common/bug26.c: New file.
47339         [BZ #14293]
47340         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47341         non-freeable.
47343 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47345         * Makeconfig (rtld-prefix): Define built linker prefix.
47346         * Rules (run-bench): Use it.
47347         * math/Makefile (run-regen-ulps): Likewise.
47349         * Rules (bench): Remove eval.
47351 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47352             Roland McGrath  <roland@hack.frob.com>
47353             Ondrej Bilka  <neleai@seznam.cz>
47355         [BZ #15346]
47356         * time/getdate.c: Include ctype.h and alloca.h.
47357         (__getdate_r): Trim leading and trailing spaces of input.
47358         * time/tst-getdate.c (tests): Add tests with leading and
47359         trailing spaces.
47361 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47363         [BZ #14280]
47364         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47365         when computing value.
47367 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47369         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47370         Use testrun.sh to run libm tests.
47372         [BZ #15309]
47373         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47375 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47377         [BZ #15264]
47378         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47380 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47382         * Makefile.in (regen-ulps): New target.
47383         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47384         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47385         [ifneq (no,$(PERL)] (regen-ulps): New target.
47386         [ifeq (no,$(PERL)] (regen-ulps): New target.
47387         * math/libm-test.inc (ulps_file_name): Define.
47388         (output_dir): New variable.
47389         (options): Add "output-dir" option.
47390         (parse_opt): Handle 'o' case.
47391         (main): If output_dir is non-NULL use it as a prefix
47392         otherwise use "".
47393         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47395 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47397         [BZ #10060, #10062]
47398         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47399         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47400         fail configure if __sync_val_compare_and_swap is not inlined.
47401         * sysdeps/i386/configure: Regenerate.
47402         * configure.in: Build for i686 when configured for i386.
47403         * configure: Regenerate.
47404         * README: Remove i386 reference.
47406 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47408         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
47409         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47411 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
47413         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
47414         (lmsnanval): New variables.
47415         (F): Add conversion tests.
47416         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
47417         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
47419         * stdio-common/tstdiomisc.c (F): Properly collect individual
47420         tests' results.
47422         [BZ #14686, #15336]
47423         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
47424         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
47425         Instead, use input NaN values or generate a qNaN by arithmetic
47426         operation.  Also fix bugs to comply with the standard.
47427         * math/libm-test.inc (remainder_test): Add more tests.
47429         [BZ #15335, #15342]
47430         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
47431         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
47432         input NaN values or generate a qNaN by arithmetic operation.
47434         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
47435         unreachable code.
47437         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
47438         definitions.
47440 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
47442         [BZ #14478]
47443         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
47444         underflowed result.
47445         * math/s_cexpf.c (__cexpf): Likewise.
47446         * math/s_cexpl.c (__cexpl): Likewise.
47447         * math/libm-test.inc (cexp_test): Add more tests.
47449 2013-04-03  Andreas Schwab  <schwab@suse.de>
47451         [BZ #15330]
47452         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
47453         order arrays from heap if bigger than alloca cutoff.
47455 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
47457         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
47458         (SNAN_TESTS_double): Refer to GCC PR56831.
47459         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
47460         GCC PR56828.
47462 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47464         * Rules (bench): Move bench.out after the run is complete.
47466         * Rules (bench): Echo currently running benchmark.
47468         * benchtests/Makefile (bench): Add atan and slowatan.
47469         * benchtests/atan-inputs: New file.
47470         * benchtests/slowatan-inputs: New file.
47471         * benchtests/slowatan.c: New file.
47473         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
47474         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
47475         its value.
47477         [BZ #15305]
47478         * sysdeps/unix/sysv/linux/kernel-features.h
47479         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
47480         __ASSUME_XFS_RESTRICTED_CHOWN.
47481         * sysdeps/unix/sysv/linux/pathconf.c
47482         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
47483         Save and restore errno.
47485 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
47487         [BZ #15327]
47488         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
47489         arguments using __kernel_casinh.
47490         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
47491         arguments using __kernel_casinhf.
47492         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
47493         arguments using __kernel_casinhl.
47494         * math/libm-test.inc (cacosh_test): Add more tests.
47495         * sysdeps/i386/fpu/libm-test-ulps: Update.
47496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47498 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47500         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
47501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
47503         * bench/Makefile (bench): Add sin and slowsin.
47504         * benchtests/sin-inputs: New file.
47505         * benchtests/slowsin-inputs: New file.
47506         * benchtests/slowsin.c: New file.
47508         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
47509         (bench): Add slowexp and slowpow.
47510         (exp-ITER): Increase iterations.
47511         (pow-ITER): Likewise.
47512         * benchtests/exp-inputs: Change input.
47513         * benchtests/pow-inputs: Likewise.
47514         * benchtests/slowexp-inputs: New file.
47515         * benchtests/slowexp.c: New file.
47516         * benchtests/slowpow-inputs: New file.
47517         * benchtests/slowpow.c: New file.
47519 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47521         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
47522         instructions.
47523         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47524         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
47525         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47526         * benchtests/Makefile: Add rint benchtest.
47527         * benchtests/rint-inputs: Input for rint benchtest.
47529 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
47531         * Versions.def (libm): Add GLIBC_2.18.
47532         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
47533         hidden libm prototypes.
47534         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
47535         * math/Makefile (libm-calls): Add s_issignaling.
47536         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
47537         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
47538         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
47539         declaration.
47540         * math/math.h [__USE_GNU] (issignaling): New macro.
47541         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
47542         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
47543         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
47544         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
47545         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
47546         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
47547         * manual/arith.texi (issignaling): New section.
47548         * manual/libm-err-tab.pl (@all_functions): Update comment.
47549         * math/gen-libm-test.pl (parse_args): Apply special handling for
47550         issignaling.
47551         * math/libm-test.inc (print_float, issignaling_test): New
47552         functions.
47553         (check_float_internal): Add issignaling checks.
47554         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
47555         default definition.
47556         * sysdeps/powerpc/math-tests.h: New file.
47557         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
47558         tests.
47559         * math/test-snan.c (TEST_FUNC): Likewise.
47561 2013-03-30  David S. Miller  <davem@davemloft.net>
47563         * po/de.po: Update from translation team.
47565 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
47567         [BZ #10357]
47568         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47569         imaginary part less than 1.0 and real part less than 0.5
47570         specially.
47571         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47572         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47573         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
47574         (cacos_test): Add more tests.
47575         (casin_test): Likewise.
47576         (casinh_test): Likewise.
47577         * sysdeps/i386/fpu/libm-test-ulps: Update.
47578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47580 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47582         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
47583         ONE with its value.
47585         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
47586         (__pow_mp): Replace ONE and MONE with their values.
47587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47588         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
47589         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47590         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
47591         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47592         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47594         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
47596         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
47597         (__pow_mp): Replace ZERO and MZERO with their values.
47598         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47599         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47600         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
47601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
47602         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47603         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
47604         (__sqr): Likewise.
47606         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
47608         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
47610 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47612         * include/stdlib.h [!SHARED] (__call_tls_dtors):
47613         Declare with __attribute__ ((weak)).
47614         * stdlib/exit.c (__libc_atexit) [!SHARED]:
47615         Call __call_tls_dtors only if it's not NULL.
47617 2013-03-28  Roland McGrath  <roland@hack.frob.com>
47619         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
47620         didn't do it already, then set _dl_phdr and _dl_phnum based on the
47621         magic __ehdr_start linker symbol if it's defined.
47622         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
47623         them up here if it was already done.
47625         * elf/dl-support.c (_dl_phdr): Make pointer to const.
47626         (_dl_aux_init): Use const in cast when setting it.
47627         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
47628         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
47629         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
47631         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
47632         Declare them here.
47633         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
47634         * csu/libc-tls.c: Nor here.
47635         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
47637         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
47638         (__libc_message): Never call vsyslog.
47640 2013-03-28  Alan Modra  <amodra@gmail.com>
47642         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
47643         Define as empty.
47644         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
47645         Likewise.
47647 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47649         [BZ #15214]
47650         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
47651         underflow.
47652         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47654 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47656         [BZ #15304]
47657         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47658         Don't add gid passed as argument.
47660         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
47662 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
47664         [BZ #15307]
47665         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47666         imaginary part between 1.0 and 1.5 and real part less than 0.5
47667         specially.
47668         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47669         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47670         * math/libm-test.inc (cacos_test): Add more tests.
47671         (casin_test): Likewise.
47672         (casinh_test): Likewise.
47673         * sysdeps/i386/fpu/libm-test-ulps: Update.
47674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47676 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47678         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
47679         constants.
47680         (norm): Likewise.
47681         (denorm): Likewise.
47682         (__dbl_mp): Likewise.
47683         (add_magnitudes): Likewise.
47684         (sub_magnitudes): Likewise.
47685         (__add): Likewise.
47686         (__sub): Likewise.
47687         (__mul): Likewise.
47688         (__sqr): Likewise.
47689         (__inv): Likewise.
47690         (__dvd): Likewise.
47692         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
47693         commented code.
47694         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
47695         (__dubcos): Likewise.
47696         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
47697         (__ieee754_acos): Likewise.
47698         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
47699         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
47700         (__exp1): Likewise.
47701         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47702         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47703         (log1): Likewise.
47704         (my_log2): Likewise.
47705         (checkint): Likewise.
47706         * sysdeps/ieee754/dbl-64/e_remainder.c
47707         (__ieee754_remainder): Likewise.
47708         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
47709         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
47710         (bsloww): Likewise.
47711         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
47713         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
47714         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
47715         MANTISSA_STORE_T to store computations on mantissa.  Use
47716         macros for rounding and division.
47717         (denorm): Likewise.
47718         (__dbl_mp): Likewise.
47719         (add_magnitudes): Likewise.
47720         (sub_magnitudes): Likewise.
47721         (__mul): Likewise.
47722         (__sqr): Likewise.
47723         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
47724         powers of two in terms of TWOPOW macro.
47725         (mp_no): Make type of mantissa as MANTISSA_T.
47726         [!RADIXI]: Define RADIXI.
47727         [!TWO52]: Define TWO52.
47728         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
47730 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47732         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
47733         llroundl symbol when building for PPC32.
47735 2013-03-24  Mark H Weaver  <mhw@netris.org>
47737         * manual/arith.texi (Normalization Functions): Fix prototypes for
47738         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
47740 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47742         [BZ #13889]
47743         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
47744         high value to check if expl overflow.
47745         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
47746         to check for underflow and overflow.
47747         * math/libm-test.inc: Add exp test.
47749 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
47751         [BZ #11120]
47752         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
47753         with NOT_IN_libc.
47755 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47757         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
47758         symbol.
47760 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47762         * math/gen-libm-test.pl (parse_args, special_functions): Properly
47763         wrap blocks consisting of several statements.
47765         * sysdeps/generic/math-tests.h: New file.
47766         * sysdeps/i386/fpu/math-tests.h: Likewise.
47767         * math/test-snan.c: Include it.
47768         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
47770 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47772         [BZ #15285]
47773         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
47774         (__ieee754_j0l): Do not improve calculations using cos of twice
47775         input for inputs above LDBL_MAX / 2.0L.
47776         (__ieee754_y0l): Likewise.
47777         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
47778         (__ieee754_j1l): Do not improve calculations using cos of twice
47779         input for inputs above LDBL_MAX / 2.0L.
47780         (__ieee754_y1l): Likewise.
47781         * math/libm-test.inc (j0_test): Add another test.
47782         (j1_test): Likewise.
47783         (y0_test): Likewise.
47784         (y1_test): Likewise.
47785         * sysdeps/i386/fpu/libm-test-ulps: Update.
47787 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47789         * Rules ($(objpfx)bench-%.c): Include code from a C source
47790         file.
47792 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
47794         [BZ #15287]
47795         * math/k_casinh.c (__kernel_casinh): Handle arguments with
47796         imaginary part 1.0 and real part less than 0.5 specially.
47797         * math/k_casinhf.c (__kernel_casinhf): Likewise.
47798         * math/k_casinhl.c (__kernel_casinhl): Likewise.
47799         * math/libm-test.inc (cacos_test): Add more tests.
47800         (casin_test): Likewise.
47801         (casinh_test): Likewise.
47802         * sysdeps/i386/fpu/libm-test-ulps: Update.
47803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47805 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47807         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
47808         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
47810 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
47812         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
47813         * config.make.in (config-cflags-sse4): Remove variable.
47814         (config-cflags-avx): Likewise.
47815         (config-cflags-sse2avx): Likewise.
47816         (config-cflags-novzeroupper): Likewise.
47817         (config-asflags-i686): Likewise.
47818         (have-mfma4): Likewise.
47819         (have-as-vis3): Likewise.
47820         (MIG): Likewise.
47821         * configure.in (MIG): Do not AC_SUBST.
47822         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
47823         (libc_cv_cc_sse4): Do not AC_SUBST.
47824         (libc_cv_cc_avx): Likewise.
47825         (libc_cv_cc_sse2avx): Likewise.
47826         (libc_cv_cc_novzeroupper): Likewise.
47827         (libc_cv_cc_fma4): Likewise.
47828         (libc_cv_as_i686): Likewise.
47829         (libc_cv_sparc_as_vis3): Likewise.
47830         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
47831         LIBC_CONFIG_VAR.
47832         (config-asflags-i686): Likewise.
47833         (config-cflags-avx): Likewise.
47834         (config-cflags-sse2avx): Likewise.
47835         (have-mfma4): Likewise.
47836         (config-cflags-novzeroupper): Likewise.
47837         * sysdeps/mach/configure.in (MIG): Likewise.
47838         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
47839         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
47840         LIBC_CONFIG_VAR.
47841         (config-cflags-avx): Likewise.
47842         (config-cflags-sse2avx): Likewise.
47843         (have-mfma4): Likewise.
47844         (config-cflags-novzeroupper): Likewise.
47845         * configure: Regenerated.
47846         * sysdeps/i386/configure: Likewise.
47847         * sysdeps/mach/configure: Likewise.
47848         * sysdeps/sparc/configure: Likewise.
47849         * sysdeps/x86_64/configure: Likewise.
47851 2013-03-20  Roland McGrath  <roland@hack.frob.com>
47853         [BZ #14812]
47854         * locale/programs/localedef.c (options): Put N_ translation marker
47855         on argument names, not just descriptions.
47857 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47859         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
47861 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
47863         [BZ #14176]
47864         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
47866 2013-03-19  Roland McGrath  <roland@hack.frob.com>
47868         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
47869         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
47870         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
47871         [!BEFORE_ABORT] (before_abort): New function.
47872         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
47873         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
47874         (writev_for_fatal): New function.
47875         (WRITEV_FOR_FATAL): New macro; call that.
47876         (backtrace_and_maps): New function.
47877         (BEFORE_ABORT): New macro; call that.
47878         (struct str_list): Type removed.
47879         (__libc_message, __libc_fatal): Functions removed.
47880         Include <sysdeps/posix/libc_fatal.c> instead.
47882 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
47884         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
47885         constants.
47886         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
47887         double constants.
47889 2013-03-19  Andreas Schwab  <schwab@suse.de>
47891         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
47892         * sysdeps/gnu/configure: Regenerate.
47894         * configure.in: Substitute libc_cv_rtlddir.
47895         * configure: Regenerate.
47896         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
47897         * Makeconfig (rtlddir, inst_rtlddir): New variables.
47898         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
47899         * elf/Makefile (install-others, CFLAGS-interp.c)
47900         (ldso_install, common-ldd-rewrite): Likewise.
47901         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
47902         $(inst_slibdir)/$(rtld-installed-name).
47903         * scripts/rellns-sh: Add -p option.
47904         * Makerules (make-shlib-link): Use rellns-sh to get relative name
47905         for source.
47907 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47909         * manual/nptl.texi: Renamed to ...
47910         * manual/threads.texi: ... this.
47911         * manual/Makefile (chapters): Update.
47913 2013-03-18  Roland McGrath  <roland@hack.frob.com>
47915         [BZ #14812]
47916         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
47917         on argument names, not just descriptions.
47918         * malloc/memusagestat.c (options): Likewise.
47919         * nss/getent.c (options): Likewise.
47921 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
47923         [BZ #14812]
47924         * iconv/iconv_prog.c (options): Put N_ translation marker
47925         on argument names, not just descriptions.
47926         * iconv/iconvconfig.c (options): Likewise.
47928 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
47930         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
47931         implementation which is faster on all x86_64 architectures.
47932         Tested on AMD, Intel Nehalem, SNB, IVB.
47933         * sysdeps/x86_64/strnlen.S: Likewise.
47935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47936         Remove all multiarch strlen and strnlen versions.
47937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47938         Remove strlen and strnlen related parts.
47940         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
47941         Inline strlen part.
47942         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
47944         * sysdeps/x86_64/multiarch/strlen.S: Remove.
47945         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
47946         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
47947         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
47948         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
47949         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
47951 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
47953         * manual/memory.texi (Malloc Tunable Parameters):
47954         Sort parameters alphabetically. Add comments for missing entries.
47956 2013-03-17  David S. Miller  <davem@davemloft.net>
47958         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47960 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
47962         [BZ #15283]
47963         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
47964         for arguments at most half maximum finite value.
47965         * math/libm-test.inc (j0_test): Add more tests.
47966         (j1_test): Likewise.
47967         (y0_test): Likewise.
47968         (y1_test): Likewise.
47969         * sysdeps/i386/fpu/libm-test-ulps: Update.
47970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47972         [BZ #14155]
47973         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
47974         1 / x and functions P and Q for arguments above 0x1p256L.
47975         (__ieee754_y0l): Likewise.
47976         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
47977         (__ieee754_y1l): Likewise.
47978         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
47979         (j1_test): Likewise.
47980         (y0_test): Likewise.
47981         (y1_test): Likewise.
47983 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
47985         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
47986         variable.
47988 2013-03-15  Roland McGrath  <roland@hack.frob.com>
47990         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
47991         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
47992         zero since it's initialized to EXEC_PAGESIZE.
47994         * sysdeps/unix/sysv/linux/ldsodefs.h
47995         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
47996         * sysdeps/generic/ldsodefs.h: ... here.
47998 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48000         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48002         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48003         math/test-snan.c.
48004         * math/test-snan.c: Renamed from
48005         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48006         * math/Makefile (tests): Add test-snan.
48007         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48008         test-powerpc-snan.
48010         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48011         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48012         functions.
48013         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48014         __builtin_nan family of functions.
48015         * math/libm-test.inc (initialize): Initialize qnan_value with
48016         __builtin_nan family of functions.
48017         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48018         Remove variables.
48019         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48020         Remove functions.
48021         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48022         storage class.  Initialize qNaN_var and sNaN_var with
48023         __builtin_nan and __builtin_nans families of functions,
48024         respectively.
48026         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48027         (sqrt_test): Remove duplicate test with qNaN input.
48028         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48029         (round_test, signbit_test, significand_test): Note missing +/-Inf
48030         as well as qNaN tests.
48032         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48033         qNaN_var.  Fix a few strings, too.
48034         * math/libm-test.inc (nan_value): Rename to qnan_value.
48035         * math/gen-libm-test.pl (%beautify): Adjust to that.
48036         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48037         * math/test-misc.c (main): Likewise.
48038         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48039         to __qnan_bytes, and __qnan_union, respectively.
48040         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48041         Likewise.
48042         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48043         and lqnanval, respectively.
48044         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48045         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48046         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48047         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48049         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48050         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48051         doubles.
48053         * math/test-misc.c (main): Fix copy'n'pastos.
48054         * misc/tst-efgcvt.c (special): Likewise.
48056         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48057         Remove declarations.
48059 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48061         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48062         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48063         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48064         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48066 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48068         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48069         macro to return vdso values correctly in IFUNC implementations.
48070         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48071         Optimization by using IFUNC.
48073 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48074             Richard Henderson  <rth@redhat.com>
48075             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48077         * Makefile.in (bench): New target.
48078         * NEWS: Mention the benchmark framework.
48079         * Rules (bench): Likewise.
48080         (binaries-bench): Generate binaries for functions to
48081         benchmark.
48082         * benchtests/Makefile: New makefile for benchmark tests.
48083         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48084         programs.
48085         * benchtests/exp-inputs: New input file for EXP function.
48086         * benchtests/pow-inputs: New input file for POW function.
48087         * scripts/bench.pl: New script to generate source files for
48088         benchmark programs.
48090 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48092         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48093         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48094         computations on mantissa.  Use macros for rounding and
48095         division.
48096         (denorm): Likewise.
48097         (__dbl_mp): Likewise.
48098         (add_magnitudes): Likewise.
48099         (sub_magnitudes): Likewise.
48100         (__mul): Likewise.
48101         (__sqr): Likewise.
48102         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48103         powers of two in terms of TWOPOW macro.
48104         (mp_no): Make type of mantissa as MANTISSA_T.
48105         [!RADIXI]: Define RADIXI.
48106         [!TWO52]: Define TWO52.
48107         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48109         * manual/nptl.texi (cindex): Modify threads to pthreads.
48111 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48113         * sysdeps/x86_64/preconfigure: Regenerated.
48115 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48117         [BZ #14155]
48118         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48119         0x1p28 and above.
48120         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48121         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48122         0x1p28 and above.
48123         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48124         * math/libm-test.inc (j0_test): Do not allow one spurious
48125         underflow exception.
48126         (y1_test): Likewise.
48128 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48130         * manual/Makefile (chapters): Add nptl.
48131         * manual/debug.texi (Debugging Support): Add link to Threads
48132         chapter.
48133         * manual/nptl.texi: New file.
48135         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48137 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48139         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48140         for non-NULL pointer before the memory validity test. Pointed
48141         out by Holger Brunck <holger.brunck@keymile.com>.
48143 2013-03-13  Andreas Schwab  <schwab@suse.de>
48145         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48146         instead of .os.
48148 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48150         * timezone/zic.c: Update from tzcode 2013b.
48152 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48154         * manual/install.texi (Configuring and compiling):
48155         Mention i686 and i586.
48156         * INSTALL: Regenerate.
48158 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48160         * sysdeps/init_array/elf-init.c: New file.
48161         * csu/elf-init.c
48162         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48163         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48165         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48166         __gmon_start__ as global, but as static with a .preinit_array pointer.
48167         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48168         * sysdeps/init_array/crti.S: New file, empty except for comments.
48169         * sysdeps/init_array/crtn.S: Likewise.
48171 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48173         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48174         definining bcopy.
48175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48176         Remove Prefer_SSE_for_memop.
48177         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48178         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48179         HAS_PREFER_SSE_FOR_MEMOP.
48180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48181         memset-x86-64.
48182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48183         Remove bzero, memset ifunc support.
48184         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48185         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48186         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48189 2013-03-11  Andreas Schwab  <schwab@suse.de>
48191         [BZ #15234]
48192         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48193         by SHLIB_COMPAT.
48194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48195         (GLIBC_2.16): Remove pthread_atfork.
48197 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48199         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48200         (ptestcases.h): Likewise.
48202 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48204         * Makeconfig ($(common-objpfx)config.status): Depend on
48205         sysdeps/*/preconfigure{,.in} too.
48207 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48209         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48210         (__free_hook): Use void * instead of __malloc_ptr_t.
48211         (__malloc_hook): Likewise.
48212         (__realloc_hook): Likewise.
48213         (__memalign_hook): Likewise.
48214         (__after_morecore_hook): Likewise.
48215         * malloc/arena.c (save_malloc_hook): Likewise.
48216         (save_free_hook): Likewise.
48217         * malloc/hooks.c (malloc_hook_ini): Likewise.
48218         (realloc_hook_ini): Likewise.
48219         (memalign_hook_ini): Likewise.
48220         * malloc/malloc.c (malloc_hook_ini): Likewise.
48221         (realloc_hook_ini): Likewise.
48222         (memalign_hook_ini): Likewise.
48223         (__free_hook): Likewise.
48224         (__malloc_hook): Likewise.
48225         (__realloc_hook): Likewise.
48226         (__memalign_hook): Likewise.
48227         (__libc_malloc): Likewise.
48228         (__libc_free): Likewise.
48229         (__libc_realloc): Likewise.
48230         (__libc_memalign): Likewise.
48231         (__libc_valloc): Likewise.
48232         (__libc_pvalloc): Likewise.
48233         (__libc_calloc): Likewise.
48234         (__posix_memalign): Likewise.
48235         * malloc/morecore.c (__sbrk): Likewise.
48236         (__default_morecore): Likewise.
48238         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48240         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48241         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48242         __malloc_ptrdiff_t.
48244         * malloc/malloc.h (__malloc_size_t): Remove macro.
48245         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48246         __malloc_size_t.
48247         (old_memalign_hook): Likewise.
48248         (old_realloc_hook): Likewise.
48249         (struct hdr): Likewise.
48250         (flood): Likewise.
48251         (mallochook): Likewise.
48252         (memalignhook): Likewise.
48253         (reallochook): Likewise.
48254         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48255         (tr_old_realloc_hook): Likewise.
48256         (tr_old_memalign_hook): Likewise.
48257         (tr_mallochook): Likewise.
48258         (tr_reallochook): Likewise.
48259         (tr_memalignhook): Likewise.
48261 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48263         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48264         default_ldbl_pack and using as default implementation.
48265         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48266         implementation.
48267         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48268         redundant definition.
48269         (ldbl_insert_mantissa): Likewise.
48270         (ldbl_canonicalize): Likewise.
48271         (ldbl_nearbyint): Likewise.
48272         (ldbl_pack): Rename to ldbl_pack_ppc.
48273         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48274         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48275         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48277 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48280         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48281         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48282         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48284         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48285         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48286         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48288 2013-03-07  Andreas Jaeger  <aj@suse.de>
48290         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48291         bits/mman-linux.h.
48293 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48295         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48296         Include mpa.h and declare __MPEXP.
48297         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48298         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48299         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48300         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48301         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48302         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48303         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48305         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48306         (__slowpow): Use long double EXPL and LOGL functions to
48307         compute POW.
48308         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48309         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48311         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48312         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48313         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48316         intermediate variable to calculate exponent.
48317         (__sqr): Likewise.
48318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48319         Likewise.
48320         (__sqr): Likewise.
48322         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48323         [!NO__SQR]: Define __sqr.
48324         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48325         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48326         sysdeps/ieee754/dbl-64/mpa.c.
48327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48329         [BZ #12723]
48330         * posix/Makefile (tests): Add tst-pathconf.
48331         * posix/tst-pathconf.c: New test case.
48332         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48333         _PC_PIPE_BUF.
48334         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48336 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48338         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48340 2013-03-06  Andreas Jaeger  <aj@suse.de>
48342         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48343         definition via __MAP_ANONYMOUS.
48345         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48346         it's not part of Linux headers.
48348         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48349         (MAP_HUGE_MASK): Define.
48351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48352         Define.
48353         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48354         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48355         Define.
48356         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48357         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48358         Define.
48359         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48360         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48361         Define.
48362         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48364         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48365         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48366         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48367         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48368         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48369         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48371         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48372         Handle f2fs.
48374         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48375         Handle f2fs and efivarfs.
48377         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48378         f2fs.
48380         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48381         (EFIVARFS_MAGIC): Add.
48382         (F2FS_LINK_MAX): Add.
48384 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48386         * stdio-common/vfprintf.c: Replace __builtin_expect with
48387         __glibc_unlikely.
48389 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48391         [BZ #13550]
48392         * sysdeps/generic/bp-sym.h: Remove file.
48393         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48394         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48395         <bp-sym.h> and <bp-asm.h>.
48396         (__longjmp): Don't use BP_SYM.
48397         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48398         and <bp-asm.h>.
48399         (memcpy): Don't use BP_SYM.
48400         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48401         <bp-sym.h> and <bp-asm.h>.
48402         (memcpy): Don't use BP_SYM.
48403         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48404         <bp-asm.h>.
48405         (memcpy): Don't use BP_SYM.
48406         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
48407         <bp-asm.h>.
48408         (memset): Don't use BP_SYM.
48409         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48410         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48411         (__bzero): Don't use BP_SYM.
48412         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48413         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48414         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
48415         <bp-sym.h> and <bp-asm.h>.
48416         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48417         pointers.
48418         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
48419         <bp-sym.h> and <bp-asm.h>.
48420         (memcpy): Don't use BP_SYM.
48421         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
48422         <bp-sym.h> and <bp-asm.h>.
48423         (memset): Don't use BP_SYM.
48424         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48425         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48426         (__bzero): Don't use BP_SYM.
48427         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48428         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48429         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
48430         <bp-sym.h> and <bp-asm.h>.
48431         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48432         pointers.
48433         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
48434         <bp-sym.h> and <bp-asm.h>.
48435         (memcpy): Don't use BP_SYM.
48436         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
48437         <bp-sym.h> and <bp-asm.h>.
48438         (memset): Don't use BP_SYM.
48439         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48440         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48441         (__bzero): Don't use BP_SYM.
48442         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48443         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48444         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
48445         <bp-sym.h> and <bp-asm.h>.
48446         (__memchr): Don't use BP_SYM.
48447         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
48448         <bp-sym.h> and <bp-asm.h>.
48449         (memcmp): Don't use BP_SYM.  Remove comment about bounded
48450         pointers.
48451         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
48452         <bp-sym.h> and <bp-asm.h>.
48453         (memcpy): Don't use BP_SYM.
48454         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
48455         <bp-sym.h> and <bp-asm.h>.
48456         (__mempcpy): Don't use BP_SYM.
48457         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
48458         <bp-sym.h> and <bp-asm.h>.
48459         (__memrchr): Don't use BP_SYM.
48460         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
48461         <bp-sym.h> and <bp-asm.h>.
48462         (memset): Don't use BP_SYM.
48463         (__bzero): Likewise.
48464         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
48465         <bp-sym.h> and <bp-asm.h>.
48466         (__rawmemchr): Don't use BP_SYM.
48467         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
48468         <bp-sym.h> and <bp-asm.h>.
48469         (__STRCMP): Don't use BP_SYM.
48470         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
48471         <bp-sym.h> and <bp-asm.h>.
48472         (strchr): Don't use BP_SYM.
48473         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
48474         <bp-sym.h> and <bp-asm.h>.
48475         (__strchrnul): Don't use BP_SYM.
48476         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
48477         <bp-sym.h> and <bp-asm.h>.
48478         (strlen): Don't use BP_SYM.
48479         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
48480         <bp-sym.h> and <bp-asm.h>.
48481         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48482         pointers.
48483         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
48484         <bp-sym.h> and <bp-asm.h>.
48485         (__strnlen): Don't use BP_SYM.
48486         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
48487         <bp-sym.h> and <bp-asm.h>.
48488         (__GI__setjmp): Don't use BP_SYM.
48489         (_setjmp): Likewise.
48490         (__sigsetjmp): Likewise.
48491         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
48492         (L(start_addresses)): Don't use BP_SYM.
48493         (_start): Likewise.
48494         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
48495         <bp-asm.h>.
48496         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
48497         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
48498         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48499         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48500         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
48501         <bp-asm.h>.
48502         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
48503         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
48504         about bounded pointers.
48505         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48506         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48507         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
48508         <bp-asm.h>.
48509         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48510         about bounded pointers.  Remove GKM FIXME comments.
48511         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48512         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
48513         <bp-asm.h>.
48514         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
48515         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
48516         Remove GKM FIXME comments.
48517         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48518         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48519         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
48520         <bp-asm.h>.
48521         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
48522         about bounded pointers.  Remove GKM FIXME comment.
48523         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
48524         and <bp-asm.h>.
48525         (strncmp): Don't use BP_SYM.  Remove comment about bounded
48526         pointers.
48527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
48528         <bp-sym.h> and <bp-asm.h>.
48529         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
48531         <bp-sym.h> and <bp-asm.h>.
48532         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48533         comment.
48535 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
48537         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
48538         call free(NULL).
48540 2013-03-05  David S. Miller  <davem@davemloft.net>
48542         * po/es.po: Update from translation team.
48544 2013-03-05  Andreas Jaeger  <aj@suse.de>
48546         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
48547         <bits/mman-linux.h>.
48548         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48549         is fine.
48550         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
48551         <bits/mman-linux.h> to end of file.
48552         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48553         is fine.
48554         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
48555         <bits/mman-linux.h> to end of file.
48556         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
48557         is fine.
48558         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
48559         <bits/mman-linux.h> to end of file.
48561         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
48562         (MCL_CURRENT, MCL_FUTURE): Define here.
48564 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48566         [BZ #15232]
48567         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
48568         attribute_hidden.
48569         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48571 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48573         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
48574         fourth parameter needed for rt_sigprocmask syscall.
48575         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
48576         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48577         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
48578         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48579         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48580         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
48582 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
48584         [BZ #13550]
48585         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
48586         comment about bounded pointers.
48587         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
48588         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
48590 2013-03-04  Andreas Jaeger  <aj@suse.de>
48592         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
48593         common definitions.
48595         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
48596         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
48597         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
48598         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48599         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48600         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48602 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48604         [BZ #15055]
48605         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
48606         __ieee754_sqrl instead of __sqrl.
48608 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
48610         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
48611         * sysdeps/powerpc/fpu_control.h: ... here.
48612         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
48613         * sysdeps/powerpc/bits/fenvinline.h: ... here.
48614         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
48615         * sysdeps/powerpc/bits/mathinline.h: ... here.
48617 2013-03-01  Roland McGrath  <roland@hack.frob.com>
48619         * elf/dl-hwcaps.c (_dl_important_hwcaps):
48620         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
48621         to just [NEED_DL_SYSINFO_DSO].
48622         * elf/dl-support.c: Likewise.
48623         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
48624         * elf/rtld.c (dl_main): Likewise.
48625         * elf/setup-vdso.h (setup_vdso): Likewise.
48626         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
48627         * sysdeps/unix/sysv/linux/dl-sysdep.c
48628         (_dl_discover_osversion): Likewise.
48630 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
48632         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
48633         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48635 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48637         * NEWS: Mention libm performance improvements and non-x86 PI
48638         futex support.
48640         * csu/libc-start.c (__pthread_initialize_minimal): Change
48641         function arguments.
48642         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
48644 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
48646         [BZ #13550]
48647         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
48648         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
48649         <bp-sym.h> and <bp-asm.h>.
48650         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48651         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
48652         and <bp-asm.h>.
48653         (memcpy): Don't use BP_SYM.
48654         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
48655         <bp-asm.h>.
48656         (__mpn_add_n): Don't use BP_SYM.
48657         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
48658         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
48659         and <bp-asm.h>.
48660         (__mpn_addmul_1): Don't use BP_SYM.
48661         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48662         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
48663         <bp-sym.h>.
48664         (_setjmp): Don't use BP_SYM.
48665         (__novmx_setjmp): Likewise.
48666         (__GI__setjmp): Likewise.
48667         (__vmx_setjmp): Likewise.
48668         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
48669         <bp-sym.h>.
48670         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
48671         (__bzero): Don't use BP_SYM.
48672         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
48673         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
48674         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
48675         <bp-sym.h> and <bp-asm.h>.
48676         (memcpy): Don't use BP_SYM.
48677         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
48678         <bp-sym.h> and <bp-asm.h>.
48679         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48680         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
48681         <bp-sym.h> and <bp-asm.h>.
48682         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
48683         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
48684         <bp-asm.h>.
48685         (__mpn_lshift): Don't use BP_SYM.
48686         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48687         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
48688         <bp-asm.h>.
48689         (memset): Don't use BP_SYM.
48690         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
48691         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
48692         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
48693         <bp-asm.h>.
48694         (__mpn_mul_1): Don't use BP_SYM.
48695         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48696         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
48697         <bp-sym.h> and <bp-asm.h>.
48698         (memcmp): Don't use BP_SYM.
48699         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
48700         <bp-sym.h> and <bp-asm.h>.
48701         (memcpy): Don't use BP_SYM.
48702         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
48703         <bp-sym.h> and <bp-asm.h>.
48704         (memset): Don't use BP_SYM.
48705         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
48706         <bp-sym.h> and <bp-asm.h>.
48707         (strncmp): Don't use BP_SYM.
48708         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
48709         <bp-sym.h> and <bp-asm.h>.
48710         (memcpy): Don't use BP_SYM.
48711         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
48712         <bp-sym.h> and <bp-asm.h>.
48713         (memset): Don't use BP_SYM.
48714         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
48715         <bp-sym.h> and <bp-asm.h>.
48716         (__memchr): Don't use BP_SYM.
48717         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
48718         <bp-sym.h> and <bp-asm.h>.
48719         (memcmp): Don't use BP_SYM.
48720         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
48721         <bp-sym.h> and <bp-asm.h>.
48722         (memcpy): Don't use BP_SYM.
48723         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
48724         <bp-sym.h> and <bp-asm.h>.
48725         (__mempcpy): Don't use BP_SYM.
48726         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
48727         <bp-sym.h> and <bp-asm.h>.
48728         (__memrchr): Don't use BP_SYM.
48729         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
48730         <bp-sym.h> and <bp-asm.h>.
48731         (memset): Don't use BP_SYM.
48732         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
48733         <bp-sym.h> and <bp-asm.h>.
48734         (__rawmemchr): Don't use BP_SYM.
48735         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
48736         <bp-sym.h> and <bp-asm.h>.
48737         (__STRCMP): Don't use BP_SYM.
48738         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
48739         <bp-sym.h> and <bp-asm.h>.
48740         (strchr): Don't use BP_SYM.
48741         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
48742         <bp-sym.h> and <bp-asm.h>.
48743         (__strchrnul): Don't use BP_SYM.
48744         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
48745         <bp-sym.h> and <bp-asm.h>.
48746         (strlen): Don't use BP_SYM.
48747         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
48748         <bp-sym.h> and <bp-asm.h>.
48749         (strncmp): Don't use BP_SYM.
48750         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
48751         <bp-sym.h> and <bp-asm.h>.
48752         (__strnlen): Don't use BP_SYM.
48753         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
48754         <bp-asm.h>.
48755         (__mpn_rshift): Don't use BP_SYM.
48756         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
48757         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
48758         <bp-sym.h> and <bp-asm.h>.
48759         (__sigsetjmp): Don't use BP_SYM.
48760         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
48761         (L(start_addresses)): Don't use BP_SYM.
48762         (_start): Likewise.
48763         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
48764         <bp-asm.h>.
48765         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
48766         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48767         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48768         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
48769         <bp-asm.h>.
48770         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
48771         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
48772         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
48773         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
48774         <bp-asm.h>.
48775         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48776         comments.
48777         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
48778         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
48779         <bp-asm.h>.
48780         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
48781         FIXME comments.
48782         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
48783         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
48784         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
48785         <bp-asm.h>.
48786         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
48787         comment.
48788         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
48789         and <bp-asm.h>.
48790         (strncmp): Don't use BP_SYM,
48791         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
48792         <bp-asm.h>.
48793         (__mpn_sub_n): Don't use BP_SYM.
48794         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
48795         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
48796         and <bp-asm.h>.
48797         (__mpn_submul_1): Don't use BP_SYM.
48798         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
48799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
48800         <bp-sym.h> and <bp-asm.h>.
48801         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
48802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
48803         <bp-sym.h> and <bp-asm.h>.
48804         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
48805         comment.
48807 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
48810         Use ZK to minimize writes to Z.
48811         (sub_magnitudes): Simplify code a bit.
48812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
48813         Use ZK to minimize writes to Z.
48814         (sub_magnitudes): Simplify code a bit.
48816 2013-02-27  Roland McGrath  <roland@hack.frob.com>
48818         * csu/gmon-start.c: Add special exception to license text.
48820 2013-02-27  Richard Henderson  <rth@redhat.com>
48822         * scripts/config.guess: Update from config.git.
48823         * scripts/config.sub: Likewise.
48825 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48827         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
48829         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
48831         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
48833         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
48835         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
48837 2013-02-26  Roland McGrath  <roland@hack.frob.com>
48839         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
48840         [$(build-shared = yes].
48842 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48844         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
48845         (__mul): Reduce iterations for calculating mantissa.
48847         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
48848         MPTWO.
48849         (__mpranred): Likewise.
48851         [BZ #15160]
48852         * malloc/memusagestat.c (main): Draw graphs for heap and stack
48853         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
48855 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
48857         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
48858         Define __attribute__.
48860 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48862         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
48863         unused.
48864         * posix/regex_internal.h (__attribute): Remove.
48865         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
48866         (re_string_context_at): Likewise.
48867         (bitset_not): Use __attribute__ and mark function as possibly
48868         unused.
48869         (bitset_merge): Likewise.
48870         (bitset_mask): Likewise.
48871         (re_string_char_size_at): Likewise.
48872         (re_string_wchar_at): Likewise.
48873         (re_string_elem_size_at): Likewise.
48875 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48877         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
48878         code.
48879         (cc32): Likewise.
48881         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
48882         (__acr): Likewise.
48883         (__cpy): Likewise.
48884         (norm): Likewise.
48885         (denorm): Likewise.
48886         (__dbl_mp): Likewise.
48887         (add_magnitudes): Likewise.
48888         (sub_magnitudes): Likewise.
48889         (__mul): Likewise.
48890         (__inv): Likewise.
48892         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
48893         style.
48895         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
48896         style.
48898         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
48899         code.
48901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
48902         up changes with default code.
48903         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
48904         Likewise.
48906 2013-02-24  Allan McRae  <allan@archlinux.org>
48908         * manual/socket.texi (The Internet Namespace): Order menu items
48909         to match that in the file.
48911         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
48912         node listing of the info page menu.
48914 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
48916         [BZ #13550]
48917         * sysdeps/i386/bp-asm.h: Remove file.
48918         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
48919         (PARMS): Do not use macros from bp-asm.h.
48920         (S1): Likewise.
48921         (S2): Likewise.
48922         (SIZE): Likewise.
48923         (__mpn_add_n): Do not use BP_SYM
48924         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
48925         "bp-asm.h".
48926         (PARMS): Do not use macros from bp-asm.h.
48927         (S1): Likewise.
48928         (SIZE): Likewise.
48929         (__mpn_addmul_1): Do not use BP_SYM
48930         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
48931         "bp-asm.h".
48932         (PARMS): Do not use macros from bp-asm.h.
48933         (SIGMSK): Likewise.
48934         (_setjmp): Likewise.  Do not use BP_SYM.
48935         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
48936         "bp-asm.h".
48937         (PARMS): Do not use macros from bp-asm.h.
48938         (SIGMSK): Likewise.
48939         (setjmp): Likewise.  Do not use BP_SYM.
48940         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
48941         "bp-asm.h".
48942         (PARMS): Do not use macros from bp-asm.h.
48943         (__frexp): Do not use BP_SYM.
48944         (frexp): Likewise.
48945         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
48946         "bp-asm.h".
48947         (PARMS): Do not use macros from bp-asm.h.
48948         (__frexpf): Do not use BP_SYM.
48949         (frexpf): Likewise.
48950         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
48951         "bp-asm.h".
48952         (PARMS): Do not use macros from bp-asm.h.
48953         (__frexpl): Do not use BP_SYM.
48954         (frexpl): Likewise.
48955         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
48956         "bp-asm.h".
48957         (PARMS): Do not use macros from bp-asm.h.
48958         (__remquo): Do not use BP_SYM.
48959         (remquo): Likewise.
48960         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
48961         "bp-asm.h".
48962         (PARMS): Do not use macros from bp-asm.h.
48963         (__remquof): Do not use BP_SYM.
48964         (remquof): Likewise.
48965         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
48966         "bp-asm.h".
48967         (PARMS): Do not use macros from bp-asm.h.
48968         (__remquol): Do not use BP_SYM.
48969         (remquol): Likewise.
48970         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
48971         "bp-asm.h".
48972         (PARMS): Do not use macros from bp-asm.h.
48973         (DEST): Likewise.
48974         (SRC): Likewise.
48975         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
48976         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
48977         "bp-asm.h".
48978         (PARMS): Do not use macros from bp-asm.h.
48979         (strlen): Do not use BP_SYM.
48980         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
48981         "bp-asm.h".
48982         (PARMS): Do not use macros from bp-asm.h.
48983         (S1): Likewise.
48984         (S2): Likewise.
48985         (SIZE): Likewise.
48986         (__mpn_add_n): Do not use BP_SYM.
48987         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
48988         "bp-asm.h".
48989         (PARMS): Do not use macros from bp-asm.h.
48990         (S1): Likewise.
48991         (SIZE): Likewise.
48992         (__mpn_addmul_1): Do not use BP_SYM.
48993         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
48994         weak_alias.
48995         (bzero): Likewise.
48996         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
48997         "bp-asm.h".
48998         (PARMS): Do not use macros from bp-asm.h.
48999         (S): Likewise.
49000         (SIZE): Likewise.
49001         (__mpn_lshift): Do not use BP_SYM.
49002         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49003         "bp-asm.h".
49004         (PARMS): Do not use macros from bp-asm.h.
49005         (DEST): Likewise.
49006         (SRC): Likewise.
49007         (LEN): Likewise.
49008         (memcpy): Likewise.  Do not use BP_SYM.
49009         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49010         libc_hidden_def and weak_alias.
49011         (mempcpy): Do not use BP_SYM in weak_alias.
49012         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49013         "bp-asm.h".
49014         (PARMS): Do not use macros from bp-asm.h.
49015         (DEST): Likewise.
49016         (LEN): Likewise.
49017         [!BZERO_P] (CHR): Likewise.
49018         (memset): Likewise.  Do not use BP_SYM.
49019         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
49024         (__mpn_mul_1): Do not use BP_SYM.
49025         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49026         "bp-asm.h".
49027         (PARMS): Do not use macros from bp-asm.h.
49028         (S): Likewise.
49029         (SIZE): Likewise.
49030         (__mpn_rshift): Do not use BP_SYM.
49031         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49032         "bp-asm.h".
49033         (PARMS): Do not use macros from bp-asm.h.
49034         (STR): Likewise.
49035         (CHR): Likewise.
49036         (strchr): Likewise.  Do not use BP_SYM.
49037         (index): Do not use BP_SYM in weak_alias.
49038         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49039         "bp-asm.h".
49040         (PARMS): Do not use macros from bp-asm.h.
49041         (DEST): Likewise.
49042         (SRC): Likewise.
49043         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49044         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49045         "bp-asm.h".
49046         (PARMS): Do not use macros from bp-asm.h.
49047         (strlen): Do not use BP_SYM.
49048         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49049         "bp-asm.h".
49050         (PARMS): Do not use macros from bp-asm.h.
49051         (S1): Likewise.
49052         (S2): Likewise.
49053         (SIZE): Likewise.
49054         (__mpn_sub_n): Do not use BP_SYM.
49055         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49056         "bp-asm.h".
49057         (PARMS): Do not use macros from bp-asm.h.
49058         (S1): Likewise.
49059         (SIZE): Likewise.
49060         (__mpn_submul_1): Do not use BP_SYM.
49061         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49062         "bp-asm.h".
49063         (PARMS): Do not use macros from bp-asm.h.
49064         (S1): Likewise.
49065         (S2): Likewise.
49066         (SIZE): Likewise.
49067         (__mpn_add_n): Do not use BP_SYM.
49068         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49069         weak_alias.
49070         (bzero): Likewise.
49071         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49072         "bp-asm.h".
49073         (PARMS): Do not use macros from bp-asm.h.
49074         (BLK2): Likewise.
49075         (LEN): Likewise.
49076         (memcmp): Do not use BP_SYM.
49077         (bcmp): Do not use BP_SYM in weak_alias.
49078         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49079         "bp-asm.h".
49080         (PARMS): Do not use macros from bp-asm.h.
49081         (DEST): Likewise.
49082         (SRC): Likewise.
49083         (LEN): Likewise.
49084         (memcpy): Likewise.  Do not use BP_SYM.
49085         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49086         "bp-asm.h".
49087         (PARMS): Do not use macros from bp-asm.h.
49088         (DEST): Likewise.
49089         (SRC): Likewise.
49090         (LEN): Likewise.
49091         (memmove): Likewise.  Do not use BP_SYM.
49092         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49093         "bp-asm.h".
49094         (PARMS): Do not use macros from bp-asm.h.
49095         (DEST): Likewise.
49096         (SRC): Likewise.
49097         (LEN): Likewise.
49098         (__mempcpy): Likewise.  Do not use BP_SYM.
49099         (mempcpy): Do not use BP_SYM in weak_alias.
49100         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49101         "bp-asm.h".
49102         (PARMS): Do not use macros from bp-asm.h.
49103         (DEST): Likewise.
49104         (LEN): Likewise.
49105         [!BZERO_P] (CHR): Likewise.
49106         (memset): Likewise.  Do not use BP_SYM.
49107         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49108         "bp-asm.h".
49109         (PARMS): Do not use macros from bp-asm.h.
49110         (STR2): Likewise.
49111         (strcmp): Do not use BP_SYM.
49112         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49113         "bp-asm.h".
49114         (PARMS): Do not use macros from bp-asm.h.
49115         (STR): Likewise.
49116         (DELIM): Likewise.
49117         [USE_AS_STRTOK_R] (SAVE): Likewise.
49118         (FUNCTION): Likewise.  Do not use BP_SYM.
49119         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49120         aliases.
49121         (strtok_r): Likewise.
49122         (__GI___strtok_r): Likewise.
49123         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49124         (PARMS): Do not use macros from bp-asm.h.
49125         (S): Likewise.
49126         (SIZE): Likewise.
49127         (__mpn_lshift): Do not use BP_SYM.
49128         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49129         (PARMS): Do not use macros from bp-asm.h.
49130         (STR): Likewise.
49131         (CHR): Likewise.
49132         (__memchr): Do not use BP_SYM.
49133         (memchr): Do not use BP_SYM in weak_alias.
49134         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49135         (PARMS): Do not use macros from bp-asm.h.
49136         (BLK2): Likewise.
49137         (LEN): Likewise.
49138         (memcmp): Do not use BP_SYM.
49139         (bcmp): Do not use BP_SYM in weak_alias.
49140         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49141         (PARMS): Do not use macros from bp-asm.h.
49142         (S1): Likewise.
49143         (SIZE): Likewise.
49144         (__mpn_mul_1): Do not use BP_SYM.
49145         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49146         "bp-asm.h".
49147         (PARMS): Do not use macros from bp-asm.h.
49148         (STR): Likewise.
49149         (CHR): Likewise.
49150         (__rawmemchr): Do not use BP_SYM.
49151         (rawmemchr): Do not use BP_SYM in weak_alias.
49152         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49153         (PARMS): Do not use macros from bp-asm.h.
49154         (S): Likewise.
49155         (SIZE): Likewise.
49156         (__mpn_rshift): Do not use BP_SYM.
49157         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49158         (PARMS): Do not use macros from bp-asm.h.
49159         (SIGMSK): Likewise.
49160         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49161         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49162         (_start): Do not use BP_SYM.
49163         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49164         (PARMS): Do not use macros from bp-asm.h.
49165         (DEST): Likewise.
49166         (SRC): Likewise.
49167         (__stpcpy): Likewise.  Do not use BP_SYM.
49168         (stpcpy): Do not use BP_SYM in weak_alias.
49169         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49170         "bp-asm.h".
49171         (PARMS): Do not use macros from bp-asm.h.
49172         (DEST): Likewise.
49173         (SRC): Likewise.
49174         (LEN): Likewise.
49175         (__stpncpy): Likewise.  Do not use BP_SYM.
49176         (stpncpy): Do not use BP_SYM in weak_alias.
49177         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49178         (PARMS): Do not use macros from bp-asm.h.
49179         (STR): Likewise.
49180         (CHR): Likewise.
49181         (strchr): Likewise.  Do not use BP_SYM.
49182         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49183         "bp-asm.h".
49184         (PARMS): Do not use macros from bp-asm.h.
49185         (STR): Likewise.
49186         (CHR): Likewise.
49187         (__strchrnul): Likewise.  Do not use BP_SYM.
49188         (strchrnul): Do not use BP_SYM in weak_alias.
49189         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49190         "bp-asm.h".
49191         (PARMS): Do not use macros from bp-asm.h.
49192         (STOP): Likewise.
49193         (strcspn): Do not use BP_SYM.
49194         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49195         "bp-asm.h".
49196         (PARMS): Do not use macros from bp-asm.h.
49197         (STR): Likewise.
49198         (STOP): Likewise.
49199         (strpbrk): Likewise.  Do not use BP_SYM.
49200         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49201         "bp-asm.h".
49202         (PARMS): Do not use macros from bp-asm.h.
49203         (STR): Likewise.
49204         (CHR): Likewise.
49205         (strrchr): Likewise.  Do not use BP_SYM.
49206         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49207         (PARMS): Do not use macros from bp-asm.h.
49208         (SKIP): Likewise.
49209         (strspn): Do not use BP_SYM.
49210         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49211         (PARMS): Do not use macros from bp-asm.h.
49212         (STR): Likewise.
49213         (DELIM): Likewise.
49214         (SAVE): Likewise.
49215         (FUNCTION): Likewise.  Do not use BP_SYM.
49216         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49217         aliases.
49218         (strtok_r): Likewise.
49219         (__GI___strtok_r): Likewise.
49220         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49221         (PARMS): Do not use macros from bp-asm.h.
49222         (S1): Likewise.
49223         (S2): Likewise.
49224         (SIZE): Likewise.
49225         (__mpn_sub_n): Do not use BP_SYM.
49226         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49227         "bp-asm.h".
49228         (PARMS): Do not use macros from bp-asm.h.
49229         (S1): Likewise.
49230         (SIZE): Likewise.
49231         (__mpn_submul_1): Do not use BP_SYM.
49232         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49233         <bp-sym.h>.
49234         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49235         and <bp-asm.h>.
49236         (PARMS): Do not use macros from bp-asm.h.
49237         (FLAGS): Likewise.
49238         (PTID): Likewise.
49239         (TLS): Likewise.
49240         (CTID): Likewise.
49241         (__clone): Do not use BP_SYM.
49242         (clone): Do not use BP_SYM in weak_alias.
49243         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49244         and <bp-asm.h>.
49245         (PARMS): Do not use macros from bp-asm.h.
49246         (LEN): Likewise.
49247         (__mmap64): Do not use BP_SYM.
49248         (mmap64): Do not use BP_SYM in weak_alias.
49249         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49250         <bp-sym.h> and <bp-asm.h>.
49251         (PARMS): Do not use macros from bp-asm.h.
49252         (__posix_fadvise64_l64): Do not use BP_SYM.
49253         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49254         (PARMS): Do not use macros from bp-asm.h.
49255         (NSOPS): Likewise.
49256         (semtimedop): Do not use BP_SYM.
49257         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49258         and <bp-asm.h>.
49260 2013-02-21  Allan McRae  <allan@archlinux.org>
49262         * manual/message.texi (Charset conversion in gettext):
49263         Move @end statement to beginning of line.
49265 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49268         static.
49269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49270         Likewise.
49272         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49273         (denorm): Likewise.
49274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49275         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49277 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49279         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49280         tail-call to the resolved function if pltexit isn't needed.
49282 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49285         or Y being zero as being unlikely.
49286         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49287         Likewise.
49289 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49291         * manual/nss.texi (System Databases and Name Service Switch):
49292         Remove frobnicate @pxref.
49294 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49296         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49297         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49299 2013-02-20  Petr Machata  <pmachata@redhat.com>
49301         * elf/elf.h (R_ARM_TARGET1): New macro.
49302         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49303         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49304         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49305         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49306         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49307         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49308         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49309         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49310         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49311         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49312         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49313         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49314         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49315         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49316         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49317         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49318         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49319         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49320         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49321         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49322         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49323         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49324         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49325         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49326         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49327         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49328         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49329         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49330         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49331         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49332         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49333         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49334         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49335         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49336         (R_ARM_THM_GOT_BREL12): Likewise.
49337         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49338         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49339         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49340         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49341         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49342         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49343         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49344         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49345         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49347 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49349         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49350         __attribute_used__ to __attribute__ ((unused)).
49352 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49354         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49355         powerpc mpa.c.
49356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49357         comment formatting.
49358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49360 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49362         [BZ #13550]
49363         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49364         Remove macro.
49365         (ENTER): Remove both macro definitions.
49366         (LEAVE): Likewise.
49367         (CHECK_BOUNDS_LOW): Likewise.
49368         (CHECK_BOUNDS_HIGH): Likewise.
49369         (CHECK_BOUNDS_BOTH): Likewise.
49370         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49371         (RETURN_BOUNDED_POINTER): Likewise.
49372         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49373         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49374         (POP_ERRNO_LOCATION_RETURN): Likewise.
49375         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49376         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49377         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49378         macros.
49379         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49380         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49381         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49382         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49383         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49384         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49385         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49386         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49387         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49388         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49389         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49390         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49391         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49392         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49393         removed macros.
49394         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49395         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49396         macros.
49397         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49398         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49399         * sysdeps/i386/i586/memset.S (memset): Likewise.
49400         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49401         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49402         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49403         macros.
49404         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49405         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
49406         Change uses of L(2) to L(out).
49407         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
49408         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
49409         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
49410         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49411         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
49412         removed macros.
49413         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49414         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
49415         macros.
49416         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49417         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
49418         (RETURN): Do not use macro LEAVE.
49419         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
49420         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
49421         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
49422         * sysdeps/i386/i686/memset.S (memset): Likewise.
49423         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
49424         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
49425         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49426         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
49427         Likewise.
49428         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49429         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
49430         L(1_2) and L(1_3) into L(1).
49431         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49432         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
49433         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49434         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
49435         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49436         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
49437         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
49438         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49439         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
49440         macros.
49441         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
49442         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49443         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
49444         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
49445         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
49446         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49447         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
49448         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
49449         * sysdeps/i386/strcspn.S (strcspn): Likewise.
49450         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
49451         * sysdeps/i386/strrchr.S (strrchr): Likewise.
49452         * sysdeps/i386/strspn.S (strspn): Likewise.
49453         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
49454         conditional code.
49455         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49456         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
49457         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
49458         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
49459         L(1_3) into L(1_1).
49460         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
49461         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49462         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
49463         macros.
49464         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49466 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
49468         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
49469         macro.
49471 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49473         * math/atest-exp.c (exp_mpn): Remove ROUND.
49474         * math/atest-exp2.c (exp_mpn): Likewise.
49475         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
49477         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
49478         * stdlib/tst-tls-atexit-lib.c: Likewise.
49479         * stdlib/tst-tls-atexit.c: Likewise.
49481 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49483         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
49484         and __attribute_alloc_size__.
49486 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49488         * include/programs/xmalloc.h: Change __attribute_alloc_size to
49489         __attribute_alloc_size__.
49490         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
49491         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
49493 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
49495         * include/programs/xmalloc.h: New file.
49496         * catgets/gencat.c: Include it.
49497         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
49498         * elf/pldd.c: Likewise.
49499         * iconv/iconv_charmap.c: Likewise.
49500         * iconv/iconvconfig.c: Likewise.
49501         * iconv/strtab.c: Likewise.
49502         * locale/programs/locale.c: Likewise.
49503         * locale/programs/localedef.h: Likewise.
49504         * locale/programs/simple-hash.c: Likewise.
49505         * nscd/nscd.h: Likewise.
49506         * nss/makedb.c: Likewise.
49507         * sysdeps/generic/ldconfig.h: Likewise.
49509 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
49511         * Versions.def: Add GLIBC_2.18.
49512         * include/link.h (struct link_map): New member l_tls_dtor_count.
49513         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
49514         (__call_tls_dtors): Likewise.
49515         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
49516         __cxa_thread_atexit_impl.
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49518         Likewise.
49519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49520         Likewise.
49521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
49522         Likewise.
49523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
49524         Likewise.
49525         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
49527         Likewise.
49528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
49529         Likewise.
49530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49532         Likewise.
49533         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
49534         (tests): Add test case tst-tls-atexit.
49535         (modules-names): Add shared library for tst-tls-atexit.
49536         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
49537         (GLIBC_PRIVATE): Add __call_tls_dtors.
49538         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
49539         for libstdc++.
49540         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
49541         * stdlib/tst-tls-atexit.c: New test case.
49542         * stdlib/tst-tls-atexit-lib.c: New test case.
49544         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
49546         * elf/Versions (ld): Add _dl_find_dso_for_object.
49547         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
49548         * elf/dl-open.c (_dl_find_dso_for_object): New function.
49549         (dl_open_worker): Use _dl_find_dso_for_object.
49550         * elf/dl-sym.c (do_sym): Likewise.
49551         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
49553 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49555         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
49556         Syntactic changes only.
49557         (_dl_runtime_profile): Do a tail-call to the resolved function.
49559 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
49561         [BZ #13550]
49562         * sysdeps/x86_64/bp-asm.h: Remove file.
49563         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
49564         <bp-sym.h> and <bp-asm.h>.
49565         (__clone): Do not use BP_SYM.
49566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
49567         <bp-sym.h> and <bp-asm.h>.
49568         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49569         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
49570         "bp-asm.h".
49571         (_setjmp): Do not use BP_SYM.
49572         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
49573         "bp-asm.h".
49574         (setjmp): Do not use BP_SYM.
49575         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
49576         libc_hidden_def.
49577         (mempcpy): Do not use BP_SYM in weak_alias.
49578         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
49579         "bp-asm.h".
49580         (strchr): Do not use BP_SYM.
49581         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
49582         "bp-asm.h".
49583         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
49584         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
49585         (_start): Do not use BP_SYM.
49586         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
49587         "bp-asm.h".
49588         (strcat): Do not use BP_SYM.
49589         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
49590         "bp-asm.h".
49591         (STRCMP): Do not use BP_SYM.
49592         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
49593         "bp-asm.h".
49594         (STRCPY): Do not use BP_SYM.
49595         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
49596         "bp-asm.h".
49597         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
49598         "bp-asm.h".
49599         (FUNCTION): Do not use BP_SYM.
49600         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
49601         weak_alias.
49602         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
49604 2013-02-17  Andreas Jaeger  <aj@suse.de>
49606         * time/Versions: Sort entries.
49607         * string/Versions: Likewise.
49608         * resolv/Versions: Likewise.
49609         * posix/Versions: Likewise.
49610         * iconv/Versions: Likewise.
49611         * elf/Versions: Likewise.
49612         * wcsmbs/Versions: Likewise.
49614 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49616         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
49617         loop termination condition.
49619         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
49620         variable to calculate EZ.
49621         (__sqr): Likewise.
49623         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
49624         the lower precision input.
49626 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
49628         [BZ #13550]
49629         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
49630         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
49631         (run-via-rtld-prefix): Do not handle %-bp tests.
49632         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
49633         (all-object-suffixes): Remove .ob.
49634         (bppfx): Remove variable.
49635         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
49636         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
49637         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
49638         [$(build-bounded) = yes] (libtype.ob): Likewise.
49639         * Makerules (elide-routines.ob): Remove variable.
49640         (do-tests-clean): Do not handle *-bp.out.
49641         (common-mostlyclean): Do not handle *-bp and *-bp.out.
49642         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
49643         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
49644         (tests): Do not include $(tests-bp.out).
49645         (xtests): Do not include $(xtests-bp.out).
49646         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
49647         [$(build-bounded) = yes] ($(addprefix
49648         $(objpfx),$(binaries-bounded))): Remove rule.
49649         ($(objpfx)%-bp.out): Remove rule.
49650         * config.make.in (build-bounded): Remove variable.
49651         * crypt/Makefile [$(build-bounded) = yes]
49652         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
49653         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
49654         append to variable.
49655         [$(build-bounded) = yes] (install-lib): Likewise.
49656         [$(build-bounded) = yes] (generated): Likewise.
49657         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
49658         Remove rule.
49659         * intl/Makefile [$(build-bounded) = yes]
49660         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
49661         * math/Makefile [$(build-bounded) = yes]
49662         ($(tests:%=$(objpfx)%-bp): Likewise.
49663         * misc/Makefile [$(build-bounded) = yes]
49664         ($(objpfx)tst-tsearch-bp): Likewise.
49665         * nptl/Makeconfig (bounded-thread-library): Remove variable.
49666         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
49667         Remove dependency.
49668         * string/Makefile (o-objects.ob): Remove variable.
49669         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
49670         (CFLAGS-.ob): Remove variable.
49671         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
49672         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
49673         both definitions of variable.
49674         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
49675         (ASFLAGS-.ob): Remove variable.
49677 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
49679         [BZ #13550]
49680         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
49681         Remove __BOUNDED_POINTERS__ from condition.
49682         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
49683         * string/bits/string2.h [!__NO_STRING_INLINES &&
49684         !__BOUNDED_POINTERS__]: Likewise.
49685         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
49686         Likewise.
49687         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
49688         Remove conditional code.
49689         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
49690         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
49691         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
49692         condition.
49694         [BZ #13550]
49695         * csu/libc-start.c: Do not include <bp-sym.h>.
49696         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
49697         * elf/dl-open.c: Do not include <bp-sym.h>.
49698         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
49699         * math/fegetenv.c: Do not include <bp-sym.h>.
49700         (fegetenv): Do not use BP_SYM in versioned symbols.
49701         * nptl/sysdeps/pthread/bits/libc-lockP.h
49702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
49703         <bp-sym.h>.
49704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49705         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
49706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49707         (__pthread_mutex_destroy): Likewise.
49708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49709         (__pthread_mutex_lock): Likewise.
49710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49711         (__pthread_mutex_trylock): Likewise.
49712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49713         (__pthread_mutex_unlock): Likewise.
49714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49715         (__pthread_mutexattr_init): Likewise.
49716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49717         (__pthread_mutexattr_destroy): Likewise.
49718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49719         (__pthread_mutexattr_settype): Likewise.
49720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49721         (__pthread_rwlock_init): Likewise.
49722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49723         (__pthread_rwlock_destroy): Likewise.
49724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49725         (__pthread_rwlock_rdlock): Likewise.
49726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49727         (__pthread_rwlock_tryrdlock): Likewise.
49728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49729         (__pthread_rwlock_wrlock): Likewise.
49730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49731         (__pthread_rwlock_trywrlock): Likewise.
49732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49733         (__pthread_rwlock_unlock): Likewise.
49734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49735         (__pthread_key_create): Likewise.
49736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49737         (__pthread_setspecific): Likewise.
49738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49739         (__pthread_getspecific): Likewise.
49740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
49741         Likewise.
49742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49743         (_pthread_cleanup_push_defer): Likewise.
49744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49745         (_pthread_cleanup_pop_restore): Likewise.
49746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
49747         (pthread_setcancelstate): Likewise.
49748         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
49749         <bp-sym.h>.
49750         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
49751         (memchr): Do not use BP_SYM in weak_alias.
49752         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
49753         (fegetenv): Do not use BP_SYM in versioned symbols.
49754         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
49755         (fesetenv): Do not use BP_SYM in versioned symbols.
49756         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49757         (feupdateenv): Do not use BP_SYM in versioned symbols.
49758         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49759         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49760         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
49761         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
49762         (open64): Do not use BP_SYM in weak_alias.
49763         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
49764         (fegetenv): Do not use BP_SYM in versioned symbols.
49765         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
49766         (fesetenv): Do not use BP_SYM in versioned symbols.
49767         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
49768         (feupdateenv): Do not use BP_SYM in versioned symbols.
49769         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
49770         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
49771         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
49772         (feraiseexcept): Do not use BP_SYM in versioned symbols.
49773         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
49774         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
49775         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
49776         <bp-sym.h>.
49777         (__libc_start_main): Do not use BP_SYM.
49779 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
49782         redundant return line.
49783         (norm): Likewise.
49784         (denorm): Likewise.
49785         (dbl_mp): Likewise.
49786         (sub_magnitudes): Likewise.
49787         (__add): Likewise.
49788         (__sub): Likewise.
49789         (__mul): Likewise.
49790         (__inv): Likewise.
49791         (__dvd): Likewise.
49792         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
49793         (norm): Likewise.
49794         (denorm): Likewise.
49795         (dbl_mp): Likewise.
49796         (sub_magnitudes): Likewise.
49797         (__add): Likewise.
49798         (__sub): Likewise.
49799         (__mul): Likewise.
49800         (__inv): Likewise.
49801         (__dvd): Likewise.
49803         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
49804         instead of __mul.
49805         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49806         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
49807         (cc32): Likewise.
49809         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
49810         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
49811         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
49812         of __mul for squares.
49813         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
49814         function
49815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
49816         Likewise.
49817         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
49818         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49820 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
49822         [BZ #13550]
49823         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
49824         code.
49825         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
49826         prototype or function definition.  Rename ubp_* variables and
49827         parameters.  Remove argv definitions conditional on
49828         [__BOUNDED_POINTERS__].
49829         * debug/backtrace.c (__backtrace): Do not use __unbounded.
49830         * elf/dl-runtime.c (_dl_fixup): Likewise.
49831         * include/set-hooks.h (RUN_HOOK): Likewise.
49832         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
49833         definition.
49834         * string/strcpy.c (strcpy): Do not use __unbounded.
49835         * sysdeps/generic/frame.h (struct layout): Likewise.
49836         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
49837         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
49838         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
49839         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
49840         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
49841         (__backtrace): Likewise.
49842         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
49843         use __ptrvalue.
49844         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
49845         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
49846         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
49847         Likewise.
49848         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
49849         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
49850         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
49851         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
49852         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
49853         Do not use __unbounded.
49854         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
49855         Rename __unboundedrlimits parameter to rlimits in prototype.
49856         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
49857         Do not use __unbounded.
49858         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
49859         not use __ptrvalue.
49860         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
49861         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
49862         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
49863         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
49864         __ptrvalue or __unbounded.
49865         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
49866         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
49867         use __unbounded.
49868         (__new_msgctl): Do not use __ptrvalue.
49869         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
49870         __unbounded.
49871         (__libc_msgrcv): Do not use __ptrvalue.
49872         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
49873         startup_info): Do not use __unbounded.
49874         (__libc_start_main): Likewise.  Rename ubp_* variables and
49875         parameters.  Remove argv definitions conditional on
49876         [__BOUNDED_POINTERS__].
49877         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
49878         __ptrvalue.
49879         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
49880         use __unbounded.
49881         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
49882         or __ptrvalue.
49883         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
49884         use __unbounded.
49885         (__new_shmctl): Do not use __ptrvalue.
49886         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
49887         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
49888         Likewise.
49889         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
49890         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
49891         (__libc_sigaction): Likewise.
49892         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
49893         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
49894         Likewise.
49895         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
49897 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
49899         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
49901         * string/mempcpy.c: Implement by calling memcpy.
49903 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49905         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
49907         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
49908         evaluation.
49910         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
49911         values in the mantissa.
49913         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
49914         minimize writes to Z.
49915         (sub_magnitudes): Simplify code a bit.
49917 2013-02-12  Roland McGrath  <roland@hack.frob.com>
49919         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
49920         from the message.  The linker prefixes all warnings with that already.
49922 2013-02-12  Andreas Schwab  <schwab@suse.de>
49924         [BZ #15078]
49925         * posix/regexec.c (extend_buffers): Add parameter min_len.
49926         (check_matching): Pass minimum needed length.
49927         (clean_state_log_if_needed): Likewise.
49928         (get_subexp): Likewise.
49929         * posix/Makefile (tests): Add bug-regex34.
49930         (bug-regex34-ENV): Define.
49931         * posix/bug-regex34.c: New file.
49933         [BZ #11561]
49934         * posix/regcomp.c (parse_bracket_exp): When looking up collating
49935         elements compare against the byte sequence of it, not its name.
49936         * posix/Makefile (tests): Add bug-regex35.
49937         (bug-regex35-ENV): Define.
49938         * posix/bug-regex35.c: New file.
49940 2013-02-11  Tom de Vries  <tom@codesourcery.com>
49942         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
49943         comment.
49944         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
49945         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
49946         (CHECK_EOL): Add undef.
49948 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
49950         * bits/stdlib-bsearch.h: New file.
49951         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
49952         * stdlib/stdlib.h: Likewise.
49954 2013-02-11  Roland McGrath  <roland@hack.frob.com>
49956         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
49957         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
49958         declaration.
49959         * manual/search.texi (Array Search Function): Add missing const in
49960         lfind prototype.
49961         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
49962         declaration to use rlim_t.
49963         (Basic Scheduling Functions): Remove erroneous const from
49964         sched_getparam prototype.  Remove erroneous * from
49965         sched_get_priority_max and sched_get_priority_min prototypes.
49966         (Resource Usage): Fix summary @comment on vtimes to refer to
49967         sys/vtimes.h rather than vtimes.h.
49968         Add missing *s in vtimes prototype.
49969         (Limits on Resources): Fix ulimit prototype to return long int.
49970         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
49971         prototypes to use long int rather than double.
49972         (BSD Random): Fix initstate and setstate to use char *, not void *.
49973         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
49974         prototype to make second argument 'struct aiocb64 *const[]'.
49975         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
49976         (Status of AIO Operations): Remove erroneous const in aio_return and
49977         aio_return64 prototypes.
49978         (Synchronizing I/O): Fix sync prototype to return void.
49979         * manual/startup.texi (Suboptions): Remove an erroneous const in
49980         getsubopt prototype.
49981         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
49982         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
49983         use size_t rather than int.
49984         (Scanning All Users): Likewise for getpwent_r.
49985         (Setting Groups): Add missing const to setgroups prototype.
49986         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
49987         * manual/socket.texi (Host Names): Fix gethostbyaddr and
49988         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
49989         'const void *' rather than 'const char *'.
49990         (Host Address Functions): Likewise for inet_ntop.
49991         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
49992         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
49993         ssize_t for return value.
49994         (Sending Data): Likewise for send, sendto, sendmsg.
49995         (Socket Option Functions): Add a missing const in setsockopt prototype.
49996         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
49997         use wchar_t for the argument.
49998         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
49999         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50000         take no arguments.
50001         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50002         double/float/long double for second argument.
50003         Fix return types of significand, significandf, significandl.
50004         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50005         argument in fchmod prototype.
50006         (File Owner): Use uid_t and gid_t in fchown prototype.
50007         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50008         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50009         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50010         use 'const struct dirent **' as argument types to CMP function pointer
50011         argument.
50012         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50013         (File Times): Fix summary magic @comment for struct utimbuf and utime
50014         to refer to utime.h, not time.h.
50015         * manual/string.texi (Argz Functions): Add missing const in
50016         argz_extract and argz_next prototypes.
50017         (Finding Tokens in a String): Likewise for basename.
50018         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50019         (Copying and Concatenation): Fix typo in wmemmove prototype.
50020         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50021         (Signal Stack): Remove erroneous const in sigstack prototype.
50022         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50023         prototype.
50024         (Simple Calendar Time): Likewise for stime.
50025         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50026         prototype.
50027         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50028         say sys/sysctl.h instead.
50029         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50030         and vsyslog prototypes.
50032 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50034         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50035         Remove.
50037 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50039         * misc/sys/mman.h: Fix typo in mremap comment.
50041 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50043         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50044         the '\0' terminator.
50046 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50048         [BZ #13550]
50049         * debug/segfault.c: Don't include <bp-checks.h>.
50050         * sysdeps/generic/bp-checks.h: Remove file.
50051         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50052         (__GETDENTS): Don't use CHECK_N.
50053         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50054         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50055         (__getgroups): Don't use CHECK_N.
50056         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50057         (setgroups): Don't use CHECK_N.
50058         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50059         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50060         (__libc_msgrcv): Don't use CHECK_N.
50061         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50062         (__libc_msgsnd): Don't use CHECK_N.
50063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50064         <bp-checks.h>.
50065         (__libc_pread): Don't use CHECK_N.
50066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50067         include <bp-checks.h>.
50068         (__libc_pread64): Don't use CHECK_N.
50069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50070         include <bp-checks.h>.
50071         (__libc_pwrite): Don't use CHECK_N.
50072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50073         include <bp-checks.h>.
50074         (__libc_pwrite64): Don't use CHECK_N.
50075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50076         <bp-checks.h>.
50077         (__libc_pread): Don't use CHECK_N.
50078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50079         include <bp-checks.h>.
50080         (__libc_pread64): Don't use CHECK_N.
50081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50082         include <bp-checks.h>.
50083         (__libc_pwrite): Don't use CHECK_N.
50084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50085         include <bp-checks.h>.
50086         (__libc_pwrite64): Don't use CHECK_N.
50087         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50088         (do_pread): Don't use CHECK_N.
50089         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50090         (do_pread64): Don't use CHECK_N.
50091         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50092         (do_pwrite): Don't use CHECK_N.
50093         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50094         (do_pwrite64): Don't use CHECK_N.
50095         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50096         (__libc_readv): Don't use CHECK_N.
50097         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50098         (semop): Don't use CHECK_N.
50099         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50100         <bp-checks.h>.
50101         (semtimedop): Don't use CHECK_N.
50102         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50103         (__libc_pread): Don't use CHECK_N.
50104         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50105         <bp-checks.h>.
50106         (__libc_pread64): Don't use CHECK_N.
50107         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50108         <bp-checks.h>.
50109         (__libc_pwrite): Don't use CHECK_N.
50110         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50111         <bp-checks.h>.
50112         (__libc_pwrite64): Don't use CHECK_N.
50113         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50114         <bp-checks.h>.
50115         (__libc_msgrcv): Don't use CHECK_N.
50116         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50117         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50118         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50119         (__libc_writev): Don't use CHECK_N.
50121 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50123         * string/strcpy.c: Removed unused variable.
50125         * Makeconfig (+sysdep-includes): Define with := rather than =.
50126         Use an existing include/ subdir of each sysdeps dir before it.
50128 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50130         * nscd/connection.c (register_traced_file): Comment function.
50131         [HAVE_INOTIFY] (union __inev): Define.
50132         [HAVE_INOTIFY] (inotify_check_files): New function.
50133         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50134         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50135         clear_db_cache.
50136         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50138 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50140         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50141         loaded if not already and that a failure is permanent.
50143 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50145         [BZ #15006]
50146         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50147         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50149 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50151         [BZ #13550]
50152         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50153         (CHECK_1_NULL_OK): Likewise.
50154         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50155         (__fxstat): Do not use CHECK_1.
50156         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50157         <bp-checks.h>.
50158         (___fxstat64): Do not use CHECK_1.
50159         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50160         <bp-checks.h>.
50161         (__fxstatat): Do not use CHECK_1.
50162         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50163         <bp-checks.h>.
50164         (__fxstatat64): Do not use CHECK_1.
50165         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50166         <bp-checks.h>.
50167         (__fxstat): Do not use CHECK_1.
50168         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50169         <bp-checks.h>.
50170         (__fxstatat): Do not use CHECK_1.
50171         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50172         <bp-checks.h>.
50173         (__getresgid): Do not use CHECK_1.
50174         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50175         <bp-checks.h>.
50176         (__getresuid): Do not use CHECK_1.
50177         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50178         <bp-checks.h>.
50179         (__lxstat): Do not use CHECK_1.
50180         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50181         <bp-checks.h>.
50182         (__old_msgctl): Do not use CHECK_1.
50183         (__new_msgctl): Likewise.
50184         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50185         <bp-checks.h>.
50186         (__new_setrlimit): Do not use CHECK_1.
50187         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50188         <bp-checks.h>.
50189         (__old_shmctl): Do not use CHECK_1.
50190         (__new_shmctl): Likewise.
50191         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50192         <bp-checks.h>.
50193         (__xstat): Do not use CHECK_1.
50194         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50195         (__lxstat): Do not use CHECK_1.
50196         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50197         <bp-checks.h>.
50198         (___lxstat64): Do not use CHECK_1.
50199         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50200         (__old_msgctl): Do not use CHECK_1.
50201         (__new_msgctl): Likewise.
50202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50203         <bp-checks.h>.
50204         (__gettimeofday): Do not use CHECK_1.
50205         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50206         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50207         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50208         <bp-checks.h>.
50209         (__gettimeofday): Do not use CHECK_1.
50210         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50211         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50212         (__new_shmctl): Do not use CHECK_1.
50213         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50214         <bp-checks.h>.
50215         (do_sigtimedwait): Do not use CHECK_1.
50216         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50217         <bp-checks.h>.
50218         (do_sigwaitinfo): Do not use CHECK_1.
50219         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50220         <bp-checks.h>.
50221         (msgctl): Do not use CHECK_1.
50222         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50223         <bp-checks.h>.
50224         (shmctl): Do not use CHECK_1.
50225         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50226         (ustat): Do not use CHECK_1.
50227         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50228         <bp-checks.h>.
50229         (__fxstat): Do not use CHECK_1.
50230         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50231         <bp-checks.h>.
50232         (__fxstatat): Do not use CHECK_1.
50233         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50234         <bp-checks.h>.
50235         (__lxstat): Do not use CHECK_1.
50236         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50237         <bp-checks.h>.
50238         (__xstat): Do not use CHECK_1.
50239         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50240         (__xstat): Do not use CHECK_1.
50241         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50242         (___xstat64): Do not use CHECK_1.
50244         [BZ #13550]
50245         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50246         definitions.
50247         (CHECK_BOUNDS_HIGH): Likewise.
50248         * string/strcpy.c: Do not include <bp-checks.h>.
50249         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50251 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50253         * nscd/nscd-client.h (__nscd_drop_map_ref):
50254         Add __attribute__ ((unused)).
50255         * nis/nss-nisplus.h (niserr2nss): Likewise.
50257         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50258         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50260         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50261         Remove inline keyword.
50262         * include/rounding-mode.h (round_away): Likewise.
50263         * libio/wfileops.c (adjust_wide_data): Likewise.
50264         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50265         (__m128i_strloadu_tolower): Likewise.
50266         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50267         (__m128i_strloadu_tolower): Likewise.
50268         * time/mktime.c (ydhms_diff): Likewise.
50269         * locale/elem-hash.h (elem_hash): Likewise.
50270         * locale/setlocale.c (setdata): Likewise.
50271         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50272         (re_string_wchar_at): Likewise.
50273         (bitset_not, bitset_merge, bitset_mask): Likewise.
50274         [!(__GNUC__ > 3)] (inline): Remove macro.
50275         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50276         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50277         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50278         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50279         * string/memcmp.c (memcmp_bytes): Likewise.
50280         * locale/programs/locarchive.c (compute_hashval): Likewise.
50281         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50282         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50283         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50284         * nss/getent.c (print_rpc, print_protocols): Likewise.
50285         (print_passwd, print_group, print_aliases): Likewise.
50286         * nis/nss-nisplus.h (niserr2nss): Likewise.
50287         * nscd/connections.c (restart_p): Likewise.
50288         Change return type to bool.
50290 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50292         * Makeconfig (all-Depend-files): Add existing
50293         $(sorted-subdirs:=/Depend) files.
50294         (all-subdirs): Remove nss.
50295         * sysdeps/unix/inet/Subdirs: Add it here instead.
50296         * hesiod/Depend: New file.
50298         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50299         instead of calling alloca.
50301         * io/lseek.c (__lseek): Rename to __libc_lseek.
50302         Define __lseek as an alias.
50304         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50306 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50308         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50309         else clause and remove check for non-standard endianness.
50311 2013-02-04  David S. Miller  <davem@davemloft.net>
50313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50315 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50317         [BZ #13550]
50318         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50319         (__ubp_memchr): Remove prototype.
50320         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50321         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50322         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50323         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50324         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50325         Remove alias.
50326         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50327         (__ubp_memchr): Likewise.
50328         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50329         (__ubp_memchr): Likewise.
50330         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50331         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50332         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50333         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50334         CHECK_STRING.
50335         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50336         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50337         (__getcwd): Do not use CHECK_STRING.
50338         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50339         <bp-checks.h>.
50340         (__real_chown): Do not use CHECK_STRING.
50341         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50342         <bp-checks.h>.
50343         (fchownat): Do not use CHECK_STRING.
50344         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50345         CHECK_STRING.
50346         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50347         <bp-checks.h>.
50348         (__lchown): Do not use CHECK_STRING.
50349         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50350         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50351         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50352         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50354         include <bp-checks.h>.
50355         (truncate64): Do not use CHECK_STRING.
50356         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50357         <bp-checks.h>.
50358         (__real_chown): Do not use CHECK_STRING.
50359         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50360         <bp-checks.h>.
50361         (__lchown): Do not use CHECK_STRING.
50362         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50363         <bp-checks.h>.
50364         (__chown): Do not use CHECK_STRING.
50365         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50366         <bp-checks.h>.
50367         (truncate64): Do not use CHECK_STRING.
50368         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50369         Likewise.
50370         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50371         (__xmknod): Do not use CHECK_STRING.
50372         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50373         <bp-checks.h>.
50374         (__xmknodat): Do not use CHECK_STRING.
50375         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50376         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50378 2013-02-04  Andreas Schwab  <schwab@suse.de>
50380         [BZ #14142]
50381         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50382         * include/netdb.h: Likewise for h_errno.
50383         * elf/tst-stackguard1.c: Include <tls.h>.
50385 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50387         * elf/link.h (struct link_map): Extend the l_addr comment.
50388         * include/link.h (struct link_map): Likewise.
50390 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50392         [BZ #13550]
50393         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50394         (BOUNDED_1): Remove macro.
50395         * debug/backtrace.c: Don't include <bp-checks.h>.
50396         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50397         (__backtrace): Likewise.
50398         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50399         <bp-checks.h>.
50400         (__backtrace): Don't use BOUNDED_1.
50401         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50402         <bp-checks.h>.
50403         (__backtrace): Don't use BOUNDED_1.
50404         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50405         (__backtrace): Don't use BOUNDED_1.
50406         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
50407         (shmat): Don't use BOUNDED_N.
50409 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
50411         [BZ #13550]
50412         * sysdeps/generic/bp-start.h: Remove file.
50413         * csu/libc-start.c: Don't include <bp-start.h>.
50414         (LIBC_START_MAIN): Set up __environ directly instead of using
50415         INIT_ARGV_and_ENVIRON.
50416         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
50417         <bp-start.h>.
50419         [BZ #13550]
50420         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
50421         definitions.
50422         (CHECK_FCNTL): Likewise.
50423         (CHECK_N_PAGES): Likewise.
50425         [BZ #13550]
50426         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
50427         definitions.
50428         (CHECK_SIGSET_NULL_OK): Likewise.
50429         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
50430         <bp-checks.h>.
50431         (sigpending): Don't use CHECK_SIGSET.
50432         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
50433         <bp-checks.h>.
50434         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50435         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
50436         <bp-checks.h>.
50437         (do_sigsuspend): Don't use CHECK_SIGSET.
50438         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
50439         use CHECK_SIGSET.
50440         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
50441         (do_sigwait): Don't use CHECK_SIGSET.
50442         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
50443         use CHECK_SIGSET.
50444         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
50445         include <bp-checks.h>.
50446         (sigpending): Don't use CHECK_SIGSET.
50447         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
50448         include <bp-checks.h>.
50449         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50450         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
50451         <bp-checks.h>.
50452         (sigpending): Don't use CHECK_SIGSET.
50453         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
50454         <bp-checks.h>.
50455         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
50457         [BZ #13550]
50458         * sysdeps/generic/bp-semctl.h: Remove file.
50459         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
50460         <bp-checks.h> and <bp-semctl.h>.
50461         (__old_semctl): Don't use CHECK_SEMCTL.
50462         (__new_semctl): Likewise.
50463         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
50464         and <bp-semctl.h>.
50465         (__old_semctl): Don't use CHECK_SEMCTL.
50466         (__new_semctl): Likewise.
50467         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
50468         <bp-checks.h> and <bp-semctl.h>.
50469         (__old_semctl): Don't use CHECK_SEMCTL.
50470         (__new_semctl): Likewise.
50471         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
50472         <bp-checks.h> and <bp-semctl.h>.
50473         (semctl): Don't use CHECK_SEMCTL.
50475         [BZ #13550]
50476         * Makerules (elide-bp-thunks): Remove variable.
50477         (elide-routines.oS): Don't use $(elide-bp-thunks).
50478         (elide-routines.os): Likewise.
50479         (elide-routines.o): Likewise.
50480         (elide-routines.op): Likewise.
50481         (elide-routines.og): Likewise.
50482         (objects): Don't use $(bp-thunks).
50483         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
50484         include.
50485         (common-generated): Do not add s-proto-bp.d.
50486         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
50487         (int): Likewise.
50488         (typ): Likewise.
50489         Do not generate makefile rules for bounded-pointer thunks.
50490         * sysdeps/generic/bp-thunks.h: Remove file.
50491         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
50492         * sysdeps/unix/s-proto-bp.S: Likewise.
50494         [BZ #15062]
50495         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
50496         parts of result separately when argument is not close to line from
50497         -i to i and one part of argument is small.
50498         * math/k_casinhf.c (__kernel_casinhf): Likewise.
50499         * math/k_casinhl.c (__kernel_casinhl): Likewise.
50500         * math/libm-test.inc (cacos_test): Add more tests.
50501         (casin_test): Likewise.
50502         (casinh_test): Likewise.
50503         * sysdeps/i386/fpu/libm-test-ulps: Update.
50504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50506 2013-01-31  David S. Miller  <davem@davemloft.net>
50508         * po/de.po: Update from translation team.
50510 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
50512         * time/tzfile.c: Include stdint.h for SIZE_MAX.
50514 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
50516         * configure.in (_AC_PROG_CC_C89): New definition.
50517         * configure: Regenerate.
50519         * configure.in (AC_PROG_CPP): New definition.
50520         * configure: Regenerate.
50522 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50524         * debug/tst-backtrace.h: New file.
50525         * debug/tst-backtrace2.c: Include tst-backtrace.h.
50526         (ret): Remove variable.
50527         (x): Likewise.
50528         (FAIL): Remove macro.
50529         (NO_INLINE): Likewise.
50530         (fn1): Use match function instead of strstr.
50531         * debug/tst-backtrace3.c: Include tst-backtrace.h.
50532         (ret): Remove variable.
50533         (x): Likewise.
50534         (FAIL): Remove macro.
50535         (NO_INLINE): Likewise.
50536         (fn): Use match function instead of strstr.
50537         * debug/tst-backtrace4.c: Include tst-backtrace.h.
50538         (ret): Remove variable.
50539         (x): Likewise.
50540         (FAIL): Remove macro.
50541         (NO_INLINE): Likewise.
50542         (handle_signal): Use match function instead of strstr.
50543         * debug/tst-backtrace5.c: Include tst-backtrace.h.
50544         (ret): Remove variable.
50545         (x): Likewise.
50546         (FAIL): Remove macro.
50547         (NO_INLINE): Likewise.
50548         (handle_signal): Use match function instead of strstr.
50550 2013-01-23  Roland McGrath  <roland@hack.frob.com>
50552         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
50554 2013-01-23  David S. Miller  <davem@davemloft.net>
50556         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
50557         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
50558         argument of CAS if possible.
50559         * sysdeps/sparc/sparc64/bits/atomic.h
50560         (__arch_compare_and_exchange_val_32_acq): Likewise.
50561         (__arch_compare_and_exchange_val_64_acq): Likewise.
50563 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
50565         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
50566         * sysdeps/posix/ulimit.c: ... this.
50567         Include <limits.h>.
50568         * sysdeps/unix/bsd/ulimit.c: Remove file.
50570 2013-01-23  Adam Conrad  <adconrad@0c3.net>
50572         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
50573         (LDFLAGS-tst-array5): Likewise.
50575 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
50577         [BZ #15036]
50578         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
50579         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
50580         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
50581         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
50583 2013-01-21  David S. Miller  <davem@davemloft.net>
50585         * sysdeps/sparc/backtrace.c: New file.
50586         * sysdeps/sparc/sparc32/backtrace.h: New file.
50587         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
50588         * sysdeps/sparc/sparc64/backtrace.h: New file.
50589         * sysdeps/sparc/sparc64/backtrace.c: Delete.
50590         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
50591         -funwind-tables.
50593 2013-01-21  Andreas Schwab  <schwab@suse.de>
50595         [BZ #15020]
50596         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
50597         closed its stdout.
50599 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
50601         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
50602         "mpa2.h".
50603         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50605 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
50606             Mark Mitchell  <mark@codesourcery.com>
50607             Tom de Vries  <tom@codesourcery.com>
50608             Paul Pluzhnikov  <ppluzhnikov@google.com>
50610         * debug/tst-backtrace2.c: New file.
50611         * debug/tst-backtrace3.c: Likewise.
50612         * debug/tst-backtrace4.c: Likewise.
50613         * debug/tst-backtrace5.c: Likewise.
50614         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
50615         (CFLAGS-tst-backtrace3.c): Likewise.
50616         (CFLAGS-tst-backtrace4.c): Likewise.
50617         (CFLAGS-tst-backtrace5.c): Likewise.
50618         (LDFLAGS-tst-backtrace2): Likewise.
50619         (LDFLAGS-tst-backtrace3): Likewise.
50620         (LDFLAGS-tst-backtrace4): Likewise.
50621         (LDFLAGS-tst-backtrace5): Likewise.
50622         (tests): Add new tests tst-backtrace2, tst-backtrace3,
50623         tst-backtrace4 and tst-backtrace5.
50625 2013-01-18  Anton Blanchard  <anton@samba.org>
50626             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50628         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
50629         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
50630         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
50631         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
50632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50633         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
50634         "+r" and remove output regs list as redundant.  Add explicit inline
50635         asm to specify register of return val to work around compiler codegen
50636         bug.  Remove (int) cast on return value.  Add return type parameter to
50637         use in macro so that this macro does not truncate return value for
50638         64-bit values.
50639         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
50640         pass to INTERNAL_VSYSCALL_NCS.
50641         (INLINE_VSYSCALL): Add 'long int' as return type to
50642         INTERNAL_VSYSCALL_NCS macro invocation.
50643         (INTERNAL_VSYSCALL): Add 'long int' as return type to
50644         INTERNAL_VSYSCALL_NCS macro invocation.
50645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50647 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50649         [BZ #14496]
50650         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
50651         Fix application of SIMD FP exception mask.
50653         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
50654         mp_no from a power of two.
50655         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
50656         __mpexp_twomm1.  Use __pow_mp.
50658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
50659         multiplication.
50661 2013-01-17  David S. Miller  <davem@davemloft.net>
50663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50665 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50667         [BZ #15023]
50668         * include/complex.h: Condition contents on [!_COMPLEX_H].
50669         (__kernel_casinhf): New prototype.
50670         (__kernel_casinh): Likewise.
50671         (__kernel_casinhl): Likewise.
50672         * math/Makefile (libm_calls): Add k_casinh.
50673         * math/k_casinh.c: New file.
50674         * math/k_casinhf.c: Likewise.
50675         * math/k_casinhl.c: Likewise.
50676         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
50677         finite nonzero arguments.
50678         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
50679         finite nonzero arguments.
50680         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
50681         finite nonzero arguments.
50682         * math/s_casinh.c: Do not include <float.h>.
50683         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
50684         * math/s_casinhf.c: Do not include <float.h>.
50685         (__casinhf): Move code for finite nonzero arguments to
50686         k_casinhf.c.
50687         * math/s_casinhl.c: Do not include <float.h>.
50688         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
50689         redefine.
50690         (__casinhl): Move code for finite nonzero arguments to
50691         k_casinhl.c.
50692         * math/libm-test.inc (cacos_test): Add more tests.
50693         * sysdeps/i386/fpu/libm-test-ulps: Update.
50694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50696 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
50698         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
50699         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
50700         [!HAVE_MREMAP]: Remove [defined linux] case.
50701         * malloc/arena.c: Do not include <malloc-sysdep.h>.
50703 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50705         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
50707 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
50709         * elf/elf.h (R_386_SIZE32): New relocation.
50710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
50711         R_386_SIZE32.
50712         (elf_machine_rela): Likewise.
50713         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
50714         R_X86_64_SIZE64 and R_X86_64_SIZE32.
50716 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
50718         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
50719         (FP_FAST_FMA): Do not define.
50720         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
50721         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
50722         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
50723         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
50724         !_SOFT_FLOAT]: Likewise.
50725         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
50726         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
50727         value.
50728         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
50729         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
50730         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
50731         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
50732         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
50733         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
50734         file.
50736 2013-01-16  Andreas Schwab  <schwab@suse.de>
50738         [BZ #14327]
50739         * include/stdlib.h (__mktemp): Add declaration.
50740         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
50741         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
50743 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50745         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
50746         definitions.
50747         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50748         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
50749         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
50750         definitions here.
50751         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
50752         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
50753         definitions.
50754         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
50755         and ONE.
50756         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
50757         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
50758         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
50759         definitions.
50760         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
50761         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
50762         definitions.
50763         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50765         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
50767 2013-01-15  David S. Miller  <davem@davemloft.net>
50769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50770         trunc{,f} to libm-sysdep_routes.
50771         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
50773         file.
50774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
50775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
50776         file.
50777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
50778         file.
50779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
50780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
50781         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
50782         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
50783         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
50784         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
50785         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
50786         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
50788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50789         nearbyint{,f} to libm-sysdep_routes.
50790         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
50792         New file.
50793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
50794         file.
50795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
50796         New file.
50797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
50798         file.
50799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
50800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
50801         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
50802         file.
50803         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
50804         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
50805         file.
50806         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
50807         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
50808         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
50810         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
50811         libc_feholdexcept and libc_fesetenv.
50813 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
50815         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
50817 2013-01-14  David S. Miller  <davem@davemloft.net>
50819         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
50820         (SPARC_ASM_VIS2_IFUNC): Likewise.
50821         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
50822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
50823         use of 'siam' instruction.
50824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
50825         Likewise.
50826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
50827         Likewise.
50828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
50829         Likewise.
50830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
50831         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
50832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
50833         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
50834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
50835         file.
50836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
50837         file.
50838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
50839         file.
50840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
50841         file.
50842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
50843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
50844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
50845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
50846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
50847         new VIS2 routines.
50848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50851         Likewise.
50852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
50857         routines to libm-sysdep_routines.
50858         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
50860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
50861         fdim/fdimf to libm-sysdep_routines.
50862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
50863         file.
50864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
50865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
50866         file.
50867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
50868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
50869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
50870         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
50871         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
50872         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
50873         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
50875 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50877         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
50878         to optimize copies.
50880         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
50881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
50882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
50884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
50885         local variable MPTWO.
50886         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
50887         Likewise.
50889 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50891         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
50892         GLOB_NOESCAPE.
50894 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50896         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
50898 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
50900         * manual/pattern.texi (glob_t): Document gl_flags.
50901         (glob64_t): Likewise.
50903 2013-01-11  David S. Miller  <davem@davemloft.net>
50905         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
50906         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
50907         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
50908         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
50909         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
50910         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
50911         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
50912         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
50913         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
50914         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
50915         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
50916         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
50917         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
50919         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
50920         sparc V9 rather than using V8 code.
50921         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
50922         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
50924         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50925         Move to...
50926         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
50927         Here.
50929 2013-01-11  Roland McGrath  <roland@hack.frob.com>
50931         [BZ #14941]
50932         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
50933         not in the main loop.
50934         * configure: Regenerated.
50936 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
50938         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
50939         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
50940         to just #else.
50941         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
50942         [!__GLIBC_HAVE_LONG_LONG] case.
50943         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
50944         condition to just #else.
50945         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
50946         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
50947         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
50948         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
50949         unconditional.
50950         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
50951         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50952         #elif condition to just #else.
50953         * sysdeps/unix/sysv/linux/sys/sysmacros.h
50954         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
50955         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
50956         #elif condition to just #else.
50958 2013-01-11  Steve Ellcey  <sellcey@mips.com>
50960         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
50961         (EF_MIPS_ARCH_64): Fix value.
50962         (EF_MIPS_ARCH_32R2): New.
50963         (EF_MIPS_ARCH_64R2): New.
50965 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
50967         * Makeconfig (+link-pie-before-libc): New.
50968         (+link-pie-after-libc): Likewise.
50969         (+link-pie-tests): Likewise.
50970         (+link-pie): Rewritten.
50971         (link-before-libc): Remove $(config-LDFLAGS).
50972         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
50973         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
50974         (config-LDFLAGS): Renamed to ...
50975         (rtld-LDFLAGS): This.
50976         (rtld-tests-LDFLAGS): New macro.
50977         (link-libc-rpath-link): Likewise.
50978         (link-libc-tests-rpath-link): Likewise.
50979         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
50980         (link-libc): Prepand $(link-libc-rpath-link).
50981         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
50982         (test-program-prefix): New macro.
50983         (test-via-rtld-prefix): Likewise.
50984         (test-program-cmd): Likewise.
50985         (host-test-program-cmd): Likewise.
50986         * Makefile ($(common-objpfx)testrun.sh): Replace
50987         $(run-program-prefix) with $(test-program-prefix).
50988         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
50989         $(rtld-LDFLAGS).
50990         ($(common-objpfx)shlib.lds): Likewise.
50991         (build-module-helper): Likewise.
50992         ($(common-objpfx)format.lds): Likewise.
50993         * Rules (binaries-pie-tests): New.
50994         (binaries-pie-notests): Likewise.
50995         (binaries-pie): Rewritten.
50996         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
50997         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
50998         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
50999         (make-test-out): Replace $(host-built-program-cmd) with
51000         $(host-test-program-cmd).
51001         * config.make.in (build-hardcoded-path-in-tests): New variable.
51002         * configure.in (--enable-hardcoded-path-in-tests): New configure
51003         option.
51004         (hardcoded_path_in_tests): New AC_SUBST.
51005         * configure: Regenerated.
51006         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51007         $(built-program-cmd) with $(test-program-cmd).
51008         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51009         (test_program_cmd): This.
51010         * elf/Makefile ($(objpfx)order.out): Run test with
51011         $(test-program-prefix).
51012         ($(objpfx)order2.out): Likewise.
51013         ($(objpfx)tst-initorder.out): Likewise.
51014         ($(objpfx)tst-initorder2.out): Likewise.
51015         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51016         $(test-program-cmd).
51017         ($(objpfx)tst-array1-static.out): Likewise.
51018         ($(objpfx)tst-array2.out): Likewise.
51019         ($(objpfx)tst-array3.out): Likewise.
51020         ($(objpfx)tst-array4.out): Likewise.
51021         ($(objpfx)tst-array5.out): Likewise.
51022         ($(objpfx)tst-array5-static.out): Likewise.
51023         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51024         $(test-program-cmd).
51025         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51026         $(run-program-prefix) with $(test-program-prefix).
51027         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51028         (test_program_prefix): This.
51029         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51030         $(run-program-prefix) with $(test-program-prefix).
51031         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51032         (test_program_prefix): This.
51033         * iconvdata/tst-tables.sh: Likewise.
51034         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51035         $(run-program-prefix) with $(test-program-prefix).
51036         ($(objpfx)tst-translit.out): Likewise.
51037         ($(objpfx)tst-gettext2.out): Likewise.
51038         ($(objpfx)tst-gettext4.out): Likewise.
51039         ($(objpfx)tst-gettext6.out): Likewise.
51040         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51041         (test_program_prefix): This.
51042         * intl/tst-gettext2.sh: Likewise.
51043         * intl/tst-gettext4.sh  Likewise.
51044         * intl/tst-gettext6.sh: Likewise.
51045         * intl/tst-translit.sh: Likewise.
51046         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51047         with $(test-program-cmd).
51048         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51049         $(run-program-prefix) with $(test-program-prefix).
51050         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51051         (test_program_prefix): This.
51052         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51053         $(run-program-prefix) with $(test-program-prefix).
51054         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51055         (test_program_prefix): This.
51056         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51057         * posix/Makefile ($(objpfx)globtest.out): Replace
51058         $(run-via-rtld-prefix) and $(test-wrapper) with
51059         $(test-program-prefix) and $(test-via-rtld-prefix).
51060         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51061         $(test-program-prefix).
51062         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51063         $(host-test-program-cmd).
51064         (tst-spawn-ARGS): Likewise.
51065         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51066         $(test-program-prefix).
51067         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51068         (test_via_rtld_prefix): This.
51069         (test_wrapper): Renamed to ...
51070         (test_program_prefix): This.
51071         (run_program_prefix): Replaced by test_program_prefix.
51072         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51073         (test_program_prefix): This.
51074         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51075         with $(host-test-program-cmd).
51076         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51077         $(run-program-prefix) with $(test-program-prefix).
51078         ($(objpfx)tst-printf.out): Likewise.
51079         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51080         $(test-program-cmd).
51081         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51082         (test_program_prefix): This.
51083         * stdio-common/tst-unbputc.sh: Likewise.
51084         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51085         $(run-program-prefix) with $(test-program-prefix).
51086         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51087         (test_program_prefix): This.
51088         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51089         $(built-program-cmd) with $(test-program-cmd).
51091 2013-01-11  Andreas Jaeger  <aj@suse.de>
51093         [BZ #15003]
51094         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51095         value. Sync with Linux 3.7.
51097 2013-01-10  David S. Miller  <davem@davemloft.net>
51099         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51100         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51101         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51103 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51105         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51106         never set.
51107         * configure: Regenerated.
51109 2013-01-10  David S. Miller  <davem@davemloft.net>
51111         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51112         sparc V9 rather than using V8 code.
51113         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51114         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51116 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51118         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51119         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51120         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51121         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51122         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51123         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51124         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51125         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51126         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51127         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51128         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51129         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51130         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51131         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51132         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51133         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51134         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51135         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51136         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51137         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51138         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51139         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51140         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51141         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51142         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51143         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51144         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51146 2013-01-10  David S. Miller  <davem@davemloft.net>
51148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51150 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51152         * posix/Makefile (tests-static): New variable.
51153         (tests): Add $(tests-static).
51154         (tst-exec-static-ARGS): New variable.
51155         (tst-spawn-static-ARGS): Likewise.
51156         * posix/tst-exec-static.c: New file.
51157         * posix/tst-spawn-static.c: Likewise.
51158         * posix/tst-exec.c: Support run directly.
51159         * posix/tst-spawn.c: Likewise.
51161 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51163         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51164         long.
51165         * math/bits/mathcalls.h (llrint): Likewise.
51166         (llround): Likewise.
51167         * stdlib/stdlib.h (struct drand48_data): Likewise.
51168         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51169         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51170         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51171         Likewise.
51172         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51173         Likewise.
51174         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51175         (elf_greg_t): Likewise.
51176         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51177         (__jmp_buf): Likewise.
51178         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51179         definitions.
51180         (llrint): Likewise, for all definitions.
51181         (llrintl): Likewise.
51183         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51184         Remove [__GNUC__] condition.
51185         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51186         condition to just [__USE_ISOC99].
51187         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51189 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51191         [BZ #14200]
51192         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51193         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51194         defined.
51195         (_POSIX_V6_ILP32_OFF32): Likewise.
51196         (_XBS5_ILP32_OFF32): Likewise.
51197         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51198         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51200 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51202         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51204         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51205         doubles __mpexp_twomm1.  Adjust usage.
51206         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51207         Remove.
51209 2013-01-10  Andreas Schwab  <schwab@suse.de>
51211         [BZ #14964]
51212         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51213         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51215 2013-01-09  David S. Miller  <davem@davemloft.net>
51217         [BZ #15003]
51218         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51219         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51220         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51221         (TCP_FASTOPEN): Define.
51222         (tcp_repair_opt): New structure.
51223         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51224         enum values.
51225         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51226         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51227         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51228         (tcp_cookie_transactions): New structure.
51230 2013-01-09  Anton Blanchard  <anton@samba.org>
51232         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51233         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51234         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51235         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51237 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51239         * include/features.h (__USE_ANSI): Remove.
51241 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51243         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51245         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51247 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51249         * sysdeps/s390/fpu/libm-test-ulps: Update.
51251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51253         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51254         (__acr): Likewise.
51255         (__cpy): Likewise.
51256         (norm): Likewise.
51257         (denorm): Likewise.
51258         (__mp_dbl): Likewise.
51259         (__dbl_mp): Likewise.
51260         (add_magnitudes): Likewise.
51261         (sub_magnitudes): Likewise.
51262         (__add): Likewise.
51263         (__sub): Likewise.
51264         (__mul): Likewise.
51265         (__inv): Likewise.
51266         (__dvd): Likewise.
51267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51268         (__acr): Likewise.
51269         (__cpy): Likewise.
51270         (norm): Likewise.
51271         (denorm): Likewise.
51272         (__mp_dbl): Likewise.
51273         (__dbl_mp): Likewise.
51274         (add_magnitudes): Likewise.
51275         (sub_magnitudes): Likewise.
51276         (__add): Likewise.
51277         (__sub): Likewise.
51278         (__mul): Likewise.
51279         (__inv): Likewise.
51280         (__dvd): Likewise.
51281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51282         (__acr): Likewise.
51283         (__cpy): Likewise.
51284         (norm): Likewise.
51285         (denorm): Likewise.
51286         (__mp_dbl): Likewise.
51287         (__dbl_mp): Likewise.
51288         (add_magnitudes): Likewise.
51289         (sub_magnitudes): Likewise.
51290         (__add): Likewise.
51291         (__sub): Likewise.
51292         (__mul): Likewise.
51293         (__inv): Likewise.
51294         (__dvd): Likewise.
51296 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51298         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51299         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51300         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51301         2 && __USE_EXTERN_INLINES]: Likewise.
51303 2013-01-08  Andreas Jaeger  <aj@suse.de>
51305         [BZ# 14985]
51306         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51307         Remove.
51308         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51309         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51311 2013-01-07  Anton Blanchard  <anton@samba.org>
51313         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51314         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51315         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51316         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51317         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51318         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51319         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51320         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51322         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51323         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51324         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51325         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51326         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51327         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51328         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51329         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51331         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51332         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51333         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51334         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51336         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51337         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51338         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51339         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51340         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51341         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51342         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51343         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51345         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51346         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51347         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51348         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51349         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51350         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51351         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51352         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51353         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51354         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51355         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51357 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51359         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51360         (__MALLOC_PMT): Likewise.
51361         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51362         [__GNUC__], only on [_LIBC].
51363         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51364         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51365         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51366         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51367         forward declaration.
51368         (realloc_hook_ini): Likewise.
51369         (memalign_hook_ini): Likewise.
51370         (__libc_memalign): Do not use __MALLOC_PMT in variable
51371         declaration.
51372         (__libc_valloc): Likewise.
51373         (__libc_pvalloc): Likewise.
51374         (__libc_calloc): Likewise.
51375         (__posix_memalign): Likewise.
51377         [BZ #14996]
51378         * math/s_casinh.c: Include <float.h>.
51379         (__casinh): Do not do computation with squaring and square root
51380         for large arguments.
51381         * math/s_casinhf.c: Include <float.h>.
51382         (__casinhf): Do not do computation with squaring and square root
51383         for large arguments.
51384         * math/s_casinhl.c: Include <float.h>.
51385         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51386         (__casinhl): Do not do computation with squaring and square root
51387         for large arguments.
51388         * math/libm-test.inc (casin_test): Add more tests.
51389         (casinh_test): Likewise.
51390         * sysdeps/i386/fpu/libm-test-ulps: Update.
51391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51393 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51395         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51396         (__x86_64_raw_data_cache_size): Likewise.
51397         (__x86_64_data_cache_size_half): Likewise.
51398         (__x86_64_raw_data_cache_size_half): Likewise.
51399         (__x86_64_shared_cache_size): Likewise.
51400         (__x86_64_raw_shared_cache_size): Likewise.
51401         (__x86_64_shared_cache_size_half): Likewise.
51402         (__x86_64_raw_shared_cache_size_half): Likewise.
51403         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51404         to ...
51405         (__x86_data_cache_size): This.
51406         (__x86_64_raw_data_cache_size): Renamed to ...
51407         (__x86_raw_data_cache_size): This.
51408         (__x86_64_data_cache_size_half): Renamed to ...
51409         (__x86_data_cache_size_half): This.
51410         (__x86_64_raw_data_cache_size_half): Renamed to ...
51411         (__x86_raw_data_cache_size_half): This.
51412         (__x86_64_shared_cache_size): Renamed to ...
51413         (__x86_shared_cache_size): This.
51414         (__x86_64_raw_shared_cache_size): Renamed to ...
51415         (__x86_raw_shared_cache_size): This.
51416         (__x86_64_shared_cache_size_half): Renamed to ...
51417         (__x86_shared_cache_size_half): This.
51418         (__x86_64_raw_shared_cache_size_half): Renamed to ...
51419         (__x86_raw_shared_cache_size_half): This.
51420         * sysdeps/x86_64/memcpy.S: Updated.
51421         * sysdeps/x86_64/memset.S: Likewise.
51422         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51423         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51424         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51426 2013-01-04  David S. Miller  <davem@davemloft.net>
51428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51430 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
51432         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
51433         1 to avoid redefinition warning.
51434         (__USE_GNU): Don't define.
51435         (init_signaling_nan): Protoize.
51437         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51439 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51441         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
51442         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
51443         (__cpymn): Likewise.
51444         (norm): Remove commented code.
51445         (denorm): Likewise.
51446         (__mp_dbl): Likewise.
51447         (__inv): Likewise.
51448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
51449         (__cpymn): Likewise.
51450         (norm): Remove commented code.
51451         (denorm): Likewise.
51452         (__mp_dbl): Likewise.
51453         (__inv): Likewise.
51455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
51456         mp_no value for 1.0 and 2.0.
51457         (norm): Use RADIXI instead of radixi.d.
51458         (denorm): Likewise.
51459         (__mul): Use 0.0 instead of zero.d.
51460         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
51461         mp_no value for 1.0 and 2.0.
51462         (norm): Use RADIXI instead of radixi.d.
51463         (denorm): Likewise.
51464         (__mul): Use 0.0 instead of zero.d.
51466 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
51468         [BZ #14994]
51469         * math/s_casinh.c (__casinh): Reduce finite argument to first
51470         quadrant then set signs of results at the end.
51471         * math/s_casinhf.c (__casinhf): Likewise.
51472         * math/s_casinhl.c (__casinhl): Likewise.
51473         * math/libm-test.inc (casin_test): Add more tests.
51474         (casinh_test): Likewise.
51475         * sysdeps/i386/fpu/libm-test-ulps: Update.
51476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51478 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51480         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
51482         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
51484         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
51485         declarations.
51486         (denorm): Likewise.
51487         (__mp_dbl): Likewise.
51488         (__inv): Likewise.
51490         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
51491         and adjust the header comment.
51493         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
51494         variable name from declaration.
51496 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
51498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51499         Initialize COMMON_CPUID_INDEX_7 element.
51500         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
51501         (CPUID_RTM): Likewise.
51502         (HAS_RTM): Likewise.
51503         (COMMON_CPUID_INDEX_7): New enum.
51505 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
51507         [BZ #14981]
51508         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
51509         size is zero, record memory as freed.
51511 2013-01-03  Andreas Jaeger  <aj@suse.de>
51513         * po/ia.po: Add new Interlingua translation.
51515 2012-01-03  Allan McRae  <allan@archlinux.org>
51517         * locale/programs/localedef.c: Fix description of '--posix' flag.
51519 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
51521         * NEWS: Update dates in second copyright notice.
51522         * README: Update copyright dates in example.
51523         * manual/libc.texinfo: Update copyright dates.
51524         * scripts/test-installation.pl: Update copyright date in --version
51525         output.
51527         * hurd/ctty-input.c: Fix copyright notice formatting.
51528         * hurd/ctty-output.c: Likewise.
51529         * hurd/dtable.c: Likewise.
51530         * hurd/hurd-raise.c: Likewise.
51531         * hurd/hurdprio.c: Likewise.
51532         * hurd/msgportdemux.c: Likewise.
51533         * misc/sys/file.h: Likewise.
51534         * misc/sys/ioctl.h: Likewise.
51535         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
51536         * sysdeps/mach/hurd/chdir.c: Likewise.
51537         * sysdeps/mach/hurd/fchdir.c: Likewise.
51538         * sysdeps/mach/hurd/rename.c: Likewise.
51539         * sysdeps/mach/hurd/rmdir.c: Likewise.
51540         * sysdeps/mach/hurd/seekdir.c: Likewise.
51541         * sysdeps/mach/hurd/setsid.c: Likewise.
51542         * sysdeps/posix/wait3.c: Likewise.
51544         * All files with FSF copyright notices: Update copyright dates
51545         using scripts/update-copyrights.
51546         * intl/plural.c: Regenerated.
51547         * locale/programs/charmap-kw.h: Likewise.
51548         * locale/programs/locfile-kw.h: Likewise.
51550 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51552         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
51553         four values.
51555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
51556         calculation loop and add branch prediction.
51558         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
51559         check access beyond bounds of m1np.
51561         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51562         MPTWO.
51563         (__inv): Remove local variable MPTWO to use the global
51564         constant.
51565         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
51566         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51567         variable MPTWO.
51568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
51569         MP3HALFS static const.
51571 2013-01-01  David S. Miller  <davem@davemloft.net>
51573         * po/ca.po: Update from translation team.
51575 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
51577         * scripts/update-copyrights: New file.
51578         * Makeconfig: Reformat copyright notice.
51579         * ctype/ctype.h: Likewise.
51580         * debug/swprintf_chk.c: Likewise.
51581         * elf/dl-cache.c: Likewise.
51582         * elf/dl-debug.c: Likewise.
51583         * elf/dl-object.c: Likewise.
51584         * grp/initgroups.c: Likewise.
51585         * hurd/Makefile: Likewise.
51586         * hurd/hurd/signal.h: Likewise.
51587         * hurd/hurdfault.c: Likewise.
51588         * hurd/hurdioctl.c: Likewise.
51589         * hurd/hurdlookup.c: Likewise.
51590         * hurd/intr-msg.c: Likewise.
51591         * iconv/gconv_open.c: Likewise.
51592         * libio/swprintf.c: Likewise.
51593         * locale/lc-ctype.c: Likewise.
51594         * locale/nl_langinfo.c: Likewise.
51595         * mach/Machrules: Likewise.
51596         * mach/Makefile: Likewise.
51597         * malloc/obstack.h: Likewise.
51598         * manual/Makefile: Likewise.
51599         * manual/tsort.awk: Likewise.
51600         * misc/bits/stab.def: Likewise.
51601         * nis/nis_print_group_entry.c: Likewise.
51602         * nis/nis_table.c: Likewise.
51603         * nis/nss_compat/compat-pwd.c: Likewise.
51604         * nis/nss_compat/compat-spwd.c: Likewise.
51605         * po/Makefile: Likewise.
51606         * posix/fnmatch.c: Likewise.
51607         * posix/regex.h: Likewise.
51608         * resolv/Makefile: Likewise.
51609         * resolv/nss_dns/dns-network.c: Likewise.
51610         * resolv/res_hconf.c: Likewise.
51611         * scripts/gen-sorted.awk: Likewise.
51612         * soft-fp/soft-fp.h: Likewise.
51613         * stdio-common/printf.h: Likewise.
51614         * stdlib/monetary.h: Likewise.
51615         * stdlib/random.c: Likewise.
51616         * stdlib/random_r.c: Likewise.
51617         * sysdeps/generic/Makefile: Likewise.
51618         * sysdeps/gnu/Makefile: Likewise.
51619         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51620         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51621         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51623         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51624         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51625         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51626         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51627         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51628         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51629         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51630         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51631         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51632         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51633         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
51634         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51635         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51636         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51638         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51639         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51640         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51641         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51642         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
51647         * sysdeps/mach/hurd/errnos.awk: Likewise.
51648         * sysdeps/mach/hurd/fork.c: Likewise.
51649         * sysdeps/mach/hurd/getcwd.c: Likewise.
51650         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
51651         * sysdeps/mach/hurd/mmap.c: Likewise.
51652         * sysdeps/mach/hurd/utimes.c: Likewise.
51653         * sysdeps/mach/hurd/xmknod.c: Likewise.
51654         * sysdeps/posix/profil.c: Likewise.
51655         * sysdeps/posix/readdir_r.c: Likewise.
51656         * sysdeps/powerpc/bits/mathdef.h: Likewise.
51657         * sysdeps/powerpc/bits/setjmp.h: Likewise.
51658         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
51659         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51661         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51662         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51663         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
51664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51665         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51666         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51667         * sysdeps/pthread/lio_listio.c: Likewise.
51668         * sysdeps/sparc/dl-procinfo.h: Likewise.
51669         * sysdeps/unix/i386/sysdep.S: Likewise.
51670         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
51671         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
51672         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
51673         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
51674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51675         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
51676         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
51677         * sysdeps/unix/sysv/linux/speed.c: Likewise.
51678         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
51679         * sysdeps/wordsize-32/divdi3.c: Likewise.
51680         * time/sys/time.h: Likewise.
51681         * wcsmbs/Makefile: Likewise.
51683 2013-01-01  David S. Miller  <davem@davemloft.net>
51685         * po/fr.po: Update from translation team.
51687         * catgets/gencat.c: Update copyright year.
51688         * csu/version.c: Likewise.
51689         * debug/catchsegv.sh: Likewise.
51690         * debug/pcprofiledump.c: Likewise.
51691         * debug/xtrace.sh: Likewise.
51692         * elf/ldconfig.c: Likewise.
51693         * elf/ldd.bash.in: Likewise.
51694         * elf/pldd.c: Likewise.
51695         * elf/sotruss.ksh: Likewise.
51696         * elf/sprof.c: Likewise.
51697         * iconv/iconv_prog.c: Likewise.
51698         * iconv/iconvconfig.c: Likewise.
51699         * locale/programs/locale.c: Likewise.
51700         * locale/programs/localedef.c: Likewise.
51701         * login/programs/pt_chown.c: Likewise.
51702         * malloc/memusage.sh: Likewise.
51703         * malloc/memusagestat.c: Likewise.
51704         * malloc/mtrace.pl: Likewise.
51705         * nscd/nscd.c: Likewise.
51706         * nss/getent.c: Likewise.
51707         * nss/makedb.c: Likewise.
51708         * posix/getconf.c: Likewise.
51710 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51712         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
51713         numbers.
51715 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
51717         * math/bits/mathcalls.h (modf): Use __nonnull.
51719 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51721         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
51722         (split): Use macro CN instead of the bare value.
51723         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
51724         could be used.
51725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
51726         instead of the bare value.
51727         (power1): Likewise.
51729 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51731         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
51732         __ATAN_TWOM.
51733         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51735         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
51736         their values.
51737         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51738         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51739         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
51740         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51742 2012-12-28  Andreas Jaeger  <aj@suse.de>
51744         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
51745         values are from Linux 3.7.
51747         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
51748         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
51750 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51752         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
51753         TRUE case.
51755         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
51756         (norm): Likewise.
51757         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
51758         variables with preprocessor constants.
51759         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51760         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51761         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51763 2012-12-27  Bruno Haible  <bruno@clisp.org>
51765         [BZ #14317]
51766         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
51767         only if needed.
51769 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
51772         and use variable directly.
51773         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
51775         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
51776         MPONE.
51777         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
51778         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
51779         variable MPONE.
51780         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51781         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51782         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
51783         include directive.  Remove local variable MPONE.
51784         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
51785         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
51786         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51788 2012-12-25  David S. Miller  <davem@davemloft.net>
51790         * version.h (RELEASE): Set to "development".
51791         (VERSION): Set to "2.17.90".
51792         * NEWS: Add 2.18 section.
51794 2012-12-21  David S. Miller  <davem@davemloft.net>
51796         * po/hr.po: Update from translation team.
51798 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51800         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
51802 2012-12-19  Steve Ellcey  <sellcey@mips.com>
51804         * NEWS:  Mention new memcpy for MIPS.
51806 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51808         * manual/contrib.texi (Contributors): Spelling correction.
51810 2012-12-15  David S. Miller  <davem@davemloft.net>
51812         * po/ru.po: Update from translation team.
51814 2012-12-13  David S. Miller  <davem@davemloft.net>
51816         * NEWS: Mention IFUNC testsuite enhancements.
51818         * po/pl.po: Update from translation team.
51819         * po/bg.po: Likewise.
51821         * manual/contrib.texi (Contributors): Update entries for Hongjiu
51822         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
51824 2012-12-11  David S. Miller  <davem@davemloft.net>
51826         * po/sv.po: Update from translation team.
51828         * po/vi.po: Update from translation team.
51830         * po/cs.po: Update from translation team.
51832         * po/de.po: Update from translation team.
51833         * po/eo.po: Likewise.
51834         * po/nl.po: Likewise.
51836 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51838         [BZ #14246]
51839         * manual/argp.texi (Argp Helper Functions): Move node to follow
51840         Argp Parsing State.
51842         [BZ #14872]
51843         * manual/conf.texi (Limits on File System Capacity): Mention if
51844         terminating null is included in the max size.
51846 2012-12-10  Andreas Jaeger  <aj@suse.de>
51848         * po/cs.po: Update from translation team.
51850 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51852         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
51853         void pointer and cast to uintptr_t.
51854         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
51855         path.
51856         * sysdeps/s390/s390-64/memcpy.S: Likewise.
51857         * sysdeps/s390/s390-64/memset.S: Likewise.
51859 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
51861         [BZ #14833]
51862         * menual/message.texi (Message Translation): Fix typos.
51863         (Helper programs for gettext): Likewise.
51865 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
51867         [BZ #14898]
51868         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
51869         Change to -1.
51871 2012-12-07  David S. Miller  <davem@davemloft.net>
51873         * po/libc.pot: Update.
51875 2012-12-07  Richard Henderson  <rth@redhat.com>
51877         [BZ #10114]
51878         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
51879         normal/normal case to before the switch.
51880         (_FP_DIV): Likewise.
51882 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
51883             Mike Frysinger  <vapier@gentoo.org>
51885         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
51886         check for __NR_fadvise64_64.
51888 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
51890         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
51891         0, not just to plain "0" as a statement.
51892         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
51893         with cw.
51895 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
51897         * NEWS: Use sourceware.org in Bugzilla URL.
51899 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
51902         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
51904         * stdio-common/tst-put-error.c (do_test): Add newline to the
51905         padded test to ensure flush.
51907 2012-12-05  Jeff Law  <law@redhat.com>
51909         * sunrpc/etc.rpc (fedfs_admin): Add entry.
51911 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
51913         * README: Don't refer to ports add-on as distributed separately.
51914         Mention AArch64 in list of systems supported in the ports add-on.
51916         * LICENSES: Add more non-FSF copyright and license notices.
51918         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
51919         ((unused)).
51921         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
51923         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
51924         10000 as width of padded output.
51926 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51928         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
51930         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
51931         variable LX with __attribute__ ((unused)).
51932         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51933         Likewise.
51934         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51935         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51936         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
51937         with __attribute__ ((unused)).
51939 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
51941         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
51943 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
51945         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
51946         (CFLAGS-nldbl-acos.c): New variable.
51947         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
51948         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
51949         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
51950         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
51951         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
51952         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
51953         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
51954         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
51955         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
51956         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
51957         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
51958         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
51959         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
51960         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
51961         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
51962         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
51963         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
51964         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
51965         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
51966         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
51967         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
51968         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
51969         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
51970         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
51971         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
51972         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
51973         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
51974         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
51975         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
51976         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
51977         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
51978         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
51979         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
51980         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
51981         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
51982         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
51983         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
51984         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
51985         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
51986         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
51987         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
51988         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
51989         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
51990         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
51991         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
51992         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
51993         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
51994         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
51995         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
51996         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
51997         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
51998         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
51999         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52000         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52001         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52002         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52003         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52004         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52005         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52006         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52007         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52008         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52009         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52010         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52011         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52012         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52013         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52014         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52015         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52016         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52017         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52018         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52019         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52020         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52021         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52022         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52023         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52024         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52025         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52026         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52027         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52028         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52029         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52030         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52031         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52032         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52033         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52034         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52035         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52036         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52037         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52038         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52039         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52040         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52041         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52042         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52043         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52046         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52048         [BZ #14914]
52049         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52050         whole low double instead of just low 47 bits when splitting values
52051         into two parts.
52053 2012-12-03  Allan McRae  <allan@archlinux.org>
52055         * manual/stdio.texi (Predefined Printf Handlers): Remove
52056         @hsep and @vsep usage.
52058 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52060         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52061         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52063 2012-12-03  Jeff Law  <law@redhat.com>
52065         * time/sys/time.h (settimeofday): Do not mark TV argument
52066         as __nonnull.
52068 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52070         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52071         when currently writing and seek to current position when not.
52072         * libio/Makefile (tests): Remove bug-fclose1.
52073         * libio/bug-fclose1.c: Delete.
52075 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52077         * manual/arith.texi (feenableexcept): Fix typo.
52078         (fedisableexcept): Likewise.
52080 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52082         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52083         second, differently-typed declaration, rather than a cast.
52085 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52087         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52088         * include/rpc/svc.h: ... here.
52090 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52092         [BZ #13013]
52093         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52094         depending n and resplen2 to catch cases where answer
52095         equals answerp2.
52097 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52099         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52100         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52102 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52104         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52106 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52108         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52110 2012-11-28  Jeff Law  <law@redhat.com>
52112         [BZ #13761]
52113         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52114         dataset_temporary.  Track alloca usage into alloca_used.
52115         If dataset is large allocate and release it via malloc/free.
52117 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52119         [BZ #14197]
52120         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52122 2012-11-28  David S. Miller  <davem@davemloft.net>
52124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52126 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52128         [BZ #14803]
52129         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52130         of pi/2 rounded to nearest to 64 bits.
52131         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52132         nearest to 64 bits.
52133         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52134         bits.
52136 2012-11-28  Jeff Law <law@redhat.com>
52137             Martin Osvald <mosvald@redhat.com>
52139         [BZ #14889]
52140         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52141         * sunrpc/svc.c: Include time.h.
52142         (__svc_accept_failed): New function.
52143         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52144         any reason other than EINTR, call __svc_accept_failed.
52145         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52146         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52148 2012-11-28  Andreas Schwab  <schwab@suse.de>
52150         * scripts/abilist.awk: Also handle indirect functions in .opd
52151         section.
52153 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52155         [BZ #13881]
52156         * sysdeps/x86/fpu/powl_helper.c: New file.
52157         * sysdeps/x86/fpu/Makefile: Likewise.
52158         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52159         (p3): New object.
52160         (__ieee754_powl): Use __powl_helper for finite arguments except
52161         integer exponents below 8.
52162         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52163         (p3): New object.
52164         (__ieee754_powl): Use __powl_helper for finite arguments except
52165         integer exponents below 8.
52166         * math/libm-test.inc (pow_test): Add more tests and enable some
52167         previously disabled tests.
52168         * sysdeps/i386/fpu/libm-test-ulps: Update.
52169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52171 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52172             Carlos O'Donell  <carlos_odonell@mentor.com>
52174         * nss/makedb.c (is_prime): Assert that input is odd and greater
52175         than 4.  Note that fact in a comment too.
52176         (next_prime): Add 4 to input.
52178 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52180         [BZ #11741]
52181         * libio/Makefile (tests): Add test case tst-fwrite-error.
52182         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52183         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52184         * libio/tst-fwrite-error.c: New test case.
52186 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52188         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52189         before casting to void *.
52190         * include/libc-internal.h (__pointer_type): New macro.
52191         (__integer_if_pointer_type_sub): Likewise.
52192         (__integer_if_pointer_type): Likewise.
52193         (cast_to_integer): Likewise.
52194         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52195         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52196         before casting to atomic64_t.
52197         (atomic_exchange_acq): Likewise.
52198         (__arch_exchange_and_add_body): Likewise.
52199         (__arch_add_body): Likewise.
52200         (atomic_add_negative): Likewise.
52201         (atomic_add_zero): Likewise.
52203 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52205         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52206         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52207         (add_fdes): Likewise.
52208         (linear_search_fdes): Likewise.
52209         (binary_search_unencoded_fdes): Likewise.
52211 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52213         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52215 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52217         * configure.in: Autodetect C++ header directories.
52218         * configure: Regenerated.
52220 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52222         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52224 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52228 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52230         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52231         LDBL_MANT_DIG == 106]: Disable some tests.
52232         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52233         Likewise.
52234         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52235         Likewise.
52237         [BZ #14871]
52238         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52239         input for small inputs.  Return +/- pi/2 for large inputs.
52240         * math/libm-test.inc (atan_test): Add more tests.
52242         * sysdeps/generic/unwind-dw2-fde-glibc.c
52243         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52244         __attribute__ ((unused)).
52246         [BZ #14645]
52247         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52248         x * y if x and y are nonzero and z is zero.
52250         [BZ #14811]
52251         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52252         nonzero exponents with absolute value below 0x1p-117 to +/-
52253         0x1p-117.
52255         [BZ #14869]
52256         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52257         up arguments below 2**-450, not just those below 2**-500.
52258         * math/libm-test.inc (hypot_test): Add another test.
52260         [BZ #14868]
52261         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52262         Return a+b for ratio over 2**120, not 2**60.
52263         * math/libm-test.inc (hypot_test): Add another test.
52265         * math/libm-test.inc (clog_test): Use
52266         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52267         (clog10_test): Likewise.
52269         [BZ #6778]
52270         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52272 2012-11-22  Andreas Schwab  <schwab@suse.de>
52274         * sysdeps/i386/fpu/libm-test-ulps: Update.
52276 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52278         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52279         printf output with newline.
52281 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52283         [BZ #14865]
52284         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52285         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52286         -z nodlopen, -z initfirst and -z execstack support.
52287         * configure: Regenerated.
52289         * elf/elf.h (DF_1_NODIRECT): New macro.
52290         (DF_1_IGNMULDEF): Likewise.
52291         (DF_1_NOKSYMS): Likewise.
52292         (DF_1_NOHDR): Likewise.
52293         (DF_1_EDITED): Likewise.
52294         (DF_1_NORELOC): Likewise.
52295         (DF_1_SYMINTPOSE): Likewise.
52296         (DF_1_GLOBAUDIT): Likewise.
52297         (DF_1_SINGLETON): Likewise.
52298         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52299         DT_1_SUPPORTED_MASK bits.
52300         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52302 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52304         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52306 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52308         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52309         macro.
52311         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52312         (sendmmsg): Move declarations...
52313         * socket/sys/socket.h: ... here.
52314         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52315         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52316         include it from...
52317         * socket/recvmmsg.c: ... this new file.
52318         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52319         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52320         definition of __sendmmsg hidden.
52321         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52322         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52323         Move ENOSYS stub into and include it from...
52324         * socket/sendmmsg.c: ... this new file.
52325         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52326         (sysdep_routines): Move recvmmsg and sendmmsg...
52327         * socket/Makefile (routines): ... here.
52328         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52329         (GLIBC_PRIVATE): Add __sendmmsg.
52330         * include/sys/socket.h (__sendmmsg): Add declarations.
52331         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52332         sendmmsg.
52334 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52336         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52337         variable I1 with __attribute__ ((unused)).
52338         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52340 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52342         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52343         DUMMY variables with __attribute__ ((unused)).
52345         * bits/byteswap.h: Include <bits/types.h>.
52346         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52348 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52350         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52351         string_t.  Do not manually set errno.
52352         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52353         length with __strnlen.  Make sure to both set errno and return it on
52354         failure.
52356 2012-11-19  David S. Miller  <davem@davemloft.net>
52358         With help from Joseph Myers.
52359         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52360         very large arguments properly.
52361         * math/libm-test.inc (atan_test): New tests.
52362         (atan2_test): New tests.
52363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52366 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52368         [BZ #14856]
52369         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52370         Define to 3.
52372         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52373         [POSIX] (EADDRNOTAVAIL): Likewise.
52374         [POSIX] (EAFNOSUPPORT): Likewise.
52375         [POSIX] (EALREADY): Likewise.
52376         [POSIX] (ECONNABORTED): Likewise.
52377         [POSIX] (ECONNREFUSED): Likewise.
52378         [POSIX] (ECONNRESET): Likewise.
52379         [POSIX] (EDESTADDRREQ): Likewise.
52380         [POSIX] (EDQUOT): Likewise.
52381         [POSIX] (EHOSTUNREACH): Likewise.
52382         [POSIX] (EIDRM): Likewise.
52383         [POSIX] (EISCONN): Likewise.
52384         [POSIX] (ELOOP): Likewise.
52385         [POSIX] (EMULTIHOP): Likewise.
52386         [POSIX] (ENETDOWN): Likewise.
52387         [POSIX] (ENETUNREACH): Likewise.
52388         [POSIX] (ENOBUFS): Likewise.
52389         [POSIX] (ENODATA): Likewise.
52390         [POSIX] (ENOLINK): Likewise.
52391         [POSIX] (ENOMSG): Likewise.
52392         [POSIX] (ENOPROTOOPT): Likewise.
52393         [POSIX] (ENOSR): Likewise.
52394         [POSIX] (ENOSTR): Likewise.
52395         [POSIX] (ENOTCONN): Likewise.
52396         [POSIX] (ENOTSOCK): Likewise.
52397         [POSIX] (EOPNOTSUPP): Likewise.
52398         [POSIX] (EOVERFLOW): Likewise.
52399         [POSIX] (EPROTO): Likewise.
52400         [POSIX] (EPROTONOSUPPORT): Likewise.
52401         [POSIX] (EPROTOTYPE): Likewise.
52402         [POSIX] (ESTALE): Likewise.
52403         [POSIX] (ETIME): Likewise.
52404         [POSIX] (ETXTBSY): Likewise.
52405         [POSIX] (EWOULDBLOCK): Likewise.
52406         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
52407         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
52408         [POSIX] (SEEK_CUR): Likewise.
52409         [POSIX] (SEEK_END): Likewise.
52410         [POSIX || UNIX98] (mode_t): Do not require.
52411         [POSIX] (off_t): Likewise.
52412         [POSIX] (pid_t): Likewise.
52413         [POSIX] (sys/stat.h): Do not allow header.
52414         [POSIX] (unistd.h): Likewise.
52415         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
52416         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
52417         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
52418         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
52419         require.
52420         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
52421         sigevent): Specify elements.
52422         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
52423         entry.
52424         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
52425         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
52427         * conform/data/cpio.h-data [POSIX]: Disable whole file.
52428         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
52429         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
52430         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
52431         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
52432         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
52433         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
52434         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
52435         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
52436         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
52437         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
52438         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
52439         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
52440         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
52441         Likewise.
52442         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
52443         Likewise.
52444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
52445         Likewise.
52446         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
52447         Likewise.
52448         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
52449         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
52450         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
52451         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
52452         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
52453         Specify lower bound on value.
52454         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
52455         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
52456         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
52457         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
52458         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
52459         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
52460         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
52461         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
52462         value.
52463         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
52464         as optional.
52465         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
52466         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
52467         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
52468         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
52469         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
52470         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
52471         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
52472         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
52473         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
52474         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
52475         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
52476         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
52477         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
52478         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
52479         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
52480         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
52481         entry.
52482         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
52483         optional.
52484         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
52485         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
52486         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
52487         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
52488         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
52489         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
52490         Likewise.
52491         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
52492         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
52493         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
52494         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
52495         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
52496         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
52497         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
52498         as optional.
52499         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
52500         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
52501         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
52502         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
52503         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
52504         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
52505         specify as optional.
52506         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
52507         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
52508         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
52509         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
52510         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
52511         [XPG3] (NL_LANGMAX): Likewise.
52512         [POSIX || XPG3] (NL_MSGMAX): Likewise.
52513         [POSIX || XPG3] (NL_NMAX): Likewise.
52514         [POSIX || XPG3] (NL_SETMAX): Likewise.
52515         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
52516         [XPG3] (NZERO): Likewise.
52517         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
52518         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
52519         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
52520         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
52521         (REG_ERANGE): Expect.
52522         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
52523         optional-constant.
52524         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
52525         Use (void) in prototype.
52526         [POSIX] (*_t): Allow.
52527         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
52528         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
52529         (WRDE_BADVAL): Expect.
52531         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
52532         expect.
52533         [XPG3 || XPG4] (O_RSYNC): Likewise.
52534         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
52535         Likewise.
52536         [XPG3 || XPG4] (pthread_sigmask): Likewise.
52537         [XPG3 || XPG4] (sigqueue): Likewise.
52538         [XPG3 || XPG4] (sigtimedwait): Likewise.
52539         [XPG3 || XPG4] (sigwaitinfo): Likewise.
52540         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
52541         [XPG3 || XPG4] (vsnprintf): Likewise.
52542         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
52543         Likewise.
52544         [XPG3 || XPG4] (blksize_t): Likewise.
52545         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
52546         Likewise.
52547         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
52548         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
52549         [XPG3 || XPG4] (struct itimerspec): Likewise.
52550         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
52551         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
52552         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
52553         [XPG3 || XPG4] (clockid_t): Likewise.
52554         [XPG3 || XPG4] (timer_t): Likewise.
52555         [XPG3 || XPG4] (clock_getres): Likewise.
52556         [XPG3 || XPG4] (clock_gettime): Likewise.
52557         [XPG3 || XPG4] (clock_settime): Likewise.
52558         [XPG3 || XPG4] (nanosleep): Likewise.
52559         [XPG3 || XPG4] (timer_create): Likewise.
52560         [XPG3 || XPG4] (timer_delete): Likewise.
52561         [XPG3 || XPG4] (timer_gettime): Likewise.
52562         [XPG3 || XPG4] (timer_getoverrun): Likewise.
52563         [XPG3 || XPG4] (timer_settime): Likewise.
52564         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
52565         [XPG3 || XPG4] (getlogin_r): Likewise.
52566         [XPG3 || XPG4] (pread): Likewise.
52567         [XPG3 || XPG4] (pthread_atfork): Likewise.
52568         [XPG3 || XPG4] (pwrite): Likewise.
52570         [BZ #14835]
52571         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
52572         <bits/siginfo.h>.
52574 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52576         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
52577         finalizing MALLSTREAM.
52579         * sysdeps/mach/hurd/syncfs.c: New file.
52581 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52583         [BZ #14719]
52584         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
52585         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
52586         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
52587         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
52588         (_nss_dns_gethostbyname4_r): Likewise.
52589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
52590         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
52592 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
52594         [BZ #13763]
52595         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
52597 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
52599         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
52600         * elf/cache.c (print_entry): Print ",AArch64" for
52601         FLAG_AARCH64_LIB64
52603         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
52604         * elf/cache.c (print_entry): Print ",hard-float" for
52605         FLAG_ARM_LIBHF.
52607 2012-11-18  David S. Miller  <davem@davemloft.net>
52609         With help from Joseph Myers.
52610         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
52611         cutoff to 2**-13.
52612         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
52613         cutoff to 2**-25.
52614         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
52615         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
52616         small.
52617         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
52618         * math/libm-test.inc (y0_test): New tests.
52619         (y1_test): New tests.
52620         * sysdeps/i386/fpu/libm-test-ulps: Update.
52621         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52624 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
52626         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
52627         64-bit targets.
52628         * configure: Regenerated.
52630 2012-11-17  David S. Miller  <davem@davemloft.net>
52632         [BZ #14811]
52633         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
52634         nonzero exponents with absolute value below 0x1p-128 to +/-
52635         0x1p-128.
52637 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
52639         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
52641         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
52643         * posix/getconf-speclist.c: New file.
52644         * posix/posix-envs.def: Likewise.
52645         * posix/confstr.c (START_ENV_GROUP): New macro.
52646         (END_ENV_GROUP): Likewise.
52647         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52648         (KNOWN_PRESENT_ENV_STRING): Likewise.
52649         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52650         (UNKNOWN_ENVIRONMENT): Likewise.
52651         (confstr): Include posix-envs.def instead of handling
52652         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
52653         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
52654         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
52655         (END_ENV_GROUP): Likewise.
52656         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
52657         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
52658         (UNKNOWN_ENVIRONMENT): Likewise.
52659         (__sysconf): Include posix-envs.def instead of handling associated
52660         cases directly here.
52661         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
52662         preprocessing getconf-speclist.c rather than running getconf or
52663         generating empty file.
52665 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
52667         * scripts/check-local-headers.sh: Ignore 'mach' headers.
52669 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
52671         [BZ #14672]
52672         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
52674 2012-11-16  David S. Miller  <davem@davemloft.net>
52676         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
52677         smaller than LDBL_EPSILON/2.0L, just return xm1.
52679 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
52681         * elf/tst-array1.c (init): Set constructor priority to 1000.
52682         (fini): Set destructor priority to 1000.
52683         * elf/tst-array2dep.c: Likewise.
52685 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52687         [BZ #11741]
52688         * libio/fileops.c (_IO_new_file_write): Correctly return error.
52689         (_IO_new_file_xsputn): Also return EOF if none of the input
52690         data was written when overflow failed.
52691         * libio/iopadn.c (_IO_padn): Likewise.
52692         * libio/iowpadn.c (_IO_wpadn): Likewise.
52693         * stdio-common/tst-put-error.c: Add copyright notice.
52694         (do_test): Add case for printing padded string.
52695         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
52696         _IO_padn returned error.
52697         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
52698         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
52699         return EOF.
52701 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52703         * libio/libioP.h: Add comment note that the references to C++
52704         bits are now obsolete.
52706 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52708         * math/libm-test.inc (check_complex): Use asprintf.
52710 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
52712         * debug/pcprofiledump.c (print_version): Update copyright year.
52713         * malloc/memusagestat.c (print_version): Likewise.
52715 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
52717         [BZ #14831]
52718         * elf/Makefile (tests): Add tst-audit8.
52719         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
52720         ($(objpfx)tst-audit8.out): New target.
52721         (tst-audit8-ENV): New variable.
52722         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
52723         audit if l_reloc_result is NULL.
52724         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
52725         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
52726         * elf/tst-audit8.c: New file.
52728 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52730         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
52731         * misc/Makefile (CFLAGS-select.c): Define.
52732         * posix/Makefile (CFLAGS-pause.c): Define.
52734 2012-11-13  David S. Miller  <davem@davemloft.net>
52736         * crypt/Makefile: Move test targets after toplevel Rules
52737         inclusion.  Grab any necessary sysdep routines when linking.
52738         * crypt/md5.c (md5_process_block): Remove define, we will always
52739         name it __md5_process_block.
52740         (md5_finish_ctx): Update md5_process_block call.
52741         (md5_stream): Likewise.
52742         (md5_process_bytes): Likewise.
52743         (md5_process_block): Rename to __md5_process_block and move to ...
52744         * crypt/md5-block.c: ... here.
52745         * crypt/sha256.c (sha256_process_block): Move to ...
52746         * crypt/sha256-block.c: ... here.
52747         * crypt/sha512.c (sha512_process_block): Move to ...
52748         * crypt/sha512-block.c: ... here.
52749         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
52750         path.
52751         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
52752         * sysdeps/sparc/sparc64/multiarch/Makefile
52753         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
52754         crypt subdir.
52755         (localedef-aux): Add md5 crypto assembler when in locale subdir.
52756         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
52757         multiarch changes.
52758         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
52759         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
52760         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
52761         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
52762         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
52763         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
52764         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
52765         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
52766         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
52767         file.
52768         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
52769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
52770         file.
52771         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
52773 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
52775         * timezone/tzselect.ksh: Update from tzcode git revision
52776         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
52777         * timezone/zdump.c: Likewise.
52778         * timezone/zic.c: Likewise.
52779         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
52780         in TZVERSION setting, not $(PKGVERSION).
52781         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
52782         REPORT_BUGS_TO settings.
52784         [BZ #14838]
52785         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
52786         macro.
52788 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52790         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
52791         detection to immediately after _FP_ROUND().
52792         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
52793         bits are 0.
52795 2012-11-11  David S. Miller  <davem@davemloft.net>
52797         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
52798         inttypes.h
52799         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
52800         __close rather than their public counterparts.
52802 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
52804         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
52805         file.
52806         [UNIX98] (sem_timedwait): Do not expect.
52807         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
52808         [XPG4 || UNIX98] (sockatmark): Do not expect.
52809         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
52810         (clock_getcpuclockid): Do not expect.
52811         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
52812         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
52813         Do not expect.
52814         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
52815         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
52816         [UNIX98] (vwscanf): Likewise.
52817         [UNIX98] (vswscanf): Likewise.
52819 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
52821         * timezone/version.h: Remove file.
52822         * timezone/README: Do not refer to version.h.
52823         * timezone/Makefile ($(objpfx)zic.o): New dependency on
52824         $(objpfx)version.h.
52825         ($(objpfx)zdump.o): Likewise.
52826         ($(objpfx)version.h): New target.
52828         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
52829         2012i.
52830         * timezone/README: Don't mention modification to tzselect.ksh.
52831         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
52832         work on unmodified tzselect.ksh.  Substitute version numbers in
52833         tzselect.ksh.
52835         * Makefile (format-me): Remove.
52836         (INSTALL): Adjust indentation.  Use commands directly instead of
52837         using $(format-me).
52839         * aclocal.m4 (ACX_PKGVERSION): New macro.
52840         (ACX_BUGURL): Likewise.
52841         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
52842         (PKGVERSION): New AC_DEFINE_UNQUOTED.
52843         (REPORT_BUGS_TO): Likewise.
52844         * configure: Regenerated.
52845         * config.h.in (PKGVERSION): New macro.
52846         (REPORT_BUGS_TO): Likewise.
52847         * config.make.in (PKGVERSION): New variable.
52848         (PKGVERSION_TEXI): Likewise.
52849         (REPORT_BUGS_TO): Likewise.
52850         (REPORT_BUGS_TEXI): Likewise.
52851         * Makefile (format-me): Use -I$(common-objpfx)manual.
52852         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
52853         ($(common-objpfx)manual/%): New target.
52854         (manual/%): Remove target.
52855         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
52856         (print_version): Use PKGVERSION.
52857         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
52858         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
52859         and REPORT_BUGS_TO.
52860         ($(objpfx)xtrace): Likewise.
52861         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
52862         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
52863         (print_version): Use PKGVERSION.
52864         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
52865         (do_version): Use PKGVERSION.
52866         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
52867         REPORT_BUGS_TO.
52868         (common-ldd-rewrite): Likewise.
52869         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
52870         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
52871         (print_version): Use PKGVERSION.
52872         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
52873         * elf/pldd.c (argp_program_bug_address): Remove variable.
52874         (more_help): New function.
52875         (argp): Use more_help.
52876         (print_version): Use PKGVERSION.
52877         * elf/sln.c (main): Use PKGVERSION.
52878         (usage): Use REPORT_BUGS_TO.
52879         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
52880         (top level): Use PKGVERSION.
52881         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
52882         (print_version): Use PKGVERSION.
52883         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
52884         (print_version): Use PKGVERSION.
52885         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
52886         (print_version): Use PKGVERSION.
52887         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
52888         (print_version): Use PKGVERSION.
52889         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
52890         (print_version): Use PKGVERSION.
52891         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
52892         (print_version): Use PKGVERSION.
52893         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
52894         and BUGURL.
52895         ($(objpfx)memusage): Likewise.
52896         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
52897         (do_version): Use PKGVERSION.
52898         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
52899         (print_version): Use PKGVERSION.
52900         * malloc/mtrace.pl ($PACKAGE): Remove variable.
52901         ($PKGVERSION): New variable.
52902         ($REPORT_BUGS_TO): Likewise.
52903         (usage): Use $REPORT_BUGS_TO.
52904         (top level): Use $PKGVERSION.
52905         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
52906         ($(objpfx)pkgvers.texi): New rule.
52907         ($(objpfx)stamp-pkgvers): Likewise.
52908         * manual/install.texi: Include pkgvers.texi.
52909         (--with-pkgversion): Document new configure option.
52910         (--with-bugurl): Likewise.
52911         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
52912         than necessarily for this particular distribution.  Use
52913         REPORT_BUGS_TO for where to report bugs.
52914         * INSTALL: Regenerated.
52915         * manual/libc.texinfo: Include pkgvers.texi.
52916         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
52917         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
52918         (print_version): Use PKGVERSION.
52919         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
52920         (print_version): Use PKGVERSION.
52921         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
52922         (print_version): Use PKGVERSION.
52923         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
52924         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
52925         macro.
52926         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
52927         (print_version): Use PKGVERSION.
52928         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
52929         (print_version): Use PKGVERSION.
52930         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
52931         and PKGVERSION.
52933         * timezone/checktab.awk: Update from tzcode 2012i.
52934         * timezone/ialloc.c: Likewise.
52935         * timezone/private.h: Likewise.
52936         * timezone/scheck.c: Likewise.
52937         * timezone/tzfile.h: Likewise.
52938         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
52939         (TZVERSION): Hardcode tzcode version number.
52940         * timezone/zdump.c: Update from tzcode 2012i.
52941         * timezone/zic.c: Likewise.
52942         * timezone/version.h: New file.
52943         * timezone/README: Describe version.h.  Update upstream location.
52945         [BZ #14824]
52946         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
52947         (mktemp): Enable declaration.
52948         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
52949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
52950         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
52951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
52952         Likewise.
52953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
52954         Likewise.
52955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
52956         Likewise.
52957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
52958         Likewise.
52959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
52960         Likewise.
52961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
52962         Likewise.
52964         [BZ #14821]
52965         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
52966         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
52967         for copies of such integer values.
52968         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52969         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52971 2012-11-09  Andreas Jaeger  <aj@suse.de>
52973         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
52974         definitions and declarations that are provided by
52975         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52977 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52979         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
52980         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
52981         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
52982         definition.
52984 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52986         * elf/elf.h: Update comment before AArch64 relocations.
52988 2012-11-07  David S. Miller  <davem@davemloft.net>
52990         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
52991         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52992         (__start_context): Declare.
52993         (__makecontext_ret): Delete.
52994         (__makecontext): Hook up __start_context instead of
52995         __makecontext_ret.
52996         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
52997         (sysdep_routines): Add __start_context when in stdlib.
52999 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53001         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53002         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53003         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53004         hardcoded "nm".
53005         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53006         (READELF): New variable.  Use it instead of hardcoded "readelf".
53008 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53010         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53011         * sysdeps/x86/Makefile: Here.
53012         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53013         * sysdeps/x86/tst-xmmymm.sh: This.
53015 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53017         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53018         expectations.
53019         [UNIX98] (pthread_barrier_t): Do not expect.
53020         [UNIX98] (pthread_barrierattr_t): Likewise.
53021         [UNIX98] (pthread_spinlock_t): Likewise.
53022         [UNIX98] (pthread_barrier_destroy): Likewise.
53023         [UNIX98] (pthread_barrier_init): Likewise.
53024         [UNIX98] (pthread_barrier_wait): Likewise.
53025         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53026         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53027         [UNIX98] (pthread_barrierattr_init): Likewise.
53028         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53029         [UNIX98] (pthread_getcpuclockid): Likewise.
53030         [UNIX98] (pthread_mutex_timedlock): Likewise.
53031         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53032         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53033         [UNIX98] (pthread_sigmask): Likewise.
53034         [UNIX98] (pthread_spin_destroy): Likewise.
53035         [UNIX98] (pthread_spin_init): Likewise.
53036         [UNIX98] (pthread_spin_lock): Likewise.
53037         [UNIX98] (pthread_spin_trylock): Likewise.
53038         [UNIX98] (pthread_spin_unlock): Likewise.
53039         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53040         Do not expect.
53041         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53042         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53043         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53044         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53045         [XPG3 || XPG4] (pthread_key_t): Likewise.
53046         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53047         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53048         [XPG3 || XPG4] (pthread_once_t): Likewise.
53049         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53050         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53051         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53052         [XPG3 || XPG4] (pthread_t): Likewise.
53054         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53055         not expect.
53056         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53058         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53059         Change function return type to int.
53061         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53062         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53063         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53064         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53065         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53066         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53067         [!POSIX] (posix_madvise): Likewise.
53068         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53069         && !UNIX98].
53070         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53071         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53072         (mode_t): Likewise.
53073         (posix_mem_offset): Likewise.
53074         (posix_typed_mem_get_info): Likewise.
53075         (posix_typed_mem_open): Likewise.
53077         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53078         Change condition to [XOPEN2K8].
53080         * conform/conformtest.pl: Preprocess allow-header data with -x c
53081         instead of from stdin.
53082         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53083         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53084         [C99-based standards] (cerfc): Likewise.
53085         [C99-based standards] (cexp2): Likewise.
53086         [C99-based standards] (cexpm1): Likewise.
53087         [C99-based standards] (clog10): Likewise.
53088         [C99-based standards] (clog1p): Likewise.
53089         [C99-based standards] (clog2): Likewise.
53090         [C99-based standards] (clgamma): Likewise.
53091         [C99-based standards] (ctgamma): Likewise.
53092         [C99-based standards] (cerff): Likewise.
53093         [C99-based standards] (cerfcf): Likewise.
53094         [C99-based standards] (cexp2f): Likewise.
53095         [C99-based standards] (cexpm1f): Likewise.
53096         [C99-based standards] (clog10f): Likewise.
53097         [C99-based standards] (clog1pf): Likewise.
53098         [C99-based standards] (clog2f): Likewise.
53099         [C99-based standards] (clgammaf): Likewise.
53100         [C99-based standards] (ctgammaf): Likewise.
53101         [C99-based standards] (cerfl): Likewise.
53102         [C99-based standards] (cerfcl): Likewise.
53103         [C99-based standards] (cexp2l): Likewise.
53104         [C99-based standards] (cexpm1l): Likewise.
53105         [C99-based standards] (clog10l): Likewise.
53106         [C99-based standards] (clog1pl): Likewise.
53107         [C99-based standards] (clog2l): Likewise.
53108         [C99-based standards] (clgammal): Likewise.
53109         [C99-based standards] (ctgammal): Likewise.
53110         * conform/data/inttypes.h-data [C99-based standards]: Include
53111         stdint.h-data.  Remove all expectations for stdint.h contents.
53112         [C99-based standards] (PRI*): Do not allow.
53113         [C99-based standards] (SCN*): Likewise.
53114         [C99-based standards] (*_t): Likewise.
53115         [C99-based-standards] (PRId8): Expect macro.
53116         [C99-based-standards] (PRIi8): Likewise.
53117         [C99-based-standards] (PRIo8): Likewise.
53118         [C99-based-standards] (PRIu8): Likewise.
53119         [C99-based-standards] (PRIx8): Likewise.
53120         [C99-based-standards] (PRIX8): Likewise.
53121         [C99-based-standards] (SCNd8): Likewise.
53122         [C99-based-standards] (SCNi8): Likewise.
53123         [C99-based-standards] (SCNo8): Likewise.
53124         [C99-based-standards] (SCNu8): Likewise.
53125         [C99-based-standards] (SCNx8): Likewise.
53126         [C99-based-standards] (PRIdLEAST8): Likewise.
53127         [C99-based-standards] (PRIiLEAST8): Likewise.
53128         [C99-based-standards] (PRIoLEAST8): Likewise.
53129         [C99-based-standards] (PRIuLEAST8): Likewise.
53130         [C99-based-standards] (PRIxLEAST8): Likewise.
53131         [C99-based-standards] (PRIXLEAST8): Likewise.
53132         [C99-based-standards] (SCNdLEAST8): Likewise.
53133         [C99-based-standards] (SCNiLEAST8): Likewise.
53134         [C99-based-standards] (SCNoLEAST8): Likewise.
53135         [C99-based-standards] (SCNuLEAST8): Likewise.
53136         [C99-based-standards] (SCNxLEAST8): Likewise.
53137         [C99-based-standards] (PRIdFAST8): Likewise.
53138         [C99-based-standards] (PRIiFAST8): Likewise.
53139         [C99-based-standards] (PRIoFAST8): Likewise.
53140         [C99-based-standards] (PRIuFAST8): Likewise.
53141         [C99-based-standards] (PRIxFAST8): Likewise.
53142         [C99-based-standards] (PRIXFAST8): Likewise.
53143         [C99-based-standards] (SCNdFAST8): Likewise.
53144         [C99-based-standards] (SCNiFAST8): Likewise.
53145         [C99-based-standards] (SCNoFAST8): Likewise.
53146         [C99-based-standards] (SCNuFAST8): Likewise.
53147         [C99-based-standards] (SCNxFAST8): Likewise.
53148         [C99-based-standards] (PRId16): Likewise.
53149         [C99-based-standards] (PRIi16): Likewise.
53150         [C99-based-standards] (PRIo16): Likewise.
53151         [C99-based-standards] (PRIu16): Likewise.
53152         [C99-based-standards] (PRIx16): Likewise.
53153         [C99-based-standards] (PRIX16): Likewise.
53154         [C99-based-standards] (SCNd16): Likewise.
53155         [C99-based-standards] (SCNi16): Likewise.
53156         [C99-based-standards] (SCNo16): Likewise.
53157         [C99-based-standards] (SCNu16): Likewise.
53158         [C99-based-standards] (SCNx16): Likewise.
53159         [C99-based-standards] (PRIdLEAST16): Likewise.
53160         [C99-based-standards] (PRIiLEAST16): Likewise.
53161         [C99-based-standards] (PRIoLEAST16): Likewise.
53162         [C99-based-standards] (PRIuLEAST16): Likewise.
53163         [C99-based-standards] (PRIxLEAST16): Likewise.
53164         [C99-based-standards] (PRIXLEAST16): Likewise.
53165         [C99-based-standards] (SCNdLEAST16): Likewise.
53166         [C99-based-standards] (SCNiLEAST16): Likewise.
53167         [C99-based-standards] (SCNoLEAST16): Likewise.
53168         [C99-based-standards] (SCNuLEAST16): Likewise.
53169         [C99-based-standards] (SCNxLEAST16): Likewise.
53170         [C99-based-standards] (PRIdFAST16): Likewise.
53171         [C99-based-standards] (PRIiFAST16): Likewise.
53172         [C99-based-standards] (PRIoFAST16): Likewise.
53173         [C99-based-standards] (PRIuFAST16): Likewise.
53174         [C99-based-standards] (PRIxFAST16): Likewise.
53175         [C99-based-standards] (PRIXFAST16): Likewise.
53176         [C99-based-standards] (SCNdFAST16): Likewise.
53177         [C99-based-standards] (SCNiFAST16): Likewise.
53178         [C99-based-standards] (SCNoFAST16): Likewise.
53179         [C99-based-standards] (SCNuFAST16): Likewise.
53180         [C99-based-standards] (SCNxFAST16): Likewise.
53181         [C99-based-standards] (PRId32): Likewise.
53182         [C99-based-standards] (PRIi32): Likewise.
53183         [C99-based-standards] (PRIo32): Likewise.
53184         [C99-based-standards] (PRIu32): Likewise.
53185         [C99-based-standards] (PRIx32): Likewise.
53186         [C99-based-standards] (PRIX32): Likewise.
53187         [C99-based-standards] (SCNd32): Likewise.
53188         [C99-based-standards] (SCNi32): Likewise.
53189         [C99-based-standards] (SCNo32): Likewise.
53190         [C99-based-standards] (SCNu32): Likewise.
53191         [C99-based-standards] (SCNx32): Likewise.
53192         [C99-based-standards] (PRIdLEAST32): Likewise.
53193         [C99-based-standards] (PRIiLEAST32): Likewise.
53194         [C99-based-standards] (PRIoLEAST32): Likewise.
53195         [C99-based-standards] (PRIuLEAST32): Likewise.
53196         [C99-based-standards] (PRIxLEAST32): Likewise.
53197         [C99-based-standards] (PRIXLEAST32): Likewise.
53198         [C99-based-standards] (SCNdLEAST32): Likewise.
53199         [C99-based-standards] (SCNiLEAST32): Likewise.
53200         [C99-based-standards] (SCNoLEAST32): Likewise.
53201         [C99-based-standards] (SCNuLEAST32): Likewise.
53202         [C99-based-standards] (SCNxLEAST32): Likewise.
53203         [C99-based-standards] (PRIdFAST32): Likewise.
53204         [C99-based-standards] (PRIiFAST32): Likewise.
53205         [C99-based-standards] (PRIoFAST32): Likewise.
53206         [C99-based-standards] (PRIuFAST32): Likewise.
53207         [C99-based-standards] (PRIxFAST32): Likewise.
53208         [C99-based-standards] (PRIXFAST32): Likewise.
53209         [C99-based-standards] (SCNdFAST32): Likewise.
53210         [C99-based-standards] (SCNiFAST32): Likewise.
53211         [C99-based-standards] (SCNoFAST32): Likewise.
53212         [C99-based-standards] (SCNuFAST32): Likewise.
53213         [C99-based-standards] (SCNxFAST32): Likewise.
53214         [C99-based-standards] (PRId64): Likewise.
53215         [C99-based-standards] (PRIi64): Likewise.
53216         [C99-based-standards] (PRIo64): Likewise.
53217         [C99-based-standards] (PRIu64): Likewise.
53218         [C99-based-standards] (PRIx64): Likewise.
53219         [C99-based-standards] (PRIX64): Likewise.
53220         [C99-based-standards] (SCNd64): Likewise.
53221         [C99-based-standards] (SCNi64): Likewise.
53222         [C99-based-standards] (SCNo64): Likewise.
53223         [C99-based-standards] (SCNu64): Likewise.
53224         [C99-based-standards] (SCNx64): Likewise.
53225         [C99-based-standards] (PRIdLEAST64): Likewise.
53226         [C99-based-standards] (PRIiLEAST64): Likewise.
53227         [C99-based-standards] (PRIoLEAST64): Likewise.
53228         [C99-based-standards] (PRIuLEAST64): Likewise.
53229         [C99-based-standards] (PRIxLEAST64): Likewise.
53230         [C99-based-standards] (PRIXLEAST64): Likewise.
53231         [C99-based-standards] (SCNdLEAST64): Likewise.
53232         [C99-based-standards] (SCNiLEAST64): Likewise.
53233         [C99-based-standards] (SCNoLEAST64): Likewise.
53234         [C99-based-standards] (SCNuLEAST64): Likewise.
53235         [C99-based-standards] (SCNxLEAST64): Likewise.
53236         [C99-based-standards] (PRIdFAST64): Likewise.
53237         [C99-based-standards] (PRIiFAST64): Likewise.
53238         [C99-based-standards] (PRIoFAST64): Likewise.
53239         [C99-based-standards] (PRIuFAST64): Likewise.
53240         [C99-based-standards] (PRIxFAST64): Likewise.
53241         [C99-based-standards] (PRIXFAST64): Likewise.
53242         [C99-based-standards] (SCNdFAST64): Likewise.
53243         [C99-based-standards] (SCNiFAST64): Likewise.
53244         [C99-based-standards] (SCNoFAST64): Likewise.
53245         [C99-based-standards] (SCNuFAST64): Likewise.
53246         [C99-based-standards] (SCNxFAST64): Likewise.
53247         [C99-based-standards] (PRIdMAX): Likewise.
53248         [C99-based-standards] (PRIiMAX): Likewise.
53249         [C99-based-standards] (PRIoMAX): Likewise.
53250         [C99-based-standards] (PRIuMAX): Likewise.
53251         [C99-based-standards] (PRIxMAX): Likewise.
53252         [C99-based-standards] (PRIXMAX): Likewise.
53253         [C99-based-standards] (SCNdMAX): Likewise.
53254         [C99-based-standards] (SCNiMAX): Likewise.
53255         [C99-based-standards] (SCNoMAX): Likewise.
53256         [C99-based-standards] (SCNuMAX): Likewise.
53257         [C99-based-standards] (SCNxMAX): Likewise.
53258         [C99-based-standards] (PRIdPTR): Likewise.
53259         [C99-based-standards] (PRIiPTR): Likewise.
53260         [C99-based-standards] (PRIoPTR): Likewise.
53261         [C99-based-standards] (PRIuPTR): Likewise.
53262         [C99-based-standards] (PRIxPTR): Likewise.
53263         [C99-based-standards] (PRIXPTR): Likewise.
53264         [C99-based-standards] (SCNdPTR): Likewise.
53265         [C99-based-standards] (SCNiPTR): Likewise.
53266         [C99-based-standards] (SCNoPTR): Likewise.
53267         [C99-based-standards] (SCNuPTR): Likewise.
53268         [C99-based-standards] (SCNxPTR): Likewise.
53269         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53270         allow.
53271         * conform/data/stdint.h-data: Update comments to clarify
53272         requirements.
53273         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53274         type.
53275         [C99-based standards] (INT8_MAX): Likewise.
53276         [C99-based standards] (INT16_MIN): Likewise.
53277         [C99-based standards] (INT16_MAX): Likewise.
53278         [C99-based standards] (INT32_MIN): Likewise.
53279         [C99-based standards] (INT32_MAX): Likewise.
53280         [C99-based standards] (INT64_MIN): Likewise.
53281         [C99-based standards] (INT64_MAX): Likewise.
53282         [C99-based standards] (UINT8_MAX): Likewise.
53283         [C99-based standards] (UINT16_MAX): Likewise.
53284         [C99-based standards] (UINT32_MAX): Likewise.
53285         [C99-based standards] (UINT64_MAX): Likewise.
53286         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53287         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53288         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53289         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53290         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53291         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53292         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53293         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53294         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53295         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53296         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53297         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53298         [C99-based standards] (INT_FAST8_MIN): Likewise.
53299         [C99-based standards] (INT_FAST8_MAX): Likewise.
53300         [C99-based standards] (INT_FAST16_MIN): Likewise.
53301         [C99-based standards] (INT_FAST16_MAX): Likewise.
53302         [C99-based standards] (INT_FAST32_MIN): Likewise.
53303         [C99-based standards] (INT_FAST32_MAX): Likewise.
53304         [C99-based standards] (INT_FAST64_MIN): Likewise.
53305         [C99-based standards] (INT_FAST64_MAX): Likewise.
53306         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53307         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53308         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53309         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53310         [C99-based standards] (INTPTR_MIN): Likewise.
53311         [C99-based standards] (INTPTR_MAX): Likewise.
53312         [C99-based standards] (UINTPTR_MAX): Likewise.
53313         [C99-based standards] (INTMAX_MIN): Likewise.
53314         [C99-based standards] (INTMAX_MAX): Likewise.
53315         [C99-based standards] (UINTMAX_MAX): Likewise.
53316         [C99-based standards] (PTRDIFF_MIN): Likewise.
53317         [C99-based standards] (PTRDIFF_MAX): Likewise.
53318         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53319         [C99-based standards] (SIZE_MAX): Likewise.
53320         [C99-based standards] (WCHAR_MAX): Likewise.
53321         [C99-based standards] (WINT_MAX): Likewise.
53322         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53323         constraint on value.
53324         [C99-based standards] (WCHAR_MIN): Likewise.
53325         [C99-based standards] (WINT_MIN): Likewise.
53326         [C99-based standards] (*_t): Allow.
53327         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53328         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53329         Include math.h-data and complex.h-data.  Remove all expectations
53330         of math.h and complex.h contents.
53331         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53332         at end of line.
53333         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53334         (struct tm): Expect tag.
53335         [C99-based-standards] (wcstof): Expect function.
53336         [C99-based-standards] (wcstold): Likewise.
53337         [C99-based-standards] (wcstoll): Likewise.
53338         [C99-based-standards] (wcstoull): Likewise.
53339         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53340         macro-int-constant.  Specify type.
53341         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53342         constraint on value.
53343         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53344         Specify type.
53345         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53346         Specify value.
53347         [ISO C standards]: Do not allow headers.
53348         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53349         wcs[abcdefghijklmnopqrstuvwxyz]*.
53350         [ISO C standards] (*_t): Do not allow.
53351         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53352         Expect function.
53353         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53354         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53355         Specify type.
53356         [ISO C standards]: Do not allow headers.
53357         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53358         is[abcdefghijklmnopqrstuvwxyz]*.
53359         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53360         to[abcdefghijklmnopqrstuvwxyz]*.
53361         [ISO C standards] (*_t): Do not allow.
53362         * conform/data/stdalign.h-data: New file.
53363         * conform/data/stdbool.h-data: Likewise.
53364         * conform/data/stdnoreturn.h-data: Likewise.
53366 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53368         [BZ #14815]
53369         * manual/filesys.texi (Directory Entries): Typo fix.
53370         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53372 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53374         * elf/elf.h (EM_AARCH64): New macro.
53375         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53376         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53377         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53378         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53379         (R_AARCH64_TLSDESC): Likewise.
53380         (NT_ARM_TLS): Likewise.
53381         (NT_ARM_HW_BREAK): Likewise.
53382         (NT_ARM_HW_WATCH): Likewise.
53384 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53386         [BZ #14811]
53387         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53388         (__ieee754_powl): Saturate nonzero exponents with absolute value
53389         below 0x1p-79 to +/- 0x1p-79.
53390         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53391         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53392         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53393         nonzero exponents with absolute value below 0x1p-32 to +/-
53394         0x1p-32.
53395         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53396         (__ieee754_powl): Saturate nonzero exponents with absolute value
53397         below 0x1p-79 to +/- 0x1p-79.
53398         * math/libm-test.inc (pow_test): Add more tests.
53400 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53402         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53403         _dl_s390_cap_flags with kernel. Increase string length.
53404         (_dl_s390_platforms): Add z196 and zEC12.
53406 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53408         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
53409         Change XOPEN21K to XOPEN2K.
53411 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
53413         * string/memmove.c: Use memcpy when possible.
53415 2012-11-06  Andreas Jaeger  <aj@suse.de>
53417         * po/eo.po: Update from translation team.
53419 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
53421         [BZ #14793]
53422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
53423         exponent and small x and y exponents, scale x or y up.  Increase
53424         by 2 the exponent used in scaling up.
53425         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53426         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53427         * math/libm-test.inc (fma_test): Add more tests.
53428         (fma_test_towardzero): Likewise.
53429         (fma_test_downward): Likewise.
53430         (fma_test_upward): Likewise.
53432 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
53434         [BZ #14805]
53435         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
53436         fenv_t *.
53438         [BZ #14801]
53439         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
53440         namespace for names of struct fields.
53441         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
53442         fenv_t fields.
53443         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
53444         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
53446 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53448         [BZ #3665]
53449         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
53451 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53453         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
53454         PTR_DEMANGLE.
53456         [BZ #5246]
53457         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
53458         PTR_DEMANGLE.
53460 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
53462         [BZ #14797]
53463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
53464         definitely overflow as x * y not x * y + z.
53465         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53467         * math/libm-test.inc (fma_test): Add more tests.
53468         (fma_test_towardzero): Likewise.
53469         (fma_test_downward): Likewise.
53470         (fma_test_upward): Likewise.
53472 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
53474         [BZ #157]
53476         * include/stub-tag.h: Remove file.
53477         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
53478         '#include' of it.
53479         * manual/maint.texi (Porting): Don't reference it.
53480         * Makerules ($(objpfx)stubs): Likewise.
53481         * dirent/closedir.c: Don't include <stub-tag.h>.
53482         * dirent/dirfd.c: Likewise.
53483         * dirent/fdopendir.c: Likewise.
53484         * dirent/getdents.c: Likewise.
53485         * dirent/getdents64.c: Likewise.
53486         * dirent/opendir.c: Likewise.
53487         * dirent/readdir.c: Likewise.
53488         * dirent/readdir64.c: Likewise.
53489         * dirent/readdir64_r.c: Likewise.
53490         * dirent/readdir_r.c: Likewise.
53491         * dirent/rewinddir.c: Likewise.
53492         * dirent/seekdir.c: Likewise.
53493         * dirent/telldir.c: Likewise.
53494         * gmon/profil.c: Likewise.
53495         * grp/setgroups.c: Likewise.
53496         * inet/if_index.c: Likewise.
53497         * io/access.c: Likewise.
53498         * io/chdir.c: Likewise.
53499         * io/chmod.c: Likewise.
53500         * io/chown.c: Likewise.
53501         * io/close.c: Likewise.
53502         * io/dup.c: Likewise.
53503         * io/dup2.c: Likewise.
53504         * io/dup3.c: Likewise.
53505         * io/euidaccess.c: Likewise.
53506         * io/faccessat.c: Likewise.
53507         * io/fchdir.c: Likewise.
53508         * io/fchmod.c: Likewise.
53509         * io/fchmodat.c: Likewise.
53510         * io/fchown.c: Likewise.
53511         * io/fchownat.c: Likewise.
53512         * io/fcntl.c: Likewise.
53513         * io/flock.c: Likewise.
53514         * io/fstatfs.c: Likewise.
53515         * io/fstatfs64.c: Likewise.
53516         * io/fstatvfs.c: Likewise.
53517         * io/fstatvfs64.c: Likewise.
53518         * io/futimens.c: Likewise.
53519         * io/fxstat.c: Likewise.
53520         * io/fxstat64.c: Likewise.
53521         * io/fxstatat.c: Likewise.
53522         * io/fxstatat64.c: Likewise.
53523         * io/getcwd.c: Likewise.
53524         * io/isatty.c: Likewise.
53525         * io/lchmod.c: Likewise.
53526         * io/lchown.c: Likewise.
53527         * io/link.c: Likewise.
53528         * io/linkat.c: Likewise.
53529         * io/lseek.c: Likewise.
53530         * io/lseek64.c: Likewise.
53531         * io/lxstat64.c: Likewise.
53532         * io/mkdir.c: Likewise.
53533         * io/mkdirat.c: Likewise.
53534         * io/mkfifo.c: Likewise.
53535         * io/mkfifoat.c: Likewise.
53536         * io/open.c: Likewise.
53537         * io/open64.c: Likewise.
53538         * io/openat.c: Likewise.
53539         * io/openat64.c: Likewise.
53540         * io/pipe.c: Likewise.
53541         * io/pipe2.c: Likewise.
53542         * io/poll.c: Likewise.
53543         * io/posix_fadvise.c: Likewise.
53544         * io/posix_fadvise64.c: Likewise.
53545         * io/posix_fallocate.c: Likewise.
53546         * io/posix_fallocate64.c: Likewise.
53547         * io/read.c: Likewise.
53548         * io/readlink.c: Likewise.
53549         * io/readlinkat.c: Likewise.
53550         * io/rmdir.c: Likewise.
53551         * io/sendfile.c: Likewise.
53552         * io/sendfile64.c: Likewise.
53553         * io/statfs.c: Likewise.
53554         * io/statfs64.c: Likewise.
53555         * io/statvfs.c: Likewise.
53556         * io/statvfs64.c: Likewise.
53557         * io/symlink.c: Likewise.
53558         * io/symlinkat.c: Likewise.
53559         * io/ttyname.c: Likewise.
53560         * io/ttyname_r.c: Likewise.
53561         * io/umask.c: Likewise.
53562         * io/unlink.c: Likewise.
53563         * io/unlinkat.c: Likewise.
53564         * io/utime.c: Likewise.
53565         * io/utimensat.c: Likewise.
53566         * io/write.c: Likewise.
53567         * io/xmknod.c: Likewise.
53568         * io/xmknodat.c: Likewise.
53569         * io/xstat.c: Likewise.
53570         * io/xstat64.c: Likewise.
53571         * login/getpt.c: Likewise.
53572         * login/grantpt.c: Likewise.
53573         * login/unlockpt.c: Likewise.
53574         * math/e_acoshl.c: Likewise.
53575         * math/e_acosl.c: Likewise.
53576         * math/e_asinl.c: Likewise.
53577         * math/e_atan2l.c: Likewise.
53578         * math/e_atanhl.c: Likewise.
53579         * math/e_coshl.c: Likewise.
53580         * math/e_expl.c: Likewise.
53581         * math/e_fmodl.c: Likewise.
53582         * math/e_gammal_r.c: Likewise.
53583         * math/e_hypotl.c: Likewise.
53584         * math/e_j0l.c: Likewise.
53585         * math/e_j1l.c: Likewise.
53586         * math/e_jnl.c: Likewise.
53587         * math/e_lgammal_r.c: Likewise.
53588         * math/e_log10l.c: Likewise.
53589         * math/e_log2l.c: Likewise.
53590         * math/e_logl.c: Likewise.
53591         * math/e_powl.c: Likewise.
53592         * math/e_rem_pio2l.c: Likewise.
53593         * math/e_sinhl.c: Likewise.
53594         * math/e_sqrtl.c: Likewise.
53595         * math/fclrexcpt.c: Likewise.
53596         * math/fedisblxcpt.c: Likewise.
53597         * math/feenablxcpt.c: Likewise.
53598         * math/fegetenv.c: Likewise.
53599         * math/fegetexcept.c: Likewise.
53600         * math/fegetround.c: Likewise.
53601         * math/feholdexcpt.c: Likewise.
53602         * math/fesetenv.c: Likewise.
53603         * math/fesetround.c: Likewise.
53604         * math/feupdateenv.c: Likewise.
53605         * math/fgetexcptflg.c: Likewise.
53606         * math/fraiseexcpt.c: Likewise.
53607         * math/fsetexcptflg.c: Likewise.
53608         * math/ftestexcept.c: Likewise.
53609         * math/k_cosl.c: Likewise.
53610         * math/k_rem_pio2l.c: Likewise.
53611         * math/k_sinl.c: Likewise.
53612         * math/k_tanl.c: Likewise.
53613         * math/s_asinhl.c: Likewise.
53614         * math/s_atanl.c: Likewise.
53615         * math/s_cbrtl.c: Likewise.
53616         * math/s_erfl.c: Likewise.
53617         * math/s_expm1l.c: Likewise.
53618         * math/s_log1pl.c: Likewise.
53619         * math/s_tanhl.c: Likewise.
53620         * misc/acct.c: Likewise.
53621         * misc/brk.c: Likewise.
53622         * misc/chflags.c: Likewise.
53623         * misc/chroot.c: Likewise.
53624         * misc/fchflags.c: Likewise.
53625         * misc/fgetxattr.c: Likewise.
53626         * misc/flistxattr.c: Likewise.
53627         * misc/fremovexattr.c: Likewise.
53628         * misc/fsetxattr.c: Likewise.
53629         * misc/fsync.c: Likewise.
53630         * misc/ftruncate.c: Likewise.
53631         * misc/futimes.c: Likewise.
53632         * misc/futimesat.c: Likewise.
53633         * misc/getdomain.c: Likewise.
53634         * misc/getdtsz.c: Likewise.
53635         * misc/gethostid.c: Likewise.
53636         * misc/gethostname.c: Likewise.
53637         * misc/getloadavg.c: Likewise.
53638         * misc/getpagesize.c: Likewise.
53639         * misc/getsysstats.c: Likewise.
53640         * misc/getxattr.c: Likewise.
53641         * misc/gtty.c: Likewise.
53642         * misc/ioctl.c: Likewise.
53643         * misc/lgetxattr.c: Likewise.
53644         * misc/listxattr.c: Likewise.
53645         * misc/llistxattr.c: Likewise.
53646         * misc/lremovexattr.c: Likewise.
53647         * misc/lsetxattr.c: Likewise.
53648         * misc/lutimes.c: Likewise.
53649         * misc/madvise.c: Likewise.
53650         * misc/mincore.c: Likewise.
53651         * misc/mlock.c: Likewise.
53652         * misc/mlockall.c: Likewise.
53653         * misc/mmap.c: Likewise.
53654         * misc/mprotect.c: Likewise.
53655         * misc/msync.c: Likewise.
53656         * misc/munlock.c: Likewise.
53657         * misc/munlockall.c: Likewise.
53658         * misc/munmap.c: Likewise.
53659         * misc/preadv.c: Likewise.
53660         * misc/preadv64.c: Likewise.
53661         * misc/ptrace.c: Likewise.
53662         * misc/pwritev.c: Likewise.
53663         * misc/pwritev64.c: Likewise.
53664         * misc/readv.c: Likewise.
53665         * misc/reboot.c: Likewise.
53666         * misc/remap_file_pages.c: Likewise.
53667         * misc/removexattr.c: Likewise.
53668         * misc/revoke.c: Likewise.
53669         * misc/select.c: Likewise.
53670         * misc/setdomain.c: Likewise.
53671         * misc/setegid.c: Likewise.
53672         * misc/seteuid.c: Likewise.
53673         * misc/sethostid.c: Likewise.
53674         * misc/sethostname.c: Likewise.
53675         * misc/setregid.c: Likewise.
53676         * misc/setreuid.c: Likewise.
53677         * misc/setxattr.c: Likewise.
53678         * misc/sstk.c: Likewise.
53679         * misc/stty.c: Likewise.
53680         * misc/swapoff.c: Likewise.
53681         * misc/swapon.c: Likewise.
53682         * misc/sync.c: Likewise.
53683         * misc/syncfs.c: Likewise.
53684         * misc/syscall.c: Likewise.
53685         * misc/truncate.c: Likewise.
53686         * misc/ualarm.c: Likewise.
53687         * misc/usleep.c: Likewise.
53688         * misc/ustat.c: Likewise.
53689         * misc/utimes.c: Likewise.
53690         * misc/vhangup.c: Likewise.
53691         * misc/writev.c: Likewise.
53692         * posix/_exit.c: Likewise.
53693         * posix/alarm.c: Likewise.
53694         * posix/execve.c: Likewise.
53695         * posix/fexecve.c: Likewise.
53696         * posix/fork.c: Likewise.
53697         * posix/fpathconf.c: Likewise.
53698         * posix/getaddrinfo.c: Likewise.
53699         * posix/getegid.c: Likewise.
53700         * posix/geteuid.c: Likewise.
53701         * posix/getgid.c: Likewise.
53702         * posix/getgroups.c: Likewise.
53703         * posix/getlogin.c: Likewise.
53704         * posix/getlogin_r.c: Likewise.
53705         * posix/getpgid.c: Likewise.
53706         * posix/getpid.c: Likewise.
53707         * posix/getppid.c: Likewise.
53708         * posix/getresgid.c: Likewise.
53709         * posix/getresuid.c: Likewise.
53710         * posix/getsid.c: Likewise.
53711         * posix/getuid.c: Likewise.
53712         * posix/glob64.c: Likewise.
53713         * posix/nanosleep.c: Likewise.
53714         * posix/pathconf.c: Likewise.
53715         * posix/pause.c: Likewise.
53716         * posix/posix_madvise.c: Likewise.
53717         * posix/pread.c: Likewise.
53718         * posix/pread64.c: Likewise.
53719         * posix/pwrite.c: Likewise.
53720         * posix/pwrite64.c: Likewise.
53721         * posix/sched_getaffinity.c: Likewise.
53722         * posix/sched_getp.c: Likewise.
53723         * posix/sched_gets.c: Likewise.
53724         * posix/sched_primax.c: Likewise.
53725         * posix/sched_primin.c: Likewise.
53726         * posix/sched_rr_gi.c: Likewise.
53727         * posix/sched_setaffinity.c: Likewise.
53728         * posix/sched_setp.c: Likewise.
53729         * posix/sched_sets.c: Likewise.
53730         * posix/sched_yield.c: Likewise.
53731         * posix/setgid.c: Likewise.
53732         * posix/setlogin.c: Likewise.
53733         * posix/setpgid.c: Likewise.
53734         * posix/setresgid.c: Likewise.
53735         * posix/setresuid.c: Likewise.
53736         * posix/setsid.c: Likewise.
53737         * posix/setuid.c: Likewise.
53738         * posix/sleep.c: Likewise.
53739         * posix/spawni.c: Likewise.
53740         * posix/sysconf.c: Likewise.
53741         * posix/times.c: Likewise.
53742         * posix/wait.c: Likewise.
53743         * posix/wait3.c: Likewise.
53744         * posix/wait4.c: Likewise.
53745         * posix/waitpid.c: Likewise.
53746         * resolv/gai_sigqueue.c: Likewise.
53747         * resource/getpriority.c: Likewise.
53748         * resource/getrlimit.c: Likewise.
53749         * resource/getrusage.c: Likewise.
53750         * resource/nice.c: Likewise.
53751         * resource/setpriority.c: Likewise.
53752         * resource/setrlimit.c: Likewise.
53753         * resource/ulimit.c: Likewise.
53754         * rt/aio_cancel.c: Likewise.
53755         * rt/aio_fsync.c: Likewise.
53756         * rt/aio_read.c: Likewise.
53757         * rt/aio_sigqueue.c: Likewise.
53758         * rt/aio_suspend.c: Likewise.
53759         * rt/aio_write.c: Likewise.
53760         * rt/clock_getres.c: Likewise.
53761         * rt/clock_gettime.c: Likewise.
53762         * rt/clock_nanosleep.c: Likewise.
53763         * rt/clock_settime.c: Likewise.
53764         * rt/lio_listio.c: Likewise.
53765         * rt/mq_close.c: Likewise.
53766         * rt/mq_getattr.c: Likewise.
53767         * rt/mq_notify.c: Likewise.
53768         * rt/mq_open.c: Likewise.
53769         * rt/mq_receive.c: Likewise.
53770         * rt/mq_send.c: Likewise.
53771         * rt/mq_setattr.c: Likewise.
53772         * rt/mq_timedreceive.c: Likewise.
53773         * rt/mq_timedsend.c: Likewise.
53774         * rt/mq_unlink.c: Likewise.
53775         * rt/shm_open.c: Likewise.
53776         * rt/shm_unlink.c: Likewise.
53777         * rt/timer_create.c: Likewise.
53778         * rt/timer_delete.c: Likewise.
53779         * rt/timer_getoverr.c: Likewise.
53780         * rt/timer_gettime.c: Likewise.
53781         * rt/timer_settime.c: Likewise.
53782         * setjmp/__longjmp.c: Likewise.
53783         * setjmp/setjmp.c: Likewise.
53784         * signal/kill.c: Likewise.
53785         * signal/killpg.c: Likewise.
53786         * signal/raise.c: Likewise.
53787         * signal/sigaction.c: Likewise.
53788         * signal/sigaltstack.c: Likewise.
53789         * signal/sigblock.c: Likewise.
53790         * signal/sigignore.c: Likewise.
53791         * signal/sigintr.c: Likewise.
53792         * signal/signal.c: Likewise.
53793         * signal/sigpause.c: Likewise.
53794         * signal/sigpending.c: Likewise.
53795         * signal/sigqueue.c: Likewise.
53796         * signal/sigreturn.c: Likewise.
53797         * signal/sigset.c: Likewise.
53798         * signal/sigsetmask.c: Likewise.
53799         * signal/sigstack.c: Likewise.
53800         * signal/sigsuspend.c: Likewise.
53801         * signal/sigtimedwait.c: Likewise.
53802         * signal/sigvec.c: Likewise.
53803         * signal/sigwait.c: Likewise.
53804         * signal/sigwaitinfo.c: Likewise.
53805         * signal/sysv_signal.c: Likewise.
53806         * socket/accept.c: Likewise.
53807         * socket/accept4.c: Likewise.
53808         * socket/bind.c: Likewise.
53809         * socket/connect.c: Likewise.
53810         * socket/getpeername.c: Likewise.
53811         * socket/getsockname.c: Likewise.
53812         * socket/getsockopt.c: Likewise.
53813         * socket/isfdtype.c: Likewise.
53814         * socket/listen.c: Likewise.
53815         * socket/recv.c: Likewise.
53816         * socket/recvfrom.c: Likewise.
53817         * socket/recvmsg.c: Likewise.
53818         * socket/send.c: Likewise.
53819         * socket/sendmsg.c: Likewise.
53820         * socket/sendto.c: Likewise.
53821         * socket/setsockopt.c: Likewise.
53822         * socket/shutdown.c: Likewise.
53823         * socket/sockatmark.c: Likewise.
53824         * socket/socket.c: Likewise.
53825         * socket/socketpair.c: Likewise.
53826         * stdio-common/ctermid.c: Likewise.
53827         * stdio-common/cuserid.c: Likewise.
53828         * stdio-common/remove.c: Likewise.
53829         * stdio-common/rename.c: Likewise.
53830         * stdio-common/renameat.c: Likewise.
53831         * stdio-common/tempname.c: Likewise.
53832         * stdlib/getcontext.c: Likewise.
53833         * stdlib/makecontext.c: Likewise.
53834         * stdlib/setcontext.c: Likewise.
53835         * stdlib/swapcontext.c: Likewise.
53836         * stdlib/system.c: Likewise.
53837         * streams/fattach.c: Likewise.
53838         * streams/fdetach.c: Likewise.
53839         * streams/getmsg.c: Likewise.
53840         * streams/getpmsg.c: Likewise.
53841         * streams/putmsg.c: Likewise.
53842         * streams/putpmsg.c: Likewise.
53843         * sysdeps/unix/bsd/getpt.c: Likewise.
53844         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
53845         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
53846         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
53847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53848         Likewise.
53849         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
53850         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53851         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
53852         * sysvipc/msgctl.c: Likewise.
53853         * sysvipc/msgget.c: Likewise.
53854         * sysvipc/msgrcv.c: Likewise.
53855         * sysvipc/msgsnd.c: Likewise.
53856         * sysvipc/semctl.c: Likewise.
53857         * sysvipc/semget.c: Likewise.
53858         * sysvipc/semop.c: Likewise.
53859         * sysvipc/semtimedop.c: Likewise.
53860         * sysvipc/shmat.c: Likewise.
53861         * sysvipc/shmctl.c: Likewise.
53862         * sysvipc/shmdt.c: Likewise.
53863         * sysvipc/shmget.c: Likewise.
53864         * termios/tcdrain.c: Likewise.
53865         * termios/tcflow.c: Likewise.
53866         * termios/tcflush.c: Likewise.
53867         * termios/tcgetattr.c: Likewise.
53868         * termios/tcgetpgrp.c: Likewise.
53869         * termios/tcsendbrk.c: Likewise.
53870         * termios/tcsetattr.c: Likewise.
53871         * termios/tcsetpgrp.c: Likewise.
53872         * time/adjtime.c: Likewise.
53873         * time/clock.c: Likewise.
53874         * time/getitimer.c: Likewise.
53875         * time/gettimeofday.c: Likewise.
53876         * time/setitimer.c: Likewise.
53877         * time/settimeofday.c: Likewise.
53878         * time/stime.c: Likewise.
53879         * time/time.c: Likewise.
53881 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
53883         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
53884         /usr/old/bin.
53886         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
53887         instead of spaces.
53888         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
53890 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
53892         [BZ #14796]
53893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
53894         FE_TONEAREST before applying Dekker multiplication and Knuth
53895         addition.  Clear inexact exceptions and check for exact zero
53896         results afterwards.
53897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53900         * math/libm-test.inc (fma_test): Add more tests.
53901         (fma_test_towardzero): Likewise.
53902         (fma_test_downward): Likewise.
53903         (fma_test_upward): Likewise.
53904         * sysdeps/generic/math_private.h (default_libc_fesetround): New
53905         function.
53906         (libc_fesetround): New macro.
53907         (libc_fesetroundf): Likewise.
53908         (libc_fesetroundl): Likewise.
53909         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
53910         function.
53911         (libc_fesetround_387): Likewise.
53912         (libc_fesetroundf): New macro.
53913         (libc_fesetround): Likewise.
53914         (libc_fesetroundl): Likewise.
53915         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
53916         function.
53917         (libc_fesetroundf): New macro.
53918         (libc_fesetround): Likewise.
53919         (libc_fesetroundl): Likewise.
53920         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
53921         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
53922         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
53923         libm_hidden_ver.
53924         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
53925         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
53926         libm_hidden_def.
53927         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
53928         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
53929         libm_hidden_ver.
53930         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
53931         libm_hidden_def.
53933         [BZ #3439]
53934         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
53935         integer constant usable in #if and use that to give value to enum
53936         constant.
53937         (FE_DIVBYZERO): Likewise.
53938         (FE_UNDERFLOW): Likewise.
53939         (FE_OVERFLOW): Likewise.
53940         (FE_INVALID): Likewise.
53941         (FE_INVALID_SNAN): Likewise.
53942         (FE_INVALID_ISI): Likewise.
53943         (FE_INVALID_IDI): Likewise.
53944         (FE_INVALID_ZDZ): Likewise.
53945         (FE_INVALID_IMZ): Likewise.
53946         (FE_INVALID_COMPARE): Likewise.
53947         (FE_INVALID_SOFTWARE): Likewise.
53948         (FE_INVALID_SQRT): Likewise.
53949         (FE_INVALID_INTEGER_CONVERSION): Likewise.
53950         (FE_TONEAREST): Likewise.
53951         (FE_TOWARDZERO): Likewise.
53952         (FE_UPWARD): Likewise.
53953         (FE_DOWNWARD): Likewise.
53954         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
53955         (FE_DIVBYZERO): Likewise.
53956         (FE_OVERFLOW): Likewise.
53957         (FE_UNDERFLOW): Likewise.
53958         (FE_INEXACT): Likewise.
53959         (FE_TONEAREST): Likewise.
53960         (FE_DOWNWARD): Likewise.
53961         (FE_UPWARD): Likewise.
53962         (FE_TOWARDZERO): Likewise.
53963         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
53964         (FE_UNDERFLOW): Likewise.
53965         (FE_OVERFLOW): Likewise.
53966         (FE_DIVBYZERO): Likewise.
53967         (FE_INVALID): Likewise.
53968         (FE_TONEAREST): Likewise.
53969         (FE_TOWARDZERO): Likewise.
53970         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
53971         (FE_OVERFLOW): Likewise.
53972         (FE_UNDERFLOW): Likewise.
53973         (FE_DIVBYZERO): Likewise.
53974         (FE_INEXACT): Likewise.
53975         (FE_TONEAREST): Likewise.
53976         (FE_TOWARDZERO): Likewise.
53977         (FE_UPWARD): Likewise.
53978         (FE_DOWNWARD): Likewise.
53979         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
53980         (FE_DIVBYZERO): Likewise.
53981         (FE_OVERFLOW): Likewise.
53982         (FE_UNDERFLOW): Likewise.
53983         (FE_INEXACT): Likewise.
53984         (FE_TONEAREST): Likewise.
53985         (FE_DOWNWARD): Likewise.
53986         (FE_UPWARD): Likewise.
53987         (FE_TOWARDZERO): Likewise.
53989 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
53991         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
53993 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
53995         * scripts/cross-test-ssh.sh (command): Use newlines to separate
53996         commands.  Quote $PWD.
53997         (blacklist_exports): Don't use remove_newlines.  Replace "declare
53998         -x" by "export".
53999         (remove_newlines): Remove.
54001 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54003         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54004         * stdlib/stdlib.h (atof): Moved to ...
54005         * include/bits/stdlib-float.h: Here.  New file.
54006         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54007         * stdlib/bits/stdlib-float.h: New file.
54008         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54009         -mno-sse -mno-mmx.
54010         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54011         <xmmintrin.h>.
54013 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54015         * conform/conformtest.pl (@headers): Add fenv.h.
54016         * conform/data/fenv.h-data: New file.
54017         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54018         include of <math/fenv.h>.
54020         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54021         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54022         && !UNIX98].  Enables tests for XOPEN2K8.
54023         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54024         POSIX2008]: Likewise.
54026         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54027         (struct rusage): Do not expect type or its members.
54029         [BZ #3439]
54030         * math/math.h (FP_NAN): Define macro to integer constant usable in
54031         #if and use that to give value to enum constant.
54032         (FP_INFINITE): Likewise.
54033         (FP_ZERO): Likewise.
54034         (FP_SUBNORMAL): Likewise.
54035         (FP_NORMAL): Likewise.
54037 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54039         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54040         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54041         arguments.
54043 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54045         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54046         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54047         autoconf-time if not.
54048         * configure.in: Remove AC_PREREQ.
54050 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54052         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54053         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54054         of the internal implementation.
54056 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54058         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54059         except include of <misc/sys/syslog.h>.
54061 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54064         function returns with a NULL context exit with zero.
54066 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54068         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54070 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54072         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54073         (run_program_cmd): This.
54074         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54075         (tst_langinfo): New variable.  Use it.
54077 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54079         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54080         floating point opcodes.
54082 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54084         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54085         variable.
54087         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54089         * sysdeps/mach/hurd/powerpc: Remove directory.
54090         * sysdeps/mach/powerpc: Likewise.
54092 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54094         * scripts/check-local-headers.sh: Ignore c++ headers.
54096 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54098         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54099         __libc_cleanup_region_start argument.
54101 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54103         [BZ #14784]
54104         [BZ #14785]
54105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54106         x * y using scaling, not as x * y + z.
54107         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54108         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54109         * math/libm-test.inc (fma_test): Add more tests.
54110         (fma_test_towardzero): Likewise.
54111         (fma_test_downward): Likewise.
54112         (fma_test_upward): Likewise.
54114 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54116         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54118 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54120         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54121         New variable.
54123 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54125         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54127 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54130         Fix sort order.
54131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54132         Likewise.
54134 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54137         Fix the order of the list for glibc 2.17.
54138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54139         Likewise.
54141 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54145 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54147         [BZ #14610]
54148         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54149         for low part of x being zero before using __atanl (y).
54150         * math/libm-test.inc (atan2_test): Add another test.
54152         * manual/install.texi (Configuring and compiling): Document
54153         general use of test-wrapper and test-wrapper-env.
54154         * INSTALL: Regenerated.
54156         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54157         (__fma): Do not extract and scale down low bits on after-rounding
54158         systems when result rounded to normal precision would have normal
54159         exponent.
54160         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54161         (__fmal): Do not extract and scale down low bits on after-rounding
54162         systems when result rounded to normal precision would have normal
54163         exponent.
54164         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54165         (__fmal): Do not extract and scale down low bits on after-rounding
54166         systems when result rounded to normal precision would have normal
54167         exponent.
54168         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54169         macro.
54170         (fma_test): Add more tests.
54171         (fma_test_towardzero): Likewise.
54172         (fma_test_downward): Likewise.
54173         (fma_test_upward): Likewise.
54175 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54177         * sysdeps/i386/tininess.h: Renamed to ...
54178         * sysdeps/x86/tininess.h: This.
54179         * sysdeps/x86_64/tininess.h: Removed.
54181 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54183         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54184         input.  Use $(build-program-cmd).
54185         ($(objpfx)tst-array1-static.out): Likewise.
54186         ($(objpfx)tst-array2.out): Likewise.
54187         ($(objpfx)tst-array3.out): Likewise.
54188         ($(objpfx)tst-array4.out): Likewise.
54189         ($(objpfx)tst-array5.out): Likewise.
54190         ($(objpfx)tst-array5-static.out): Likewise.
54192 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54194         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54195         if defined.
54197         * nss/nsswitch.h (nss_interface_function): Provide new
54198         macro for use with NSS functions.
54199         * grp/initgroups.c: Use new macro.
54200         * nss/getXXbyYY.c: Likewise.
54201         * nss/getXXbyYY_r.c: Likewise.
54202         * nss/getXXent.c: Likewise.
54203         * nss/getXXent_r.c: Likewise.
54204         * sysdeps/posix/getaddrinfo.c: Likewise.
54206 2012-10-30  Andreas Jaeger  <aj@suse.de>
54208         * po/ru.po: Update Russion translation from translation project.
54210 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54212         [BZ #14152]
54213         [BZ #14783]
54214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54215         result and shift together with sticky bit instead of replicating
54216         round-to-nearest rounding.
54217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54218         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54219         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54220         missing underflow exceptions.
54221         (fma_test_towardzero): Add more tests.
54222         (fma_test_downward): Likewise.
54223         (fma_test_upward): Likewise.
54225         [BZ #14047]
54226         * sysdeps/generic/tininess.h: New file.
54227         * sysdeps/i386/tininess.h: Likewise.
54228         * sysdeps/sh/tininess.h: Likewise.
54229         * sysdeps/x86_64/tininess.h: Likewise.
54230         * stdlib/tst-strtod-underflow.c: Likewise.
54231         * stdlib/tst-tininess.c: Likewise.
54232         * stdlib/strtod_l.c: Include <tininess.h>.
54233         (round_and_return): Do not set errno for exact underflow cases.
54234         Force an underflow exception when setting errno for underflow.
54235         Determine underflow based on rounding to normal precision if
54236         TININESS_AFTER_ROUNDING.
54237         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54238         ERANGE for exact underflow cases.
54239         * stdlib/Makefile (tests): Add tst-tininess and
54240         tst-strtod-underflow.
54241         ($(objpfx)tst-tininess): Use $(link-libm).
54242         ($(objpfx)tst-strtod-underflow): Likewise.
54244 2012-10-30  Andreas Jaeger  <aj@suse.de>
54246         [BZ#14767]
54247         * elf/Makefile (tests): Remove conditional for have-initfini-array
54248         since this is now always required and the variable does not exist
54249         anymore.
54250         (tests-static): Likewise.
54251         (modules-names): Likewise.
54253         * po/eo.po: Add Esperanto translation from translation project.
54255         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54256         merged with constructor/destructor.
54257         (init_array): Likewise.
54258         * elf/tst-array2dep.c (fini_array): Likewise.
54259         (init_array): Likewise.
54261 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54263         * manual/message.texi: Delete @cartouche tags.
54265 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54267         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54268         EOPNOTSUPP.
54269         * sysdeps/mach/hurd/fsync.c: Likewise.
54271         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54272         [_POSIX_REALTIME_SIGNALS]: Change condition to
54273         [_POSIX_REALTIME_SIGNALS > 0].
54275 2012-10-27  Andreas Jaeger  <aj@suse.de>
54277         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54278         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54279         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54280         [__WORDSIZE != 64]: Likewise.
54282 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54284         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54285         *  iconvdata/tst-tables.sh: Likewise.
54287 2012-10-25  David S. Miller  <davem@davemloft.net>
54289         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54290         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54291         of strtoull.
54293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54294         ifunc-impl-list.c
54295         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54296         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54297         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54298         file.
54300 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54303         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54304         __getdirentries.
54306 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54307             Jim Blandy  <jimb@codesourcery.com>
54309         * scripts/cross-test-ssh.sh: New file.
54310         * manual/install.texi (Configuring and compiling): Document use of
54311         cross-test-ssh.sh.
54312         * INSTALL: Regenerated.
54314 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54316         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54317         EOPNOTSUPP.
54319 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54321         * Makeconfig (run-program-prefix): Fix comment.
54323 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54324             Jim Blandy  <jimb@codesourcery.com>
54326         * Makeconfig (test-wrapper): New variable,
54327         (test-wrapper-env): Likewise.
54328         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54329         (run-built-tests): Define to yes.
54330         (run-program-prefix): Use $(test-wrapper).
54331         (built-program-cmd): Likewise.
54332         * Rules (make-test-out): Use $(test-wrapper-env) and
54333         $(host-built-program-cmd).
54334         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54335         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54336         tst-pathopt.sh.
54337         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54338         $(test-wrapper-env) to tst-rtld-load-self.sh.
54339         ($(objpfx)order2.out): Use $(test-wrapper).
54340         ($(objpfx)tst-initorder.out): Likewise.
54341         ($(objpfx)tst-initorder2.out): Likewise.
54342         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54343         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54344         (test_wrapper_env): New variable.  Use it to run ld.so.
54345         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54346         Use it to run ld.so.
54347         (test_wrapper_env): Likewise.
54348         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54349         $(test-wrapper) to run-iconv-test.sh.
54350         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54351         (ICONV): Use $test_wrapper.
54352         * posix/Makefile ($(objpfx)globtest.out): Pass
54353         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54354         globtest.sh, not $(run-program-prefix).
54355         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54356         (test_wrapper): Likewise.
54357         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54358         set together with run_via_rtld_prefix.
54359         (run_program_prefix): Define in terms of test_wrapper and
54360         run_via_rtld_prefix.
54362 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54364         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54365         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54366         Targets removed.
54368         [BZ #14743]
54369         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54370         Declare __clock_getres, __clock_gettime, __clock_settime,
54371         __clock_nanosleep, and __clock_getcpuclockid.
54372         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54373         Remove librt_hidden_def (clock_gettime).
54374         * sysdeps/unix/clock_gettime.c: Likewise.
54375         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54376         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54377         * rt/clock_getres.c: Define __clock_getres as an alias.
54378         * sysdeps/posix/clock_getres.c: Likewise.
54379         * rt/clock_settime.c: Define __clock_settime as an alias.
54380         * sysdeps/unix/clock_settime.c: Likewise.
54381         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54382         * sysdeps/unix/clock_nanosleep.c: Likewise.
54383         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54384         * rt/clock-compat.c: New file.
54385         * rt/Makefile (librt-routines): Add clock-compat and move
54386         $(clock-routines) to ...
54387         (routines): ... here, new variable.
54388         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54389         Don't add get_clockfreq here.
54390         * rt/Versions (libc: GLIBC_2.17): New version set.
54391         Add clock_* symbols here.
54392         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54393         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54394         (GLIBC_2.17): Add clock_* symbols.
54395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54397         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54399         Likewise.
54400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54401         Likewise.
54402         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
54406         * NEWS: Mention the move.
54408         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54409         Use __open, __read, __close rather than their public counterparts.
54410         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54411         (__get_clockfreq_via_cpuinfo): Likewise.
54412         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
54413         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
54415         * config.h.in (HAVE_IFUNC): New #undef.
54416         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
54417         was successful.
54418         * configure: Regenerated.
54420 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54422         * configure.in: Move READELF check to start of file.
54423         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
54424         libc_cv_asm_gnu_indirect_function in the process.
54425         * configure: Regenerated.
54427 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
54429         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
54430         send the output to /dev/null.
54431         (libc_cv_cc_with_libunwind): Likewise.
54432         (libc_cv_as_noexecstack): Likewise.
54433         * configure: Regenerate.
54435 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54437         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
54439         * posix/globtest.sh (TMPDIR): Do not set.
54440         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
54441         (testout): Likewise.
54443 2012-10-24  Andreas Jaeger  <aj@suse.de>
54445         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
54446         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
54447         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
54448         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
54449         posix_fadvise64, posix_fallocate64.
54451         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
54452         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
54453         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
54454         Likewise.
54455         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
54456         Likewise.
54457         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
54459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
54460         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
54461         <bits/fcntl-linux.h>.
54462         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
54464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
54465         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
54466         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
54467         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
54468         [__WORDSIZE != 64]: Likewise.
54470 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54472         * Makeconfig (run-built-tests): New variable.
54473         * Rules [$(cross-compiling) = yes]: Change condition to
54474         [$(run-built-tests) = no].
54475         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
54476         to [$(run-built-tests) = yes].
54477         * elf/Makefile [$(cross-compiling) = no]: Likewise.
54478         * grp/Makefile [$(cross-compiling) = no]: Likewise.
54479         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
54480         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
54481         * intl/Makefile [$(cross-compiling) = no]: Likewise.
54482         * io/Makefile [$(cross-compiling) = no]: Likewise.
54483         * libio/Makefile [$(cross-compiling) = no]: Likewise.
54484         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
54485         * misc/Makefile [$(cross-compiling) = no]: Likewise.
54486         * posix/Makefile [$(cross-compiling) = no]: Likewise.
54487         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
54488         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
54489         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
54490         * string/Makefile [$(cross-compiling) = no]: Likewise.
54492         * posix/Makefile ($(objpfx)globtest.out): Pass
54493         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
54494         $(rtld-installed-name).
54495         * posix/globtest.sh (elf_objpfx): Remove variable.
54496         (rtld_installed_name): Likewise.
54497         (library_path): Likewise.
54498         (run_program_prefix): New variable.  Use for running globtest
54499         binary.
54501 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
54502             Joseph Myers  <joseph@codesourcery.com>
54504         * Makeconfig (host-built-program-cmd): New variable.
54505         * elf/Makefile (tst-stackguard1-ARGS): Use
54506         $(host-built-program-cmd).
54507         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
54508         (tst-spawn-ARGS): Likewise.
54509         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
54511 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
54512             Jim Blandy  <jimb@codesourcery.com>
54514         * Makeconfig (run-via-rtld-prefix): New variable.
54515         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
54516         (built-program-cmd): Likewise.
54518 2012-10-22  Andreas Jaeger  <aj@suse.de>
54520         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
54521         __O_RSYNC if it exists, otherwise to O_SYNC.
54523 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
54524             Joseph Myers  <joseph@codesourcery.com>
54526         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
54527         /dev/null.
54528         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
54529         from /dev/null
54530         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
54531         /dev/null.
54533 2012-10-22  Andreas Jaeger  <aj@suse.de>
54535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
54536         Define always.
54537         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
54539         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54540         bits/fcntl-linux.h.
54542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
54543         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
54545         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
54546         to __O_LARGEFILE.
54547         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
54548         to __O_LARGEFILE.
54550 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
54551             Joseph Myers  <joseph@codesourcery.com>
54553         * config.make.in (NM): New variable.
54555 2012-10-21  Andreas Jaeger  <aj@suse.de>
54557         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
54558         definitions and declarations that are provided by
54559         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
54561 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54563         [BZ #14683]
54564         * elf/Makefile (tests-static): Add tst-leaks1-static.
54565         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
54566         ($(objpfx)tst-leaks1-static): New rule.
54567         ($(objpfx)tst-leaks1-static-mem): Likewise.
54568         (tst-leaks1-static-ENV): New macro.
54569         * elf/dl-open.c (dl_open_worker): Check the main application
54570         only if SHARED is defined.
54571         * elf/tst-leaks1-static.c: New file.
54573 2012-10-20  Andreas Jaeger  <aj@suse.de>
54575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
54576         generic values for Linux.
54577         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
54578         and declarations that are provided by <bits/fcntl-linux.h> and
54579         include <bits/fcntl-linux.h>.
54580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54581         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54583 2012-10-20  Roland McGrath  <roland@hack.frob.com>
54585         * io/fcntl.h: Move include of <bits/types.h> to the top and
54586         include it unconditionally.
54588 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
54590         * wcsmbs/Makefile (tests-ifunc): New variable.
54591         (tests): Add $(tests-ifunc).
54592         * wcsmbs/test-wcschr-ifunc.c: New file.
54593         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
54594         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
54595         * wcsmbs/test-wcslen-ifunc.c: Likewise.
54596         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
54597         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
54599         * string/Makefile (tests-ifunc): New variable.
54600         (tests): Add $(tests-ifunc).
54601         * string/test-memccpy.c (TEST_NAME): New macro.
54602         * string/test-memchr.c (TEST_NAME): Likewise.
54603         * string/test-memcmp.c (TEST_NAME): Likewise.
54604         * string/test-memcpy.c (TEST_NAME): Likewise.
54605         * string/test-memmem.c (TEST_NAME): Likewise.
54606         * string/test-memmove.c (TEST_NAME): Likewise.
54607         * string/test-memset.c (TEST_NAME): Likewise.
54608         * string/test-rawmemchr.c (TEST_NAME): Likewise.
54609         * string/test-stpcpy.c (TEST_NAME): Likewise.
54610         * string/test-stpncpy.c (TEST_NAME): Likewise.
54611         * string/test-strcasecmp.c (TEST_NAME): Likewise.
54612         * string/test-strcasestr.c (TEST_NAME): Likewise.
54613         * string/test-strcat.c (TEST_NAME): Likewise.
54614         * string/test-strchr.c (TEST_NAME): Likewise.
54615         * string/test-strcmp.c(TEST_NAME): Likewise.
54616         * string/test-strcpy.c (TEST_NAME): Likewise.
54617         * string/test-strcspn.c (TEST_NAME): Likewise.
54618         * string/test-strlen.c (TEST_NAME): Likewise.
54619         * string/test-strncasecmp.c (TEST_NAME): Likewise.
54620         * string/test-strncmp.c (TEST_NAME): Likewise.
54621         * string/test-strncpy.c (TEST_NAME): Likewise.
54622         * string/test-strnlen.c (TEST_NAME): Likewise.
54623         * string/test-strpbrk.c (TEST_NAME): Likewise.
54624         * string/test-strrchr.c (TEST_NAME): Likewise.
54625         * string/test-strspn.c (TEST_NAME): Likewise.
54626         * string/test-strstr.c (TEST_NAME): Likewise.
54627         * string/test-bcopy-ifunc.c: New file.
54628         * string/test-bzero-ifunc.c: Likewise.
54629         * string/test-memccpy-ifunc.c: Likewise.
54630         * string/test-memchr-ifunc.c: Likewise.
54631         * string/test-memcmp-ifunc.c: Likewise.
54632         * string/test-memcpy-ifunc.c: Likewise.
54633         * string/test-memmem-ifunc.c: Likewise.
54634         * string/test-memmove-ifunc.c: Likewise.
54635         * string/test-mempcpy-ifunc.c: Likewise.
54636         * string/test-memset-ifunc.c: Likewise.
54637         * string/test-rawmemchr-ifunc.c: Likewise.
54638         * string/test-stpcpy-ifunc.c: Likewise.
54639         * string/test-stpncpy-ifunc.c: Likewise.
54640         * string/test-strcasecmp-ifunc.c: Likewise.
54641         * string/test-strcasestr-ifunc.c: Likewise.
54642         * string/test-strcat-ifunc.c: Likewise.
54643         * string/test-strchr-ifunc.c: Likewise.
54644         * string/test-strchrnul-ifunc.c: Likewise.
54645         * string/test-strcmp-ifunc.c: Likewise.
54646         * string/test-strcpy-ifunc.c: Likewise.
54647         * string/test-strcspn-ifunc.c: Likewise.
54648         * string/test-strlen-ifunc.c: Likewise.
54649         * string/test-strncasecmp-ifunc.c: Likewise.
54650         * string/test-strncat-ifunc.c: Likewise.
54651         * string/test-strncmp-ifunc.c: Likewise.
54652         * string/test-strncpy-ifunc.c: Likewise.
54653         * string/test-strnlen-ifunc.c: Likewise.
54654         * string/test-strpbrk-ifunc.c: Likewise.
54655         * string/test-strrchr-ifunc.c: Likewise.
54656         * string/test-strspn-ifunc.c: Likewise.
54657         * string/test-strstr-ifunc.c: Likewise.
54659         * debug/Makefile (tests-ifunc): New variable.
54660         (tests): Add $(tests-ifunc).
54661         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
54662         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
54663         * debug/test-stpcpy_chk-ifunc.c: New file.
54664         * debug/test-strcpy_chk-ifunc.c: Likewise.
54666 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54668         [BZ #13601]
54669         * elf/dl-load.c (open_verify): Retry read if the entire ELF
54670         header is not read in.
54672 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
54674         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
54675         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
54676         directly.  Pass built executable to script as
54677         $(built-program-cmd).
54678         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
54679         $testprogram without using LD_LIBRARY_PATH and $ldso.
54681         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
54682         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
54683         $(rtld-installed-name).
54684         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
54685         (rtld_installed_name): Likewise.
54686         (library_path): Likewise.
54687         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
54688         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
54689         $(run-program-prefix) to tst-tables.sh.
54690         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
54691         it to run tst-table-from and tst-table-to.
54692         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
54693         Pass it to tst-table.sh.
54694         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
54695         $(run-program-prefix) to tst-gettext.sh.
54696         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
54697         tst-translit.sh.
54698         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
54699         tst-gettext2.sh.
54700         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
54701         to run tst-gettext.
54702         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
54703         to run tst-gettext2.
54704         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
54705         to run tst-translit.
54706         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
54707         $(run-program-prefix) to tst-mtrace.sh.
54708         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
54709         to run tst-mtrace.
54710         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
54711         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
54712         $(rtld-installed-name).
54713         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
54714         (rtld_installed_name): Likewise.
54715         (run_program_prefix): New variable.  Use it to run wordexp-test.
54717         * Makeconfig (ARCH): Remove all definitions.
54718         (machine): Likewise.
54719         [ARCH]: Remove conditional code.
54720         [!objdir]: Give error.
54721         [!objdir] (objpfx): Remove.
54722         [!objdir] (common-objpfx): Likewise.
54723         [!objdir] (common-objdir): Likewise.
54724         * configure.in (config_makefile): Remove.  Hardcode Makefile in
54725         AC_CONFIG_FILES call.
54726         * configure: Regenerated.
54728         [BZ #13888]
54729         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
54730         or TMPDIR.
54731         (testout): Likewise.
54733         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
54734         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
54735         $(rtld-installed-name).
54736         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
54737         (rtld_installed_name): Likwise.
54738         (runit): Remove function.
54739         (run_getconf): New variable,  Use it for running getconf binary.
54741 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
54743         [BZ #14716]
54744         * string/test-memmem.c (check_result): New function.
54745         (do_one_test): Use it.
54746         (check1): New function.
54747         (test_main): Use it.
54749 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
54751         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
54753 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
54755         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
54756         (_G_LSEEK64): Likewise.
54757         (_G_MMAP64): Likewise.
54758         (_G_FSTAT64): Likewise.
54759         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
54760         (_G_LSEEK64): Likewise.
54761         (_G_MMAP64): Likewise.
54762         (_G_FSTAT64): Likewise.
54763         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
54764         unconditional.  Call __mmap64 directly.
54765         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
54766         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
54767         __lseek64 directly.
54768         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
54769         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
54770         __mmap64 directly.
54771         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
54772         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54773         __lseek64 directly.
54774         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
54775         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
54776         __lseek64 directly.
54777         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
54778         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
54779         __lseek64 directly.
54780         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
54781         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
54782         __fxstat64 directly.
54783         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
54784         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
54785         unconditional.
54786         (freopen64) [!_G_OPEN64]: Remove conditional code.
54787         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
54788         unconditional.
54789         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
54790         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
54791         unconditional.
54792         (ftello64) [!_G_LSEEK64]: Remove conditional code.
54793         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
54794         unconditional.
54795         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54796         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
54797         unconditional.
54798         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
54799         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
54800         unconditional.
54801         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54802         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
54803         unconditional.
54804         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
54805         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
54806         unconditional.
54807         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
54809 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54811         [BZ #12140]
54812         * manual/memory.texi (Malloc Tunable Parameters): Add note
54813         about free list pointers overwriting some perturb bytes.
54814         Wording suggested by Roland McGrath.
54816 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
54818         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
54819         (lgamma_test): Likewise.
54820         (tgamma_test): Likewise.
54822 2012-10-16  Florian Weimer  <fweimer@redhat.com>
54824         [BZ #14700]
54825         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
54826         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
54828 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
54830         * NEWS: Mention BZ #14716.
54831         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
54832         when removing AVAILABLE1_USES_J macro.
54834 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
54836         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
54837         (__bswap_64): __uint64_t for unsigned 64-bit int.
54839 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
54841         * include/string.h (memmem): Declare libc hidden alias.
54842         * string/memmem.c (memmem): Define libc hidden alias.
54843         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
54844         __read, __close instead of open, read, close.
54846 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
54848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
54849         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
54850         global and hidden.
54851         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
54852         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
54853         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
54854         Likewise.
54855         (__rawmemchr_sse2): Likewise.
54856         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
54857         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
54858         (__strchr_sse2): Likewise.
54859         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
54860         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
54861         (__strcasecmp_sse2): Likewise.
54862         (__strncasecmp_sse2): Likewise.
54863         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
54864         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
54865         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
54866         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
54867         (__strrchr_sse2): Likewise.
54868         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
54869         ifunc-impl-list.c.
54870         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
54871         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
54872         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
54873         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54874         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
54875         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
54876         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54877         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54878         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
54879         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
54880         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
54881         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
54882         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
54883         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
54884         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
54885         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54886         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
54887         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
54888         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
54889         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
54890         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
54891         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
54892         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
54893         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54894         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
54895         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54896         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
54897         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
54898         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
54899         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
54901         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
54902         global and hidden.
54903         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
54904         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
54905         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
54906         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
54907         Likewise.
54908         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
54909         Likewise.
54910         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
54911         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
54912         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
54913         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
54914         ifunc-impl-list.c.
54915         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54916         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54917         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54918         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54919         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54920         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54921         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54922         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54923         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54924         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54925         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54926         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54927         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54928         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
54929         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
54930         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54931         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
54932         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
54933         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54934         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54935         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54936         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54937         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54938         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54939         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54940         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
54941         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
54942         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
54943         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
54944         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54945         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
54946         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54947         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54948         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
54949         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54950         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54951         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54952         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54953         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54954         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54955         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
54957         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
54958         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
54959         * include/ifunc-impl-list.h: New file.
54960         * misc/ifunc-impl-list.c: Likewise.
54961         * misc/Makefile (routines): Add ifunc-impl-list.
54962         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
54963         * string/test-string.h: Include <ifunc-impl-list.h>.
54964         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
54965         TEST_NAME]: New variables.
54966         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
54967         are defined.
54968         (test_init): Call __libc_ifunc_impl_list to initialize
54969         func_list if TEST_IFUNC and TEST_NAME are defined.
54971         * string/Makefile (strop-tests): Add bcopy and bzero.
54972         * string/test-bcopy.c: New file.
54973         * string/test-bzero.c: Likewise.
54974         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
54975         defined.
54976         * string/test-memset.c: Support bzero test if TEST_BZERO is
54977         defined.
54978         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
54979         __libc_memmove.
54980         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
54981         __libc_memset.
54982         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
54983         of memset.
54985 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
54987         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
54988         * configure: Regenerated.
54990         * Makeconfig (+link-static-before-libc): Don't include
54991         $(link-static-libc).
54993         * libio/libio.h (_IO_pos_t): Remove.
54995 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
54997         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
54998         McGrath.
55000 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55002         * crypt/crypt-entry.c: Include fips-private.h.
55003         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55004         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55005         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55006         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55010         * crypt/crypt-private.h: Include stdbool.h.
55011         (_ufc_setup_salt_r): Return bool.
55012         * crypt/crypt-entry.c: Include errno.h.
55013         (__crypt_r): Return NULL with EINVAL for bad salt.
55014         * crypt/crypt_util.c (bad_for_salt): New.
55015         (_ufc_setup_salt_r): Check that salt is long enough and within
55016         the specified alphabet.
55017         * crypt/badsalttest.c: New file.
55018         * crypt/Makefile (tests): Add it.
55019         ($(objpfx)badsalttest): New.
55021 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55023         * NEWS: Add entry for BZ #14602.
55025 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55027         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55028         type-generic.
55029         * math/libm-test.inc: Update comment listing what functions and
55030         macros are tested.
55031         (isgreater_test): New function.
55032         (isgreaterequal_test): Likewise.
55033         (isless_test): Likewise.
55034         (islessequal_test): Likewise.
55035         (islessgreater_test): Likewise.
55036         (isunordered_test): Likewise.
55037         (main): Call the new functions.
55039 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55041         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55042         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55043         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55044         * sysdeps/i386/configure: Regenerated.
55045         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55046         * sysdeps/mach/configure: Regenerated.
55047         * sysdeps/mach/hurd/configure: Regenerated.
55048         * sysdeps/powerpc/configure: Regenerated.
55049         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55050         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55051         * sysdeps/s390/s390-32/configure: Regenerated.
55052         * sysdeps/s390/s390-64/configure: Regenerated.
55053         * sysdeps/sh/configure: Regenerated.
55054         * sysdeps/sparc/configure: Regenerated.
55055         * sysdeps/unix/sysv/linux/configure: Regenerated.
55056         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55057         * sysdeps/x86_64/configure: Regenerated.
55059         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55060         defined.  Don't check if MAP is NULL.
55062 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55064         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55065         (_G_stat64): Likewise.
55066         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55067         (_G_stat64): Likewise.
55068         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55069         instead of struct _G_stat64.
55070         * libio/fileops.c (mmap_remap_check): Likewise.
55071         (decide_maybe_mmap): Likewise.
55072         (_IO_new_file_seekoff): Likewise.
55073         (_IO_file_stat): Likewise.
55074         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55075         _G_off64_t.
55076         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55077         instead of struct _G_stat64.
55078         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55080 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55082         [BZ #14602]
55083         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55084         Replace with ...
55085         (CHECK_EOL): New macro.
55086         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55087         CHECK_EOL.
55088         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55089         Replace with CHECK_EOL.
55090         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55091         Replace with CHECK_EOL.
55093 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55095         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55096         type-generic.
55097         * math/libm-test.inc: Update comment listing what functions and
55098         macros are tested.
55099         (finite_test): New function.
55100         (isinf_test): Likewise.
55101         (isnan_test): Likewise.
55102         (fpclassify_test): Test subnormal input.
55103         (isfinite_test): Likewise.
55104         (isnormal_test): Likewise.
55105         (main): Call the new functions.
55107 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55109         [BZ #14660]
55110         * Makerules (%.dynsym): Force C locale when running
55111         $(OBJDUMP) --dynamic-syms.
55113 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55115         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55116         <stdint.h>.
55118 2012-10-06  David S. Miller  <davem@davemloft.net>
55120         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55121         upper 32-bits of the length value in %o2 since we use branch-on-register
55122         tests which consider the entire 64-bit register.
55124 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55126         * string/test-strstr.c (check2): Add a test for page boundary.
55128 2012-10-05  David S. Miller  <davem@davemloft.net>
55130         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55131         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55132         file.
55133         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55134         sysdep_routines.
55135         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55136         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55137         and bzero when HWCAP_SPARC_CRYPTO is present.
55139 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55141         [BZ #14602]
55142         * string/test-strstr.c (check2): New function.
55143         (test_main): Call check2.
55145         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55146         and bug-strchr1.
55147         * string/bug-strcasestr1.c (do_test): Moved to ...
55148         * string/test-strcasestr.c (check1): Here.  New function.
55149         (do_one_test): Break out result checking code into ...
55150         (check_result): This.  New function.
55151         (do_one_test): Call check_result.
55152         (test_main): Call check1.
55153         * string/bug-strchr1.c (do_test): Moved to ...
55154         * string/test-strchr.c (check1): Here.  New function.
55155         (do_one_test): Break out result checking code into ...
55156         (check_result): This.  New function.
55157         (do_one_test): Call check_result.
55158         (test_main): Call check1.
55159         * string/bug-strstr1.c (main): Moved to ...
55160         * string/test-strstr.c (check1): Here.  New function.
55161         (do_one_test): Break out result checking code into ...
55162         (check_result): This.  New function.
55163         (do_one_test): Call check_result.
55164         (test_main): Call check1.
55165         * string/bug-strcasestr1.c: Removed.
55166         * string/bug-strchr1.c: Likewise.
55167         * string/bug-strstr1.c: Likewise.
55169         * elf/Makefile (dl-routines): Add hwcaps.
55170         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55171         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55172         (_dl_important_hwcaps): Moved to ...
55173         * elf/dl-hwcaps.c: Here.  New file.
55174         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55176         [BZ #14557]
55177         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55178         if IS_IN_rtld isn't defined.
55180         * elf/dl-support.c (_dl_sysinfo_map): New.
55181         Include "get-dynamic-info.h" and "setup-vdso.h".
55182         (_dl_non_dynamic_init): Call setup_vdso.
55183         * elf/dynamic-link.h: Don't include <assert.h>.
55184         (elf_get_dynamic_info): Moved to ...
55185         * elf/get-dynamic-info.h: Here.  New file.
55186         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55187         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55188         * elf/setup-vdso.h: Here.  New file.
55189         * elf/rtld.c: Include "setup-vdso.h".
55190         (dl_main): Call setup_vdso.
55192 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55194         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55195         creal in comment listing functions tested.  List finite, isinf,
55196         isnan, isless, islessequal, isgreater, isgreaterequal,
55197         islessgreater, isunordered, lgamma_r and pow10 as functions and
55198         macros not tested.  Mention which functions not tested are aliases
55199         for other functions.  Fix typo.  Note that signs of NaNs are not
55200         tested.
55202         * scripts/config.guess: Update from config.git.
55203         * scripts/config.sub: Likewise.
55205 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55207         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55208         * misc/madvise.c (madvise): Renamed to __madvise.
55209         Make madvise a weak alias.
55210         * include/sys/mman.h: Declare __madvise.
55211         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55212         * sysdeps/unix/syscalls.list
55213         (madvise): Make __madvise the strong name, and madvise a weak alias.
55214         * sysdeps/unix/sysv/linux/syscalls.list
55215         (madvise, mmap): Remove redundant entries.
55216         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55217         * malloc/malloc.c (mtrim): Likewise.
55218         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55220 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55222         * sysdeps/mach/hurd/dl-cache.c: File removed.
55223         * config.h.in (USE_LDCONFIG): New #undef.
55224         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55225         * configure: Regenerated.
55226         * elf/Makefile (dl-routines): Add dl-cache only under
55227         [$(use-ldconfig) = yes].
55228         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55229         cache on [USE_LDCONFIG].
55230         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55231         [USE_LDCONFIG].
55232         * elf/rtld.c (dl_main): Likewise.
55234 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55236         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55237         _SC_LEVEL4_CACHE_LINESIZE.
55239 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55241         * sysdeps/unix/bsd/confstr.h: File removed.
55243 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55245         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55246         sys/sdt-config.h.
55248 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55250         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55251         Make 'mapoff' field ElfW(Off) rather than off_t.
55253 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55255         * nscd/Makefile: Remove nscd-cflags and all its users.
55256         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55257         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55259         [BZ #10631]
55260         * malloc.c (malloc_printerr): Clarify error message.
55262 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55264         [BZ #14648]
55265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55266         Set bit_FMA_Usable if FMA is supported.
55267         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55268         macro.
55269         (bit_FMA4_Usable): Updated.
55270         (index_FMA_Usable): New macro.
55271         (CPUID_FMA): Likewise.
55272         (HAS_FMA): Defined with bit_FMA_Usable.
55274 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55276         * bits/types.h (__swblk_t): Type removed.
55277         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55278         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55279         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55280         (__SWBLK_T_TYPE): Likewise.
55281         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55282         (__SWBLK_T_TYPE): Likewise.
55283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55284         (__SWBLK_T_TYPE): Likewise.
55285         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55286         (__SWBLK_T_TYPE): Likewise.
55288 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55289             Honza Horak <hhorak@redhat.com>
55291         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55292         (xdr_mapname): Use YPMAXMAP as maxsize.
55293         (xdr_peername): Use YPMAXPEER as maxsize.
55294         (xdr_keydat): Use YPAXRECORD as maxsize.
55295         (xdr_valdat): Use YPMAXRECORD as maxsize.
55297 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55299         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55301         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55302         * csu/init-first.c: ... here.
55303         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55304         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55305         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55306         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55307         * sysdeps/i386/init-first.c: File removed.
55308         * sysdeps/sh/init-first.c: File removed.
55310 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55312         [BZ #14645]
55313         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55314         if x * y might underflow to zero and z is zero.
55315         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55316         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55317         * math/libm-test.inc (min_subnorm_value): New variable.
55318         (fma_test): Add more tests.
55319         (fma_test_towardzero): Likewise.
55320         (fma_test_downward): Likewise.
55321         (fma_test_upward): Likewise.
55322         (initialize): Set min_subnorm_value.
55324 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55326         [BZ #14638]
55327         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55328         0 + 0.
55329         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55330         mode for addition resulting in exact zero.
55331         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55332         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55333         exact 0 + 0.
55334         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55335         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55336         * math/libm-test.inc (fma_test): Add more tests.
55337         (fma_test_towardzero): New function.
55338         (fma_test_downward): Likewise.
55339         (fma_test_upward): Likewise.
55340         (main): Call the new functions.
55342 2012-09-28  David S. Miller  <davem@davemloft.net>
55344         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55346 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55348         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55349         instead of SIGALRM.
55351         * sysdeps/gnu/_G_config.h: Moved to ...
55352         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55353         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55354         * sysdeps/generic/_G_config.h: ... here.
55356         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55358         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55360         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55361         Conditionalize target on [libnss_test1.so-version].
55363         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55365         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55366         (elfobjdir): Move out of conditionals.
55368         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55369         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55370         (__nss_lookup_function): Conditionalize label remove_from_tree on
55371         [!DO_STATIC_NSS || SHARED], matching its only use.
55373 2012-09-28  David S. Miller  <davem@davemloft.net>
55375         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55376         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55377         file.
55378         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55379         sysdep_routines.
55380         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55381         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55382         when HWCAP_SPARC_CRYPTO is present.
55384 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55386         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55388 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55390         [BZ #6530]
55391         * stdio-common/vfprintf.c (process_string_arg): Revert
55392         2000-07-22 change.
55394 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55396         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55397         for testcase.
55398         * stdio-common/tst-sprintf.c: Include <locale.h>
55399         (main): Test sprintf's handling of incomplete multibyte
55400         characters.
55402 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55404         * elf/dl-runtime.c (VERSYMIDX): Removed.
55405         * elf/dl-version.c (VERSYMIDX): Likewise.
55406         * elf/do-rel.h (VERSYMIDX): Likewise.
55407         (VALIDX): Likewise.
55408         * elf/dynamic-link.h (VERSYMIDX): Likewise.
55409         * elf/rtld.c (VALIDX): Likewise.
55410         (ADDRIDX): Likewise.
55411         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
55412         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
55413         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
55414         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
55415         (VALIDX): Likewise.
55416         (ADDRIDX): Likewise.
55418 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55420         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
55422 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
55424         [BZ #11438]
55425         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
55426         to global scope.
55427         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
55428         addresses are in the same scope as 192.0.2/24.
55429         * posix/gai.conf: Document new scope table defaults.
55431 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55433         [BZ #5298]
55434         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
55435         for ftell.  Compute offsets from write pointers instead.
55436         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55438 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55440         [BZ #14543]
55441         * libio/Makefile (tests): New test case tst-fseek.
55442         * libio/tst-fseek.c: New test case to verify that fseek/ftell
55443         combination works in wide mode.
55444         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
55445         state when the external buffer state changes.
55447 2012-09-27  David S. Miller  <davem@davemloft.net>
55449         [BZ #14376]
55450         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
55451         pass reloc->r_addend in as the 'high' argument to
55452         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
55454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55456 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55458         * rt/tst-aio2.c: Include <pthread.h>.
55459         * rt/tst-aio3.c: Likewise.
55461 2012-09-27  Steve Ellcey  <sellcey@mips.com>
55463         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
55465 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
55467         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
55468         contents on [SHARED].
55470 2012-09-26  Marek Polacek  <polacek@redhat.com>
55472         [BZ #14530]
55473         [BZ #13741]
55474         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
55475         for C++ and GCC <4.3 as well as for non GCC compilers.
55477 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55481 2012-09-25  Roland McGrath  <roland@hack.frob.com>
55483         * Makefile.in (all, install): Declare with .PHONY.
55484         Reported by Michael Hope <michael.hope@linaro.org>.
55486 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
55488         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
55489         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
55490         system header.
55491         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
55492         Likewise.
55493         (sydep_routines): Add the new and the internal functions.
55494         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
55495         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
55496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
55497         (GLIBC_2.17): Add the new function.
55498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
55499         (GLIBC_2.17): Likewise.
55500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
55501         (GLIBC_2.17): Likewise.
55502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
55503         (GLIBC_2.17): Likewise.
55504         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
55506 2012-09-25  Alan Modra  <amodra@gmail.com>
55508         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
55509         Add release barrier before setting once_control to say
55510         initialisation is done.  Add hints on lwarx.  Use macro in
55511         place of isync.
55512         (clear_once_control): Add release barrier.
55514 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55516         [BZ #13629]
55517         * math/s_clog.c (__clog): Handle more values close to |z| = 1
55518         specially.
55519         * math/s_clog10.c (__clog10): Likewise.
55520         * math/s_clog10f.c (__clog10f): Likewise.
55521         * math/s_clog10l.c (__clog10l): Likewise.
55522         * math/s_clogf.c (__clogf): Likewise.
55523         * math/s_clogl.c (__clogl): Likewise.
55524         * math/Makefile (libm-calls): Add x2y2m1.
55525         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
55526         (__x2y2m1): Likewise.
55527         (__x2y2m1l): Likewise.
55528         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
55529         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
55530         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
55531         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55532         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
55533         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
55534         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
55535         * sysdeps/i386/fpu/libm-test-ulps: Update.
55536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55538         [BZ #14621]
55539         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
55540         int as type of variable DEPTH.
55541         (glob): Use size_t instead of int as type of variables NEWCOUNT
55542         and OLD_PATHC.
55544 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55546         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
55547         Add s_sincosf-sse2.
55548         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
55549         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
55550         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
55551         macros for using routine as __sincosf_ia32.
55552         Use macro for function declaration and weak_alias.
55553         * sysdeps/i386/fpu/libm-test-ulps: Update.
55555         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
55556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55558         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
55559         subnormal argument.
55560         * math/s_cexpf.c (__cexpf): Likewise.
55561         * math/s_csinf.c (__csinf): Likewise.
55562         * math/s_csinhf.c (__csinhf): Likewise.
55563         * math/s_ctanf.c (__ctanf): Likewise.
55564         * math/s_ctanhf.c (__ctanhf): Likewise.
55565         * math/s_ccosh.c (__ccoshf): Likewise.
55566         * math/s_cexp.c (__cexpl): Likewise.
55567         * math/s_csin.c (__csin): Likewise.
55568         * math/s_csinh.c (__csinh): Likewise.
55569         * math/s_ctan.c (__ctan): Likewise.
55570         * math/s_ctanh.c (ctanh): Likewise.
55571         * math/s_ccoshl.c (__ccoshl): Likewise.
55572         * math/s_cexpl.c (__cexpl): Likewise.
55573         * math/s_csinl.c (__csinl): Likewise.
55574         * math/s_csinhl.c (__csinhl): Likewise.
55575         * math/s_ctanl.c (__ctanl): Likewise.
55576         * math/s_ctanhl.c (__ctanhl): Likewise.
55578 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
55580         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
55581         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
55582         (_IO_off_t): Define to __off_t, not _G_off_t.
55583         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
55584         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
55585         (_IO_wint_t): Define to wint_t, not _G_wint_t.
55586         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
55587         type of __dummy and __dummy2 fields.
55588         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
55589         (_G_ssize_t): Likewise.
55590         (_G_off_t): Likewise.
55591         (_G_pid_t): Likewise.
55592         (_G_uid_t): Likewise.
55593         (_G_wchar_t): Likewise.
55594         (_G_wint_t): Likewise.
55595         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
55596         (_G_ssize_t): Likewise.
55597         (_G_off_t): Likewise.
55598         (_G_pid_t): Likewise.
55599         (_G_uid_t): Likewise.
55600         (_G_wchar_t): Likewise.
55601         (_G_wint_t): Likewise.
55602         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
55603         (_G_ssize_t): Likewise.
55604         (_G_off_t): Likewise.
55605         (_G_pid_t): Likewise.
55606         (_G_uid_t): Likewise.
55607         (_G_wchar_t): Likewise.
55608         (_G_wint_t): Likewise.
55610 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55612         * malloc/arena.c: Include malloc-sysdep.h.
55613         (shrink_heap): Use check_may_shrink_heap to decide if madvise
55614         is sufficient to shrink the heap or an unmap is needed.
55615         * sysdeps/generic/malloc-sysdep.h: New file.  Define
55616         new function check_may_shrink_heap.
55617         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
55618         new function check_may_shrink_heap.
55620 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55622         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
55623         comments.
55625 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
55627         * catgets/test-gencat.sh: Add "set -e".
55628         * elf/tst-pathopt.sh: Likewise.
55629         * grp/tst_fgetgrent.sh: Likewise.
55630         * iconvdata/run-iconv-test.sh: Likewise.
55631         * intl/tst-gettext.sh: Likewise.
55632         * intl/tst-gettext2.sh: Likewise.
55633         * intl/tst-gettext4.sh: Likewise.
55634         * intl/tst-gettext6.sh: Likewise.
55635         * intl/tst-translit.sh: Likewise.
55636         * io/ftwtest-sh: Likewise.
55637         * libio/test-freopen.sh: Likewise.
55638         * malloc/tst-mtrace.sh: Likewise.
55639         * posix/globtest.sh: Likewise.
55640         * posix/tst-getconf.sh: Likewise.
55641         * posix/wordexp-tst.sh: Likewise.
55642         * stdio-common/tst-printf.sh: Likewise.
55643         * stdio-common/tst-unbputc.sh: Likewise.
55644         * stdlib/tst-fmtmsg.sh: Likewise.
55645         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55646         * catgets/Makefile: Do not specify -e option when running
55647         testsuite shell scripts.
55648         * elf/Makefile: Likewise.
55649         * grp/Makefile: Likewise.
55650         * iconvdata/Makefile: Likewise.
55651         * intl/Makefile: Likewise.
55652         * io/Makefile: Likewise.
55653         * libio/Makefile: Likewise.
55654         * malloc/Makefile: Likewise.
55655         * posix/Makefile: Likewise.
55656         * stdio-common/Makefile: Likewise.
55657         * stdlib/Makefile: Likewise.
55658         * sysdeps/x86_64/Makefile: Likewise.
55660         * io/ftwtest-sh: Add copyright header.
55661         * posix/globtest.sh: Likewise.
55662         * posix/tst-getconf.sh: Likewise.
55663         * posix/wordexp-tst.sh: Likewise.
55664         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
55666 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
55668         [BZ #13679]
55669         * Makeconfig (+link): Defined as $(+link-static) if
55670         $(build-shared) isn't yes.
55671         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
55672         isn't yes.
55673         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
55675         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
55677         [BZ #14562]
55678         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
55679         new chunk size with MALLOC_ALIGN_MASK.
55681 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
55683         [BZ #5044]
55684         * stdio-common/printf_fphex.c: Include <stdbool.h> and
55685         <rounding-mode.h>.
55686         (__printf_fphex): Determine rounding using get_rounding_mode and
55687         round_away.
55688         * stdio-common/tst-printf-round.c (struct hex_test): New
55689         structure.
55690         (hex_tests): New variable.
55691         (test_hex_in_one_mode): New function.
55692         (do_test): Also run tests for hex float output.
55694 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
55696         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55697         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55698         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
55699         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
55700         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
55701         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
55702         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55703         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
55705 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
55707         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
55708         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
55709         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
55710         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
55712 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
55714         [BZ #14579]
55715         * elf/rtld.c (dl_main): Limit the check for self loading to normal
55716         mode only.
55717         * elf/tst-rtld-load-self.sh: New test.
55718         * elf/Makefile: Run it.
55720 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
55722         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
55723         (tst-writev-ENV): Remove.
55724         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
55726 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
55728         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
55730 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
55732         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
55733         unconditional.
55734         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
55735         Likewise.
55736         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
55737         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
55738         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
55739         Likewise.
55741 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
55743         [BZ #14587]
55744         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
55745         * config.make.in (have-cpp-asm-debuginfo): Removed.
55746         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
55747         * configure: Regenerated.
55749 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
55751         [BZ #5044]
55752         * stdio-common/printf_fp.c: Include <stdbool.h> and
55753         <rounding-mode.h>.
55754         (___printf_fp): Determine rounding using get_rounding_mode and
55755         round_away.
55756         * stdio-common/tst-printf-round.c: New file.
55757         * stdio-common/Makefile (tests): Add tst-printf-round.
55758         (link-libm): New variable.
55759         ($(objpfx)tst-printf-round): Depend in $(link-libm).
55761 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
55763         [BZ #14576]
55764         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
55765         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
55766         Likewise.
55767         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
55768         Likewise.
55770 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
55772         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
55773         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55774         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55775         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
55777 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
55779         [BZ #14518]
55780         * include/rounding-mode.h: New file.
55781         * sysdeps/generic/get-rounding-mode.h: Likewise.
55782         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
55783         * stdlib/strtod_l.c: Include <rounding-mode.h>.
55784         (MAX_VALUE): New macro.
55785         (MIN_VALUE): Likewise.
55786         (overflow_value): New function.
55787         (underflow_value): Likewise.
55788         (round_and_return): Use overflow_value and underflow_value to
55789         determine return values in overflow and underflow cases.  Use
55790         round_away to determine rounding depending on rounding mode.
55791         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
55792         determine return values in overflow and underflow cases.
55793         * stdlib/tst-strtod-round.c: Include <fenv.h>.
55794         (struct test_results): New structure.
55795         (struct test): Use struct test_results to store expected results
55796         for all rounding modes.
55797         (TEST): Include expected results for all rounding modes.
55798         (test_in_one_mode): New function.
55799         (do_test): Use test_in_one_mode to compute and check results.
55800         Check results for all rounding modes.
55801         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
55802         $(link-libm).
55804 2012-12-09  Allan McRae  <allan@archlinux.org>
55806         * sysdeps/i386/fpu/libm-test-ulps: Update
55808 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
55810         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
55811         (_G_int32_t): Likewise.
55812         (_G_uint16_t): Likewise.
55813         (_G_uint32_t): Likewise.
55814         (_G_HAVE_BOOL): Likewise.
55815         (_G_HAVE_ATEXIT): Likewise.
55816         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55817         (_G_HAVE_IO_FILE_OPEN): Likewise.
55818         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
55819         (_G_int32_t): Likewise.
55820         (_G_uint16_t): Likewise.
55821         (_G_uint32_t): Likewise.
55822         (_G_HAVE_BOOL): Likewise.
55823         (_G_HAVE_ATEXIT): Likewise.
55824         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55825         (_G_HAVE_IO_FILE_OPEN): Likewise.
55826         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
55827         (_G_int32_t): Likewise.
55828         (_G_uint16_t): Likewise.
55829         (_G_uint32_t): Likewise.
55830         (_G_HAVE_BOOL): Likewise.
55831         (_G_HAVE_ATEXIT): Likewise.
55832         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
55833         (_G_HAVE_IO_FILE_OPEN): Likewise.
55835 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
55837         * csu/libc-tls.c: Update copyright years.
55839 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
55841         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
55842         [!_G_USING_THUNKS]: Remove conditional code.
55843         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
55844         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
55846         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
55847         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
55848         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55849         (_G_VTABLE_LABEL_PREFIX): Likewise.
55850         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55851         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55852         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55853         (_G_VTABLE_LABEL_PREFIX): Likewise.
55854         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55855         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
55856         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
55857         (_G_VTABLE_LABEL_PREFIX): Likewise.
55858         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
55860 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
55862         * libio/Makefile: Include ../Makeconfig before tests.
55863         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
55864         only if $(build-shared) is yes.
55866         * iconv/gconv_db.c: Update copyright years.
55868 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55870         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
55871         unwind info if defined PIC. Fix special cases description.
55872         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
55874         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
55875         DP_HI_MASK entry.
55876         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
55878 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
55880         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
55882         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
55883         is NULL.
55885         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
55886         (LDLIBS-tst-chk4): This.
55887         (LDFLAGS-tst-chk5): Renamed to ...
55888         (LDLIBS-tst-chk5): This.
55889         (LDFLAGS-tst-chk6): Renamed to ...
55890         (LDLIBS-tst-chk6): This.
55891         (LDFLAGS-tst-lfschk4): Renamed to ...
55892         (LDLIBS-tst-lfschk4): This.
55893         (LDFLAGS-tst-lfschk5): Renamed to ...
55894         (LDLIBS-tst-lfschk5): This.
55895         (LDFLAGS-tst-lfschk6): Renamed to ...
55896         (LDLIBS-tst-lfschk6): This.
55898         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
55899         on $(common-objpfx)soversions.mk.
55901 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
55903         [BZ #10014]
55904         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
55905         example host name.
55907 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55909         * malloc/arena.c (arena_get_retry): New function that gets
55910         another arena for the caller to try its request on.
55911         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
55912         current arena cannot fulfill the request.
55913         (__libc_memalign): Likewise.
55914         (__libc_memalign): Likewise.
55915         (__libc_pvalloc): Likewise.
55916         (__libc_calloc): Likewise.
55918 2012-09-05  John Tobey  <john.tobey@gmail.com>
55920         [BZ #13542]
55921         * manual/arith.texi (Operations on Complex): Fix description
55922         of carg branch cut.
55924 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55926         [BZ #10014]
55927         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
55928         host name.
55930         [BZ #10038]
55931         * manual/memory.texi (Memory): Make order of menu items match
55932         order of sections.
55934 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55936         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
55937         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
55938         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
55940 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55942         * csu/libc-tls.c (static_dtv): Renamed to ...
55943         (_dl_static_dtv): This.  Make it global.
55944         (_dl_initial_dtv): Removed.
55945         (__libc_setup_tls): Updated.
55946         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
55947         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
55948         DL_INITIAL_DTV.
55950 2012-09-06  Petr Machata  <pmachata@redhat.com>
55952         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
55953         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
55954         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
55955         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
55957 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55959         [BZ #14545]
55960         * csu/libc-tls.c (_dl_initial_dtv): New variable.
55961         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
55962         freeing dtv[-1].
55964 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
55966         [BZ #14544]
55967         * Makeconfig (link-static-before-libc): Replace $(+prector)
55968         with $(+prectorT).
55969         (link-static-after-libc): Replace $(+postctor) with
55970         $(+postctorT).
55971         (link-bounded): Replace $(+prector)/$(+postctor) with
55972         $(+prectorT)/$(+postctorT).
55973         (+prectorT): New macro.
55974         (+postctorT): Likewise.
55976 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
55978         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
55979         (round_str): Handle values above the maximum for IBM long double
55980         as inexact.
55981         * stdlib/tst-strtod-round.c (tests): Regenerated.
55983 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55985         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
55986         assembler flag.
55987         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
55988         zarch_nohighgprs around the zarch optimized routines.
55989         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
55990         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
55991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
55992         for zarch.
55994 2012-09-05  David S. Miller  <davem@davemloft.net>
55996         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55998         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
55999         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56000         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56001         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56002         entries.
56004 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56006         * malloc/arena.c: Fold copyright years.
56007         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56009 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56011         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56015         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56019         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56020         change internal state upon failure.
56022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56024         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56025         * malloc/memusage.c (mmap): Likewise.
56026         (mmap64, mremap): Likewise.  Adjust name in comment.
56028 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56030         * libio/fileops.c: Fix typos in comments.
56031         * libio/oldfileops.c: Likewise.
56032         * libio/wfileops.c: Likewise.
56034 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56036         [BZ #1349]
56037         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56038         (tst-malloc-usable-ENV): Set environment for test case.
56039         * malloc/hooks.c (malloc_check_get_size): New function to get
56040         requested size.
56041         * malloc/malloc.c (musable): Use malloc_check_get_size.
56042         * malloc/tst-malloc-usable.c: New test case.
56044 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56046         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56048 2012-09-05  Allan McRae  <allan@archlinux.org>
56050         [BZ #13966]
56051         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56052         determine header location.
56053         * configure: Regenerated.
56055 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56057         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56058         float format.
56059         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56060         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56061         format.
56062         (test): Regenerate.
56064 2012-09-04  David S. Miller  <davem@davemloft.net>
56066         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56067         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56068         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56070 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56072         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56073         failures.
56075         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56077 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56079         [BZ #9914]
56080         * libio/iogetdelim.c: Include <limits.h>.
56081         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56082         + len + 1 would overflow.
56084 2012-09-03  Andreas Jaeger  <aj@suse.de>
56086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56087         * sysdeps/i386/fpu/libm-test-ulps: Update.
56089 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56091         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56092         Add s_sinf-sse2, s_conf-sse2.
56094         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56095         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56096         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56097         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56099         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56100         for using routine as __sinf_ia32.
56101         Use macro for function declaration and weak_alias.
56102         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56103         for using routine as __cosf_ia32.
56104         Use macro for function declaration and weak_alias.
56106         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56107         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56109         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56110         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56113         * math/libm-test.inc (cos_test): Add more test cases.
56114         (sin_test): Likewise.
56115         (sincos_test): Likewise.
56117 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56119         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56120         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56121         hidden.
56122         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56124 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56126         [BZ #14538]
56127         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56128         first element of the GOT.
56129         (elf_machine_load_address): Return the difference between
56130         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56132 2012-09-01  Allan McRae  <allan@archlinux.org>
56134         [BZ #13412]
56135         * configure.in (AWK): Require gawk version 3.0 or later.
56136         * configure: Regenerated.
56138 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56140         * sysdeps/unix/sysv/linux/kernel-features.h
56141         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56142         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56143         [__NR_clock_getres]: Make code unconditional.
56144         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56145         (clock_getcpuclockid): Remove code left unreachable by removal of
56146         conditionals.
56147         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56148         code unconditional.
56149         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56150         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56151         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56152         Make code unconditional.
56153         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56154         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56155         * sysdeps/unix/sysv/linux/clock_settime.c
56156         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56157         conditional code.
56158         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56159         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56161 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56163         [BZ #14476]
56164         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56165         scripts/test-installation.pl.
56167         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56168         and $ld_so_version if it is set.
56170 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56172         [BZ #14516]
56173         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56174         failure if reading from procfs failed.
56175         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56177 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56179         * sysdeps/unix/sysv/linux/kernel-features.h
56180         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56181         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56182         Remove conditional code.
56183         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56184         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56185         Remove conditional code.
56186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56187         * sysdeps/unix/sysv/linux/i386/fxstat.c
56188         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56190         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56191         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56193         * sysdeps/unix/sysv/linux/i386/lxstat.c
56194         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56195         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56196         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56197         Remove conditional code.
56198         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56199         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56200         Remove conditional code.
56201         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56202         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56203         <kernel-features.h>.
56204         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56205         Remove.
56206         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56207         Remove conditional code.
56208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56209         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56210         Remove conditional.
56212 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56214         [BZ #5400]
56215         * NEWS: Add fixed bug number.
56217 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56219         [BZ #14519]
56220         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56221         underflowing exponent in case of negative sign.
56222         * stdlib/tst-strtod-round-data: Add more tests.
56223         * stdlib/tst-strtod-round.c (tests): Regenerated.
56225         [BZ #3479]
56226         * stdlib/strtod_l.c (NDIG): Remove.
56227         (HEXNDIG): Likewise.
56228         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56229         smallest representable value.
56230         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56231         lie within an exact representation of 1/2 ulp of the result.
56232         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56233         unconditionally.
56234         (TENS_P9_IDX): Define unconditionally.
56235         (TENS_P9_SIZE): Likewise.
56236         (TENS_P10_IDX): Likewise.
56237         (TENS_P10_SIZE): Likewise.
56238         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56239         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56240         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56241         entries for 10^2^13 and 10^2^14.
56242         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56243         (TENS_P13_IDX): Define.
56244         (TENS_P13_SIZE): Likewise.
56245         (TENS_P14_IDX): Likewise.
56246         (TENS_P14_SIZE): Likewise.
56247         (_fpioconst_pow10): Change array size to
56248         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56249         unconditional.
56250         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56251         1024]: Add entries for 10^2^13 and 10^2^14.
56252         [LAST_POW10 > _LAST_POW10]: Remove #error.
56253         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56254         (_fpioconst_pow10): Change array size to
56255         FPIOCONST_POW10_ARRAY_SIZE.
56256         * stdlib/gen-fpioconst.c: New file.
56257         * stdlib/gen-tst-strtod-round.c: Likewise.
56258         * stdlib/tst-strtod-round-data: Likewise.
56259         * stdlib/tst-strtod-round.c: Likewise.
56260         * stdlib/Makefile (tests): Add tst-strtod-round.
56262         [BZ #14459]
56263         * stdlib/strtod_l.c: Include <stdint.h>.
56264         (NDEBUG): Do not define.
56265         (round_and_return): Change EXPONENT parameter to type intmax_t.
56266         Rearrange calculations to avoid internal overflow possibilities.
56267         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56268         Rearrange calculations to avoid internal overflow possibilities.
56269         Assert that number fits inside MPNSIZE limbs.
56270         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56271         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56272         calculations and add assertions to avoid internal overflow
56273         possibilities.  Add casts to avoid signed/unsigned operations.
56274         * stdlib/tst-strtod-overflow.c: New file.
56275         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56277 2012-08-25  Marek Polacek  <polacek@redhat.com>
56279         * time/time.h: Fix some typos in comments.
56281 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56283         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56284         * posix/tst-rfc3484-2.c: Likewise.
56285         * posix/tst-rfc3484-3.c: Likewise.
56287 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56289         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56290         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56292 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56294         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56295         #include of fxstatat64.c.
56297 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56299         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56300         * shadow/getspent_r.c: Likewise.
56301         * shadow/getspnam.c: Likewise.
56302         * shadow/getspnam_r.c: Likewise.
56303         * gshadow/getsgent.c: Likewise.
56304         * gshadow/getsgent_r.c: Likewise.
56305         * gshadow/getsgnam.c: Likewise.
56306         * gshadow/getsgnam_r.c: Likewise.
56307         * inet/getnetbyad.c: Likewise.
56308         * inet/getnetbyad_r.c: Likewise.
56309         * inet/getnetbynm.c: Likewise.
56310         * inet/getnetbynm_r.c: Likewise.
56311         * inet/getnetent.c: Likewise.
56312         * inet/getnetent_r.c: Likewise.
56313         * inet/getproto.c: Likewise.
56314         * inet/getproto_r.c: Likewise.
56315         * inet/getprtent.c: Likewise.
56316         * inet/getprtent_r.c: Likewise.
56317         * inet/getprtname.c: Likewise.
56318         * inet/getprtname_r.c: Likewise.
56319         * inet/getrpcbyname.c: Likewise.
56320         * inet/getrpcbyname_r.c: Likewise.
56321         * inet/getrpcbynumber.c: Likewise.
56322         * inet/getrpcbynumber_r.c: Likewise.
56323         * inet/getrpcent.c: Likewise.
56324         * inet/getrpcent_r.c: Likewise.
56325         * inet/getaliasent.c: Likewise.
56326         * inet/getaliasent_r.c: Likewise.
56327         * inet/getaliasname.c: Likewise.
56328         * inet/getaliasname_r.c: Likewise.
56329         * nscd/getgrgid_r.c: Likewise.
56330         * nscd/getgrnam_r.c: Likewise.
56331         * nscd/gethstbyad_r.c: Likewise.
56332         * nscd/gethstbynm3_r.c: Likewise.
56333         * nscd/getpwnam_r.c: Likewise.
56334         * nscd/getpwuid_r.c: Likewise.
56335         * nscd/getsrvbynm_r.c: Likewise.
56336         * nscd/getsrvbypt_r.c: Likewise.
56337         * nscd/gai.c: Likewise.
56339         * configure.in (build_nscd): New substituted variable, set
56340         by --disable-build-nscd and defaults to $use_nscd.
56341         * configure: Regenerated.
56342         * config.make.in (build-nscd): New substituted variable.
56343         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56344         Change conditional to require [$(build-nscd) = yes] as well.
56345         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56347         [BZ# 13696]
56348         * configure.in (use_nscd): New substituted variable, set by
56349         --disable-nscd.  If enabled, define USE_NSCD.
56350         * configure: Regenerated.
56351         * config.h.in: Add USE_NSCD.
56352         * config.make.in (use-nscd): New substituted variable.
56353         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56354         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56355         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56356         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56357         (CFLAGS-getgrnam_r.c): Likewise.
56358         (CFLAGS-initgroups.c): Likewise.
56359         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56360         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56361         Variables removed.
56362         * inet/getnetgrent_r.c
56363         (nscd_setnetgrent): New function, broken out of ...
56364         (setnetgrent): ... here.  Call it.
56365         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56366         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56367         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56368         * nscd/Makefile (routines, aux): Move definitions after include of
56369         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56370         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56371         Conditionalize on [USE_NSCD].
56372         (is_nscd, nscd_init_cb): Likewise.
56373         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56374         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56375         * nss/nss_db/db-init.c: Likewise.
56376         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56377         [USE_NSCD].
56378         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56379         (make_request): Use it.
56380         (cache_valid_p): New function.
56381         (__check_pf): Use it.
56382         * NEWS: Add item for --disable-nscd.
56384 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56386         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56387         to support sed >= 4.2.1-20-ga9bf076.
56388         * configure: Regenerated.
56390 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56392         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56393         Conditionalize whole body on [IREL].
56395 2012-08-22  Jeff Law <law@redhat.com>
56397         [BZ #14505]
56398         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56399         if the family is PF_UNSPEC.
56401 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56403         * Makerules (lib-version): Rename from V.
56404         (install-lib-nosubdir): Change V to lib-version.
56406 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
56408         [BZ #14252]
56409         * powerpc32/power6/wcschr.c: New file.
56410         * powerpc32/power6/wcscpy.c: New file.
56411         * powerpc32/power6/wcsrchr.c: New file.
56412         * powerpc64/power6/wcschr.c: New file.
56413         * powerpc64/power6/wcscpy.c: New file.
56414         * powerpc64/power6/wcsrchr.c: New file.
56416 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56418         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
56419         (two_way_short_needle): Use it.
56420         * string/strstr.c (AVAILABLE1_USES_J): Define.
56421         * string/strcasestr.c: Likewise.
56423         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
56424         array references.
56425         * string/strcasestr.c (TOLOWER): Make side-effect safe.
56427         [BZ #11607]
56428         * NEWS: Add an entry.
56429         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
56430         define their defaults.
56431         (two_way_short_needle): Detect end-of-string on-the-fly.
56432         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
56433         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
56434         * string/bug-strcasestr1.c: New test.
56435         * string/Makefile: Run it.
56437 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
56439         [BZ #11607]
56440         * string/str-two-way.h (two_way_short_needle): Optimize matching of
56441         the first character.
56443 2012-08-21  Roland McGrath  <roland@hack.frob.com>
56445         * csu/elf-init.c (__libc_csu_irel): Function removed.
56446         * csu/libc-start.c (apply_irel): New function.
56447         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
56449 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
56451         * sysdeps/unix/sysv/linux/kernel-features.h
56452         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
56453         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
56454         <kernel-features.h>.
56455         [__NR_fadvise64_64]: Make code unconditional.
56456         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
56457         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56458         !__NR_fadvise64_64)]: Likewise.
56459         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
56460         !__NR_fadvise64_64))]: Likewise.
56461         [__NR_fadvise64]: Make code unconditional.
56462         [!__NR_fadvise64]: Remove conditional code.
56463         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
56464         <kernel-features.h>.
56465         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56466         unconditional.
56467         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56468         conditional code.
56469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
56470         not include <kernel-features.h>.
56471         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56472         unconditional.
56473         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56474         conditional code.
56475         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
56476         include <kernel-features.h>.
56477         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
56478         unconditional.
56479         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
56480         conditional code.
56482 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
56484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
56485         slight instruction rearrangements per scrollpipe analysis.
56486         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
56488 2012-08-20  Roland McGrath  <roland@hack.frob.com>
56490         * manual/syslog.texi (syslog; vsyslog, closelog):
56491         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
56492         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
56494         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
56495         DSOCAPS to match condition on defining it.
56497 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
56499         * sysdeps/unix/sysv/linux/kernel-features.h
56500         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
56501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
56502         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56503         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
56505         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56506         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
56508         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
56509         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
56511         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
56512         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
56514         * sysdeps/unix/sysv/linux/kernel-features.h
56515         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
56516         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
56517         unconditional.
56518         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56519         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
56520         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56521         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56522         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
56523         Make code unconditional.
56524         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56525         (__mmap64) [!__NR_mmap2]: Likewise.
56526         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
56527         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
56528         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56529         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
56530         [__NR_mmap2]: Make code unconditional.
56531         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
56532         (__mmap64) [!__NR_mmap2]: Likewise.
56534 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56536         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
56538 2012-08-18  Andreas Jaeger  <aj@suse.de>
56540         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
56542 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56544         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
56545         * include/unistd.h (__have_sock_cloexec): Likewise.
56546         (__have_pipe2): Likewise.
56547         (__have_dup3): Likewise.
56549 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
56551         [BZ #9685]
56552         * include/unistd.h (__have_pipe2): Change define into an extern int.
56553         (__have_dup3): Likewise.
56554         * socket/have_sock_cloexec.c: Include fcntl.h.
56555         (__have_pipe2): New variable.
56556         (__have_dup3): Likewise.
56558 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
56560         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
56562 2012-08-17  Marek Polacek  <polacek@redhat.com>
56564         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
56565         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
56567 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56569         * configure.in: Add AC_SUBST for sysheaders.
56570         * configure: Regenerated.
56571         * config.make.in (sysheaders): New substituted variable.
56573         * sysdeps/unix/mkfifo.c: Moved ...
56574         * sysdeps/posix/mkfifo.c: ... here.
56575         * sysdeps/unix/mkfifoat.c: Moved ...
56576         * sysdeps/posix/mkfifoat.c: ... here.
56578         * sysdeps/unix/utime.c: Moved ...
56579         * sysdeps/posix/utime.c: ... here.
56581         * sysdeps/unix/time.c: Moved ...
56582         * sysdeps/posix/time.c: ... here.
56583         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
56584         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
56586         * sysdeps/unix/nice.c: Moved ...
56587         * sysdeps/posix/nice.c: ... here.
56589         * sysdeps/unix/alarm.c: Moved ...
56590         * sysdeps/posix/alarm.c: ... here.
56592         * intl/Makefile ($(codeset_mo)): Depend on the input file.
56594 2012-08-17  Jeff Law <law@redhat.com>
56596         * intl/Makefile (codeset_mo): New variable.
56597         ($(codeset_mo)): New target.
56598         (tst-codeset.out): Depend on that.  Remove explicit rule.
56599         (tst-gettext3.out, tst-gettext5.out): Likewise.
56600         (LOCPATH-ENV, tst-codeset-ENV): New variables.
56601         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
56602         * intl/tst-codeset.sh: Remove.
56603         * intl/tst-gettext3.sh: Likewise.
56604         * intl/tst-gettext5.sh: Likewise.
56606 2012-08-17  Roland McGrath  <roland@hack.frob.com>
56608         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
56609         * sysdeps/unix/syscalls.list: ... here.
56611         * sysdeps/posix/getaddrinfo.c
56612         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
56613         (gaiconf_init, gaiconf_reload): Use them.
56614         [!_STATBUF_ST_NSEC]
56615         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
56616         Define using time_t rather than struct timespec.
56618         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
56619         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
56620         Macros removed.
56621         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
56622         [!NO_THREADS].
56623         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
56624         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
56625         Likewise.
56627         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
56628         __libc_cleanup_push argument.
56630         * bits/param.h: New file.
56631         * misc/sys/param.h: New file.
56632         * include/sys/param.h: New file.
56633         * misc/Makefile (headers): Add bits/param.h.
56634         * sysdeps/generic/sys/param.h: File removed.
56635         * sysdeps/unix/sysv/linux/bits/param.h: New file.
56636         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
56637         * sysdeps/mach/hurd/bits/param.h: New file.
56638         * sysdeps/mach/hurd/sys/param.h: File removed.
56640         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
56641         last change.
56643         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
56644         [_IO_MTSAFE_IO].
56645         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
56646         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
56647         New macros.
56649         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
56650         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
56651         rather than -D_IO_MTSAFE_IO conditionally.
56652         * stdio-common/Makefile (CPPFLAGS): Likewise.
56653         * wcsmbs/Makefile (CPPFLAGS): Likewise.
56654         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
56655         Use $(libio-mtsafe).
56656         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
56657         of -D_IO_MTSAFE_IO.
56658         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
56659         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
56660         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
56661         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
56662         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
56663         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
56664         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
56665         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
56666         (CFLAGS-fread_u_chk.c): Likewise.
56667         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
56668         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
56669         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
56670         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
56671         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
56672         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
56673         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
56674         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
56675         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
56677         * libio/Makefile: Test [$(libc-reentrant) = yes]
56678         instead of [$(filter %REENTRANT, $(defines)) nonempty].
56680         * Makeconfig
56681         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
56682         * sysdeps/pthread/configure: File removed.
56683         * sysdeps/pthread/Makeconfig: New file.
56684         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
56685         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
56687 2012-08-16  Gary Benson  <gbenson@redhat.com>
56689         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
56690         unmapping the first object in a namespace.
56692 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56694         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
56695         (__internal_setnetgrent): ... this.  Add internal_function to
56696         definition.  Add libc_hidden_def.
56697         (setnetgrent): Update caller.
56698         (internal_endnetgrent): Renamed to ...
56699         (__internal_endnetgrent): ... this.  Add internal_function to
56700         definition.  Add libc_hidden_def.
56701         (endnetgrent): Update caller.
56702         (internal_getnetgrent_r): Renamed to ...
56703         (__internal_getnetgrent_r): ... this.  Add internal_function to
56704         definition.  Add libc_hidden_def.
56705         (__getnetgrent_r): Update caller.
56706         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
56708 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56710         * stdlib/longlong.h: Update from GCC.
56712 2012-08-16  Roland McGrath  <roland@hack.frob.com>
56714         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
56715         on _QL, which is set by umul_ppmm but never used.
56716         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
56717         variables, which are set by GMP macros but never used.
56718         * stdio-common/_itowa.c (_itowa): Likewise.
56719         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
56720         * stdlib/mod_1.c (mpn_mod_1): Likewise.
56722 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
56724         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
56725         struct La_sh_regs is not constant.
56726         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
56727         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
56728         and struct La_sparc64_regs are not constant.
56730 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
56732         * sysdeps/unix/sysv/linux/kernel-features.h
56733         (__ASSUME_POSIX_TIMERS): Remove.
56734         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56735         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56736         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
56737         Make code unconditional.
56738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56739         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
56740         Make code unconditional.
56741         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56742         * sysdeps/unix/sysv/linux/clock_nanosleep.c
56743         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
56744         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56745         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
56746         Make code unconditional.
56747         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
56748         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
56749         (__libc_missing_posix_timers): Remove.
56751 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56753         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
56754         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
56756         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
56758         * elf/dl-sym.c: Include <stdlib.h>.
56760         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
56761         constants, which avoids warnings in 32-bit builds.
56763         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
56764         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
56766         * misc/lseek.c: File moved to ...
56767         * io/lseek.c: ... here.
56769         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
56771         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
56772         shifting LEN more than 31 bits at once.
56774 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56776         [BZ #14195]
56777         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
56778         segmentation fault for a case of two empty input strings.
56779         * string/test-strncasecmp.c (check1): Renamed to...
56780         (bz12205): ...this.
56781         (bz14195): Add new testcase for two empty input strings and N > 0.
56782         (test_main): Call new testcase, adapt for renamed function.
56784 2012-08-15  Andreas Jaeger  <aj@suse.de>
56786         [BZ #14090]
56787         * crypt/md5test2.c: New test, based on test supplied by Serge
56788         Belyshev <belyshev@depni.sinp.msu.ru>.
56789         * crypt/Makefile (xtests): Add md5test-giant..
56790         * crypt/Makefile ($(objpfx)md5test-giant): Add.
56792 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
56794         [BZ #14090]
56795         * crypt/md5.c (md5_process_block): Don't assume the buffer
56796         length is less than 2**32.
56797         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
56798         length is less than 2**64.
56800 2012-08-15  Roland McGrath  <roland@hack.frob.com>
56802         * string/str-two-way.h: Include <sys/param.h>.
56803         (MAX): Macro removed.
56805         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
56806         Move #define and #undef of memmove to just before and after
56807         including <string.h>.
56809         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
56810         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
56811         and after including <string.h>.  Move declarations of
56812         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
56813         to before #include "string/memmove.c".
56815         * include/dirent.h: Declare __getdirentries.
56817         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
56818         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
56820 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
56822         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
56823         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
56824         * sysdeps/i386/configure: Regenerated.
56825         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
56826         STABS_CURRENT_FILE, and STABS_FUN.
56827         (END): Remove call to STABS_FUN_END.
56828         (STABS_CURRENT_FILE1): Delete.
56829         (STABS_CURRENT_FILE): Likewise.
56830         (STABS_FUN): Likewise.
56831         (STABS_FUN_END): Likewise.
56832         (STABS_FUN2): Likewise.
56833         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
56834         * sysdeps/x86_64/configure: Regenerated.
56836 2012-08-14  Roland McGrath  <roland@hack.frob.com>
56838         * elf/dl-open.c: Include <atomic.h>.
56839         * elf/dl-lookup.c: Likewise.
56841 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
56843         * sysdeps/unix/sysv/linux/kernel-features.h
56844         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
56845         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
56846         unconditionally.
56847         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
56848         unconditionally.
56849         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
56850         condition on __ASSUME_CLONE_THREAD_FLAGS.
56852 2012-08-14  Andreas Jaeger  <aj@suse.de>
56854         * sysdeps/i386/fpu/libm-test-ulps: Update.
56856 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
56858         * include/atomic.h (atomic_exchange_and_add): Split into ...
56859         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
56860         New atomic macros.
56862 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
56864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56866 2012-08-13  Jeff Law <law@redhat.com>
56868         * manual/stdio.texi (snprintf): Clarify handling of the trailing
56869         null byte in the output string.
56871 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
56873         * sysdeps/unix/sysv/linux/kernel-features.h
56874         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
56875         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
56876         (__ASSUME_ARG_MAX_STACK_BASED): Define.
56877         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
56878         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
56879         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
56880         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
56882 2012-08-09  Jeff Law <law@redhat.com>
56884         [BZ #13939]
56885         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
56886         When avoid_arena is set, don't retry in the that arena.  Pick the
56887         next one, whatever it might be.
56888         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
56889         (arena_lock): Pass in new parameter to arena_get2.
56890         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
56891         arena_get2.
56892         (__libc_malloc): Unify retrying after main arena failure with
56893         __libc_memalign version.
56894         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
56896 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
56898         [BZ #14166]
56899         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
56900         to __redirect_strstr.
56901         (__strstr_sse42): Use typeof __redirect_strstr.
56902         (__strstr_ia32): Likewise.
56903         (__libc_strstr): New prototype.
56904         (strstr): Renamed to ...
56905         (__libc_strstr): This.
56906         (strstr): New strong alias of __libc_strstr.
56907         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
56908         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
56909         __redirect_time.
56910         Include <time.h>.
56911         (__libc_time): New prototype.
56912         (time_ifunc): Replace time with __libc_time.
56913         (time): New strong alias and hidden definition of __libc_time.
56914         (__GI_time): Remove strong alias.
56915         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
56916         Include <stddef.h>.
56917         (memmove): Redefined to __redirect_memmove.
56918         (__memmove_sse2): Use typeof __redirect_memmove.
56919         (__memmove_ssse3): Likewise.
56920         (__memmove_ssse3_back): Likewise.
56921         (__libc_memmove): New prototype.
56922         (memmove): Renamed to ...
56923         (__libc_memmove): This.
56924         (memmove): New strong alias of __libc_memmove.
56926 2012-08-08  Mark Salter  <msalter@redhat.com>
56928         * elf/elf.h
56929         (R_MN10300_TLS_GD): Define.
56930         (R_MN10300_TLS_LD): Likewise.
56931         (R_MN10300_TLS_LDO): Likewise.
56932         (R_MN10300_TLS_GOTIE): Likewise.
56933         (R_MN10300_TLS_IE): Likewise.
56934         (R_MN10300_TLS_LE): Likewise.
56935         (R_MN10300_TLS_DTPMOD): Likewise.
56936         (R_MN10300_TLS_DTPOFF): Likewise.
56937         (R_MN10300_TLS_TPOFF): Likewise.
56938         (R_MN10300_SYM_DIFF): Likewise.
56939         (R_MN10300_ALIGN): Likewise.
56940         (R_MN10300_NUM): Update.
56942 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
56944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
56945         Remove.
56947 2012-08-08  Roland McGrath  <roland@hack.frob.com>
56949         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
56951         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
56952         sysdeps/unix -> sysdeps/posix move.
56953         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56955 2012-08-07      Allan McRae     <allan@archlinux.org>
56957         [BZ #14303]
56958         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
56959         (SUNOS_CPP): Likewise.
56960         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
56961         not found.
56962         (open_input): Call CPP using execvp.
56964 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
56966         * sysdeps/unix/sysv/linux/kernel-features.h
56967         (__ASSUME_PROT_GROWSUPDOWN): Remove.
56968         (__ASSUME_NO_CLONE_DETACHED): Likewise.
56969         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
56970         (__ASSUME_WAITID_SYSCALL): Likewise.
56971         * sysdeps/unix/sysv/linux/dl-execstack.c
56972         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
56973         code unconditional.
56974         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
56975         conditional code.
56976         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
56977         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
56978         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
56979         code.
56980         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
56981         unconditional.
56982         [__ASSUME_WAITID_SYSCALL]: Likewise.
56983         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
56985 2012-08-07  Roland McGrath  <roland@hack.frob.com>
56987         * sysdeps/unix/closedir.c: Renamed to ...
56988         * sysdeps/posix/closedir.c: ... here.
56989         * sysdeps/unix/dirfd.c: Renamed to ...
56990         * sysdeps/posix/dirfd.c: ... here.
56991         * sysdeps/unix/dirstream.h: Renamed to ...
56992         * sysdeps/posix/dirstream.h: ... here.
56993         * sysdeps/unix/fdopendir.c: Renamed to ...
56994         * sysdeps/posix/fdopendir.c: ... here.
56995         * sysdeps/unix/opendir.c: Renamed to ...
56996         * sysdeps/posix/opendir.c: ... here.
56997         * sysdeps/unix/readdir.c: Renamed to ...
56998         * sysdeps/posix/readdir.c: ... here.
56999         * sysdeps/unix/readdir_r.c: Renamed to ...
57000         * sysdeps/posix/readdir_r.c: ... here.
57001         * sysdeps/unix/rewinddir.c: Renamed to ...
57002         * sysdeps/posix/rewinddir.c: ... here.
57003         * sysdeps/unix/seekdir.c: Renamed to ...
57004         * sysdeps/posix/seekdir.c: ... here.
57005         * sysdeps/unix/telldir.c: Renamed to ...
57006         * sysdeps/posix/telldir.c: ... here.
57007         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57008         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57009         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57010         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57012         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57013         * bits/fcntl.h: ... here.
57015         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57016         not 0.
57017         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57018         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57019         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57020         (struct flock): Move l_start, l_len to the beginning.
57021         Use __pid_t for l_pid.
57022         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57023         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57024         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57025         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57026         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57027         [__USE_LARGEFILE64] (struct flock64): New type.
57028         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57030         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57031         * bits/dirent.h: ... here.
57033         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57034         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57036 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57039         Change from 2.6.0 to 2.6.16.
57040         * sysdeps/unix/sysv/linux/configure: Regenerated.
57041         * sysdeps/unix/sysv/linux/kernel-features.h
57042         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57043         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57044         version.
57045         (__ASSUME_UTIMES): Likewise.
57046         (__ASSUME_CLONE_STOPPED): Remove.
57047         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57048         architectures, not kernel version.
57049         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57050         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57051         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57052         (__ASSUME_WAITID_SYSCALL): Likewise.
57053         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57054         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57055         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57056         refer to older versions.
57058 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57060         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57061         Define alphasort64 as an alias.
57062         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57063         Define versionsort64 as an alias.
57064         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57065         Define scandir64 as an alias.
57066         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57067         Define scandirat64 as an alias.
57068         * dirent/alphasort64.c (alphasort64):
57069         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57070         * dirent/versionsort64.c: Likewise.
57071         * dirent/scandir64.c: Likewise.
57072         * dirent/scandirat64.c: Likewise.
57073         * sysdeps/wordsize-64/alphasort.c: File removed.
57074         * sysdeps/wordsize-64/alphasort64.c: File removed.
57075         * sysdeps/wordsize-64/scandir.c: File removed.
57076         * sysdeps/wordsize-64/scandir64.c: File removed.
57077         * sysdeps/wordsize-64/scandirat.c: File removed.
57078         * sysdeps/wordsize-64/scandirat64.c: File removed.
57079         * sysdeps/wordsize-64/versionsort.c: File removed.
57080         * sysdeps/wordsize-64/versionsort64.c: File removed.
57081         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57082         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57083         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57084         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57085         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57086         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57087         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57088         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57090         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57091         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57092         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57093         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57094         [defined __arch64__ || defined __sparcv9]
57095         (__INO_T_MATCHES_INO64_T): New macro.
57096         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57097         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57098         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57099         * sysdeps/unix/sysv/linux/bits/dirent.h
57100         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57101         (_DIRENT_MATCHES_DIRENT64): New macro.
57103         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57104         Define lockf64 as an alias.
57105         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57106         Define fseeko64 as an alias.
57107         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57108         Define ftello64 as an alias.
57109         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57110         Define _IO_fgetpos64 and fgetpos64 as aliases.
57111         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57112         Define _IO_fsetpos64 and fsetpos64 as aliases.
57113         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57114         Conditionalize body on this.
57115         * libio/fseeko64.c: Likewise.
57116         * libio/ftello64.c: Likewise.
57117         * libio/iofgetpos64.c: Likewise.
57118         * libio/iofsetpos64.c: Likewise.
57119         * sysdeps/wordsize-64/lockf.c: File removed.
57120         * sysdeps/wordsize-64/lockf64.c: File removed.
57121         * sysdeps/wordsize-64/fseeko.c: File removed.
57122         * sysdeps/wordsize-64/fseeko64.c: File removed.
57123         * sysdeps/wordsize-64/ftello.c: File removed.
57124         * sysdeps/wordsize-64/ftello64.c: File removed.
57125         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57126         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57127         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57128         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57129         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57130         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57131         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57132         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57133         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57134         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57136         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57137         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57138         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57140         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57141         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57142         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57144         [defined __arch64__ || defined __sparcv9]
57145         (__OFF_T_MATCHES_OFF64_T): New macro.
57146         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57147         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57149         (__OFF_T_MATCHES_OFF64_T): New macro.
57151 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57153         * stdlib/secure-getenv.c (__secure_getenv): Replace
57154         GLIBC_2_16 with GLIBC_2_17.
57156 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57158         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57159         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57161 2012-08-03  David S. Miller  <davem@davemloft.net>
57163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57165 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57167         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57168         Remove.
57169         (__ASSUME_CORRECT_SI_PID): Likewise.
57170         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57171         (__ASSUME_TMPFS_NAME): Likewise.
57172         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57173         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57174         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57175         (HAVE_AUX_SECURE): Make definition unconditional.
57176         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57177         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57179 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57181         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57182         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57183         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57184         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57185         __eloop_threshold instead of SYMLOOP_MAX.
57187         * sysdeps/generic/eloop-threshold.h: New file.
57188         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57189         of MAXSYMLINKS.
57190         * elf/chroot_canon.c (chroot_canon): Likewise.
57192 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57194         [BZ #13717]
57195         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57196         Change to 2.6.0 everywhere.
57197         * sysdeps/unix/sysv/linux/configure: Regenerated.
57198         * sysdeps/unix/sysv/linux/kernel-features.h
57199         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57200         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57201         kernel versions.
57202         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57203         (__ASSUME_FUTEX_REQUEUE): Remove.
57204         (__ASSUME_STATFS64): Define unconditionally.
57205         (__ASSUME_AT_SECURE): Likewise.
57206         (__ASSUME_CORRECT_SI_PID): Likewise.
57207         (__ASSUME_TGKILL): Define without depending on kernel version for
57208         i386.
57209         (__ASSUME_UTIMES): Likewise.
57210         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57211         kernel version.
57212         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57213         (__ASSUME_TMPFS_NAME): Likewise.
57214         * README: Update reference to Linux kernel versions.
57216 2012-08-02  Marek Polacek  <polacek@redhat.com>
57218         [BZ# 14150]
57219         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57220         libc_cv_asm_type_prefix with %.
57221         * configure: Regenerated.
57222         * include/libc-symbols.h: Remove comment about
57223         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57224         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57225         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57226         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57227         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57228         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57229         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57230         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57231         * elf/tst-unique2mod1.c: Likewise.
57232         * elf/tst-unique1mod2.c: Likewise.
57233         * elf/tst-unique1mod1.c: Likewise.
57234         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57235         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57236         Replace ASM_TYPE_DIRECTIVE with .type.
57237         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57238         * sysdeps/i386/sysdep.h: Likewise.
57239         * sysdeps/x86_64/sysdep.h: Likewise.
57240         * sysdeps/sh/sysdep.h: Likewise.
57241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57242         Do not define ASM_TYPE_DIRECTIVE.
57243         * sysdeps/powerpc/sysdep.h: Likewise.
57244         * sysdeps/powerpc/powerpc32/sysdep.h:
57245         Replace ASM_TYPE_DIRECTIVE with .type.
57246         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57247         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57248         * sysdeps/i386/fpu/e_powf.S: Likewise.
57249         * sysdeps/i386/fpu/e_expl.S: Likewise.
57250         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57252         * sysdeps/i386/fpu/e_pow.S: Likewise.
57253         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57254         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57255         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57256         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57257         * sysdeps/i386/fpu/e_log2.S: Likewise.
57258         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57259         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57260         * sysdeps/i386/fpu/e_powl.S: Likewise.
57261         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57262         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57263         * sysdeps/i386/fpu/e_logl.S: Likewise.
57264         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57265         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57266         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57267         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57268         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57269         * sysdeps/i386/fpu/e_log.S: Likewise.
57270         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57271         * sysdeps/i386/fpu/e_logf.S: Likewise.
57272         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57273         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57274         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57275         * sysdeps/i386/fpu/e_log10.S: Likewise.
57276         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57277         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57278         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57279         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57280         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57281         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57282         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57283         * sysdeps/i386/i686/strtok.S: Likewise.
57284         * sysdeps/i386/i386-mcount.S: Likewise.
57285         * sysdeps/i386/strtok.S: Likewise.
57286         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57287         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57288         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57289         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57290         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57291         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57292         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57293         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57294         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57295         * sysdeps/x86_64/_mcount.S: Likewise.
57296         * sysdeps/x86_64/strtok.S: Likewise.
57297         * sysdeps/sh/_mcount.S: Likewise.
57299 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57301         * libio/iofopen.c: Include <fcntl.h>.
57302         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57303         (_IO_fopen64, fopen64): Define as aliases.
57304         * libio/iofopen64.c: Include <fcntl.h>.
57305         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57306         Conditionalize body on this.
57307         * sysdeps/wordsize-64/iofopen.c: File removed.
57308         * sysdeps/wordsize-64/iofopen64.c: File removed.
57310 2012-08-01  Marek Polacek  <polacek@redhat.com>
57312         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57313         Use dlfcn directly instead of a variable.
57314         (binfmt-subdir): Do not define.
57315         (dlfcn): Likewise.
57317 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57319         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57320         Remove all definitions.
57321         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57322         <kernel-features.h>.
57323         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57324         (miss_F_GETOWN_EX): Remove all definitions.
57325         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57326         macro definition.
57327         [!__ASSUME_FCNTL64]: Remove conditional code.
57328         [__ASSUME_FCNTL64]: Make code unconditional.
57329         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57330         <kernel-features.h>.
57331         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57332         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57333         (lockf64) [__NR_fcntl64]: Make code unconditional.
57334         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57336         * sysdeps/unix/sysv/linux/kernel-features.h
57337         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57338         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57339         Make code unconditional.
57340         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57341         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57343         [__NR_vfork]: Make code unconditional.
57344         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57345         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57347         [__NR_vfork]: Make code unconditional.
57348         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57349         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57351 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57353         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57354         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57356         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57357         Define mkstemp64 as an alias.
57358         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57359         Define mkstemps64 as an alias.
57360         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57361         Define mkostemp64 as an alias.
57362         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57363         Define mkostemps64 as an alias.
57364         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57365         Conditionalize body on this.
57366         * misc/mkostemp64.c: Likewise.
57367         * misc/mkostemps64.c: Likewise.
57368         * misc/mkstemps64.c: Likewise.
57369         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57370         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57371         * sysdeps/wordsize-64/mkostemp.c: File removed.
57372         * sysdeps/wordsize-64/mkstemp.c: File removed.
57373         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57374         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57375         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57376         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57378         [BZ #14138]
57379         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57380         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57381         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57382         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57384         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57385         compat_symbol macros from <shlib-compat.h> rather than the underlying
57386         default_symbol_version and symbol_version macros, so that DEFAULT
57387         lines in shlib-versions are respected.
57388         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57390 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57392         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57393         Declare with warn_unused_result.
57394         (setgid, setregid, setegid, setresgid): Likewise.
57395         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57396         Likewise.
57397         * WUR-REPORT: Remove set*id functions.
57399 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57401         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57403 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57405         [BZ #10191]
57406         * include/sys/socket.h (__libc_accept, __libc_accept4):
57407         Add attribute_hidden.
57408         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
57410         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
57411         use of PTR_MANGLE.
57412         * inet/getnetgrent_r.c (setup): Likewise.
57414         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
57416 2012-07-31  David S. Miller  <davem@davemloft.net>
57418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57420 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
57422         [BZ #13629]
57423         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
57424         value between 1.0 and 2.0 and smaller part has absolute value less
57425         than 1.0.
57426         * math/s_clog10.c (__clog10): Likewise.
57427         * math/s_clog10f.c (__clog10f): Likewise.
57428         * math/s_clog10l.c (__clog10l): Likewise.
57429         * math/s_clogf.c (__clogf): Likewise.
57430         * math/s_clogl.c (__clogl): Likewise.
57431         * math/libm-test.inc (clog_test): Add more tests.
57432         (clog10_test): Likewise.
57433         * sysdeps/i386/fpu/libm-test-ulps: Update.
57434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57436 2012-07-31  Florian Weimer  <fweimer@redhat.com>
57438         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
57439         Exit with zero in case no suitable GID is found, and write a
57440         message to standard error.
57442 2012-07-30  Roland McGrath  <roland@hack.frob.com>
57444         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
57445         rather than to 1.
57446         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
57447         (MAXPATHLEN): Removed.
57448         (NOGROUP, NODEV): New macros.
57449         (setbit, clrbit, isset, isclr): New macros.
57450         (howmany, roundup, powerof2): New macros.
57451         (DEV_BSIZE): New macro.
57453         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
57454         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
57456         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
57457         definition on [!__NO_LONG_DOUBLE_MATH].
57459         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
57460         PTR_MANGLE and PTR_DEMANGLE.
57462         * socket/accept4.c (accept4): Rename to __libc_accept4.
57463         Define accept4 as a weak alias.
57465         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
57466         on [_DIRENT_HAVE_D_TYPE].
57467         * io/ftw.c (ftw_dir): Likewise.
57469         * io/xmknod.c (__xmknod): Don't check PATH for being null.
57471         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
57473         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
57474         Use the BSD numbers rather than the arbitrary ones we had.
57475         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
57476         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
57477         (SIGXCPU, SIGXFSZ): New macros.
57478         (_NSIG): Now 32.
57480         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
57481         initializer on [_LIBC_REENTRANT].
57483         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
57484         definitions inside [_POSIX_MAPPED_FILES].
57486         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
57488         * dirent/opendir.c: Include <fcntl.h>.
57490         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
57491         (__libc_getspecific): Likewise.
57492         (__libc_key_create): Likewise.
57494         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
57495         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
57496         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
57497         (tmpfile64): Define as alias.
57498         * sysdeps/wordsize-64/tmpfile.c: File removed.
57499         * sysdeps/wordsize-64/tmpfile64.c: File removed.
57500         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
57501         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
57503         * stdio-common/vfscanf.c: Include <stdbool.h>.
57504         * nss/makedb.c: Likewise.
57505         * stdio-common/_i18n_number.h: Likewise.
57506         * argp/argp-help.c: Likewise.
57507         * posix/wordexp.c: Likewise.
57508         * sysdeps/posix/spawni.c: Likewise.
57509         * nss/nss_files/files-initgroups.c: Likewise.
57510         * stdio-common/reg-modifier.c: Include <stdlib.h>.
57511         * nss/nss_files/files-initgroups.c: Likewise.
57512         * nss/nss_db/db-netgrp.c: Likewise.
57513         * nss/nss_db/db-initgroups.c: Likewise.
57514         * io/fchmodat.c: Include <sys/stat.h>.
57516         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
57517         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
57519         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
57520         [HAVE_MMAP].
57522         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
57523         Add multiple inclusion protection.
57525 2012-07-27  David S. Miller  <davem@davemloft.net>
57527         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57529 2012-07-27  Gary Benson  <gbenson@redhat.com>
57531         [BZ #14298]
57532         * elf/rtld.c: Include <stap-probe.h>.
57533         (dl_main): Added static probes "init_start" and "init_complete".
57534         * elf/dl-load.c: Include <stap-probe.h>.
57535         (lose): Take new parameter "nsid".
57536         Added static probe "map_failed".
57537         (_dl_map_object_from_fd): Pass namespace id to lose.
57538         Added static probe "map_start".
57539         (open_verify): Pass namespace id to lose.
57540         * elf/dl-open.c: Include <stap-probe.h>.
57541         (dl_open_worker) Added static probes "map_complete", "reloc_start"
57542         and "reloc_complete".
57543         * elf/dl-close.c: Include <stap-probe.h>.
57544         (_dl_close_worker): Added static probes "unmap_start" and
57545         "unmap_complete".
57546         * elf/rtld-debugger-interface.txt: New file documenting the above.
57548 2012-07-26  Roland McGrath  <roland@hack.frob.com>
57550         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
57551         rather than a string variable.
57552         * sunrpc/rpc_main.c (h_output): Likewise.
57553         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
57555 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
57557         * inet/check_native.c: New file.
57559 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
57561         [BZ #13629]
57562         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
57563         if larger part has absolute value 1.0.
57564         * math/s_clog10.c (__clog10): Likewise.
57565         * math/s_clog10f.c (__clog10f): Likewise.
57566         * math/s_clog10l.c (__clog10l): Likewise.
57567         * math/s_clogf.c (__clogf): Likewise.
57568         * math/s_clogl.c (__clogl): Likewise.
57569         * math/libm-test.inc (clog_test): Add more tests.
57570         (clog10_test): Likewise.
57571         * sysdeps/i386/fpu/libm-test-ulps: Update.
57572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57574         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
57575         (pltexit): Likewise.
57576         (La_regs): Likewise.
57577         (La_retval): Likewise.
57578         (int_retval): Likewise.
57579         Update #error for removed macros to refer only to definitions in
57580         tst-audit.h.
57581         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
57582         macro.
57583         (pltexit): Likewise.
57584         (La_regs): Likewise.
57585         (La_retval): Likewise.
57586         (int_retval): Likewise.
57587         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
57588         macro.
57589         (pltexit): Likewise.
57590         (La_regs): Likewise.
57591         (La_retval): Likewise.
57592         (int_retval): Likewise.
57593         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
57594         macro.
57595         (pltexit): Likewise.
57596         (La_regs): Likewise.
57597         (La_retval): Likewise.
57598         (int_retval): Likewise.
57599         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
57600         macro.
57601         (pltexit): Likewise.
57602         (La_regs): Likewise.
57603         (La_retval): Likewise.
57604         (int_retval): Likewise.
57605         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
57606         macro.
57607         (pltexit): Likewise.
57608         (La_regs): Likewise.
57609         (La_retval): Likewise.
57610         (int_retval): Likewise.
57611         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
57612         macro.
57613         (pltexit): Likewise.
57614         (La_regs): Likewise.
57615         (La_retval): Likewise.
57616         (int_retval): Likewise.
57617         * sysdeps/generic/tst-audit.h: Update comment to refer only to
57618         macro definitions in tst-audit.h.
57619         * sysdeps/i386/tst-audit.h: New file.
57620         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
57621         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
57622         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
57623         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
57624         * sysdeps/sh/tst-audit.h: Likewise.
57625         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
57626         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
57627         * sysdeps/x86_64/tst-audit.h: Likewise.
57629 2012-07-26  Andreas Jaeger  <aj@suse.de>
57631         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
57632         ptrace.
57634         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
57635         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
57636         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
57637         PTRACE_O_MASK.
57638         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
57639         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
57640         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
57642         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
57643         value.
57645         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
57646         _sigsys.
57647         (si_call_addr, si_syscall, si_arch): Define new macro.
57648         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
57649         _sigsys.
57650         (si_call_addr, si_syscall, si_arch): Define new marcro.
57651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
57652         _sigsys.
57653         (si_call_addr, si_syscall, si_arch): Define new macro.
57654         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
57655         _sigsys.
57656         (si_call_addr, si_syscall, si_arch): Define new macro.
57658 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57660         [BZ #13717]
57661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57662         Change to 2.4.21 where previously 2.4.1.
57663         * sysdeps/unix/sysv/linux/configure: Regenerated.
57664         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
57665         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
57666         Linux kernel version.
57667         (__ASSUME_STD_AUXV): Remove.
57668         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
57669         kernel version.
57670         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
57671         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
57672         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
57673         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
57674         (__ASSUME_NETLINK_SUPPORT): Likewise.
57675         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
57676         (__no_netlink_support): Remove conditional definition.
57677         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
57678         Remove.
57679         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57680         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
57681         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
57682         (if_nameindex_ioctl): Remove.
57683         (if_nameindex_netlink): Do not handle __no_netlink_support.
57684         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57685         code.
57686         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
57687         Remove conditional code.
57688         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
57689         code.
57690         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
57691         unconditional.
57692         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
57693         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
57694         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
57695         Remove.
57696         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
57697         [!__ASSUME_STD_AUXV]: Remove conditional code.
57698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
57699         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
57700         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
57701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
57702         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
57703         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57704         code.
57705         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57707         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
57708         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57709         conditional code.
57710         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
57711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
57712         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
57713         code.
57714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57715         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
57716         conditional code.
57717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
57718         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57719         code unconditional.
57720         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57721         conditional code.
57722         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57723         unconditional.
57724         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57725         conditional code.
57726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57727         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57728         unconditional.
57729         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57730         conditional code.
57731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
57732         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57733         code unconditional.
57734         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57735         conditional code.
57736         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57737         unconditional.
57738         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57739         conditional code.
57740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
57741         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
57742         code unconditional.
57743         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57744         conditional code.
57745         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
57746         unconditional.
57747         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
57748         conditional code.
57750 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
57752         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
57753         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
57754         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
57755         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
57756         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
57757         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
57758         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
57759         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
57760         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
57761         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
57762         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
57763         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
57764         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
57765         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
57766         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
57767         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
57768         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
57769         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
57770         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
57771         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
57772         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
57773         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
57774         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
57776 2012-07-25  Florian Weimer  <fweimer@redhat.com>
57778         * Versions.def: Add GLIBC_2.17.
57779         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
57780         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
57781         Introduce __libc_secure_getenv.
57782         * stdlib/Versions (2.17): Add secure_getenv
57783         (GLIBC_PRIVATE): Add __libc_secure_getenv.
57784         * stdlib/secure-getenv.c: Rename __secure_getenv to
57785         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
57786         symbol __secure_getenv for GLIBC_2.0.
57787         * stdlib/tst-secure-getenv.c: New.
57788         * stdlib/Makefile (tests): Add testcase.
57789         * manual/startup.texi (Environment Access): Document
57790         secure_getenv.
57791         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
57792         __libc_secure_getenv.
57793         * inet/ruserpass.c (ruserpass): Likewise.
57794         * malloc/mtrace.c (mtrace): Likewise.
57795         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
57796         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
57797         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
57798         * sysdeps/posix/tempname.c: Likewise.  Evaluate
57799         HAVE_SECURE_GETENV.
57800         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
57801         __secure_getenv to __libc_secure_getenv.
57802         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
57803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57804         Likewise.
57805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57806         Likewise.
57807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
57808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
57809         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
57811         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
57812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
57815 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
57817         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
57818         (struct La_i86_retval): Likewise.
57819         (struct La_x86_64_regs): Likewise.
57820         (struct La_x86_64_retval): Likewise.
57821         (struct La_x32_regs): Likewise.
57822         (struct La_x32_retval): Likewise.
57823         (struct La_ppc32_regs): Likewise.
57824         (struct La_ppc32_retval): Likewise.
57825         (struct La_ppc64_regs): Likewise.
57826         (struct La_ppc64_retval): Likewise.
57827         (struct La_sh_regs): Likewise.
57828         (struct La_sh_retval): Likewise.
57829         (struct La_s390_32_regs): Likewise.
57830         (struct La_s390_32_retval): Likewise.
57831         (struct La_s390_64_regs): Likewise.
57832         (struct La_s390_64_retval): Likewise.
57833         (struct La_sparc32_regs): Likewise.
57834         (struct La_sparc32_retval): Likewise.
57835         (struct La_sparc64_regs): Likewise.
57836         (struct La_sparc64_retval): Likewise.
57837         (struct audit_ifaces): Remove architecture-specific pltenter and
57838         pltexit members.
57839         * sysdeps/i386/ldsodefs.h: New file.
57840         * sysdeps/powerpc/ldsodefs.h: Likewise.
57841         * sysdeps/s390/ldsodefs.h: Likewise.
57842         * sysdeps/sh/ldsodefs.h: Likewise.
57843         * sysdeps/sparc/ldsodefs.h: Likewise.
57844         * sysdeps/x86_64/ldsodefs.h: Likewise.
57846 2012-07-25  Marek Polacek  <polacek@redhat.com>
57848         [BZ #6808]
57849         * math/libm-test.inc (yn_test): Add another test.
57850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
57851         to ERANGE when the result is +-Inf.
57852         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57853         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
57854         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
57855         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
57857 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
57859         * conform/data/time.h-data (NULL): Use macro-constant.  Require
57860         equal to 0.
57861         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
57862         clock_t.
57863         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
57865 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
57867         * configure.in <sysdeps resolving>: Correct printing
57868         Implies_before.
57869         * configure: Regenerate.
57871 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
57873         * math/w_ilogb.c: Include <limits.h>.
57874         * math/w_ilogbl.c: Likewise.
57876 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57878         * manual/lang.texi (__va_copy): Document primarily as ISO C99
57879         va_copy.  Document allowing for unavailable va_copy only as
57880         pre-C99 compatibility.
57881         * manual/string.texi (Copying and Concatenation): Use va_copy
57882         instead of __va_copy in concat example.
57884 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
57886         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
57887         (__sendto): Use create_address_port.  Initialize APORT and deallocate
57888         it if not null.
57890         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
57891         with O_NOLINK passed to __file_name_lookup.
57893         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
57894         with O_NOLINK passed to __file_name_lookup.
57896         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
57897         negative N or less than NGIDS.
57899         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
57900         type to string_t.  Set ERANGE as errno and return it if NAME is not big
57901         enough.  Use memcpy instead of strncpy.
57903 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
57905         * elf/Makefile (check-data): Remove.
57906         (localplt.data): New vpath directive.
57907         ($(objpfx)check-localplt.out): Use localplt.data from vpath
57908         instead of $(check-data).
57909         * scripts/data/localplt-generic.data: Move to ...
57910         * sysdeps/generic/localplt.data: ... here.
57911         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
57912         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
57913         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
57914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
57915         ... here.
57916         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
57917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
57918         ... here.
57919         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
57920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
57921         ... here.
57922         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
57923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
57924         ... here.
57925         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
57926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
57927         ... here.
57928         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
57929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
57930         ... here.
57932 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57934         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
57935         PPC32 and PPC64 files.
57936         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
57937         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
57939 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57941         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
57942         __makecontext_ret to ...
57943         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
57944         ... here and call exit if uc_link is NULL.  New file.
57945         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
57946         __makecontext_ret.S.
57947         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
57948         __makecontext_ret to ...
57949         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
57950         ... here and call exit if uc_link is NULL.  New file.
57951         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
57952         __makecontext_ret.S.
57954 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57956         * elf/elf.h (R_390_IRELATIVE): New definition.
57957         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
57958         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
57959         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
57960         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
57961         (elf_machine_lazy_rel): Likewise.
57962         * sysdeps/s390/dl-irel.h: New file.
57963         * sysdeps/s390/s390-64/memcpy.S: New asm code.
57964         * sysdeps/s390/s390-64/memset.S: New asm code.
57965         * sysdeps/s390/s390-64/memcmp.S: New asm code.
57966         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
57967         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
57968         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
57969         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
57970         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
57971         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
57972         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
57973         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
57974         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
57975         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
57976         * sysdeps/s390/s390-32/memcpy.S: New asm code.
57977         * sysdeps/s390/s390-32/memset.S: New asm code.
57978         * sysdeps/s390/s390-32/memcmp.S: New asm code.
57980 2012-07-17  Marek Polacek  <polacek@redhat.com>
57982         [BZ #14349]
57983         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
57984         * sysdeps/s390/s390-64/configure.in: Likewise.
57985         * sysdeps/sparc/configure.in: Likewise.
57986         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
57987         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
57988         * sysdeps/i386/configure.in: Likewise.
57989         * sysdeps/x86_64/configure.in: Likewise.
57990         * sysdeps/sh/configure.in: Likewise.
57991         * sysdeps/s390/s390-32/configure: Regenerated.
57992         * sysdeps/s390/s390-64/configure: Likewise.
57993         * sysdeps/x86_64/configure: Likewise.
57994         * sysdeps/sh/configure: Likewise.
57995         * sysdeps/powerpc/powerpc64/configure: Likewise.
57996         * sysdeps/powerpc/powerpc32/configure: Likewise.
57997         * sysdeps/sparc/configure: Likwise.
57998         * sysdeps/i386/configure: Likewise.
58000         * elf/dl-open.c: Comment fixes.
58002 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58004         * Makefile [CXX] (check-data): Remove.
58005         [CXX] (c++-types.data): New vpath directive.
58006         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58007         vpath.  Do not allow for C++ type data being missing.
58008         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58009         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58010         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58011         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58012         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58013         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58014         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58016         ... here.
58017         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58019         ... here.
58020         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58022         ... here.
58023         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58024         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58025         ... here.
58026         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58028         ... here.
58029         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58031         ... here.
58032         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58034         ... here.
58035         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58038         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58039         definitions to architecture-specific files.
58040         (TLS_IE): Likewise.
58041         (TLS_LD): Likewise.
58042         (TLS_GD): Likewise.
58043         * sysdeps/i386/tls-macros.h: New file.
58044         * sysdeps/powerpc/tls-macros.h: Likewise.
58045         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58046         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58047         * sysdeps/sh/tls-macros.h: Likewise.
58048         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58049         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58050         * sysdeps/x86_64/tls-macros.h: Likewise.
58052 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58054         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58055         zero value for regular exit case.
58057         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58058         (__start_context): Preserve zero value for regular exit case.
58060 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58061             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58063         * manual/setjmp.texi (setcontext): Clarify normal process
58064         termination when uc_link is the null pointer.
58065         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58066         exit call.
58068 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58070         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58071         preprocessor.  Test for each exception mask separately.
58073 2012-07-16  Andreas Jaeger  <aj@suse.de>
58075         * po/ru.po: Update from translation team.
58077 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58079         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58080         equal to 0.
58081         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58082         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58083         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58084         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58087 2012-07-13  Andreas Jaeger  <aj@suse.de>
58089         * po/fr.po: Update from translation team.
58091 2012-07-12  Marek Polacek  <polacek@redhat.com>
58093         [BZ #14173]
58094         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58095         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58096         loop condition.
58098 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58100         [BZ #13717]
58101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58102         Change to 2.4.1 where previously 2.4.0.
58103         * sysdeps/unix/sysv/linux/configure: Regenerated.
58104         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58105         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58106         version.
58107         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58108         (__ASSUME_AT_CLKTCK): Remove.
58109         (__ASSUME_AT_PAGESIZE): Likewise.
58110         (__ASSUME_AT_XID): Likewise.
58111         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58112         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58113         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58114         unconditionally.
58115         (HAVE_AUX_PAGESIZE): Likewise.
58116         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58117         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58118         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58120 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58122         [BZ #14307]
58123         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58124         the temporary buffer used to invoke __gethostbyname2_r,
58125         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58126         host_data / struct gaih_addrtuple.
58127         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58128         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58129         header file nss/nsswitch.h.
58130         * nss/nsswitch.h (global scope): Add definition of implementation
58131         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58132         resolv/nss_dns/dns-host.c).
58134 2012-07-11  Andreas Jaeger  <aj@suse.de>
58136         * po/fr.po: Update from translation team.
58138         * po/sv.po: Update from translation team
58139         * po/fr.po: Another update from translation team.
58141 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58143         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58144         for subnormals or multiply small sinh result by itself.
58145         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58148 2012-07-11  David S. Miller  <davem@davemloft.net>
58150         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58152 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58154         [BZ #14347]
58155         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58156         (INTERNAL_MARK): Shift it here.
58158 2012-07-10  Marek Polacek  <polacek@redhat.com>
58160         [BZ #14151]
58161         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58162         libc_cv_asm_global_directive with .globl.
58163         * configure: Regenerated.
58164         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58165         with .globl.
58166         * sysdeps/i386/configure: Regenerated.
58167         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58168         with .globl.
58169         * sysdeps/x86_64/configure: Regenerated.
58170         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58171         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58172         * elf/tst-unique2mod2.c: Likewise.
58173         * elf/tst-unique2mod1.c: Likewise.
58174         * elf/tst-unique1mod2.c: Likewise.
58175         * elf/tst-unique1mod1.c: Likewise.
58176         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58177         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58178         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58179         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58180         * sysdeps/mach/sysdep.h: Likewise.
58181         * sysdeps/i386/sysdep.h: Likewise.
58182         * sysdeps/i386/i386-mcount.S: Likewise.
58183         * sysdeps/x86_64/_mcount.S: Likewise.
58184         * sysdeps/x86_64/sysdep.h: Likewise.
58185         * sysdeps/sh/_mcount.S: Likewise.
58186         * sysdeps/sh/sysdep.h: Likewise.
58187         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58188         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58189         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58190         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58191         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58192         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58193         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58194         * locale/localeinfo.h: Likewise.
58195         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58196         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58198 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58200         [BZ #14336]
58201         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58202         system".
58203         * manual/message.texi (The Uniforum approach): Likewise.
58204         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58205         (glibc iconv Implementation): Likewise.
58207 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58209         [BZ #14337]
58210         * math/s_clog.c (__clog): Avoid scaling a value down where that
58211         could result in underflow.
58212         * math/s_clog10.c (__clog10): Likewise.
58213         * math/s_clog10f.c (__clog10f): Likewise.
58214         * math/s_clog10l.c (__clog10l): Likewise.
58215         * math/s_clogf.c (__clogf): Likewise.
58216         * math/s_clogl.c (__clogl): Likewise.
58217         * math/libm-test.inc (clog_test): Add more tests.
58218         (clog10_test): Likewise.
58219         * sysdeps/i386/fpu/libm-test-ulps: Update.
58220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58222 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58224         [BZ #14283]
58225         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58226         by 7 not 8 to examine high bit of fractional part.
58228         [BZ #14042]
58229         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58230         for call to __mcount_internal.
58231         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58232         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58233         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58235 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58237         [BZ #14154]
58238         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58239         approximation for values within 0x1p-13f of an odd multiple of
58240         pi/4.
58241         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58242         exception.  Add more tests.
58243         * sysdeps/i386/fpu/libm-test-ulps: Update.
58245         [BZ #6778]
58246         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58247         inputs and return -1 for them.  Do not check for +Inf in case not
58248         reachable for +Inf.
58249         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58250         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58251         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58252         and return -1 for them.  Do not check for +Inf in case not
58253         reachable for +Inf.
58254         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58255         define.
58256         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58257         and return -1 for them.  Do not check for +Inf in case not
58258         reachable for +Inf.
58259         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58260         spurious underflow.
58261         * sysdeps/i386/fpu/libm-test-ulps: Update.
58262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58264 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58266         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58268 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58270         [BZ #14157]
58271         [BZ #14331]
58272         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58273         could result in spurious underflow.  Scale down values above
58274         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58275         * math/s_csqrtf.c (__csqrtf): Likewise.
58276         * math/s_csqrtl.c (__csqrtl): Likewise.
58277         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58278         spurious underflow.
58279         * sysdeps/i386/fpu/libm-test-ulps: Update.
58280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58282 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58284         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58285         xopen-msg.sed.
58286         * catgets/xopen-msg.awk: New file.
58287         * catgets/xopen-msg.sed: Removed.
58289         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58290         po2text.sed.
58291         * intl/po2test.awk: New file.
58292         * intl/po2test.sed: Removed.
58294 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58296         [BZ #14328]
58297         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58298         or multiply small sinh result by itself.
58299         * math/s_ctanf.c (__ctanf): Likewise.
58300         * math/s_ctanh.c (__ctanh): Likewise.
58301         * math/s_ctanhf.c (__ctanhf): Likewise.
58302         * math/s_ctanhl.c (__ctanhl): Likewise.
58303         * math/s_ctanl.c (__ctanl): Likewise.
58304         * math/libm-test.inc (ctan_test_tonearest): New function.
58305         (ctan_test_towardzero): Likewise.
58306         (ctan_test_downward): Likewise.
58307         (ctan_test_upward): Likewise.
58308         (ctanh_test_tonearest): Likewise.
58309         (ctanh_test_towardzero): Likewise.
58310         (ctanh_test_downward): Likewise.
58311         (ctanh_test_upward): Likewise.
58312         (main): Call these new functions.
58313         * sysdeps/i386/fpu/libm-test-ulps: Update.
58314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58316 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58318         * .gitignore: Delete /ports entry.
58320 2012-07-03  Andreas Jaeger  <aj@suse.de>
58322         * po/bg.po: Update from translation team.
58323         * po/cs.po: Likewise.
58324         * po/de.po: Likewise.
58325         * po/hr.po: Likewise.
58326         * po/nl.pl: Likewise.
58327         * po/pl.po: Likewise.
58328         * po/vi.po: Likewise.
58330 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58332         * Makeconfig [!+link] (+link-before-libc): New variable.
58333         [!+link] (+link-after-libc): Likewise.
58334         [!+link] (+link-tests): Likewise.
58335         [!+link] (+link): Define in terms of $(+link-before-libc) and
58336         $(+link-after-libc).
58337         [!+link-static] (+link-static-before-libc): New variable.
58338         [!+link-static] (+link-static-after-libc): Likewise.
58339         [!+link-static] (+link-static-tests): Likewise.
58340         [!+link-static] (+link-static): Define in terms of
58341         $(+link-static-before-libc) and $(+link-static-after-libc).
58342         [build-shared] (link-libc-before-gnulib): New variable.
58343         [build-shared] (link-libc-tests): Likewise.
58344         [build-shared] (link-libc): Define in terms of
58345         $(link-libc-before-gnulib).
58346         [!build-shared] (link-libc-tests): New variable.
58347         (link-libc-static-tests): New variable.
58348         [!gnulib] (gnulib-arch): New variable.
58349         [!gnulib] (gnulib-tests): Likewise.
58350         [!gnulib] (static-gnulib-arch): Likewise.
58351         [!gnulib] (static-gnulib-tests): Likewise.
58352         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58353         Define with "=" instead of ":=".
58354         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58355         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58356         * Rules (binaries-all-notests): New variable.
58357         (binaries-all-tests): Likewise.
58358         (binaries-static-notests): Likewise.
58359         (binaries-static-tests): Likewise.
58360         (binaries-all): Define using $(binaries-all-notests) and
58361         $(binaries-all-tests).
58362         (binaries-static): Define using $(binaries-static-notests) and
58363         $(binaries-static-tests).
58364         (binaries-shared-tests): New variable.
58365         (binaries-shared-notests): Likewise.
58366         (binaries-shared): Remove variable.
58367         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58368         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58369         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58370         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58371         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58372         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58373         * elf/Makefile (sln-modules): New variable.
58374         (extra-objs): Add $(sln-modules:=.o).
58375         (ldconfig-modules): Add static-stubs.
58376         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58377         * elf/static-stubs.c: New file.
58379         [BZ #14283]
58380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58381         by 7 not 8 to examine high bit of fractional part.  Use volatile
58382         variables when splitting into final array of floats if
58383         __FLT_EVAL_METHOD__ != 0.
58384         * math/libm-test.inc (cos_test): Add another test.
58385         (sin_test): Likewise.
58386         * sysdeps/i386/fpu/libm-test-ulps: Update.
58388         [BZ #14273]
58389         * math/libm-test.inc (cosh_test): Add more tests.
58391         * version.h (RELEASE): Set to "development".
58392         (VERSION): Set to "2.16.90".
58394 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58396         * NEWS: Update copyright. Remove last-updated date.
58397         Mention math library bug fixes and timezone data changes.
58398         * README: Mention GNU/Hurd, x32, and HPPA support status.
58400 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58402         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58404 2012-06-27  Andreas Jaeger  <aj@suse.de>
58406         * manual/contrib.texi (Contributors): Add Samuel Thibault.
58408 2012-06-25  Andreas Jaeger  <aj@suse.de>
58410         * sysdeps/s390/fpu/libm-test-ulps: Update.
58412 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
58413             Thomas Schwinge  <thomas@codesourcery.com>
58415         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
58416         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
58417         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
58418         fanotify_mark.
58420 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
58422         * sysdeps/mach/start.c: Remove file.
58423         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
58424         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
58425         * sysdeps/sh/init-first.c: Likewise.
58427         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
58428         registers for frame unwinding purposes, add CFI directives.
58429         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58430         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
58431         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
58432         Likewise.
58434         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
58435         __fortify_fail returning.
58436         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
58438         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
58439         sysdeps/sh/____longjmp_chk.S.
58440         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
58441         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
58442         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
58443         (gen-as-const-headers): Append sigaltstack-offsets.sym.
58445         * sysdeps/sh/abort-instr.h: New file.
58446         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
58447         process in case exit returns.
58449         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
58450         initialize the GOT register before use.
58452         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
58453         calculation of ARGC > 4.
58455         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
58456         meaningful names to some local labels.
58458 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
58459             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58461         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
58462         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
58463         (__arch_compare_and_exchange_val_16_acq): Likewise.
58464         (__arch_compare_and_exchange_val_32_acq): Likewise.
58465         (atomic_exchange_and_add): Fix gUSA sequence.
58466         (atomic_add): Likewise.
58467         (atomic_add_negative): Likewise.
58468         (atomic_add_zero): Likewise.
58469         (atomic_bit_test_set): Likewise.
58471 2012-06-22  Andreas Schwab  <schwab@redhat.com>
58473         [BZ #13579]
58474         * include/link.h (struct link_map): Add l_free_initfini.
58475         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
58476         l_initfini.
58477         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
58478         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
58479         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
58480         set.
58482 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
58484         * configure.in: Use AC_LANG_SOURCE.
58485         * configure: Regenerate.
58487 2012-06-22  Roland McGrath  <roland@hack.frob.com>
58489         * configure.in (libc_cv_localstatedir): New substituted variable.
58490         * configure: Regenerated.
58491         * config.make.in (localstatedir): New variable, substituted from
58492         libc_cv_localstatedir.
58493         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
58494         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
58495         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
58496         * sysdeps/gnu/configure: Regenerated.
58498 2012-06-21  Jeff Law  <law@redhat.com>
58500         [BZ #14277]
58501         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
58502         free.  Simplify list management for _LIBC case.
58504 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
58506         [BZ #14273]
58507         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
58508         Clear sign bit of 64-bit integer value before comparing against
58509         overflow value.
58511         * sysdeps/mach/configure: Regenerated.
58513 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
58515         [BZ #14278]
58516         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
58518 2012-06-21  Jeff Law  <law@redhat.com>
58520         [BZ #13882]
58521         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
58522         uint16_t for elements in the "seen" array to avoid char overflows.
58523         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58524         * elf/dl-open.c (dl_open_worker): Likewise.
58526 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
58528         * scripts/list-sources.sh: Scan PORTS for translations.
58529         * po/libc.pot: Regenerated.
58531 2012-06-21  Andreas Jaeger  <aj@suse.de>
58533         [BZ #12194]
58534         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
58535         warning.
58536         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
58537         * bits/byteswap-16.h (__bswap_16): Likewise.
58538         * bits/byteswap.h (__bswap_constant_16): Likewise.
58540 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
58542         [BZ #14117]
58543         * sysdeps/i386/fpu_control.h: Removed.
58544         * sysdeps/x86_64/fpu_control.h: Moved to ...
58545         * sysdeps/x86/fpu_control.h: Here.
58547         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
58548         (_FPU_SETCW): Likewise.
58550 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
58552         [BZ #14117]
58553         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
58554         * sysdeps/x86/fpu/bits/mathinline.h: This.
58555         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
58557         [BZ #14050]
58558         [BZ #14117]
58559         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
58560         functions if __x86_64__ is defined.
58562 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
58564         * string/endian.h: Add !__ASSEMBLER__ condition for including
58565         conversion interfaces.
58567 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
58569         [BZ #14241]
58570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
58571         of ABS(x) in calculating zero to negative powers other than odd
58572         integers.
58573         * math/libm-test.inc (pow_test): Add more tests.
58575 2012-06-15  Andreas Jaeger  <aj@suse.de>
58577         * manual/contrib.texi (Contributors): Update entry of Liubov
58578         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
58579         Machado Filho.
58581 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
58583         * string/string.h: Add __wur to GNU version of strerror_r.
58585 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
58587         [BZ #14229]
58588         * string/Makefile (tests): Add tst-strtok_r.
58589         * string/tst-strtok_r.c: New file.
58590         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
58591         RAX_LP/RDX_LP on SAVE_PTR.
58593 2012-06-14  Roland McGrath  <roland@hack.frob.com>
58595         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
58597 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
58599         * libm_test.inc (csqrt_test): Allow more spurious underflow
58600         exceptions.
58601         (j0_test): Likewise.
58602         (j1_test): Likewise.
58603         (y0_test): Likewise.
58604         (y1_test): Likewise.
58606 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
58608         * po/Makefile (libc.pot): Use UTF-8 charset.
58610 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
58612         [BZ #14210]
58613         Suppress sign-conversion warning from FD_SET.
58614         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
58615         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
58616         not unsigned long int.
58617         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
58619 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
58621         [BZ #14050]
58622         [BZ #14117]
58623         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
58624         __extern_always_inline instead of __extern_inline.
58625         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
58626         (__signbit): Likewise.
58627         (__signbitl): Support C++ namespace.
58628         (lrintf): New inline function.
58629         (lrint): Likewise.
58630         (llrintf): Likewise.
58631         (llrint): Likewise.
58632         (fmaxf): Likewise.
58633         (fmax): Likewise.
58634         (fminf): Likewise.
58635         (fmin): Likewise.
58636         (rint): Likewise.
58637         (rintf): Likewise.
58638         (ceil): Likewise.
58639         (ceilf): Likewise.
58640         (floor): Likewise.
58641         (floorf): Likewise.
58642         (nearbyint): Likewise.
58643         (nearbyintf): Likewise.
58645 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
58647         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
58648         non-default versions.
58650 2012-06-11  Roland McGrath  <roland@hack.frob.com>
58652         [BZ #14218]
58653         * manual/argp.texi (Argp): Reword argp_parse description slightly.
58655 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
58657         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
58658         (FE_UPWARD, FE_DOWNWARD): Don't define.
58659         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
58660         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
58662         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
58663         reading it.
58664         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
58665         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
58667 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58669         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
58670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
58671         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
58672         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
58674 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
58676         [BZ #14117]
58677         * sysdeps/i386/fpu/bits/fenv.h: Removed.
58678         * sysdeps/i386/fpu/Implies: New file.
58679         * sysdeps/x86_64/fpu/Implies: Likewise.
58680         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
58681         * sysdeps/x86/fpu/bits/fenv.h: This.
58683         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
58684         __SSE_MATH__.
58686 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58688         [BZ #14134]
58689         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
58690         character 0xffff that matches the last element of the
58691         conversion table.
58693 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58695         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
58696         fmodl commit.
58698 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58700         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
58701         values higher than 25.6283.
58703 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58705         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
58706         subnormal exponent extraction and add some __builtin_expect.
58707         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
58708         Fix for subnormal mantissa calculation.
58710 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
58712         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
58713         cpu2 is -1 and errno is not ENOSYS.
58715 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
58717         [BZ #14117]
58718         * sysdeps/i386/i486/bits/string.h: Renamed to ...
58719         * sysdeps/x86/bits/string.h: This.
58720         * sysdeps/x86_64/bits/string.h: Removed.
58722         * sysdeps/i386/i486/bits/string.h: Define inline functions only
58723         if not compiling for x86-64, but compiling for >= i486.
58725         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
58726         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
58728         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
58729         New macro from Linux kernel 3.4.0.
58730         (FP_XSTATE_MAGIC2): Likewise.
58731         (FP_XSTATE_MAGIC2_SIZE): Likewise.
58732         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
58733         (struct _fpx_sw_bytes): New struct.
58734         (struct _xsave_hdr): Likewise.
58735         (struct _ymmh_state): Likewise.
58736         (struct _xstate): Likewise.
58738         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
58739         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
58740         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
58741         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
58742         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
58743         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
58745         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
58746         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
58747         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
58748         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
58749         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
58750         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
58752 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58754         [BZ #13743]
58755         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
58756         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
58757         (sysdep_headers): Include sys/platform/ppc.h.
58758         * sysdeps/powerpc/test-gettimebase.c: Test for
58759         __ppc_get_timebase() to catch future ISA opcode/insn changes.
58760         * manual/Makefile (appendices): Include platform.texi.
58761         * manual/contrib.texi (Contributors): Update @node pointers.
58762         * manual/maint.texi (Maintenance): Likewise.
58763         (Platform): New node.
58764         * manual/platform.texi: New file.  Document the new features.
58766 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58767             Jakub Jelinek  <jakub@redhat.com>
58769         [BZ #14188]
58770         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
58771         where __builtin_expect is unavailable.
58773 2012-06-03  David S. Miller  <davem@davemloft.net>
58775         * stdlib/longlong.h: Updated from GCC.
58777 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
58779         [BZ #14042]
58780         * sysdeps/powerpc/powerpc32/mcount.c: New file.
58781         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
58782         __mcount_internal.
58783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
58784         (GLIBC_2.16): Likewise.
58786 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58788         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
58790 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
58793         (default-abi): New variable.
58794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
58795         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
58796         variable.
58797         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
58798         Likewise.
58799         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
58800         Likewise.
58801         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
58802         Likewise.
58804         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
58805         definition.  Document in comment.
58807 2012-06-01  David S. Miller  <davem@davemloft.net>
58809         * stdlib/longlong.h: Updated from GCC.
58811 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58813         [BZ #14117]
58814         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
58815         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
58816         sys/debugreg.h sys/io.h here.
58817         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
58818         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
58819         sys/io.h.
58820         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
58821         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
58822         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
58823         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
58824         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
58825         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
58827         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
58828         Define only if __x86_64__ is defined.
58830 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
58832         [BZ #14048]
58833         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
58834         Use int64_t for variable i.
58835         * math/libm-test.inc (fmod_test): Add more tests.
58837         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
58838         z computation is not scheduled after fetestexcept.
58839         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
58840         Use math_force_eval instead of asm to ensure calculation scheduled
58841         before exception test.
58842         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
58843         Ensure a1 + u.d computation is not scheduled after fetestexcept.
58845 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
58847         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
58848         computation is not scheduled after fetestexcept.
58850 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
58852         [BZ #14117]
58853         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
58854         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
58856 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58858         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
58859         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
58861 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58863         [BZ #14117]
58864         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
58865         <bits/wordsize.h>.
58866         (__WCHAR_MIN): Support __WORDSIZE == 64.
58867         (__WCHAR_MAX): Likewise.
58869         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
58870         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
58872         [BZ #14183]
58873         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
58874         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
58876         [BZ #14117]
58877         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
58878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
58880         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
58881         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
58883         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
58884         Defined to 1 if __x86_64__ isn't defined.
58885         (_STAT_VER_LINUX_OLD): New.
58886         (st_atime): Remove duplicate.
58887         (st_mtime): Likewise.
58888         (st_ctime): Likewise.
58890 2012-05-31  David S. Miller  <davem@davemloft.net>
58892         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
58893         entries.
58895 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
58897         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
58898         gen-libm-test.pl.
58900         [BZ #14132]
58901         * elf/dl-reloc.c: Include <_itoa.h>.
58902         (_dl_reloc_bad_type): Remove use of INTUSE.
58903         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
58904         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
58905         * stdio-common/psiginfo.c (psiginfo): Likewise.
58906         * stdio-common/psignal.c (psignal): Likewise.
58907         * string/strsignal.c (strsignal): Likewise.
58908         * include/signal.h (_sys_siglist): Declare hidden proto.
58909         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
58910         INTVARDEF with libc_hidden_data_def.
58911         * stdio-common/itoa-udigits.c: Likewise.
58912         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
58913         (_itoa_lower_digits_internal): Remove declaration.
58914         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
58915         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
58916         (_sys_sigabbrev_internal): Remove aliases.
58917         (_sys_siglist): Define hidden alias.
58919 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
58921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58922         bits/sysctl.h.
58924 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
58926         [BZ #14117]
58927         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
58928         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
58930         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
58931         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
58932         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
58933         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
58934         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
58935         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
58937         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
58938         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
58939         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
58941         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
58942         with __addr.
58943         (insw): Likewise.
58944         (insl): Likewise.
58945         (outsb): Likewise.
58946         (outsw): Likewise.
58947         (outsl): Likewise.
58949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
58950         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
58951         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
58953         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
58954         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
58955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
58956         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
58957         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
58958         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
58960         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
58961         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
58963         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
58964         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
58966         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
58967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
58968         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
58970         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
58971         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
58972         to ...
58973         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
58975         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58976         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
58977         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
58979         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
58980         for x86-64.
58981         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
58983 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
58985         * math/math.h (M_El): Use two more decimal places.
58986         (M_LOG2El): Likewise.
58987         (M_LOG10El): Likewise.
58988         (M_LN2l): Likewise.
58989         (M_LN10l): Likewise.
58990         (M_PIl): Likewise.
58991         (M_PI_2l): Likewise.
58992         (M_PI_4l): Likewise.
58993         (M_1_PIl): Likewise.
58994         (M_2_PIl): Likewise.
58995         (M_2_SQRTPIl): Likewise.
58996         (M_SQRT2l): Likewise.
58997         (M_SQRT1_2l): Likewise.
58999 2012-05-31  David S. Miller  <davem@davemloft.net>
59001         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59002         values between float registers.
59003         * sysdeps/sparc/sparc64/memset.S: Likewise.
59004         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59006 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59008         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59009         -D_FORTIFY_SOURCE=1.
59010         (CPPFLAGS-tst-longjmp_chk.c): Define.
59011         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59012         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59013         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59014         CFLAGS-tst-wchar-h.c.
59016 2012-05-31  Marek Polacek  <polacek@redhat.com>
59018         [BZ #14132]
59019         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59020         __endmntent_internal): Remove declaration.
59021         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59022         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59023         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59025 2012-05-30  David S. Miller  <davem@davemloft.net>
59027         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59028         (___Q_simulate_exceptions): Use real FP ops rather than writing
59029         into the %fsr.
59030         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59031         Likewise.
59033 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59035         [BZ #14117]
59036         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59037         * sysdeps/x86/bits/xtitypes.h: This.
59039         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59040         * sysdeps/x86/bits/wordsize.h: This.
59042         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59043         * sysdeps/x86/bits/huge_vall.h: This.
59045         * sysdeps/i386/bits/select.h: Removed.
59046         * sysdeps/x86_64/bits/select.h: Renamed to ...
59047         * sysdeps/x86/bits/select.h: This.
59049         * sysdeps/i386/bits/setjmp.h: Removed.
59050         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59051         * sysdeps/x86/bits/setjmp.h: This.
59053         * sysdeps/i386/bits/mathdef.h: Removed.
59054         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59055         * sysdeps/x86/bits/mathdef.h: This.
59057 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59059         [BZ #14132]
59060         * include/sys/socket.h (__connect_internal)
59061         (__libc_sa_len_internal): Remove declaration.
59062         (__connect, __libc_sa_len): Declare hidden_proto.
59063         (SA_LEN): Remove use of INTUSE.
59064         * socket/connect.c: Add libc_hidden_def.
59065         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59066         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59067         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59068         alias.
59069         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59070         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59071         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59072         of adding _internal alias.
59074 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59076         [BZ #14117]
59077         * sysdeps/i386/bits/link.h: Removed.
59078         * sysdeps/i386/bits/linkmap.h: Likewise.
59079         * sysdeps/x86_64/bits/link.h: Renamed to ...
59080         * sysdeps/x86/bits/link.h: This.
59081         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59082         * sysdeps/x86/bits/linkmap.h: This.
59084         * sysdeps/i386/bits/endian.h: Removed.
59085         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59086         * sysdeps/x86/bits/endian.h: This.
59088         * sysdeps/i386/bits/byteswap.h: Removed.
59089         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59090         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59091         * sysdeps/x86/bits/byteswap.h: This.
59092         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59093         * sysdeps/x86/bits/byteswap-16.h: This.
59094         * sysdeps/i386/Implies: Add x86.
59095         * sysdeps/x86_64/Implies: Likewise.
59097 2012-05-30  David S. Miller  <davem@davemloft.net>
59099         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59100         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59101         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59102         (FP_TRAPPING_EXCEPTIONS): Define.
59103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59104         (FP_TRAPPING_EXCEPTIONS): Define.
59105         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59106         subnormals only when inexact has been signalled or underflow
59107         exceptions are enabled.
59108         (_FP_PACK_CANONICAL): Likewise.
59110 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59112         [BZ #14183]
59113         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59114         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59116 2012-05-30  Richard Henderson  <rth@twiddle.net>
59118         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59119         with #ifndef NOT_IN_libc.
59121         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59122         marked to avoid plt entry.
59124 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59126         [BZ #14112]
59127         * Makeconfig (default-abi): New macro.
59128         (abi-includes): Likewise.
59129         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59130         $(abi-$(default-abi)-lib-soname) for soname if defined.
59131         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59132         abi-variants.
59133         * Makefile (installed-stubs): Likewise.
59134         * include/stubs-biarch.h: Removed.
59135         * scripts/lib-names.awk: Only handle one library at a time.
59136         * scripts/soversions.awk: Remove WORDSIZE support.
59137         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59138         entries.
59139         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59140         Removed.
59141         (syscall-list-default-condition): Likewise.
59142         (syscall-list-default-condition): Likewise.
59143         (syscall-list-includes): Likewise.
59144         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59145         syscall-list-* with abi-*.  Handle undefined abi-variants.
59146         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59147         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59148         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59149         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59150         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59151         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59152         Removed.
59153         (syscall-list-32-options): Likewise.
59154         (syscall-list-32-condition): Likewise.
59155         (syscall-list-64-options): Likewise.
59156         (syscall-list-64-condition): Likewise.
59157         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59158         macro.
59159         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59160         Renamed to ...
59161         (abi-*): This.
59162         (abi-64-ld-soname): New macro.
59163         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59164         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59165         Renamed to ...
59166         (abi-*): This.
59167         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59168         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59170 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59172         * sysdeps/unix/sysv/linux/kernel-features.h
59173         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59174         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59175         include <kernel-features.h>.
59176         [!__NR_ftruncate64]: Remove conditional code.
59177         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59178         [__NR_ftruncate64]: Make code unconditional.
59179         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59180         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59181         include <kernel-features.h>.
59182         [!__NR_ftruncate64]: Remove conditional code.
59183         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59184         [__NR_ftruncate64]: Make code unconditional.
59185         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59187         include <kernel-features.h>.
59188         [!__NR_ftruncate64]: Remove conditional code.
59189         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59190         [__NR_ftruncate64]: Make code unconditional.
59191         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59193         include <kernel-features.h>.
59194         [!__NR_ftruncate64]: Remove conditional code.
59195         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59196         [__NR_ftruncate64]: Make code unconditional.
59197         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59199         * configure.in (libc_cv_fpie): Weaken to a compile test using
59200         LIBC_TRY_CC_OPTION.
59201         * configure: Regenerated.
59203 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59209         Refreshed.
59210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59216         Refreshed.
59218 2012-05-27  David S. Miller  <davem@davemloft.net>
59220         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59221         (___Q_zero): New.
59222         (__Q_simulate_exceptions): Return void.  Change to simulate
59223         exceptions by writing into the %fsr.
59224         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59225         (__Qp_handle_exceptions): Likewise.
59226         (numbers): Delete.
59227         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59228         __Qp_handle_exceptions.
59229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59230         __Qp_handle_exceptions.
59231         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59232         as unused and give dummy FP_RND_NEAREST initializer.
59233         (FP_INHIBIT_RESULTS): Define.
59234         (___Q_simulate_exceptions): Update declaration.
59235         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59236         formatting.
59237         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59238         as unused and give dummy FP_RND_NEAREST initializer.
59239         (__Qp_handle_exceptions): Update declaration.
59240         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59241         formatting.
59243 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59245         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59246         the temporary FPU control word.
59247         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59248         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59250         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59252         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59253         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59254         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59255         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59256         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59257         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59259 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59261         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59262         fields.
59264 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59266         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59267         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59268         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59269         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59270         Likewise.
59271         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59272         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59273         Likewise.
59275 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59277         * po/h.po: Update from translation team.
59279 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59281         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59283         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59284         handling of denormals.
59285         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59286         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59287         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59288         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59289         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59291         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59292         Likewise.
59294 2012-05-26  Marek Polacek  <polacek@redhat.com>
59296         [BZ #14152]
59297         * math/libm-test.inc (fma_test): Don't always expect underflow
59298         exception.
59300 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59302         [BZ #12416]
59303         * elf/tst-execstack.c: Include stackinfo.h.
59304         (do_test): Adjust test case to ensure that pthread_getattr_np
59305         behaviour remains the same after marking stack executable.
59307 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59309         * sysdeps/unix/sysv/linux/kernel-features.h
59310         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59311         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59312         kernel-features.h.
59313         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59314         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59315         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59316         kernel-features.h.
59317         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59318         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59320 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59322         * configure.in: Define the default includes to being none.
59323         * configure: Regenerated.
59325 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59327         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59328         * sysdeps/x86_64/setjmp.S: Likewise.
59329         * sysdeps/i386/bsd-setjmp.S: Likewise.
59330         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59331         * sysdeps/i386/setjmp.S: Likewise.
59332         * sysdeps/i386/__longjmp.S: Likewise.
59333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59334         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59336         * include/stap-probe.h: New file.
59337         * configure.in: Handle --enable-systemtap.
59338         * configure: Regenerated.
59339         * config.h.in (USE_STAP_PROBE): New #undef.
59340         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59341         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59342         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59344 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59346         [BZ #13717]
59347         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59348         to 2.4.0 where earlier.
59349         * sysdeps/unix/sysv/linux/configure: Regenerated.
59350         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
59351         <kernel-features.h>.
59352         [__ASSUME_32BITUIDS]: Make code unconditional.
59353         [!__ASSUME_32BITUIDS]: Remove conditional code.
59354         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
59355         <kernel-features.h>.
59356         [__ASSUME_32BITUIDS]: Make code unconditional.
59357         [!__ASSUME_32BITUIDS]: Remove conditional code.
59358         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
59359         [__ASSUME_32BITUIDS]: Make code unconditional.
59360         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59361         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59362         <kernel-features.h>.
59363         [__ASSUME_32BITUIDS]: Make code unconditional.
59364         [!__ASSUME_32BITUIDS]: Remove conditional code.
59365         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59366         <kernel-features.h>.
59367         [__ASSUME_32BITUIDS]: Make code unconditional.
59368         [!__ASSUME_32BITUIDS]: Remove conditional code.
59369         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59370         <kernel-features.h>.
59371         [__ASSUME_32BITUIDS]: Make code unconditional.
59372         [!__ASSUME_32BITUIDS]: Remove conditional code.
59373         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59374         <kernel-features.h>.
59375         [__ASSUME_32BITUIDS]: Make code unconditional.
59376         [!__ASSUME_32BITUIDS]: Remove conditional code.
59377         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59378         <kernel-features.h>.
59379         [__ASSUME_32BITUIDS]: Make code unconditional.
59380         [!__ASSUME_32BITUIDS]: Remove conditional code.
59381         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59382         <kernel-features.h>.
59383         [__ASSUME_32BITUIDS]: Make code unconditional.
59384         [!__ASSUME_32BITUIDS]: Remove conditional code.
59385         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59386         <kernel-features.h>.
59387         [__ASSUME_32BITUIDS]: Make code unconditional.
59388         [!__ASSUME_32BITUIDS]: Remove conditional code.
59389         * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
59398         <kernel-features.h>.
59399         [__ASSUME_32BITUIDS]: Make code unconditional.
59400         [!__ASSUME_32BITUIDS]: Remove conditional code.
59401         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59402         <kernel-features.h>.
59403         [__NR_setresgid] (__setresgid): Do not declare.
59404         [__ASSUME_32BITUIDS]: Make code unconditional.
59405         [!__ASSUME_32BITUIDS]: Remove conditional code.
59406         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
59407         <kernel-features.h>.
59408         [__NR_setresuid] (__setresuid): Do not declare.
59409         [__ASSUME_32BITUIDS]: Make code unconditional.
59410         [!__ASSUME_32BITUIDS]: Remove conditional code.
59411         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
59412         <kernel-features.h>.
59413         [__ASSUME_32BITUIDS]: Make code unconditional.
59414         [!__ASSUME_32BITUIDS]: Remove conditional code.
59415         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
59416         <kernel-features.h>.
59417         [__ASSUME_32BITUIDS]: Make code unconditional.
59418         [!__ASSUME_32BITUIDS]: Remove conditional code.
59419         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
59420         <kernel-features.h>.
59421         [__ASSUME_32BITUIDS]: Make code unconditional.
59422         [!__ASSUME_32BITUIDS]: Remove conditional code.
59423         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
59424         <kernel-features.h>.
59425         [__ASSUME_32BITUIDS]: Make code unconditional.
59426         [!__ASSUME_32BITUIDS]: Remove conditional code.
59427         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
59428         <kernel-features.h>.
59429         [__ASSUME_32BITUIDS]: Make code unconditional.
59430         [!__ASSUME_32BITUIDS]: Remove conditional code.
59431         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
59432         <kernel-features.h>.
59433         [__ASSUME_32BITUIDS]: Make code unconditional.
59434         [!__ASSUME_32BITUIDS]: Remove conditional code.
59435         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
59436         <kernel-features.h>.
59437         [__ASSUME_32BITUIDS]: Make code unconditional.
59438         [!__ASSUME_32BITUIDS]: Remove conditional code.
59439         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
59440         <kernel-features.h>.
59441         [__ASSUME_32BITUIDS]: Make code unconditional.
59442         [!__ASSUME_32BITUIDS]: Remove conditional code.
59443         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
59444         <kernel-features.h>.
59445         [__ASSUME_32BITUIDS]: Make code unconditional.
59446         [!__ASSUME_32BITUIDS]: Remove conditional code.
59447         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
59448         <kernel-features.h>.
59449         [__ASSUME_32BITUIDS]: Make code unconditional.
59450         [!__ASSUME_32BITUIDS]: Remove conditional code.
59451         * sysdeps/unix/sysv/linux/kernel-features.h
59452         (__ASSUME_SETRESUID_SYSCALL): Remove.
59453         (__ASSUME_SETRESGID_SYSCALL): Likewise.
59454         (__ASSUME_32BITUIDS): Likewise.
59455         (__ASSUME_LDT_WORKS): Likewise.
59456         (__ASSUME_O_DIRECTORY): Likewise.
59457         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
59458         architecture but not kernel version.
59459         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
59460         (__ASSUME_MMAP2_SYSCALL): Likewise.
59461         (__ASSUME_STAT64_SYSCALL): Likewise.
59462         (__ASSUME_IPC64): Likewise.
59463         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
59464         <kernel-features.h>.
59465         [__ASSUME_32BITUIDS]: Make code unconditional.
59466         [!__ASSUME_32BITUIDS]: Remove conditional code.
59467         * sysdeps/unix/sysv/linux/opendir.c: Do not include
59468         <kernel-features.h>.
59469         [__ASSUME_O_DIRECTORY]: Make code unconditional.
59470         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
59471         132096]: Remove conditional code.
59472         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
59473         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
59474         <kernel-features.h>.
59475         [__ASSUME_32BITUIDS]: Make code unconditional.
59476         [!__ASSUME_32BITUIDS]: Remove conditional code.
59477         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
59478         <kernel-features.h>.
59479         [__ASSUME_32BITUIDS]: Make code unconditional.
59480         [!__ASSUME_32BITUIDS]: Remove conditional code.
59481         * sysdeps/unix/sysv/linux/setegid.c: Do not include
59482         <kernel-features.h>.
59483         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
59484         unconditional.
59485         (__setresgid): Do not declare.
59486         [__ASSUME_32BITUIDS]: Make code unconditional.
59487         [!__ASSUME_32BITUIDS]: Remove conditional code.
59488         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
59489         <kernel-features.h>.
59490         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
59491         unconditional.
59492         (__setresuid): Do not declare.
59493         [__ASSUME_32BITUIDS]: Make code unconditional.
59494         [!__ASSUME_32BITUIDS]: Remove conditional code.
59495         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
59496         <kernel-features.h>.
59497         [__ASSUME_32BITUIDS]: Make code unconditional.
59498         [!__ASSUME_32BITUIDS]: Remove conditional code.
59499         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
59500         <kernel-features.h>.
59501         [__ASSUME_32BITUIDS]: Make code unconditional.
59502         [!__ASSUME_32BITUIDS]: Remove conditional code.
59504 2012-05-25  Richard Henderson  <rth@twiddle.net>
59506         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
59507         dl_hwcap to ifunc resolver.
59508         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
59509         elf_ifunc_invoke.
59510         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
59511         dl_hwcap to ifunc resolver.
59512         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
59514 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59516         [BZ #14153]
59517         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
59518         for |x| <= 2**-26, not 2**-57.
59519         * math/libm-test.inc (acos_test): Do not allow spurious underflow
59520         exception.
59522 2012-05-24  Jeff Law  <law@redhat.com>
59524         * stdio-common/Makefile (tests): Add bug25.
59525         * stdio-common/bug25.c: New test.
59527 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59529         [BZ #13576]
59530         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
59531         multiple of MALLOC_ALIGNMENT in size.
59532         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
59534 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59536         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
59537         Require >= 256.
59538         (FILENAME_MAX): Use macro-int-constant.
59539         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
59540         (_IOFBF): Use macro-int-constant.
59541         (_IOLBF): Likewise.
59542         (_IONBF): Likewise.
59543         (SEEK_CUR): Likewise.
59544         (SEEK_END): Likewise.
59545         (SEEK_SET): Likewise.
59546         (TMP_MAX): Likewise.
59547         (EOF): Use macro-int-constant.  Require < 0.
59548         (NULL): Use macro-constant.  Require == 0.
59549         (stdin): Require type to be FILE *.
59550         (stdout): Likewise.
59551         (stderr): Likewise.
59552         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
59553         macro-int-constant.
59554         (EXIT_SUCCESS): Likewise.
59555         (NULL): Use macro-constant.  Require == 0.
59556         (RAND_MAX): Use macro-int-constant.
59557         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
59558         [C99-based standards] (strtof): Require function.
59559         [C99-based standards] (strtold): Likewise.
59560         [C99-based standards] (strtoll): Likewise.
59561         [C99-based standards] (strtoull): Likewise.
59562         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
59563         [ISO || ISO99 || ISO11] (limits.h): Likewise.
59564         [ISO || ISO99 || ISO11] (math.h): Likewise.
59565         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
59566         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
59567         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59569 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
59571         [BZ #14132]
59572         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
59573         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
59574         * intl/dgettext.c (DCGETTEXT): Likewise.
59575         * intl/gettext.c (DCGETTEXT): Likewise.
59576         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
59577         * posix/regex_internal.h (gettext): Likewise.
59578         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
59579         Remove declaration.
59580         * include/argz.h (__argz_count_internal)
59581         (__argz_stringify_internal): Remove declaration.
59582         (__argz_count, __argz_stringify): Declare hidden proto.
59583         * intl/dcgettext.c: Remove use of INTDEF.
59584         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
59585         * string/argz-stringify.c: Likewise.
59586         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59587         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59588         Declare hidden proto.
59589         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
59590         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
59591         Declare hidden proto.
59592         * include/stdio.h (__asprintf_internal): Don't declare.
59593         (__asprintf): Don't define as macro.  Declare hidden proto.
59594         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
59595         (__fsetlocking): Declare hidden proto.
59596         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
59597         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
59598         hidden proto.
59599         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
59600         (_IO_setlinebuf): Remove use of INTUSE.
59601         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
59602         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
59603         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
59604         Remove declaration.
59605         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
59606         (_IO_do_flush): Remove use of INTUSE.
59607         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
59608         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
59609         (_IO_adjust_column, _IO_least_wmarker)
59610         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
59611         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
59612         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
59613         (_IO_default_doallocate, _IO_wdefault_doallocate)
59614         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
59615         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
59616         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
59617         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
59618         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
59619         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
59620         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
59621         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
59622         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
59623         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
59624         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
59625         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
59626         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
59627         proto.
59628         (_IO_flush_all_internal, _IO_adjust_column_internal)
59629         (_IO_default_uflow_internal, _IO_default_finish_internal)
59630         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
59631         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
59632         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
59633         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
59634         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
59635         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
59636         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
59637         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
59638         (_IO_file_close_internal, _IO_file_close_it_internal)
59639         (_IO_file_underflow_internal, _IO_file_overflow_internal)
59640         (_IO_file_init_internal, _IO_file_attach_internal)
59641         (_IO_file_fopen_internal, _IO_file_read_internal)
59642         (_IO_file_sync_internal, _IO_file_seek_internal)
59643         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
59644         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
59645         (_IO_str_underflow_internal, _IO_str_overflow_internal)
59646         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
59647         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
59648         (_IO_list_all_internal, _IO_link_in_internal)
59649         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
59650         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
59651         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
59652         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
59653         (_IO_do_write_internal, _IO_padn_internal)
59654         (_IO_getline_info_internal, _IO_getline_internal)
59655         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
59656         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
59657         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
59658         (_IO_vfscanf_internal, _IO_vfprintf_internal)
59659         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
59660         (_IO_init_internal, _IO_un_link_internal): Don't declare.
59661         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
59662         with libc_hidden_ver, remove use of INTUSE.
59663         * libio/genops.c: Likewise.
59664         * libio/freopen.c: Likewise.
59665         * libio/freopen64.c: Likewise.
59666         * libio/iofclose.c: Likewise.
59667         * libio/iofdopen.c: Likewise.
59668         * libio/iofflush.c: Likewise.
59669         * libio/iofflush_u.c: Likewise.
59670         * libio/iofgets.c: Likewise.
59671         * libio/iofgets_u.c: Likewise.
59672         * libio/iofopen.c: Likewise.
59673         * libio/iofopncook.c: Likewise.
59674         * libio/iofread.c: Likewise.
59675         * libio/iofread_u.c: Likewise.
59676         * libio/ioftell.c: Likewise.
59677         * libio/iofwrite.c: Likewise.
59678         * libio/iogetline.c: Likewise.
59679         * libio/iogets.c: Likewise.
59680         * libio/iogetwline.c: Likewise.
59681         * libio/iopadn.c: Likewise.
59682         * libio/iopopen.c: Likewise.
59683         * libio/ioseekoff.c: Likewise.
59684         * libio/ioseekpos.c: Likewise.
59685         * libio/iosetbuffer.c: Likewise.
59686         * libio/iosetvbuf.c: Likewise.
59687         * libio/ioungetc.c: Likewise.
59688         * libio/ioungetwc.c: Likewise.
59689         * libio/iovdprintf.c: Likewise.
59690         * libio/iovsprintf.c: Likewise.
59691         * libio/iovsscanf.c: Likewise.
59692         * libio/memstream.c: Likewise.
59693         * libio/obprintf.c: Likewise.
59694         * libio/oldfileops.c: Likewise.
59695         * libio/oldiofclose.c: Likewise.
59696         * libio/oldiofdopen.c: Likewise.
59697         * libio/oldiofopen.c: Likewise.
59698         * libio/oldiopopen.c: Likewise.
59699         * libio/oldstdfiles.c: Likewise.
59700         * libio/putc.c: Likewise.
59701         * libio/setbuf.c: Likewise.
59702         * libio/setlinebuf.c: Likewise.
59703         * libio/stdfiles.c: Likewise.
59704         * libio/strops.c: Likewise.
59705         * libio/vasprintf.c: Likewise.
59706         * libio/vscanf.c: Likewise.
59707         * libio/vsnprintf.c: Likewise.
59708         * libio/vswprintf.c: Likewise.
59709         * libio/wfiledoalloc.c: Likewise.
59710         * libio/wfileops.c: Likewise.
59711         * libio/wgenops.c: Likewise.
59712         * libio/wmemstream.c: Likewise.
59713         * libio/wstrops.c: Likewise.
59714         * libio/__fpurge.c: Likewise.
59715         * libio/__fsetlocking.c: Likewise.
59716         * assert/assert.c: Likewise.
59717         * debug/fgets_chk.c: Likewise.
59718         * debug/fgets_u_chk.c: Likewise.
59719         * debug/fread_chk.c: Likewise.
59720         * debug/fread_u_chk.c: Likewise.
59721         * debug/gets_chk.c: Likewise.
59722         * debug/obprintf_chk.c: Likewise.
59723         * debug/vasprintf_chk.c: Likewise.
59724         * debug/vdprintf_chk.c: Likewise.
59725         * debug/vsnprintf_chk.c: Likewise.
59726         * debug/vsprintf_chk.c: Likewise.
59727         * malloc/mtrace.c: Likewise.
59728         * misc/error.c: Likewise.
59729         * misc/syslog.c: Likewise.
59730         * stdio-common/asprintf.c: Likewise.
59731         * stdio-common/fxprintf.c: Likewise.
59732         * stdio-common/getw.c: Likewise.
59733         * stdio-common/isoc99_fscanf.c: Likewise.
59734         * stdio-common/isoc99_scanf.c: Likewise.
59735         * stdio-common/isoc99_vfscanf.c: Likewise.
59736         * stdio-common/isoc99_vscanf.c: Likewise.
59737         * stdio-common/isoc99_vsscanf.c: Likewise.
59738         * stdio-common/printf-prs.c: Likewise.
59739         * stdio-common/printf_fp.c: Likewise.
59740         * stdio-common/printf_fphex.c: Likewise.
59741         * stdio-common/printf_size.c: Likewise.
59742         * stdio-common/putw.c: Likewise.
59743         * stdio-common/scanf.c: Likewise.
59744         * stdio-common/sprintf.c: Likewise.
59745         * stdio-common/tmpfile.c: Likewise.
59746         * stdio-common/vfprintf.c: Likewise.
59747         * stdio-common/vfscanf.c: Likewise.
59748         * stdlib/strfmon_l.c: Likewise.
59749         * sunrpc/openchild.c: Likewise.
59750         * sunrpc/xdr_stdio.c: Likewise.
59751         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
59752         * sysdeps/mach/hurd/tmpfile.c: Likewise.
59754 2012-05-24  Roland McGrath  <roland@hack.frob.com>
59756         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
59758         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
59759         in the third column, to generate for the shared library an IFUNC
59760         that uses _dl_vdso_vsym.
59761         * Makerules (COMPILE.c, compile-stdin.c): New variables.
59762         * Makeconfig (object-suffixes-noshared): New variable.
59764         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
59765         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
59766         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
59767         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
59769         [BZ #14132]
59770         * include/sys/time.h (__gettimeofday): Remove macro.
59771         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
59772         * time/gettimeofday.c (__gettimeofday): Remove #undef.
59773         Remove INTDEF.
59774         (__gettimeofday): Add libc_hidden_def.
59775         (gettimeofday): Add libc_hidden_weak.
59776         * sysdeps/mach/gettimeofday.c: Likewise.
59777         * sysdeps/posix/gettimeofday.c: Likewise.
59778         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
59779         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
59780         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
59781         (__gettimeofday_internal): Remove strong_alias.
59782         (__gettimeofday): Add libc_hidden_def.
59783         (gettimeofday): Add libc_hidden_weak.
59784         * sysdeps/unix/syscalls.list (gettimeofday):
59785         Remove __gettimeofday_internal alias.
59787 2012-05-24  Daniel Jacobowitz  <drow@false.org>
59788             H.J. Lu  <hongjiu.lu@intel.com>
59790         [BZ #12495]
59791         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
59792         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
59793         (largebin_index_32_big): New.
59794         (largebin_index): Use it for 16-byte alignment.
59795         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
59796         correction with front_misalign.
59798 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
59800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
59801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
59802         Likewise.
59803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
59804         Likewise.
59805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59806         Likewise.
59807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
59808         Likewise.
59809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
59810         Likewise.
59811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
59812         Likewise.
59813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
59814         Likewise.
59815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59816         Likewise.
59817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
59818         Likewise.
59819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
59820         Likewise.
59821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
59822         Likewise.
59823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
59824         Likewise.
59826         * scripts/data/c++-types-x32-linux-gnu.data: New file.
59827         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
59829 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
59831         [BZ #10846]
59832         [BZ #14036]
59833         * math/libm-test.inc (exp_test): Add test from bug 14036.
59834         (pow_test): Add test from bug 10846.
59836         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
59837         and other flags.
59838         (special_function): Do not include flags in test name.
59839         (parse_args): Likewise.
59840         * sysdeps/i386/fpu/libm-test-ulps: Update.
59841         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59842         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59843         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59846         * math/gen-libm-test.pl (%beautify): Add entries for underflow
59847         exceptions.
59848         * math/libm-test.inc ("Philosophy"): Update comment about
59849         exception testing.
59850         (UNDERFLOW_EXCEPTION): New macro.
59851         (UNDERFLOW_EXCEPTION_OK): Likewise.
59852         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
59853         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
59854         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
59855         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
59856         (INVALID_EXCEPTION_OK): Update value.
59857         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59858         (OVERFLOW_EXCEPTION_OK): Likewise.
59859         (IGNORE_ZERO_INF_SIGN): Likewise.
59860         (test_exceptions): Handle underflow exceptions.
59861         (acos_test): Update for underflow exception expectations.
59862         (cexp_test): Likewise.
59863         (clog_test): Likewise.
59864         (clog10_test): Likewise.
59865         (csqrt_test): Likewise.
59866         (ctan_test): Likewise.
59867         (ctanh_test): Likewise.
59868         (exp_test): Likewise.
59869         (exp10_test): Likewise.
59870         (exp2_test): Likewise.
59871         (expm1_test): Likewise.
59872         (fma_test): Likewise.
59873         (j0_test): Likewise.
59874         (jn_test): Likewise.
59875         (nexttoward_test): Likewise.
59876         (pow_test): Likewise.
59877         (scalbn_test): Likewise.
59878         (scalbln_test): Likewise.
59879         (tan_test): Likewise.
59880         (y1_test): Likewise.
59881         * sysdeps/i386/fpu/libm-test-ulps: Update.
59882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59884 2012-05-23  David S. Miller  <davem@davemloft.net>
59886         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59887         (__libc_sigaction): Remove unused local variables.
59889 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59891         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
59893 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
59895         mktime: avoid signed integer overflow
59896         * time/mktime.c (__mktime_internal): Do not mishandle the case
59897         where diff == INT_MIN.
59899         mktime: simplify computation of average
59900         * time/mktime.c (ranged_convert): Use new time_t_avg function
59901         instead of rolling our own (probably-slower) code.
59903         mktime: do not assume signed right shift propagates sign bit
59904         * time/mktime.c (isdst_differ): New static function.
59905         (__mktime_internal): No need to normalize tm_isdst now.
59906         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
59907         tm_isdst values.
59909         mktime: merge another wrapv change from gnulib
59910         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
59911         from some compilers.
59913         mktime: remove incorrect attempt at unusual arithmetics
59914         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
59915         The code didn't really work on such machines anyway.
59916         (TYPE_MINIMUM): Assume two's complement.
59917         (twos_complement_arithmetic): Verify that long_int and time_t
59918         are two's complement (or unsigned, in the latter case).
59920         mktime: check signed shifts on long_int and time_t, too
59921         * time/mktime.c (SHR): Check that shifts work as desired
59922         on the types long_int and time_t too, as SHR is used on
59923         such types.
59925         mktime: do not assume 'long' is wide enough
59926         * time/mktime.c (verify): Move decl up.
59927         (long_int): New type.
59928         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
59929         to remove assumption in the code that 'long' is wide enough to
59930         store year values.  This assumption is not true on x32 and on
59931         some non-glibc platforms.
59933         mktime: merge wrapv change from gnulib
59934         * time/mktime.c (WRAPV): New macro.
59935         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
59936         (guess_time_tm, __mktime_internal): Do not assume that signed
59937         integer overflow wraps around; modern compilers generate code
59938         where this assumption is no longer valid.
59940 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59942         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
59943         Replace "jmp L(pseudo_end)" with "ret".
59944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
59945         Likewise.
59947 2012-05-23  Andreas Jaeger  <aj@suse.de>
59949         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
59950         * sysdeps/unix/sysv/linux/poll.c: Remove file.
59952 2012-05-23  Andreas Jaeger  <aj@suse.de>
59953             Maximilian Attems  <max@stro.at>
59955         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
59956         New macros.
59958 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
59960         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
59961         code so that pseudo_end is just ret and the stack pointer is
59962         correct also for static library in error case.
59964 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
59966         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
59967         move to syscalls.list.
59968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
59969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
59970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
59971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
59973         * manual/install.texi (Running make install): Do not mention Linux
59974         kernel version for which pt_chown is not needed.
59975         (Linux): Do not mention problems with nscd with 2.0 kernels.
59976         * INSTALL: Regenerated.
59978 2012-05-23  Andreas Jaeger  <aj@suse.de>
59980         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
59981         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
59982         macro.
59983         * sysdeps/unix/sysv/linux/s390/bits/mman.h
59984         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59985         * sysdeps/unix/sysv/linux/sh/bits/mman.h
59986         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59987         * sysdeps/unix/sysv/linux/i386/bits/mman.h
59988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59989         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
59990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59991         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
59992         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
59993         * sysdeps/unix/sysv/linux/bits/in.h
59994         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
59996 2012-05-22  Roland McGrath  <roland@hack.frob.com>
59998         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
59999         (PREPARE_VERSION): Just use assert instead, it will be elided
60000         under [NDEBUG] anyway.
60002 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60004         * sysdeps/unix/sysv/linux/Makefile: Include
60005         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60006         (sysdep_routines): Remove sysctl.
60007         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60008         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60009         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60010         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60011         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60013 2012-05-22  Andreas Jaeger  <aj@suse.de>
60015         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60016         that pseudo_end is just ret and the stack pointer is correct also
60017         for static library in error case.
60019 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60021         [BZ #14122]
60022         * nss/nsswitch.c (defconfig_entries): New variable.
60023         (__nss_database_lookup): Don't leak defconfig entries.
60024         (nss_parse_service_list): Don't leak on error paths.
60025         (free_database_entries): New function.
60026         (free_defconfig): New function.
60027         (free_mem): Move common code to free_database_entries.
60029 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60031         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60032         Add arch_prctl.
60033         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60035         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60036         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60038         New macro.
60039         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60040         (INTERNAL_SYSCALL_TYPES): Likewise.
60041         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60042         (LOAD_REGS_TYPES_[1-6]): Likewise.
60043         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60044         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60046 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60048         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60049         copysignl for GLIBC_2_0.
60050         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60051         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60053         logbl for GLIBC_2_0.
60054         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60055         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60057 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60059         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60060         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60062         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60063         Use "neg %eax".
60065         * time/mktime.c: Update copyright years.
60067 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60069         mktime: merge comment-quoting-style change from gnulib
60070         * time/mktime.c: Quote 'like this' in comments.
60071         The GNU coding standards suggest that we no longer quote `like this',
60072         as "`" and "'" are typically rendered asymmetrically nowadays.
60073         The typical gnulib style is to quote 'like this' when quoting
60074         code, and "like this" when quoting English.
60076         * time/mktime.c (compile-command): Add "-I.".
60078         mktime: merge mktime-internal.h change from gnulib
60079         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60081         mktime: merge time_r change from gnulib
60082         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60084         mktime: merge DEBUG change from gnulib
60085         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60086         case system <time.h> has a #define.
60088         mktime: merge <sys/types.h> change from gnulib
60089         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60090         since <time.t> is now guaranteed to define time_t.
60092         mktime: merge HAVE_CONFIG_H change from gnulib
60093         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60095 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60098         Use "neg %eax".
60100         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60101         __rlim_t cast.
60102         (struct rusage): Use anonymous union to pad each field to
60103         __syscall_slong_t.
60105 2012-05-21  David S. Miller  <davem@davemloft.net>
60107         * Makefules (o-iterator): Remove .s cases.
60108         (compile-command.s): Delete.
60109         (COMPILE.s): Delete.
60110         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60112 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60114         * configure.in (libc_cv_predef_stack_protector): Only consider
60115         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60116         * configure: Regenerated.
60118 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60120         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60121         New macro.  Use R*LP on int and pointer.
60122         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60123         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60124         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60125         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60127         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60128         [__WORDSIZE_TIME64_COMPAT32] instead of
60129         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60130         (struct utmp): Likewise.
60131         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60132         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60133         Renamed to ...
60134         (__WORDSIZE_TIME64_COMPAT32): This.
60135         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60136         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60137         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60138         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60139         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60140         (__WORDSIZE_TIME64_COMPAT32): New macro.
60142 2012-05-21  Andreas Jaeger  <aj@suse.de>
60144         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60145         only if [SHARED]. Add prototype for __wcschr_ia32.
60147 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60149         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60150         of %rbp unmolested in the jmp_buf while mangling the low bits.
60151         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60152         unmolested high bits of %rbp while demangling the low bits.
60153         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60155 2012-05-21  Andreas Jaeger  <aj@suse.de>
60157         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60158         * sunrpc/svc_simple.c: Use it for registerrpc.
60159         * sunrpc/xcrypt.c: Use it for passwd2des.
60161         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60163 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60165         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60166         Don't define if [__SYSCALL_WORDSIZE != 32].
60167         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60168         New macro.
60170 2012-05-21  Bruno Haible  <bruno@clisp.org>
60171             Andreas Jaeger  <aj@suse.de>
60173         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60174         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60175         inptr and inend for must_buffer_ch.
60176         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60177         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60178         * stdio-common/Makefile (tests): Remove bug15.
60179         (bug15-ENV): Remove macro.
60180         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60181         anymore.
60183 2012-05-19  Andreas Jaeger  <aj@suse.de>
60184             Roland McGrath  <roland@hack.frob.com>
60186         * manual/contrib.texi: Completely rewritten. It contains now an
60187         alphabetical list of contributors and their contributions.
60189 2012-05-21  Richard Henderson  <rth@twiddle.net>
60191         * misc/getauxval.c (__getauxval): Use unsigned long int.
60192         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60193         (getauxval): Use unsigned long int.
60195 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60197         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60199 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60201         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60202         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60203         __alignof__ (long double).
60205 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60209 2012-05-20  Richard Henderson  <rth@twiddle.net>
60211         * misc/getauxval.c: New file.
60212         * misc/sys/auxv.h: New file.
60213         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60214         (routines): Add getauxval.
60215         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60216         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60217         * elf/dl-sysdep.c (_dl_auxv): Remove.
60218         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60219         * elf/dl-support.c (_dl_auxv): New variable.
60220         (_dl_aux_init): Initialize it.
60221         * manual/startup.texi (Auxiliary Vector): New node.
60222         * sysdeps/generic/bits/hwcap.h: New file.
60223         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60224         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60225         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60226         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60227         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60230         Update.
60231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60234         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60240 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60244 2012-05-19  David S. Miller  <davem@davemloft.net>
60246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60248 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60250         [BZ #14123]
60251         * math/s_ccosh.c: Include <float.h>
60252         (__ccosh): Avoid internal overflow calculating sinh and cosh
60253         values before multiplying by sin and cos values.
60254         * math/s_ccoshf.c: Likewise.
60255         * math/s_ccoshl.c: Likewise.
60256         * math/s_csin.c: Likewise.
60257         * math/s_csinf.c: Likewise.
60258         * math/s_csinl.c: Likewise.
60259         * math/s_csinh.c: Likewise.
60260         * math/s_csinhf.c: Likewise.
60261         * math/s_csinhl.c: Likewise.
60262         * math/libm-test.inc (ccos_test): Add more tests.
60263         (ccosh_test): Likewise.
60264         (csin_test): Likewise.
60265         (csinh_test): Likewise.
60266         * sysdeps/i386/fpu/libm-test-ulps: Update.
60267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60269 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60271         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60272         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60274         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60276 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60278         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60279         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60280         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60281         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60282         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60283         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60284         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60285         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60286         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60287         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60288         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60289         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60290         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60291         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60292         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60293         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60294         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60295         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60296         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60297         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60298         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60299         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60300         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60301         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60302         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60303         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60304         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60305         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60306         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60307         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60308         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60310 2012-05-18  Andreas Jaeger  <aj@suse.de>
60312         * csu/.gitignore: Delete.
60314 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60316         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60317         (timex): Use __syscall_slong_t.
60319 2012-05-18  Andreas Jaeger  <aj@suse.de>
60320             Carlos O'Donell  <carlos_odonell@mentor.com>
60322         * manual/install.texi (Configuring and compiling): Update
60323         description about files modified in the source directory.
60324         * INSTALL: Regenerated.
60326 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60328         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60329         value.  Use "or" to set return value to -1.
60330         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60331         negate return value.
60333 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60335         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60336         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60337         failure if the compiler has Graphite support disabled.
60338         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60339         Likewise.
60340         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60341         (CFLAGS-memmove.c): Likewise.
60342         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60343         Likewise.
60345 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60347         * sysdeps/x86_64/x32/_itoa.h: New file.
60349         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60350         getdents system call only if kernel and user dirents have the
60351         same d_ino and d_off.
60353         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60354         LLONG_MAX != LONG_MAX.
60355         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60356         (_fitoa_word): Likewise.
60358         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60359         years.
60360         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60361         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60362         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60364         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60365         include <bits/wordsize.h>.  Check __x86_64__ instead of
60366         __WORDSIZE.
60367         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60368         if __x86_64__ is defined.  Use anonymous union on fpstate.
60370         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60371         anonymous union.
60373 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60375         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60376         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60377         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60378         Refer to _rtld_local_ro instead of _rtld_global_ro.
60379         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60380         Likewise.
60381         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60382         Likewise.
60383         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60384         Likewise.
60385         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60386         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60387         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60389         [BZ #10882]
60390         * sysdeps/powerpc/powerpc32/dl-machine.c
60391         (__elf_machine_runtime_setup) [PROF]: Don't reference
60392         _dl_prof_resolve.
60394 2012-05-18  Andreas Jaeger  <aj@suse.de>
60396         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60397         function only available for GCCs before 3.4 since GCC 3.4
60398         introduced a builtin.
60399         (lrint): Likewise.
60400         (llrintf): Likewise.
60401         (llrint): Likewise.
60402         (fmaxf): Likewise.
60403         (fmax): Likewise.
60404         (fminf): Likewise.
60405         (fmin): Likewise.
60406         (rint): Likewise.
60407         (rintf): Likewise.
60408         (nearbyint): Likewise.
60409         (nearbyintf): Likewise.
60410         (ceil): Likewise.
60411         (ceilf): Likewise.
60412         (floor): Likewise.
60413         (floorf): Likewise.
60415 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60417         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
60418         on both fields and cast pointer to __syscall_ulong_t.
60420         * bits/types.h (__fsword_t): New type.
60421         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
60422         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
60423         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60424         (__FSWORD_T_TYPE): Likewise.
60425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60426         (__FSWORD_T_TYPE): Likewise.
60427         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60428         (__FSWORD_T_TYPE): Likewise.
60429         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
60430         (__FSWORD_T_TYPE): Likewise.
60431         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
60432         __SWORD_TYPE with __fsword_t.
60433         (statfs64): Likewise.
60435 2012-05-17  David S. Miller  <davem@davemloft.net>
60437         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
60439 2012-05-17  Andreas Jaeger  <aj@suse.de>
60441         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
60442         warning.
60444 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60446         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
60448 2012-05-17  Andreas Jaeger  <aj@suse.de>
60450         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
60451         when it is used.
60453 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60455         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
60457 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
60459         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
60460         * sysdeps/x86_64/tst-mallocalign1.c: New file.
60462 2012-05-17  Andreas Jaeger  <aj@suse.de>
60463             Carlos O'Donell  <carlos_odonell@mentor.com>
60465         [BZ #14059]
60466         * sysdeps/x86_64/multiarch/init-arch.h
60467         (bit_YMM_Usable): Rename to...
60468         (bit_AVX_Usable): ... this.
60469         (bit_FMA4_Usable): New macro.
60470         (bit_XMM_state): New macro.
60471         (bit_YMM_state): New macro.
60472         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
60473         [__ASSEMBLER__] (index_AVX_Usable): ... this.
60474         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
60475         (CPUID_OSXSAVE): New macro.
60476         (CPUID_AVX): New macro.
60477         (CPUID_FMA4): New macro.
60478         (index_YMM_Usable): Rename to...
60479         (index_AVX_Usable): ... this.
60480         (HAS_AVX): Use HAS_ARCH_FEATURE.
60481         (HAS_FMA4): Likewise.
60482         (HAS_YMM_USABLE): Remove.
60483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60484         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
60485         are present.
60486         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
60487         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
60488         * sysdeps/x86_64/multiarch/Makefile: Likewise.
60489         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
60490         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
60492 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
60494         * math/libm-test.c: Support platforms without multiple rounding modes.
60495         * math/bug-nextafter.c: Support platforms without FP exceptions.
60496         * math/bug-nexttoward.c: Likewise.
60497         * math/test-fenv.c: Likewise.
60498         * math/test-misc.c: Likewise.
60499         * stdlib/bug-getcontext.c: Likewise.
60501 2012-05-17  Andreas Jaeger  <aj@suse.de>
60503         * manual/examples/search.c (critter_cmp): Change signature to
60504         avoid warnings.
60505         * manual/string.texi (Collation Functions): Likewise.
60507 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60509         * bits/types.h: Fold copyright years.
60510         * bits/typesizes.h: Likewise.
60511         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
60512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
60513         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
60514         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
60515         * time/time.h: Likewise.
60517 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
60519         [BZ #208]
60520         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
60521         in instead of returning them.  Return void.
60522         (__libc_mallinfo): Accumulate over all arenas.
60523         (__malloc_stats): Adjust for change in int_mallinfo interface.
60525 2012-05-16  Roland McGrath  <roland@hack.frob.com>
60527         [BZ #10375]
60528         * configure.in (NM): Add AC_CHECK_TOOL for it.
60529         (libc_extra_cflags): New substituted variable.
60530         Check for -fstack-protector being used implicitly.
60531         * configure: Regenerated.
60532         * config.make.in (config-extra-cflags): New variable,
60533         gets @libc_extra_cflags@.
60534         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
60536         [BZ #10375]
60537         * configure.in: Check for _FORTIFY_SOURCE being predefined.
60538         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
60539         * configure: Regenerated.
60540         * config.make.in (CPPUNDEFS): New substituted variable.
60541         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
60542         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
60543         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
60545 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60547         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
60548         (mq_attr): Use __syscall_slong_t.
60550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60552         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
60553         Check __x86_64__ instead of __WORDSIZE.
60554         (_STAT_VER_LINUX): Likewise.
60555         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
60556         __syscall_ulong_t and __syscall_slong_t.
60557         (stat64): Likewise.
60559 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60561         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
60563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60565         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
60567 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60569         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
60570         __syscall_ulong_t.
60572         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
60573         include <bits/wordsize.h>.  Check __x86_64__ instead of
60574         __WORDSIZE.
60575         (greg_t): Use "__extension__ long long int" if __x86_64__ is
60576         defined.
60577         (mcontext_t): Replace "unsigned long" with "unsigned long long".
60579         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
60580         include <bits/wordsize.h>.  Check __x86_64__ instead of
60581         __WORDSIZE.
60582         (user_regs_struct): Use "__extension__ unsigned long long"
60583         instead of "unsigned long" if __x86_64__ is defined.
60584         (user): Likewise.  Pad after pointer field if __ILP32__ is
60585         defined.
60587 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
60589         * configure.in (makeinfo): Require version 4.5 or later.  Allow
60590         versions 5 to 9.
60591         * configure: Regenerated.
60592         * manual/install.texi (texinfo): Increase version requirement to
60593         4.5 or later.
60594         * INSTALL: Regenerated.
60596         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
60598 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
60600         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
60602         * sysdeps/x86_64/x32/ffs.c: New file.
60604         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
60605         __syscall_ulong_t.
60606         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
60607         defined.  Use __syscall_ulong_t.
60608         (shminfo): Use __syscall_ulong_t.
60609         (shm_info): Likewise.
60611         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
60612         __syscall_ulong_t.
60614         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
60615         <bits/wordsize.h>.
60616         (msgqnum_t): Use __syscall_ulong_t.
60617         (msglen_t): Likewise.
60618         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
60619         __syscall_ulong_t.
60621         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
60622         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60624         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
60626         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
60627         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
60629         * sysvipc/sys/msg.h (msgbuf): Replace long int with
60630         __syscall_slong_t.
60632         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
60633         include <bits/wordsize.h>.  Check __x86_64__ instead of
60634         __WORDSIZE.
60636         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
60637         "unsigned long long int" if __x86_64__ is defined.
60638         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
60640         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
60641         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60642         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
60644         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
60645         <stdint.h>.
60646         (GET_PC): Cast to uintptr_t first.
60647         (GET_FRAME): Likewise.
60648         (GET_STACK): Likewise.
60650         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
60651         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
60652         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
60653         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
60654         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
60655         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
60656         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
60657         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
60658         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
60659         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
60660         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
60661         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
60662         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60663         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
60664         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
60665         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
60666         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
60667         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
60668         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
60669         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
60670         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
60671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
60672         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
60673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
60674         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
60675         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
60676         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
60677         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
60678         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
60680 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
60682         * Makerules (+depfiles): Also collect depfiles from .oS in
60683         $(extra-objs).
60684         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
60685         .oS, $(libnldbl-routines)).
60687         * Makerules (native-compile-mkdep-flags): Define.
60688         * sunrpc/Makefile (extra-objs): Add $(addprefix
60689         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
60690         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
60691         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
60692         calling $(make-target-directory).
60694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60696         * bits/types.h (__snseconds_t): Removed.
60697         * time/time.h (struct timespec): Replace __snseconds_t with
60698         __syscall_slong_t.
60699         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
60700         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
60701         Likewise.
60702         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60703         (__SNSECONDS_T_TYPE): Likewise.
60704         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60705         (__SNSECONDS_T_TYPE): Likewise.
60706         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60707         (__SNSECONDS_T_TYPE): Likewise.
60709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60711         * sysdeps/mach/hurd/bits/typesizes.h
60712         (__SYSCALL_SLONG_TYPE): New macro.
60713         (__SYSCALL_ULONG_TYPE): Likewise.
60715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60717         * bits/types.h (__syscall_slong_t): New type.
60718         (__syscall_ulong_t): Likewise.
60720         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
60721         (__SYSCALL_ULONG_TYPE): Likewise.
60722         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60723         (__SYSCALL_SLONG_TYPE): Likewise.
60724         (__SYSCALL_ULONG_TYPE): Likewise.
60725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
60726         (__SYSCALL_SLONG_TYPE): Likewise.
60727         (__SYSCALL_ULONG_TYPE): Likewise.
60728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60729         (__SYSCALL_SLONG_TYPE): Likewise.
60730         (__SYSCALL_ULONG_TYPE): Likewise.
60732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60734         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
60735         Add sigaltstack-offsets.sym.
60736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
60737         <sigaltstack-offsets.h>.
60738         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
60739         longjmp_msg pointer.
60740         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
60741         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
60742         signal stack.
60743         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
60745 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60747         * elf/stackguard-macros.h: Remove file.
60748         * sysdeps/generic/stackguard-macros.h: New file.
60749         * sysdeps/i386/stackguard-macros.h: Likewise.
60750         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60751         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60752         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60753         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60754         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60755         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60756         * sysdeps/x86_64/stackguard-macros.h: Likewise.
60757         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
60758         <elf/stackguard-macros.h>.
60760         [BZ #14109]
60761         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
60762         __aligned__ in attribute.
60763         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
60764         (gregset_t): Likewise.
60766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60768         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
60769         * sysdeps/x86_64/64/Implies-after: Here.  New file.
60770         * sysdeps/x86_64/x32/Implies-after: New file.
60772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60774         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
60775         and access return value for _dl_profile_fixup.  Use R10_LP to
60776         load frame size.
60778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60780         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
60782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60784         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
60785         * sysdeps/x86_64/x32/sysdep.h: New file.
60787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60789         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
60790         * sysdeps/x86_64/setjmp.S: Likewise.
60792 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60794         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
60795         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
60796         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
60797         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
60798         remove unused global constant.
60800 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
60802         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
60803         include of <not-cancel.h>.
60805 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60807         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
60809 2012-05-15  Jeff Law  <law@redhat.com>
60810             Andreas Jaeger  <aj@suse.de>
60812         [BZ #13594]
60813         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
60814         out from...
60815         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
60816         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
60817         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
60818         code changing __hst_map_handle.map.
60820 2012-05-15  Roland McGrath  <roland@hack.frob.com>
60822         * configure.in (sysnames): Look for Implies-before and Implies-after
60823         files.
60824         * configure: Regenerated.
60826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60828         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
60829         8-byte data alignment with LP_SIZE alignment.
60831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60833         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
60834         into R10_LP.
60836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60838         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
60840 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60842         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
60843         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
60844         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
60845         Likewise.
60846         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
60848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60850         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
60851         (stackinfo_sub_sp): Likewise.
60853 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60855         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
60856         RAX_LP.
60858 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60860         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
60861         into R*_LP.
60863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60865         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
60866         sizes into R*_LP.
60868 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60870         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
60872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60874         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
60875         into R11_LP and load __x86_64_shared_cache_size_half into
60876         R8_LP.
60878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
60880         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
60881         R8_LP.
60883 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
60886         logb for POWER7.
60887         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
60888         logbf for POWER7.
60889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60890         logbl for POWER7.
60891         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
60892         powerpc32/power7/fpu/s_logb.c via #include.
60893         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
60894         powerpc32/power7/fpu/s_logbf.c via #include.
60895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
60896         powerpc32/power7/fpu/s_logbl.c via #include.
60898 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
60900         * README.libm: Remove file.
60902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60904         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
60905         count for x32.  Use R*_LP and omit operand-size suffix.
60907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60909         * shlib-versions: Move x86_64-.*-linux.* entries to ...
60910         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
60911         * sysdeps/x86_64/x32/shlib-versions: New file.
60913 2012-05-14  Roland McGrath  <roland@hack.frob.com>
60915         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
60916         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
60917         Use _dl_fatal_printf instead.
60919 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
60921         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
60922         set if not set by the user.  Do not allow for being unset.
60923         * sysdeps/unix/sysv/linux/configure: Regenerated.
60925 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60927         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
60928         the `q' suffix from lea and replace .quad with ASM_ADDR.
60930 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60932         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
60933         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
60934         instead of $17.
60935         (PTR_DEMANGLE): Likewise.
60937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60939         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
60940         (LP_OP): Likewise.
60941         (ASM_ADDR): Likewise.
60942         (RAX_LP): Likewise.
60943         (RBP_LP): Likewise.
60944         (RBX_LP): Likewise.
60945         (RCX_LP): Likewise.
60946         (RDI_LP): Likewise.
60947         (RSI_LP): Likewise.
60948         (RSP_LP): Likewise.
60949         (R8_LP): Likewise.
60950         (R9_LP): Likewise.
60951         (R10_LP): Likewise.
60952         (R10_LP): Likewise.
60953         (R11_LP): Likewise.
60954         (R12_LP): Likewise.
60955         (R13_LP): Likewise.
60956         (R14_LP): Likewise.
60957         (R15_LP): Likewise.
60959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
60961         * sysdeps/x86_64/x32/dl-machine.h: New file.
60963 2012-05-14  Andreas Jaeger  <aj@suse.de>
60965         * manual/Makefile (subdir): Remove export of subdir.
60966         (all): Remove target.
60967         (.PHONY): Remove all from list.
60968         (mkinstalldirs): Remove.
60969         (.PHONY): Remove installdirs from list.
60970         ($(inst_infodir)/libc.info): Use make-target-directory.
60971         (installdirs): Remove.
60972         (subdir_%): Remove.
60973         (glibc-targets): Remove.
60974         (lib): Remove.
60975         (stubs): Remove.
60976         ($(objpfx)stubs ../po/manual.pot): Remove.
60977         ($(objpfx)stamp%): Remove.
60978         (make-target-directory): Remove.
60979         (subdir_install): Remove.
60980         (routines): Remove.
60981         (aux): Remove.
60982         (sources): Remove.
60983         (objects): Remove.
60984         (headers): Remove.
60986         [BZ #13750]
60987         * manual/.gitignore: Remove, it's not needed anymore.
60988         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60989         all files in it.
60990         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
60991         directory.
60992         (texis): Renamed to $(objpfx)texis.
60993         (texis-path): New, contains path to generated files.
60994         (chapters.%): Use texis-path for complete path, add extra argument
60995         libc-texinfo.sh.
60996         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
60997         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
60998         (summary,texi, stamp-summary): Use complete path of
60999         files. Generate files in build dir.
61000         (dir-add.texi): Build in build dir.
61001         (libm-err.texi,stamp-libm-err): Likewise.
61002         (version.texi, stamp-version): Likewise.
61003         (.%c.texi): Likewise.
61004         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61005         (mostlyclean): Remove target.
61006         (realclean): Remove target.
61007         (generated): Add new variable with contents from mostlyclean and
61008         realclean, remove entries duplicated in common-mostlyclean, add
61009         stamp-libm-err and stamp-version.
61010         (generated-dirs): Add libc directory.
61011         ($(inst_infodir)/libc.info): Install files from build dir.
61013         * manual/install.texi (Configuring and compiling): Adjust since
61014         the info files are not part of the tar ball anymore.
61016 2012-05-14  Andreas Jaeger  <aj@suse.de>
61018         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61019         variable.
61021 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61023         [BZ #13717]
61024         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61025         to 2.2.0 where earlier.
61026         * sysdeps/unix/sysv/linux/configure: Regenerated.
61027         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61028         Remove conditional code.
61029         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61030         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61031         Remove conditional code.
61032         [!__NR_lchown]: Likewise.
61033         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61034         [__NR_lchown]: Likewise.
61035         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61036         comment referencing __ASSUME_LCHOWN_SYSCALL.
61037         * sysdeps/unix/sysv/linux/i386/sigaction.c
61038         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61039         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61040         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61041         Remove conditional code.
61042         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61043         (__protocol_available): Remove #if 0 code.
61044         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61045         conditional code.
61046         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61047         * sysdeps/unix/sysv/linux/kernel-features.h
61048         (__ASSUME_GETCWD_SYSCALL): Don't define.
61049         (__ASSUME_REALTIME_SIGNALS): Likewise.
61050         (__ASSUME_PREAD_SYSCALL): Likewise.
61051         (__ASSUME_PWRITE_SYSCALL): Likewise.
61052         (__ASSUME_POLL_SYSCALL): Likewise.
61053         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61054         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61055         non-SPARC.
61056         (__ASSUME_SIOCGIFNAME): Don't define.
61057         (__ASSUME_MSG_NOSIGNAL): Likewise.
61058         (__ASSUME_SENDFILE): Define unconditionally.
61059         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61060         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61061         conditional code.
61062         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61063         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61064         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61065         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61066         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61067         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61068         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61070         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61071         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61073         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61076         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61077         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61079         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61093         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61094         Remove conditional code.
61095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61096         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61097         Remove conditional code.
61098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61099         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61100         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61101         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61102         Remove conditional code.
61103         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61104         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61105         Remove conditional code.
61106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61107         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61108         Remove conditional code.
61109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61110         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61111         Remove conditional code.
61112         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61113         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61114         Remove conditional code.
61115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61116         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61117         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61119         * sysdeps/unix/sysv/linux/sigaction.c
61120         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61121         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61122         * sysdeps/unix/sysv/linux/sigpending.c
61123         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61124         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61125         * sysdeps/unix/sysv/linux/sigprocmask.c
61126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61128         * sysdeps/unix/sysv/linux/sigsuspend.c
61129         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61130         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61131         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61132         (__libc_missing_rt_sigs): Remove.
61133         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61134         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61135         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61136         Remove conditional code.
61137         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61138         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61139         return 1.
61140         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61141         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61142         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61143         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61145 2012-05-14  Andreas Jaeger  <aj@suse.de>
61147         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61148         it's not used in glibc.
61149         (__coshm1): Likewise.
61150         (__acosh1p): Likewise.
61151         (__sgn): Likewise.
61153         * manual/string.texi (Copying and Concatenation): Add missing
61154         variable in concat example.
61155         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61157 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61159         [BZ #14103]
61160         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61161         __builtin_clzl with __builtin_clzll.
61163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61165         [BZ #14104]
61166         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61167         libc_freeres_ptr.
61169 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61171         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61172         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61173         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61174         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61176 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61178         * NEWS: Update ia64 info.
61180 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61182         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61183         used as bcopy.
61185 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61187         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61188         * sysdeps/unix/syscalls.list (dup3): Likewise.
61189         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61190         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61192 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61194         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61195         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61197 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61199         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61200         thread pointer.
61201         (TLS_IE): Use mov/add instead of movq/addq to load thread
61202         pointer.
61203         (TLS_GD_PREFIX): New.
61204         (TLS_GD): Use it.
61206 2012-05-11  David S. Miller  <davem@davemloft.net>
61208         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61209         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61210         (_FPU_SETCW): Likewise.
61212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61214         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61215         is 32-byte aligned.
61217 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61219         [BZ #11837]
61220         * iconvdata/gb18030.c: Update tables.
61221         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61222         characters specially.
61223         (BODY for TO_LOOP): Add encoding of missing ranges.
61225 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61227         [BZ #13673]
61228         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61229         * sysdeps/mach/hurd/dup3.c: Likewise.
61230         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61231         * sysdeps/powerpc/memmove.c:: Likewise.
61233 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61235         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61236         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61238 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61240         * elf/elf.h (R_X86_64_RELATIVE64): New.
61241         (R_X86_64_NUM): Updated.
61242         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61243         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61244         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61245         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61246         tst-quad1pie tst-quad2pie
61247         (modules-names): Add tst-quadmod1 tst-quadmod2.
61248         ($(objpfx)tst-quad1): New dependency.
61249         ($(objpfx)tst-quad2): Likewise.
61250         ($(objpfx)tst-quad1pie): Likewise.
61251         ($(objpfx)tst-quad2pie): Likewise.
61252         * sysdeps/x86_64/tst-quad1.c: New file.
61253         * sysdeps/x86_64/tst-quad1pie.c: New file.
61254         * sysdeps/x86_64/tst-quad2.c: Likewise.
61255         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61256         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61257         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61258         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61259         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61261 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61263         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61264         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61265         * streams/stropts.h (t_scalar_t): Define type.
61267         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61268         (_PATH_PRESERVE): Set to "/var/lib".
61269         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61271         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61272         instead of int.
61274         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61275         if __dir_mkfile succeeded.
61277         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61278         checking for _hurd_dtablesize.  Unlock it right after having
61279         finished _hurd_dtable allocation.
61281 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61283         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61284         * sysdeps/mach/hurd/configure: Regenerated.
61285         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61286         special-casing to...
61287         * sysdeps/gnu/configure.in: ... this new file.
61288         * sysdeps/unix/sysv/linux/configure: Regenerated.
61289         * sysdeps/gnu/configure: New generated file.
61291         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61292         for Linux: use nsec instead of usec, as well as:
61293         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61294         members of type struct timespec.
61295         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61296         New macros.
61297         (struct stat64): Likewise.
61298         (_STATBUF_ST_NSEC): New macro.
61299         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61301         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61302         __strtoul_internal rather than strtoul.
61304 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61306         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61307         and reject them.
61309 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61311         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61312         which preserves existing values.
61313         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61315 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61317         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61318         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61319         greater than FD_SETSIZE.
61321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61323         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61324         allocated, call __vm_protect to finish enabling the existing space, and
61325         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61326         allocate the remainder.
61328 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61330         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61331         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61335         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61336         sysdeps/mach/hurd/readlink.c.
61338         * posix/tst-sysconf.c (posix_options): Only use
61339         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61340         _POSIX_SYNCHRONIZED_IO when they are defined
61341         * sysdeps/mach/hurd/bits/posix_opt.h:
61342         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61343         (_XOPEN_REALTIME): Undefine macro.
61344         (_XOPEN_REALTIME_THREADS): Undefine macro.
61345         (_XOPEN_SHM): Undefine macro.
61346         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61347         macro to -1.
61348         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61349         macro to -1.
61350         (_POSIX_ASYNC_IO): Undefine macro.
61351         (_POSIX_PRIORITIZED_IO): Undefine macro.
61352         (_POSIX_SPIN_LOCKS): Define macro to -1.
61354         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61355         SA_NODEFER, SA_RESETHAND.
61356         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61357         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61358         F_DUPFD_CLOEXEC.
61360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61362         * elf/Makefile (pldd-modules): Define unconditionally.
61364 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61366         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61368 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61370         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61371         Return ENOENT when name is empty.
61372         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61374 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61376         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61378         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61382         Fix mlock in all cases except non-readable pages.
61383         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61384         instead of VM_PROT_ALL as parameter to __vm_wire function.
61386         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61387         (__mkdir): When path is `/', just fail with EEXIST.
61388         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61390 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61392         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61393         <sys/uio.h> (for writev).
61394         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61395         and <sys/param.h> (for MIN).
61397 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61399         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61400         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61401         if interrupted.
61403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61405         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
61406         Depend on against $(link-rpcuserlibs).
61408 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61410         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
61411         (__libc_stack_end): Do not use attribute_relro.
61412         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
61413         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
61414         to libthread-provided value.
61415         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
61416         attribute_relro.
61418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61420         [BZ #3748]
61421         * bits/libc-lock.h (__libc_once_get): New macro.
61422         * sysdeps/mach/bits/libc-lock.h: Likewise.
61423         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
61424         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
61425         instead of using implementation details.
61427         * libio/fileops.c: Unconditionally include <kernel-features.h>.
61428         * libio/freopen.c: Likewise.
61429         * libio/freopen64.c: Likewise.
61430         * misc/syslog.c: Likewise.
61431         * nscd/connections.c: Likewise.
61432         * nscd/netgroupcache.c: Likewise.
61433         * sysdeps/posix/getcwd.c: Likewise.
61435 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61437         * math/w_ilogbf.c: Add #include <limits.h>.
61439 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61441         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
61442         path instead of returning without unlocking.
61444         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
61445         immediate-write ioctls.
61446         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
61448 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61450         * sysdeps/mach/hurd/i386/init-first.c (init): Use
61451         __builtin_frame_address instead of making assumptions about the
61452         location of the return address relative to DATA.  Force early load of
61453         the return address.
61454         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
61455         __builtin_frame_address.
61457         dup3 for GNU Hurd.
61458         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
61459         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
61460         implement dup3 and do some further code clean-ups.
61461         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
61462         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
61464 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61466         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
61468         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
61469         HURD_CRITICAL_END around holding _hurd_dtable_lock.
61470         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
61471         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
61472         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
61473         d->port.lock.
61475         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
61476         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
61477         when handler == SIG_ERR, not when handler != SIG_ERR.
61479 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61481         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
61482         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
61483         definitions.
61485         accept4 for GNU Hurd.
61486         * include/sys/socket.h (__libc_accept4): New prototype.
61487         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
61488         to implement __libc_accept4.
61489         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
61490         __libc_accept4.
61491         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
61493         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
61494         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
61495         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
61496         signal-defines.sym.
61498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61500         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
61502 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61504         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
61505         assertion on O_CLOEXEC flag.
61506         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
61507         * hurd/intern-fd.c: Likewise.
61508         * hurd/port2fd.c: Likewise.
61510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61512         [BZ #3906]
61513         * bits/in.h (IPV6_PKTINFO): Define new macro.
61514         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
61516 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61518         [BZ #13954]
61519         [BZ #13955]
61520         [BZ #13956]
61521         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
61522         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
61523         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
61524         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
61525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61526         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
61527         * math/libm-test.inc (logb_test) : Additional logb tests.
61529 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
61530             Andreas Jaeger  <aj@suse.de>
61532         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
61533         * configure: Regenerated.
61534         * config.h.in (LINK_OBSOLETE_RPC): New macro.
61535         * config.make.in (link-obsolete-rpc): New substituted variable.
61536         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
61537         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
61538         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61539         (shared-only-routines): Don't set it under [link-obsolete-rpc],
61540         so that libc.a contains the symbols.
61541         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
61542         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
61543         * sunrpc/auth_none.c: Likewise.
61544         * sunrpc/auth_unix.c: Likewise.
61545         * sunrpc/authdes_prot.c: Likewise.
61546         * sunrpc/authuxprot.c: Likewise.
61547         * sunrpc/clnt_gen.c: Likewise.
61548         * sunrpc/clnt_perr.c: Likewise.
61549         * sunrpc/clnt_raw.c: Likewise.
61550         * sunrpc/clnt_simp.c: Likewise.
61551         * sunrpc/clnt_tcp.c: Likewise.
61552         * sunrpc/clnt_udp.c: Likewise.
61553         * sunrpc/clnt_unix.c: Likewise.
61554         * sunrpc/des_crypt.c: Likewise.
61555         * sunrpc/des_soft.c: Likewise.
61556         * sunrpc/get_myaddr.c: Likewise.
61557         * sunrpc/key_call.c: Likewise.
61558         * sunrpc/key_prot.c: Likewise.
61559         * sunrpc/netname.c: Likewise.
61560         * sunrpc/pm_getmaps.c: Likewise.
61561         * sunrpc/pm_getport.c: Likewise.
61562         * sunrpc/pmap_clnt.c: Likewise.
61563         * sunrpc/pmap_prot.c: Likewise.
61564         * sunrpc/pmap_prot2.c: Likewise.
61565         * sunrpc/pmap_rmt.c: Likewise.
61566         * sunrpc/publickey.c: Likewise.
61567         * sunrpc/rpc_cmsg.c: Likewise.
61568         * sunrpc/rpc_common.c: Likewise.
61569         * sunrpc/rpc_dtable.c: Likewise.
61570         * sunrpc/rpc_prot.c: Likewise.
61571         * sunrpc/rpc_thread.c: Likewise.
61572         * sunrpc/rtime.c: Likewise.
61573         * sunrpc/svc.c: Likewise.
61574         * sunrpc/svc_auth.c: Likewise.
61575         * sunrpc/svc_raw.c: Likewise.
61576         * sunrpc/svc_run.c: Likewise.
61577         * sunrpc/svc_tcp.c: Likewise.
61578         * sunrpc/svc_udp.c: Likewise.
61579         * sunrpc/svc_unix.c: Likewise.
61580         * sunrpc/svcauth_des.c: Likewise.
61581         * sunrpc/xcrypt.c: Likewise.
61582         * sunrpc/xdr.c: Likewise.
61583         * sunrpc/xdr_array.c: Likewise.
61584         * sunrpc/xdr_float.c: Likewise.
61585         * sunrpc/xdr_intXX_t.c: Likewise.
61586         * sunrpc/xdr_mem.c: Likewise.
61587         * sunrpc/xdr_rec.c: Likewise.
61588         * sunrpc/xdr_ref.c: Likewise.
61589         * sunrpc/xdr_sizeof.c: Likewise.
61590         * sunrpc/xdr_stdio.c: Likewise.
61592 2012-05-10  Roland McGrath  <roland@hack.frob.com>
61594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
61595         change.  Update copyright years.
61597 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61599         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
61601 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
61602             Joseph Myers  <joseph@codesourcery.com>
61603             Paul Pluzhnikov  <ppluzhnikov@google.com>
61605         [BZ #14012]
61606         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
61607         requiring rpcgen.
61608         [cross-compiling] (extra-libs): Likewise.
61609         [cross-compiling] (extra-libs-others): Likewise.
61610         [cross-compiling] (librpcsvc-routines): Likewise.
61611         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
61612         [cross-compiling] (omit-deps): Likewise.
61613         (sunrpc-CPPFLAGS): New variable.
61614         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
61615         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
61616         (cross-rpcgen-objs): New variable.
61617         (extra-objs): Append $(cross-rpcgen-objs).
61618         ($(cross-rpcgen-objs)): New rule.
61619         ($(objpfx)cross-rpcgen): Likewise.
61620         (rpcgen-cmd): Define to use $(built-program-file).  Expand
61621         comment.
61622         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
61623         ($(objpfx)x%.stmp): Likewise.
61624         * sunrpc/proto.h [IS_IN_build] (_): Define.
61625         [IS_IN_build] (_libc_intl_domainname): Likewise.
61627 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61629         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
61630         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
61631         and R_X86_64_TPOFF64.
61633 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
61635         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
61636         sysdeps/unix/sysv/syscalls.list.
61637         (stime): Likewise.
61638         (utime): Likewise.
61639         * sysdeps/unix/sysv/syscalls.list: Remove file.
61641 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
61643         [BZ #3440]
61644         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
61645         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
61646         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
61647         (__LC_IDENTIFICATION): Make these macros useful in #if
61648         expressions, as required by C99.
61650 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
61652         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
61653         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
61654         after this.
61656 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
61658         * stdlib/longlong.h: Updated from GCC.
61660 2012-05-09  Andreas Jaeger  <aj@suse.de>
61662         * nscd/nscd.c (run_modes): Make named enum, reorder so that
61663         default is first entry.
61664         (run_mode): Set type.
61665         (main): Remove informal message about syslog.
61666         (options): Fix typo.
61668         [BZ #14053]
61669         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
61670         to asm.
61671         (lrint): Likewise.
61672         (llrintf): Likewise.
61673         (llrint): Likewise.
61674         (rint): Likewise.
61675         (rintf): Likewise.
61676         (nearbyint): Likewise.
61677         (nearbyintf): Likewise.
61679 2012-05-09  Andreas Jaeger  <aj@suse.de>
61680             Pedro Alves  <palves@redhat.com>
61682         * nscd/nscd.c (run_mode): Use enum.
61683         (main): Cleanup coding style issue.
61685 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
61686             Andreas Jaeger  <aj@suse.de>
61688         * nscd/nscd.c (go_background): Replaced with...
61689         (run_mode): ... this.
61690         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
61691         (options): Add -F --foreground.
61692         (main): Implement it.
61693         (parse_opt): Parse it.
61695 2012-05-09  Andreas Jaeger  <aj@suse.de>
61697         [BZ #14083]
61698         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
61699         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
61700         -Wconversion warning.
61701         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
61702         Likewise.
61704 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
61706         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
61707         == 0.
61708         (LC_ALL): Use macro-int-constant.
61709         (LC_COLLATE): Likewise.
61710         (LC_CTYPE): Likewise.
61711         (LC_MESSAGES): Likewise.
61712         (LC_MONETARY): Likewise.
61713         (LC_NUMERIC): Likewise.
61714         (LC_TIME): Likewise.
61715         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
61716         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61718         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
61719         Specify type.
61720         [C99-based standards] (float_t): Expect type.
61721         [C99-based standards] (double_t): Expect type.
61722         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
61723         type.
61724         [C99-based standards] (HUGE_VALL): Likewise.
61725         [C99-based standards] (INFINITY): Likewise.
61726         [C99-based standards] (NAN): Likewise.
61727         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
61728         [C99-based standards] (FP_NAN): Likewise.
61729         [C99-based standards] (FP_NORMAL): Likewise.
61730         [C99-based standards] (FP_SUBNORMAL): Likewise.
61731         [C99-based standards] (FP_ZERO): Likewise.
61732         [C99-based standards] (FP_FAST_FMA): Use
61733         optional-macro-int-constant.  Specify type.  Require == 1.
61734         [C99-based standards] (FP_FAST_FMAF): Likewise.
61735         [C99-based standards] (FP_FAST_FMAL): Likewise.
61736         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
61737         [C99-based standards] (FP_ILOGBNAN): Likewise.
61738         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
61739         Specify type.
61740         [C99-based standards] (MATH_ERREXCEPT): Likewise.
61741         [C99-based standards] (math_errhandling): Specify type.
61742         [ISO99 || ISO11] (signgam): Do not allow.
61743         [non-C99-based standards] (copysignf): Do not allow.
61744         [non-C99-based standards] (exp2f): Likewise.
61745         [non-C99-based standards] (log2f): Likewise.
61746         [non-C99-based standards] (modff): Allow.
61747         [non-C99-based standards] (erff): Do not allow.
61748         [non-C99-based standards] (erfcf): Likewise.
61749         [non-C99-based standards] (gammaf): Likewise.
61750         [non-C99-based standards] (hypotf): Likewise.
61751         [non-C99-based standards] (j0f): Likewise.
61752         [non-C99-based standards] (j1f): Likewise.
61753         [non-C99-based standards] (jnf): Likewise.
61754         [non-C99-based standards] (lgammaf): Likewise.
61755         [non-C99-based standards] (tgammaf): Likewise.
61756         [non-C99-based standards] (y0f): Likewise.
61757         [non-C99-based standards] (y1f): Likewise.
61758         [non-C99-based standards] (ynf): Likewise.
61759         [non-C99-based standards] (isnanf): Likewise.
61760         [non-C99-based standards] (acoshf): Likewise.
61761         [non-C99-based standards] (asinhf): Likewise.
61762         [non-C99-based standards] (atanhf): Likewise.
61763         [non-C99-based standards] (cbrtf): Likewise.
61764         [non-C99-based standards] (expm1f): Likewise.
61765         [non-C99-based standards] (ilogbf): Likewise.
61766         [non-C99-based standards] (log1pf): Likewise.
61767         [non-C99-based standards] (logbf): Likewise.
61768         [non-C99-based standards] (nextafterf): Likewise.
61769         [non-C99-based standards] (remainderf): Likewise.
61770         [non-C99-based standards] (rintf): Likewise.
61771         [non-C99-based standards] (scalbf): Likewise.
61772         [non-C99-based standards] (copysignl): Likewise.
61773         [non-C99-based standards] (exp2l): Likewise.
61774         [non-C99-based standards] (log2l): Likewise.
61775         [non-C99-based standards] (modfl): Allow.
61776         [non-C99-based standards] (erfl): Do not allow.
61777         [non-C99-based standards] (erfcl): Likewise.
61778         [non-C99-based standards] (gammal): Likewise.
61779         [non-C99-based standards] (hypotl): Likewise.
61780         [non-C99-based standards] (j0l): Likewise.
61781         [non-C99-based standards] (j1l): Likewise.
61782         [non-C99-based standards] (jnl): Likewise.
61783         [non-C99-based standards] (lgammal): Likewise.
61784         [non-C99-based standards] (tgammal): Likewise.
61785         [non-C99-based standards] (y0l): Likewise.
61786         [non-C99-based standards] (y1l): Likewise.
61787         [non-C99-based standards] (ynl): Likewise.
61788         [non-C99-based standards] (isnanl): Likewise.
61789         [non-C99-based standards] (acoshl): Likewise.
61790         [non-C99-based standards] (asinhl): Likewise.
61791         [non-C99-based standards] (atanhl): Likewise.
61792         [non-C99-based standards] (cbrtl): Likewise.
61793         [non-C99-based standards] (expm1l): Likewise.
61794         [non-C99-based standards] (ilogbl): Likewise.
61795         [non-C99-based standards] (log1pl): Likewise.
61796         [non-C99-based standards] (logbl): Likewise.
61797         [non-C99-based standards] (nextafterl): Likewise.
61798         [non-C99-based standards] (remainderl): Likewise.
61799         [non-C99-based standards] (rintl): Likewise.
61800         [non-C99-based standards] (scalbl): Likewise.
61801         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61802         [non-C99-based standards] (FP_*): Do not allow.
61803         [C99-based standards] (FP_*): Change to
61804         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
61805         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61806         allow.
61807         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
61808         (SIG_ERR): Likewise.
61809         [X/Open-based standards] (SIG_HOLD): Likewise.
61810         (SIG_IGN): Likewise.
61811         (SIGABRT): Use macro-int-constant.  Specify type.  Require
61812         positive value.
61813         (SIGFPE): Likewise.
61814         (SIGILL): Likewise.
61815         (SIGINT): Likewise.
61816         (SIGSEGV): Likewise.
61817         (SIGTER): Likewise.
61818         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
61819         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
61820         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
61821         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
61822         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
61823         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
61824         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
61825         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
61826         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
61827         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
61828         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
61829         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
61830         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
61831         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
61832         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
61833         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
61834         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
61835         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
61836         [X/Open-based standards] (SIGTRAP): Likewise.
61837         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
61838         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
61839         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
61840         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
61841         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
61842         allow.
61844 2012-05-08  Ian Wienand  <ianw@vmware.com>
61846         [BZ #14080]
61847         * time/tzset.c (__tzset_parse_tz): Update default rules for
61848         daylight time changes in the Energy Policy Act of 2005.
61850 2012-05-09  Andreas Jaeger  <aj@suse.de>
61852         [BZ #13983]
61853         * elf/ldconfig.c (parse_conf): Change string to make clear that
61854         ldconfig only issued a warning if ld.so.conf does not exist.
61856 2012-05-08  David S. Miller  <davem@davemloft.net>
61858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
61859         movxtod instead of popping the value on the stack.
61861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61863 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
61865         * config.h.in: Add HAVE_ARM_PCS_VFP.
61867 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
61869         [BZ #13979]
61870         * include/features.h: Warn if user requests __FORTIFY_SOURCE
61871         checking but the checks are disabled for any reason.
61873 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
61875         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
61876         and ELF64_R_TYPE with ELFW(R_TYPE).
61878 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
61880         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
61881         (ulimit): Likewise.
61883         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
61884         (settimeofday): Likewise.
61886 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
61888         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
61889         a struct th_u2 inside the union, and move tu_block/tu_code into
61890         a new th_u3 union of tu_block/tu_code inside of that.  Move
61891         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
61892         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
61893         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
61894         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
61895         (th_stuff): Change to th_u1.tu_stuff.
61896         (th_data): Define.
61897         (th_msg): Change to th_u1.th_u2.tu_data.
61899 2012-05-07  David S. Miller  <davem@davemloft.net>
61901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61903         [BZ #14074]
61904         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
61905         (SETUP_PIC_REG): Use it.
61906         (SETUP_PIC_REG_LEAF): Use it.
61908 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
61910         [BZ #13885]
61911         [BZ #13923]
61912         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61913         USE_AS_EXPM1L.
61914         (EXPL_FINITE): Likewise.
61915         (FLDLOG): Likewise.
61916         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61917         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61918         e_expl.S.
61919         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61920         USE_AS_EXPM1L.
61921         (EXPL_FINITE): Likewise.
61922         (FLDLOG): Likewise.
61923         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
61924         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
61925         e_expl.S.
61926         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
61927         test of -max_value argument for long double.
61928         * sysdeps/i386/fpu/libm-test-ulps: Update.
61929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61931 2012-05-06  David S. Miller  <davem@davemloft.net>
61933         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
61934         quad soft-float symbols whose references which are compiler
61935         generated.
61936         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61938 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
61940         [BZ #13884]
61941         [BZ #13914]
61942         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61943         USE_AS_EXP10L.
61944         (EXPL_FINITE): Likewise.
61945         (FLDLOG): Likewise.
61946         (c0): Likewise.
61947         (c1): Likewise.
61948         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61949         Adjust comments for base varying.
61950         (__expl_finite): Change alias to EXPL_FINITE.
61951         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
61952         e_expl.S.
61953         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
61954         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
61955         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
61956         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
61957         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
61958         USE_AS_EXP10L.
61959         (EXPL_FINITE): Likewise.
61960         (FLDLOG): Likewise.
61961         (c0): Likewise.
61962         (c1): Likewise.
61963         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
61964         Adjust comments for base varying.
61965         (__expl_finite): Change alias to EXPL_FINITE.
61966         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
61967         tests for bugs.
61968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61970         [BZ #14064]
61971         * math/libm-test.inc (check_float_internal): Correct ulp
61972         calculation for subnormal expected results.
61974 2012-05-06  Andreas Jaeger  <aj@suse.de>
61976         * Makeconfig (+math-flags): New, set to -frounding-math.
61977         (+cflags): Add +math-flags so that all of glibc gets compiled with
61978         it.
61980         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
61982 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
61984         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
61985         Disable one test.
61987         [BZ #13787]
61988         [BZ #13922]
61989         [BZ #14036]
61990         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
61991         (__ieee754_expl): Allow for and saturate large arguments.
61992         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
61993         (u_threshold): Likewise.
61994         (__exp): Call __ieee754_exp before checking for overflow and
61995         underflow.
61996         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
61997         (u_threshold): Likewise.
61998         (__expf): Call __ieee754_expf before checking for overflow and
61999         underflow.
62000         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62001         (u_threshold): Likewise.
62002         (__expl): Call __ieee754_expl before checking for overflow and
62003         underflow.
62004         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62005         (__ieee754_expl): Allow for and saturate large arguments.
62006         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62007         missing overflow exception on overflow.
62008         (expm1_test): Do not allow missing overflow exception on overflow.
62010         * sysdeps/i386/fpu/e_expl.c: Move to ...
62011         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62012         rather than using inline asm.
62013         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62014         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62015         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62017         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62018         (nice): Likewise.
62019         (poll): Likewise.
62020         (signal): Likewise.
62021         (time): Likewise.
62022         (times): Likewise.
62024 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62026         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62027         sysdeps/unix/common/syscalls.list.
62028         (fchmod): Likewise.
62029         (fchown): Likewise.
62030         (ftruncate): Likewise.
62031         (getrusage): Likewise.
62032         (gettimeofday): Likewise.
62033         (setpgid): Likewise.
62034         (setregid): Likewise.
62035         (setreuid): Likewise.
62036         (sigaction): Likewise.
62037         (truncate): Likewise.
62038         (vhangup): Likewise.
62039         * sysdeps/unix/common/syscalls.list: Remove file.
62040         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62041         * sysdeps/unix/sysv/linux/Implies: Likewise.
62043 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62045         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62047         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62048         Moved to ...
62049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62050         Here.
62051         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62052         to ...
62053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62054         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62055         to ...
62056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62057         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62058         to ...
62059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62060         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62061         to ...
62062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62063         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62064         to ...
62065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62066         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62067         to ...
62068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62069         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62070         to ...
62071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62072         Here.
62073         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62074         to ...
62075         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62076         Here.
62077         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62078         to ...
62079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62080         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62081         Moved to ...
62082         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62083         Here.
62084         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62085         to ...
62086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62088 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62090         * sysdeps/unix/common/bits/dirent.h: Remove file.
62091         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62093         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62094         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62095         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62096         * sysdeps/unix/bsd/isatty.c: Likewise.
62097         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62098         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62099         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62101 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62103         [BZ #13563]
62104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62105         long double comparison inaccuracies.
62106         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62109 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62111         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62112         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62114 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62116         [BZ #14049]
62117         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62118         nonzero digits before rounding a hex value.
62119         * stdlib/tst-strtod.c (tests): Add another test.
62121 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62123         * sysdeps/s390/fpu/libm-test-ulps: Update.
62125 2012-05-03  Andreas Jaeger  <aj@suse.de>
62127         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62128         does not get optimized out.
62129         (malloc_opt_barrier): New.
62131 2012-05-03  Andreas Jaeger  <aj@suse.de>
62132             Roland McGrath  <roland@hack.frob.com>
62134         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62135         intermediate file deletion.
62136         (generated): Add .symlist files.
62138 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62140         [BZ #13775]
62141         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62142         Redirect under this condition.
62143         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62144         [__USE_GNU] (__dprintf_chk): Not under this condition.
62145         [__USE_GNU] (__vdprintf_chk): Likewise.
62146         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62147         under this condition.
62148         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62149         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62150         [__USE_XOPEN2K8] (vdprintf): Likewise.
62151         [__USE_GNU] (__dprintf_chk): Not under this condition.
62152         [__USE_GNU] (__vdprintf_chk): Likewise.
62153         [__USE_GNU] (dprintf): Likewise.
62154         [__USE_GNU] (vdprintf): Likewise.
62156 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62158         * elf/Makefile (common-generated): Set this instead of generated for
62159         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62160         $(all-built-dso)-derived lists.
62162 2012-05-03  Andreas Jaeger  <aj@suse.de>
62164         * sysdeps/i386/fpu/libm-test-ulps: Update.
62166         * FAQ: Removed.
62167         * FAQ.in: Likewise.
62168         * scripts/gen-FAQ.pl: Likewise.
62169         * manual/install.texi (Installation): Point to online location of
62170         FAQ.
62171         * Makefile (files-for-dist): Remove FAQ.
62172         (FAQ): Remove.
62174 2012-05-02  Allan McRae  <allan@archlinux.org>
62176         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62177         (LDFLAGS-reldepmod5.so): Likewise.
62178         (LDFLAGS-reldep6mod1.so): Likewise.
62179         (LDFLAGS-reldep6mod4.so): Likewise.
62180         (LDFLAGS-reldep8mod3.so): Likewise.
62181         (LDFLAGS-unload4mod1.so): Likewise.
62182         (LDFLAGS-unload4mod2.so): Likewise.
62183         (LDFLAGS-tst-initorder): Likewise.
62184         (LDFLAGS-tst-initordera2.so): Likewise.
62185         (LDFLAGS-tst-initordera3.so): Likewise.
62186         (LDFLAGS-tst-initordera4.so): Likewise.
62187         (LDFLAGS-tst-initorderb2.so): Likewise.
62188         (LDFLAGS-noload): Likewise.
62189         (LDFLAGS-next): Likewise.
62190         (LDFLAGS-order2mod1.so): Likewise.
62191         (LDFLAGS-order2mod2.so): Likewise.
62192         (LDFLAGS-tst-initorder2): Likewise.
62193         (LDFLAGS-tst-initorder2a.so): Likewise.
62194         (LDFLAGS-tst-initorder2b.so): Likewise.
62195         (LDFLAGS-tst-initorder2c.so): Likewise.
62196         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62198 2012-05-02  David S. Miller  <davem@davemloft.net>
62200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62202 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62204         [BZ #14055]
62205         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62207 2012-05-02  Andreas Jaeger  <aj@suse.de>
62209         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62210         since we manipulate rounding mode.
62211         (CPPFLAGS-test-idouble.c): Likewise.
62212         (CPPFLAGS-test-ifloat.c): Likewise.
62213         (CFLAGS-test-ldouble.c): Likewise.
62214         (CFLAGS-test-double.c): Likewise.
62215         (CFLAGS-test-float.c): Likewise.
62216         (CFLAGS-test-misc.c): Likewise.
62217         (CFLAGS-test-test-fenv.c): Likewise.
62219 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62221         [BZ #2550]
62222         [BZ #2570]
62223         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62224         comparisons to determine direction to adjust input.
62226 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62228         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62229         output to the target.
62231         * scripts/localplt.awk: New file.
62232         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62233         (check-localplt-CFLAGS): Variable removed.
62234         ($(all-built-dso:=.jmprel)): New static pattern rule.
62235         (generated): Add those targets.
62236         (localplt-built-dso): New variable.
62237         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62239         * elf/check-localplt.c: File removed.
62241         * scripts/check-execstack.awk: New file.
62242         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62243         (check-execstack-CFLAGS): Variable removed.
62244         ($(objpfx)check-execstack.h): Target removed.
62245         ($(objpfx)execstack-default): New target.
62246         (generated): Add that instead of check-execstack.h.
62247         ($(all-built-dso:=.phdr)): New static pattern rule.
62248         (generated): Add those targets.
62249         * elf/check-execstack.c: File removed.
62251         * scripts/check-textrel.awk: New file.
62252         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62253         (check-textrel-CFLAGS): Variable removed.
62254         (all-built-dso): Use := to define.o
62255         ($(all-built-dso:=.dyn)): New static pattern rule.
62256         (generated): Add those targets.
62257         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62258         * config.make.in (READELF): New substituted variable.
62259         * elf/check-textrel.c: File removed.
62261 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62263         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62264         allow.
62265         * conform/data/ctype.h-data [C99-based standards] (isblank):
62266         Expect function.
62267         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62268         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62269         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62270         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62271         Specify type.  Require positive value.
62272         (EILSEQ): Likewise.
62273         (ERANGE): Likewise.
62274         [ISO || POSIX] (EILSEQ): Do not expect.
62275         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62276         Specify type.  Require positive value.
62277         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62278         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62279         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62280         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62281         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62282         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62283         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62284         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62285         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62286         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62287         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62288         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62289         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62290         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62291         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62292         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62293         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62294         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62295         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62296         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62297         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62298         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62299         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62300         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62301         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62302         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62303         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62304         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62305         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62306         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62307         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62308         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62309         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62310         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62311         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62312         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62313         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62314         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62315         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62316         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62317         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62318         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62319         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62320         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62321         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62322         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62323         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62324         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62325         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62326         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62327         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62328         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62329         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62330         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62331         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62332         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62333         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62334         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62335         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62336         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62337         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62338         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62339         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62340         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62341         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62342         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62343         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62344         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62345         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62346         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62347         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62348         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62349         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62350         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62351         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62352         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62353         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62354         Require >= 2.
62355         (FLT_ROUNDS): Expect as macro, not constant.
62356         (FLT_MANT_DIG): Use macro-int-constant.
62357         (DBL_MANT_DIG): Likewise.
62358         (LDBL_MANT_DIG): Likewise.
62359         (FLT_DIG): Likewise.
62360         (DBL_DIG): Likewise.
62361         (LDBL_DIG): Likewise.
62362         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62363         (DBL_MIN_EXP): Likewise.
62364         (LDBL_MIN_EXP): Likewise.
62365         (FLT_MAX_EXP): Use macro-int-constant.
62366         (DBL_MAX_EXP): Likewise.
62367         (LDBL_MAX_EXP): Likewise.
62368         (FLT_MAX_10_EXP): Likewise.
62369         (DBL_MAX_10_EXP): Likewise.
62370         (LDBL_MAX_10_EXP): Likewise.
62371         (FLT_MAX): Use macro-constant.
62372         (DBL_MAX): Likewise.
62373         (LDBL_MAX): Likewise.
62374         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62375         (DBL_EPSILON): Likewise.
62376         (LDBL_EPSILON): Likewise.
62377         (FLT_MIN): Likewise.
62378         (DBL_MIN): Likewise.
62379         (LDBL_MIN): Likewise.
62380         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62381         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62382         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62383         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62384         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62385         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62386         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62387         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62388         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62389         [ISO11] (FLT_TRUE_MIN): Likewise.
62390         [ISO11] (LDBL_TRUE_MIN): Likewise.
62391         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62392         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62393         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62394         (SCHAR_MAX): Likewise.
62395         (UCHAR_MAX): Likewise.
62396         (CHAR_MIN): Likewise.
62397         (CHAR_MAX): Likewise.
62398         (MB_LEN_MAX): Use macro-int-constant.
62399         (SHRT_MIN): Use macro-int-constant.  Specify type.
62400         (SHRT_MAX): Likewise.
62401         (USHRT_MAX): Likewise.
62402         (INT_MAX): Likewise.
62403         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62404         bound negative.
62405         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62406         bound with "U".
62407         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62408         bound with "L".
62409         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
62410         bound negative.  Suffix upper bound with "L".
62411         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
62412         bound with "UL".
62413         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
62414         Specify type.
62415         [C99-based standards] (LLONG_MAX): Likewise.
62416         [C99-based standards] (ULLONG_MAX): Likewise.
62417         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
62418         == 0.
62419         [ISO11] (max_align_t): Require type.
62420         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62422         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
62423         from $CFLAGS, without defining away __attribute__ calls.
62424         (checknamespace): Use $CFLAGS_namespace.
62426         * conform/conformtest.pl (@keywords): Only include C99 keywords
62427         for standards based on C99 or C11.
62429         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
62430         Disable tests.
62431         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
62432         UNIX98]: Likewise.
62434         * conform/conformtest.pl: Handle "macro-int-constant" and test for
62435         usability of symbols in #if.
62437         * conform/conformtest.pl: If macro or constant types start
62438         "promoted:", expect the symbol to be of the following type
62439         promoted by the integer promotions.
62441         * conform/conformtest.pl: Parse all "constant" and "macro" lines
62442         in one place.  Also handle "macro-constant".
62444         * conform/conformtest.pl: Only accept expected macro values with
62445         "==".  Parse all "macro" lines in one place.
62446         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
62448         * conform/conformtest.pl: Handle braced types on "constant" lines
62449         instead of handling "typed-constant".
62450         * conform/data/signal.h-data: Use "constant" instead of
62451         "typed-constant".
62453         * conform/conformtest.pl: Handle "optional-" at start of lines in
62454         one place rather than duplicating several cases.  Handle each
62455         format of "macro" line with initial "optional-".
62457         * conform/conformtest.pl: Only accept expected constant or
62458         optional-constant values with "==".  Parse all "constant" lines in
62459         one place.  Parse all "optional-constant" lines in one place.
62460         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
62461         * conform/data/fmtmsg.h-data: Likewise.
62462         * conform/data/netinet/in.h-data: Likewise.
62463         * conform/data/tar.h-data: Likewise.
62464         * conform/data/limits.h-data: Use "==" form on "constant" and
62465         "optional-constant" lines.
62467         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
62468         Use -std=c99 for XOPEN2K.
62469         (@knownproblems): Remove.
62470         (newtoken): Don't check %isknown.
62472         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
62473         Do not expect macro.
62474         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
62475         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
62476         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
62477         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
62478         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
62479         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
62480         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
62481         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
62482         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
62483         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
62484         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
62485         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
62486         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
62487         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
62488         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
62489         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
62490         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
62491         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
62492         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
62493         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
62494         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
62495         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
62496         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
62497         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
62498         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
62499         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
62500         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
62501         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
62502         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
62503         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
62504         [XPG3] (acosh): Likewise.
62505         [XPG3] (asinh): Likewise.
62506         [XPG3] (atanh): Likewise.
62507         [XPG3] (cbrt): Likewise.
62508         [XPG3] (expm1): Likewise.
62509         [XPG3] (ilogb): Likewise.
62510         [XPG3] (log1p): Likewise.
62511         [XPG3] (logb): Likewise.
62512         [XPG3] (nextafter): Likewise.
62513         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
62514         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
62515         [XPG3] (remainder): Likewise.
62516         [XPG3] (rint): Likewise.
62517         [XPG3 || XPG4 || UNIX98] (round): Likewise.
62518         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
62519         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
62520         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
62521         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
62522         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
62523         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
62524         [UNIX98 || XOPEN2K] (scalb): Expect.
62525         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
62526         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
62527         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
62528         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
62529         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
62530         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
62531         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
62532         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
62533         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
62534         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
62535         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
62536         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
62537         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
62538         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
62539         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
62540         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
62541         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
62542         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
62543         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
62544         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
62545         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
62546         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
62547         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
62548         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
62549         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
62550         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
62551         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
62552         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
62553         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
62554         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
62555         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
62556         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
62557         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
62558         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
62559         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
62560         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
62561         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
62562         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
62563         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
62564         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
62565         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
62566         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
62567         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
62568         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
62569         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
62570         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
62571         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
62572         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
62573         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
62574         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
62575         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
62576         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
62577         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
62578         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
62579         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
62580         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
62581         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
62582         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
62583         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
62584         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
62585         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
62586         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
62587         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
62588         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
62589         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
62590         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
62591         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
62592         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
62593         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
62594         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
62595         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
62596         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
62597         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
62598         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
62599         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
62600         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
62601         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
62602         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
62603         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
62604         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
62605         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
62606         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
62607         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
62608         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
62609         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
62610         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
62611         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
62612         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
62613         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
62614         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
62615         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
62616         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
62617         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
62618         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
62619         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
62620         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
62621         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
62622         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
62623         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
62624         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
62625         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
62626         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
62627         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
62628         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
62629         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
62630         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
62631         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
62632         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
62633         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
62634         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
62635         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
62636         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
62637         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
62638         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
62639         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
62640         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
62641         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
62642         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
62643         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
62644         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
62645         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
62646         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
62647         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
62648         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
62649         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
62650         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
62651         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
62652         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
62653         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
62654         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
62655         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
62656         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
62657         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
62658         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
62659         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
62660         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
62661         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
62663         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
62664         _XOPEN_SOURCE_EXTENDED for XPG4.
62666         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
62668         * Makeconfig (localtime): Remove variable.
62669         (inst_localtime-file): Likewise.
62671 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
62674         Update.
62675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62676         Update.
62677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
62678         Update.
62679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
62680         Update.
62681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
62682         Update.
62683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
62684         Update.
62685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62686         Update.
62687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
62688         Update.
62689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62690         Update.
62692 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62694         [BZ #2550]
62695         [BZ #2570]
62696         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
62697         comparisons to determine direction to adjust input.
62698         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
62699         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
62700         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
62701         Likewise.
62702         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
62703         Likewise.
62704         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62705         Likewise.
62706         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
62707         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
62708         Likewise.
62709         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
62710         Likewise.
62711         * math/libm-test.inc (nexttoward_test): Add more tests.
62713 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
62715         [BZ #14040]
62716         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
62717         in version GLIBC_2.1, not GLIBC_2.0.
62718         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
62719         Likewise.
62721 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
62723         [BZ #13942]
62724         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
62725         (1 - x) * (1 + x).
62726         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62727         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
62728         * math/libm-test.inc (acos_test): Add more tests.
62729         (asin_test): Likewise.
62730         * sysdeps/i386/fpu/libm-test-ulps: Update.
62731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62733         [BZ #14034]
62734         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
62735         of square root.
62736         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
62737         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62738         * math/libm-test.inc (acos_test_tonearest): New function.
62739         (acos_test_towardzero): Likewise.
62740         (acos_test_downward): Likewise.
62741         (acos_test_upward): Likewise.
62742         (asin_test_tonearest): Likewise.
62743         (asin_test_towardzero): Likewise.
62744         (asin_test_downward): Likewise.
62745         (asin_test_upward): Likewise.
62746         (main): Call the new functions.
62747         * sysdeps/i386/fpu/libm-test-ulps: Update.
62748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62750         [BZ #13884]
62751         [BZ #13924]
62752         * math/e_exp10.c: Include <float.h>.
62753         (__ieee754_exp10): Handle underflow here rather than multiplying
62754         large negative argument by M_LN10.
62755         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
62756         of __ieee754_expf.
62757         * math/e_exp10l.c: Include <float.h>.
62758         (__ieee754_exp10l): Handle underflow here rather than multiplying
62759         large negative argument by M_LN10l.
62760         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
62761         spurious overflow exception on underflow.
62763 2012-04-29  Marek Polacek  <polacek@redhat.com>
62765         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
62766         (__fortify_function): New macro.
62767         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
62768         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
62769         __extern_always_inline.
62770         * libio/bits/stdio2.h: Likewise.
62771         * libio/bits/stdio.h: Likewise.
62772         * string/string.h: Likewise.
62773         * string/bits/string3.h: Likewise.
62774         * include/stdio.h: Likewise.
62775         * stdlib/bits/stdlib.h: Likewise.
62776         * stdlib/stdlib.h: Likewise.
62777         * rt/bits/mqueue2.h: Likewise.
62778         * rt/mqueue.h: Likewise.
62779         * posix/bits/unistd.h: Likewise.
62780         * posix/unistd.h: Likewise.
62781         * io/bits/poll2.h: Likewise.
62782         * io/bits/fcntl2.h: Likewise.
62783         * io/fcntl.h: Likewise.
62784         * io/sys/poll.h: Likewise.
62785         * misc/bits/syslog.h: Likewise.
62786         * misc/bits/syslog-ldbl.h: Likewise.
62787         * misc/sys/syslog.h: Likewise.
62788         * socket/bits/socket2.h: Likewise.
62789         * socket/sys/socket.h: Likewise.
62790         * debug/tst-chk1.c: Likewise.
62791         * wcsmbs/bits/wchar2.h: Likewise.
62792         * wcsmbs/bits/wchar-ldbl.h: Likewise.
62793         * wcsmbs/wchar.h: Likewise.
62795 2012-04-29  Andreas Jaeger  <aj@suse.de>
62797         * Makerules (tests): Remove enable-check-abi protection.
62798         (check-abi-warn): Remove.
62799         (check-abi-%): Remove check-abi-warn usage.
62801         * configure.in: Remove check-abi configure option.
62802         * configure: Regenerated.
62803         * config.make.in (enable-check-abi): Remove.
62805 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
62807         [BZ #14033]
62808         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
62809         double functions to double *_finite functions.
62811         [BZ #13941]
62812         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
62813         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
62814         LDBL_MIN_EXP.
62815         * stdio-common/Makefile (tests): Add tst-sprintf3.
62816         * stdio-common/tst-sprintf3.c: New file.
62818         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
62819         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
62821 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
62823         * conform/conformtest.pl: Remove duplicate typed-constant
62824         handling.
62826 2012-04-28  David S. Miller  <davem@davemloft.net>
62828         * Makerules (%.abilist): Add vpath on sysdep_dirs.
62829         (check-abi-%): Remove AWK script prerequisite and explicit
62830         abilist directory.
62831         (check-abi): Rewrite to just diff the symlist with the abilist.
62832         (config-tls, config-abi-config): Delete, no longer used.
62833         (update-abi-%): Remove AWK script and explicit abilist directory.
62834         (update-abi): Rewrite to simply compare and conditionally copy the
62835         symlist and the sysdep abilist file.  Remove update-abi-config
62836         checks.
62837         * abilist/ld.abilist: Remove.
62838         * abilist/libBrokenLocale.abilist: Remove.
62839         * abilist/libanl.abilist: Remove.
62840         * abilist/libcrypt.abilist: Remove.
62841         * abilist/libdl.abilist: Remove.
62842         * abilist/librt.abilist: Remove.
62843         * abilist/libthread_db.abilist: Remove.
62844         * abilist/libutil.abilist: Remove.
62845         * scripts/extract-abilist.awk: Remove.
62846         * scripts/merge-abilist.awk: Remove.
62847         * sysdeps/generic/libcidn.abilist: New file.
62848         * sysdeps/generic/libnss_compat.abilist: New file.
62849         * sysdeps/generic/libnss_db.abilist: New file.
62850         * sysdeps/generic/libnss_dns.abilist: New file.
62851         * sysdeps/generic/libnss_files.abilist: New file.
62852         * sysdeps/generic/libnss_hesiod.abilist: New file.
62853         * sysdeps/generic/libnss_nis.abilist: New file.
62854         * sysdeps/generic/libnss_nisplus.abilist: New file.
62855         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
62856         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
62857         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
62858         file.
62859         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
62860         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
62861         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
62862         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
62863         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
62864         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
62865         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
62866         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
62867         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
62868         file.
62869         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
62870         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
62871         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
62872         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
62873         file.
62874         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
62875         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
62876         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
62877         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
62878         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
62879         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
62880         file.
62881         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
62882         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
62883         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
62884         file.
62885         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
62886         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
62887         New file.
62888         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
62889         New file.
62890         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
62891         New file.
62892         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
62893         New file.
62894         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
62895         New file.
62896         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
62897         New file.
62898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
62899         New file.
62900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
62901         New file.
62902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
62903         New file.
62904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
62905         New file.
62906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
62907         New file.
62908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
62909         New file.
62910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
62911         New file.
62912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
62913         file.
62914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
62915         New file.
62916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
62917         New file.
62918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
62919         file.
62920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
62921         New file.
62922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
62923         New file.
62924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
62925         file.
62926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
62927         New file.
62928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
62929         New file.
62930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
62931         New file.
62932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
62933         New file.
62934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
62935         New file.
62936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
62937         New file.
62938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
62939         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
62940         file.
62941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
62942         New file.
62943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
62944         file.
62945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
62946         file.
62947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
62948         file.
62949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
62950         file.
62951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
62952         file.
62953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62954         New file.
62955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
62956         file.
62957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
62958         file.
62959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
62960         New file.
62961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
62962         file.
62963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
62964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
62965         file.
62966         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
62967         New file.
62968         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
62969         file.
62970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
62971         file.
62972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
62973         file.
62974         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
62975         file.
62976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
62977         file.
62978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62979         New file.
62980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
62981         file.
62982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
62983         file.
62984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
62985         New file.
62986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
62987         file.
62988         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62989         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
62990         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
62991         file.
62992         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
62993         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
62994         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
62995         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
62996         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
62997         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
62998         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
62999         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63000         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63001         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63003         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63004         file.
63005         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63006         New file.
63007         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63008         file.
63009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63010         file.
63011         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63012         file.
63013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63014         file.
63015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63016         file.
63017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63018         New file.
63019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63020         New file.
63021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63022         file.
63023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63024         New file.
63025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63026         file.
63027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63029         file.
63030         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63031         New file.
63032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63033         file.
63034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63035         file.
63036         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63037         file.
63038         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63039         file.
63040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63041         file.
63042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63043         New file.
63044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63045         New file.
63046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63047         file.
63048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63049         New file.
63050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63051         file.
63053 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63055         * conform/conformtest.pl: Fix typo in handling typed-constant from
63056         allow-header.
63058 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63060         * README: Cut down references to pre-2.6 Linux kernels and
63061         Linuxthreads.  Update lists of configurations in libc and ports
63062         and sort alphabetically.  Say "or newer" with Linux kernel version
63063         requirements.
63065         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63067 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63069         [BZ #887]
63070         * math/libm-test.inc (logb_test_downward): New test to expose
63071         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63072         rounding mode.
63074 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63076         [BZ #14027]
63077         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63078         to be done.
63079         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63080         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63082 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63084         * sysdeps/unix/i386/brk.S: Remove file.
63085         * sysdeps/unix/i386/dl-brk.S: Likewise.
63086         * sysdeps/unix/i386/pipe.S: Likewise.
63087         * sysdeps/unix/i386/sigreturn.S: Likewise.
63088         * sysdeps/unix/i386/syscall.S: Likewise.
63089         * sysdeps/unix/i386/vfork.S: Likewise.
63090         * sysdeps/unix/i386/wait.S: Likewise.
63092         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63093         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63095         * configure.in (arm*-none*): Do not allow without
63096         --enable-hacker-mode.
63097         (netbsd*): Remove case setting base_os.
63098         (386bsd*): Likewise.
63099         (freebsd*): Likewise.
63100         (bsdi*): Likewise.
63101         (osf*): Likewise.
63102         (sunos*): Likewise.
63103         (ultrix*): Likewise.
63104         (newsos*): Likewise.
63105         (dynix*): Likewise.
63106         (*bsd*): Likewise.
63107         (sysv*): Likewise.
63108         (isc*): Likewise.
63109         (esix*): Likewise.
63110         (sco*): Likewise.
63111         (minix*): Likewise.
63112         (irix4*): Likewise.
63113         (irix6*): Likewise.
63114         (solaris[2-9]*): Likewise.
63115         (none): Likewise.
63116         * configure: Regenerated.
63118 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63120         [BZ #11521]
63121         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63122         overflow or cancellation in calculating denominator.
63123         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63124         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63125         down expression to avoid unexpected rounding in newer GCCs.
63126         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63128 2012-04-26  David S. Miller  <davem@davemloft.net>
63130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63131         long-double compat symbols.
63132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63143         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63146 2012-04-25  David S. Miller  <davem@davemloft.net>
63148         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63149         HWCAP_* values only after the memory barriers have been defined.
63150         (atomic_full_barrier): Define.
63151         (atomic_read_barrier): Define.
63152         (atomic_write_barrier): Define.
63154 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63156         * shlib-versions: Add libgcc_s version information.
63157         * sysdeps/generic/libgcc_s.h: Remove.
63158         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63159         libgcc_s.h.
63160         * sysdeps/gnu/unwind-resume.c: Likewise.
63161         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63163 2012-04-25  David S. Miller  <davem@davemloft.net>
63165         * sysdeps/unix/sparc/brk.S: Delete.
63166         * sysdeps/unix/sparc/dl-brk.S: Delete.
63167         * sysdeps/unix/sparc/pipe.S: Delete.
63168         * sysdeps/unix/sparc/sysdep.S: Delete.
63169         * sysdeps/unix/sparc/sysdep.h: Delete.
63170         * sysdeps/unix/sparc/vfork.S: Delete.
63171         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63172         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63173         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63174         (ret_ERRVAL, r0, r1, MOVE): Define.
63175         (JUMPTARGET): Remove.
63176         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63177         sysdeps/unix/sparc/sysdep.h
63178         (ENTRY, END): Remove.
63179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63181 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63183         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63184         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63185         -DIS_IN_build.
63187         * timezone/README: Update upstream location and email address for
63188         tzcode and tzdata.
63189         * timezone/zdump.c: Update from tzcode 2012b.
63190         * timezone/zic.c: Likewise.
63192         * configure.in (libc_cv_as_needed): Remove test.
63193         * configure: Regenerated.
63194         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63195         conditional definition.
63196         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63197         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63198         * config.make.in (have-as-needed): Remove variable.
63200 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63201             Paul Pluzhnikov  <ppluzhnikov@google.com>
63203         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63204         strings correctly.
63206 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63208         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63209         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63210         * sysdeps/sh/strlen.S: Likewise.
63212 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63214         * sysdeps/unix/fork.S: Remove file.
63215         * sysdeps/unix/i386/fork.S: Likewise.
63216         * sysdeps/unix/sparc/fork.S: Likewise.
63218         * sysdeps/unix/system.c: Remove file.
63219         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63221         * sysdeps/unix/getegid.S: Remove file.
63222         * sysdeps/unix/geteuid.S: Likewise.
63224 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63226         * scripts/check-localplt.awk: New file.
63227         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63228         of diff.
63229         * scripts/data/localplt-generic.data: Add a comment.
63231         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63232         NODE when __dir_mkfile failed.
63233         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63234         Reported by Ludovic Courtès <ludo@gnu.org>.
63236 2012-04-24  Andreas Jaeger  <aj@suse.de>
63238         * Makerules (common-clean): Also remove gen-as-const-headers
63239         files.
63241 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63243         * Makerules (native-compile): Do not change working directory for
63244         build.  Use $(OUTPUT_OPTION) in command.
63245         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63247 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63249         [BZ #13886]
63250         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63251         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63252         * math/libm-test.inc (floor_test): Add more tests.
63253         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63255 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63257         * sysdeps/unix/getdents.c: Remove file.
63258         * sysdeps/unix/sysv/getdents.c: Likewise.
63259         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63261         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63262         sysdeps/unix/mman/syscalls.list.
63263         (mmap): Likewise.
63264         (mprotect): Likewise.
63265         (msync): Likewise.
63266         (munmap): Likewise.
63267         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63268         * sysdeps/unix/mman/syscalls.list: Remove.
63269         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63271         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63272         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63273         * configure: Regenerated.
63274         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63275         $(libgcc_s_suffix).
63276         * config.make.in (libgcc_s_suffix): Remove variable.
63278 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63280         * sysdeps/unix/sysv/gethostname.c: Move to ...
63281         * sysdeps/posix/gethostname.c: ... here.
63283         * sysdeps/unix/execve.S: Remove file.
63285         * sysdeps/unix/_exit.S: Remove file.
63287 2012-04-23  Andreas Jaeger  <aj@suse.de>
63289         [BZ #13739]
63290         * manual/Makefile: Remove make dist support, there's no
63291         need for a stand-alone documentation tar ball.
63292         (TEXI2DVI): Define always, it's not in Makeconfig.
63293         (dist): Removed.
63294         (tar-it): Removed.
63295         (edition): Removed.
63296         (glibc-doc-$(edition).tar): Removed
63297         (%.Z): Removed.
63298         (%.gz): Removed.
63299         (%.uu): Removed.
63300         (ETAGS): Remove, it's in Makeconfig.
63301         (move-if-change): Remove, it's in Makeconfig.
63303 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63305         [BZ #13970]
63306         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63307         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63308         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63309         (strtod_l, strtof_l, strtold_l): Remove __wur.
63310         It is not necessarily an error to ignore strtol's return value.
63311         One can reliably look at the stored endptr to decide whether
63312         the number had valid syntax.
63314 2012-04-21  Andreas Jaeger  <aj@suse.de>
63316         [BZ #13739]
63317         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63319 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63321         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63322         * sysdeps/unix/sysv/Versions: Remove file.
63324 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63326         [BZ #13927]
63327         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63329 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63331         [BZ #7064]
63332         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63333         version from __vm86.
63335 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63337         * sysdeps/unix/common/lxstat.c: Remove file.
63338         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63340         * sysdeps/unix/sysv/Makefile: Remove file.
63342         * sysdeps/unix/sysv/direct.h: Remove file.
63344         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63345         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63346         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63347         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63348         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63349         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63350         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63352         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63354         * sysdeps/unix/xmknod.c: Remove file.
63355         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63357         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63359         * sysdeps/unix/sysv/i386/time.S: Remove file.
63361         * sysdeps/unix/fxstat.c: Remove file.
63362         * sysdeps/unix/xstat.c: Likewise.
63363         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63365         * sysdeps/unix/sysv/sigaction.c: Remove file.
63367         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63368         (sysdep_headers): Remove variable.
63369         [termio.h not in sysdep_headers] (generated): Likewise.
63370         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63371         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63372         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63373         * sysdeps/unix/sysv/tcflow.c: Likewise.
63374         * sysdeps/unix/sysv/tcflush.c: Likewise.
63375         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63376         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63377         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63378         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63379         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63381         * sysdeps/unix/siglist.c: Remove file.
63383         * sysdeps/unix/getppid.S: Remove file.
63385         * sysdeps/unix/mkdir.c: Remove file.
63386         * sysdeps/unix/rmdir.c: Likewise.
63388 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63390         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63391         ERR_MAX value.
63392         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63393         errlist-compat value.
63395 2012-04-18  David S. Miller  <davem@davemloft.net>
63397         * sysdeps/generic/memcopy.h (reg_char): Delete.
63398         * debug/strcat_chk.c: Use char, not reg_char.
63399         * debug/strcpy_chk.c: Likewise.
63400         * debug/strncat_chk.c: Likewise.
63401         * debug/strncpy_chk.c: Likewise.
63402         * string/memchr.c: Likewise.
63403         * string/memrchr.c: Likewise.
63404         * string/rawmemchr.c: Likewise.
63405         * string/strcat.c: Likewise.
63406         * string/strchr.c: Likewise.
63407         * string/strchrnul.c: Likewise.
63408         * string/strcmp.c: Likewise.
63409         * string/strcpy.c: Likewise.
63410         * string/strncat.c: Likewise.
63411         * string/strncmp.c: Likewise.
63412         * string/strncpy.c: Likewise.
63414 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63416         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
63417         __builtin_memcopy is called when src and dest ranges are known to not
63418         overlap.
63420 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63422         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
63423         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
63424         fwd_align_merge macro call.
63425         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
63426         bwd_align_merge macro call.
63427         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63429 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
63431         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
63432         bwd_align_merge macros.
63433         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
63434         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
63435         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
63437 2012-04-18  David S. Miller  <davem@davemloft.net>
63439         * sysdeps/sparc/sparc64/memcopy.h: Delete.
63441 2012-04-18  Andreas Jaeger  <aj@suse.de>
63443         [BZ# 6794]
63444         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
63445         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
63446         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63448         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
63449         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63450         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63452         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
63453         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
63454         Adjust for changed ldbl-128 files.
63456         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63457         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
63458         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
63460 2012-04-17  David S. Miller  <davem@davemloft.net>
63462         * sysdeps/sparc/sparc32/memcopy.h: Delete.
63464 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
63466         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
63467         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
63468         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
63469         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
63470         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
63471         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
63473 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63475         [BZ #6794]
63476         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
63477         * math/libm-test.inc: Add ilogb errno and exception tests.
63478         * math/w_ilogb.c: New file: ilogb wrapper.
63479         * math/w_ilogbf.c: New file: ilogbf wrapper.
63480         * math/w_ilogbl.c: New file: ilogbl wrapper.
63481         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
63482         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
63483         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
63484         exception being thrown with 0.0 as argument.
63485         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
63486         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
63487         exception being thrown with 0.0 as argument.
63488         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
63489         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63490         exception being thrown with 0.0 as argument.
63491         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
63492         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
63493         exception being thrown with 0.0 as argument.
63494         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
63495         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
63496         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
63497         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
63498         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
63499         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
63500         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
63501         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
63502         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
63504 2012-04-17  Petr Baudis  <pasky@ucw.cz>
63506         * include/sys/uio.h: Change __vector to __iovec to avoid clash
63507         with altivec.
63509 2012-04-16  Marek Polacek  <polacek@redhat.com>
63511         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
63513 2012-04-16  Marek Polacek  <polacek@redhat.com>
63515         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
63516         operands of fdivp instruction.
63518 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63520         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
63521         * elf/tst-auditmod3b.c: Likewise.
63522         * elf/tst-auditmod4b.c: Likewise.
63523         * elf/tst-auditmod5b.c: Likewise.
63524         * elf/tst-auditmod6b.c: Likewise.
63525         * elf/tst-auditmod6c.c: Likewise.
63526         * elf/tst-auditmod7b.c: Likewise.
63527         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
63528         * sysdeps/x86_64/preconfigure.in: Likewise.
63529         * sysdeps/x86_64/preconfigure: Regenerated.
63531 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
63533         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
63534         __ILP32__.
63536 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
63538         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
63539         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
63541 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
63543         [BZ #13973]
63544         * locale/iso-639.def: Fix gl language name. Spotted by
63545         Yaron Shahrabani.
63547 2012-04-12  Roland McGrath  <roland@hack.frob.com>
63549         [BZ #2074]
63550         * libio/libio.h (__io_write_fn): Update comment.
63552 2012-04-12  Petr Baudis  <pasky@ucw.cz>
63554         [BZ #2074]
63555         * stdio.texi (Hook Functions): The user provided writer function
63556         is not allowed to return -1.
63558 2012-04-11  David S. Miller  <davem@davemloft.net>
63560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63562 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
63564         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
63565         Add a leading slash to rtkaio.
63567 2012-04-11  Jim Meyering  <meyering@redhat.com>
63569         [BZ #11959]
63570         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
63571         It is not necessarily an error to ignore fwrite's return
63572         value.  One can reliably use ferror to test for errors after
63573         the fact.
63575 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63577         * bits/types.h (__snseconds_t): New type.
63578         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
63580         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
63581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63582         (__SNSECONDS_T_TYPE): Likewise.
63583         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63584         (__SNSECONDS_T_TYPE): Likewise.
63585         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63586         (__SNSECONDS_T_TYPE): Likewise.
63588 2012-04-10  Andreas Jaeger  <aj@suse.de>
63590         [BZ #2636]
63591         * manual/time.texi (Processor Time): Return type of times is
63592         elapsed real time since an arbitrary point in the past.
63593         (CPU Time): Move CLK_TCK from here...
63594         (Processor Time): ...to here.  Correct description.
63595         * manual/conf.texi (Constants for Sysconf): Correct description of
63596         _SC_CLK_TCK.
63598 2012-04-10  David S. Miller  <davem@davemloft.net>
63600         [BZ #13967]
63601         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
63602         where the is a gap between DT_REL(A) and DT_JMPREL.
63604 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
63606         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
63607         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63608         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63610 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63612         * elf/dl-support.c (_dl_inhibit_cache): New variable.
63613         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
63614         (dl_main): Handle --inhibit-cache.
63615         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
63616         _dl_inhibit_cache.
63617         * elf/dl-load.c (_dl_map_object): Use it.
63618         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
63620 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63622         [BZ #13872]
63623         * sysdeps/i386/fpu/e_powl.S (p78): New object.
63624         (__ieee754_powl): Saturate large exponents rather than testing for
63625         overflow of y*log2(x).
63626         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63627         * math/libm-test.inc (pow_test): Do not permit spurious overflow
63628         exceptions.
63630         [BZ #11521]
63631         * math/s_ctan.c: Include <float.h>.
63632         (__ctan): Avoid internal overflow or cancellation in calculating
63633         denominator.
63634         * math/s_ctanf.c: Likewise.
63635         * math/s_ctanl.c: Likewise.
63636         * math/s_ctanh.c: Likewise.
63637         * math/s_ctanhf.c: Likewise.
63638         * math/s_ctanhl.c: Likewise.
63639         * math/libm-test.inc (ctan_test): Add more tests.
63640         (ctanh_test): Likewise.
63641         * sysdeps/i386/fpu/libm-test-ulps: Update.
63642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63644 2012-04-09  Andreas Jaeger  <aj@suse.de>
63646         [BZ #6894]
63647         * manual/filesys.texi (Directory Entries): Mention that d_namlen
63648         is an optional BSD extension.
63650         [BZ #10254]
63651         * manual/stdio.texi (Opening Streams): Document additional fopen
63652         parameters.
63654 2012-04-09  Roland McGrath  <roland@hack.frob.com>
63656         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
63657         %eax without telling the compiler.
63659 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
63661         [BZ # 13963]
63662         * manual/install.texi: Use sourceware.org.
63664 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
63666         [BZ #13873]
63667         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
63668         (__ieee754_pow): Generate overflow and underflow using huge*huge
63669         and tiny*tiny rather than just returning constant infinity or zero
63670         for large exponents.
63671         * math/libm-test.inc (pow_test): Require overflow exceptions for
63672         applicable cases of large exponents.
63674         [BZ #706]
63675         * sysdeps/i386/fpu/e_pow.S (p10): New object.
63676         (__ieee754_pow): Use iterative multiplication algorithm only for
63677         integer exponents with absolute value below 1024.  Check for odd
63678         integer exponents when using algorithm for real exponents.
63679         * math/libm-test.inc (pow_test): Add more tests.
63680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63682 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
63684         [BZ #13705]
63685         * math/libm-test.inc (exp_test): Do not allow overflow exception
63686         on underflow test.
63688 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
63690         [BZ #13705]
63691         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
63692         instead of __kernel_standard_f.
63694 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
63696         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
63697         * sysdeps/x86_64/memset_chk.S: Likewise.
63699 2012-04-08  Andreas Jaeger  <aj@suse.de>
63701         [BZ #10153]
63702         * manual/startup.texi (Environment Access): Describe return value
63703         for putenv and setenv.
63705         [BZ #6895]
63706         * manual/filesys.texi (Directory Entries): Add description for
63707         DT_LNK.
63709         [BZ #6890]
63710         * manual/filesys.texi (Directory Entries): Clarify that it's file
63711         system not operating system in the description of DT_UNKNOWN.
63713         [BZ #6578]
63714         * manual/syslog.texi (closelog): Fix reference, it's openlog.
63716 2012-04-08  Stephen Compall  <s11@member.fsf.org>
63718         [BZ #6649]
63719         * manual/llio.texi (Opening and Closing Files): Add cross
63720         reference to explain mode argument.
63722 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
63724         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
63725         * sysdeps/x86_64/memset_chk.S: Likewise.
63727 2012-04-07  David S. Miller  <davem@davemloft.net>
63729         * elf/elf.h (R_SPARC_WDISP10): Define.
63730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
63731         R_SPARC_SIZE32.
63732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
63733         R_SPARC_SIZE64 and R_SPARC_H34.
63735 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
63737         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
63738         conditions and remove no longer applicable assertion.
63740 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63742         * bits/byteswap.h: Include <features.h>.
63743         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
63744         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63746 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
63748         * bits/byteswap.h (__bswap_16): Removed.
63749         Include <bits/byteswap-16.h> to get __bswap_16.
63750         * sysdeps/i386/bits/byteswap.h: Likewise.
63751         * sysdeps/s390/bits/byteswap.h: Likewise.
63752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63753         * bits/byteswap-16.h: New file.
63754         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63755         * sysdeps/s390/bits/byteswap-16.h: Likewise.
63756         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
63757         * string/Makefile (headers): Add bits/byteswap-16.h.
63759 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63761         [BZ #13895]
63762         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
63763         extra indirection.
63764         * nss/Makefile (tests-static, tests): Add tst-nss-static.
63765         * nss/tst-nss-static.c: New.
63767 2012-04-06  Robert Millan  <rmh@gnu.org>
63769         [BZ #6486]
63770         * manual/llio.texi (File Position Primitive): lseek
63771         refers to WHENCE when it really means OFFSET.
63773 2012-04-06  Andreas Jaeger  <aj@suse.de>
63775         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
63776         strncmp declarations.
63778         * abilist/libc.abilist: Add __poll and __ppoll.
63780 2012-04-05  David S. Miller  <davem@davemloft.net>
63782         * scripts/check-local-headers.sh: Accept a host triplet in the
63783         path matched by the exclude regexp.
63785         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
63786         definition.
63787         * sysdeps/powerpc/powerpc32/dl-machine.h
63788         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
63789         * sysdeps/s390/s390-32/dl-machine.h
63790         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63791         * sysdeps/sparc/sparc32/dl-machine.h
63792         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63793         * sysdeps/sparc/sparc64/dl-machine.h
63794         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
63796         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
63797         lazy binding.
63798         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
63799         undefined symbol errors.
63801         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
63802         DT_NEEDED entries.
63804 2012-04-05  Michael Matz  <matz@suse.de>
63806         [BZ #13592]
63807         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
63809 2012-04-05  Andreas Jaeger  <aj@suse.de>
63811         [BZ #13908]
63812         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
63813         comment.
63815 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63817         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
63818         which ROUND is no valid rounding mode.
63820 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63822         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
63823         read again.
63824         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
63826 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63828         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
63829         an exception using FPU order intentionally.
63831 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
63833         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
63834         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
63835         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
63836         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
63838 2012-04-05  Simon Josefsson  <simon@josefsson.org>
63840         [BZ #12340]
63841         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
63842         EINVAL when BUFLEN is too smal.
63844 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63846         [BZ #13553]
63847         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
63848         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
63850 2012-04-03  Andreas Jaeger  <aj@suse.de>
63852         [BZ #13938]
63853         * manual/setjmp.texi (System V contexts): Fix sentence.
63855         [BZ #13926]
63856         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
63857         New macro for this case.
63858         [!__GNUC__] (__bswap_64): New inline function for this case.
63859         * sysdeps/x86_64/bits/byteswap.h: Likewise.
63860         * bits/byteswap.h: Likewise.
63861         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
63862         ull, guard with __GLIBC_HAVE_LONG_LONG.
63864         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
63865         __GLIBC_HAVE_LONG_LONG.
63867         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
63868         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
63870 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
63872         [BZ #13691]
63873         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
63874         inptr and inend, rather than using last_ch.
63876 2012-04-02  David S. Miller  <davem@davemloft.net>
63878         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
63879         * stdio-common/printf-parse.h (read_int): Change return type to
63880         'int', return -1 on INT_MAX overflow.
63881         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
63882         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
63883         overflows INT_MAX.  Check for overflow of in-format-string precision
63884         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
63885         SIZE_MAX not INT_MAX for integer overflow test.
63886         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
63887         skip the construct in the format string but do not record anything.
63888         * stdio-common/bug22.c: Adjust to test both width/prevision
63889         INT_MAX overflow as well as total length INT_MAX overflow.  Check
63890         explicitly for proper errno values.
63892 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63894         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
63895         CHAR_MAX.
63896         * string/test-strcmp.c [! WIDE]: Likewise.
63897         * time/tst-mktime2.c: Likewise for INT_MAX.
63898         * string/test-string.h: #include <sys/param.h> for MIN.
63900         * csu/init-first.c (__libc_init_first): Call __ctype_init.
63901         * sysdeps/i386/init-first.c (init): Likewise.
63902         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
63903         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
63904         * sysdeps/sh/init-first.c (init): Likewise.
63906 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
63908         * po/ru.po: Update from translation team.
63909         * po/vi.po: Likewise.
63911 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
63913         * resolv/nss_dns/dns-host.c: Merge copyright years.
63915 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63917         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
63918         Optimize memcpy with prefetch if
63919         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
63920         src, dst pointers have unequal 16 byte alignments.
63922 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63924         [BZ #13928]
63925         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
63926         from a CNAME entry and return the minimum ttl for the query.
63927         (gaih_getanswer_slice): Likewise.
63929 2012-03-30  Jeff Law  <law@redhat.com>
63931         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
63932         due to long keys.
63933         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
63934         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
63936         * resolv/nss_dns/dns-host.c: Update copyright year.
63938 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
63940         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
63941         requests to save a system call.  Fix check that all bytes are sent.
63943         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
63944         comments for sendmmsg.
63946 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63948         [BZ #13691]
63949         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
63950         with only 1 character between 0x0041 and 0x01b0.
63951         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
63952         * wcsmbs/tst-mbsnrtowcs.c: New file.
63954 2012-03-29  David S. Miller  <davem@davemloft.net>
63956         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
63957         small copies by hand.
63959 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63961         [BZ #13761]
63962         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
63963         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
63964         group memberships.
63966 2012-03-28  David S. Miller  <davem@davemloft.net>
63968         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63969         that branches into memcpy.
63970         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
63971         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
63972         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63973         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
63974         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
63975         bits.
63976         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
63977         implementation too.
63978         * sysdeps/sparc/mempcpy.S: New file.
63980         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
63981         the IFUNC routine in the libc case.
63982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
63984         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
63985         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
63986         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
63987         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
63988         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
63989         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
63990         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
63991         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
63993         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
63994         loop to 256 bytes instead of 64 bytes and fix test signedness.
63996         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
63997         * sysdeps/sparc/sparc32/Makefile: rather than here...
63998         * sysdeps/sparc/sparc64/Makefile: and here.
64000 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64002         * malloc/mallocbug.c: Avoid warnings about unused variables.
64004 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64006         [BZ #13760]
64007         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64008         in the right place. Discard and retry query if response is
64009         larger than input buffer size.
64011 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64013         [BZ #369]
64014         [BZ #2678]
64015         [BZ #3866]
64016         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64017         x for large integer exponent.
64018         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64019         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64020         sign of result as needed afterwards.
64021         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64022         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64023         result for underflowing pow the same as for overflow.
64024         (__kernel_standard_l): Handle powl overflow and underflow here
64025         rather than calling __kernel_standard.
64026         * math/libm-test.inc (pow_test): Add more tests.
64028         [BZ #3868]
64029         [BZ #13879]
64030         [BZ #13910]
64031         [BZ #13911]
64032         [BZ #13912]
64033         [BZ #13913]
64034         [BZ #13915]
64035         [BZ #13916]
64036         [BZ #13917]
64037         [BZ #13918]
64038         [BZ #13919]
64039         [BZ #13920]
64040         [BZ #13921]
64041         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64042         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64043         (__kernel_standard_l): New function.
64044         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64045         __kernel_standard.
64046         * math/w_acosl.c (__acosl): Likewise.
64047         * math/w_asinl.c (__asinl): Likewise.
64048         * math/w_atan2l.c (__atan2l): Likewise.
64049         * math/w_atanhl.c (__atanhl): Likewise.
64050         * math/w_coshl.c (__coshl): Likewise.
64051         * math/w_exp10l.c (__exp10l): Likewise.
64052         * math/w_exp2l.c (__exp2l): Likewise.
64053         * math/w_fmodl.c (__fmodl): Likewise.
64054         * math/w_hypotl.c (__hypotl): Likewise.
64055         * math/w_j0l.c (__j0l, __y0l): Likewise.
64056         * math/w_j1l.c (__j1l, __y1l): Likewise.
64057         * math/w_jnl.c (__jnl, __ynl): Likewise.
64058         * math/w_lgammal.c (__lgammal): Likewise.
64059         * math/w_log10l.c (__log10l): Likewise.
64060         * math/w_log2l.c (__log2l): Likewise.
64061         * math/w_logl.c (__logl): Likewise.
64062         * math/w_powl.c (__powl): Likewise.
64063         * math/w_remainderl.c (__remainderl): Likewise.
64064         * math/w_scalbl.c (sysv_scalbl): Likewise.
64065         * math/w_sinhl.c (__sinhl): Likewise.
64066         * math/w_sqrtl.c (__sqrtl): Likewise.
64067         * math/w_tgammal.c (__tgammal): Likewise.
64068         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64069         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64070         * math/libm-test.inc (acos_test): Add more tests.
64071         (acosh_test): Likewise.
64072         (asin_test): Likewise.
64073         (atanh_test): Likewise.
64074         (exp_test): Likewise.
64075         (exp10_test): Likewise.
64076         (exp2_test): Likewise.
64077         (expm1_test): Likewise.
64078         (lgamma_test): Likewise.
64079         (log_test): Likewise.
64080         (log10_test): Likewise.
64081         (log1p_test): Likewise.
64082         (log2_test): Likewise.
64083         (pow_test): Do not allow some spurious overflow exceptions.
64084         (sqrt_test): Add more tests.
64085         (tgamma_test): Likewise.
64086         (y0_test): Likewise.
64087         (y1_test): Likewise.
64088         (yn_test): Likewise.
64090 2012-03-27  Anton Blanchard  <anton@samba.org>
64092         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64093         MAP_HUGETLB.
64094         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64095         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64096         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64098 2012-03-27  David S. Miller  <davem@davemloft.net>
64100         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64102         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64103         have-as-vis3 check.
64105 2012-03-27  Andreas Jaeger  <aj@suse.de>
64107         * sysdeps/x86_64/elf/configure.in: Moved to ...
64108         * sysdeps/x86_64/configure.in: ... here.
64109         * sysdeps/x86_64/elf/start.S: Moved to ...
64110         * sysdeps/x86_64/start.S: ... here.
64111         * sysdeps/x86_64/elf/configure: Delete.
64113         * sysdeps/x86_64/configure.in: Merge contents from
64114         sysdeps/i386/configure.in (without i686 check).
64116         * sysdeps/i386/elf/Versions: Merge into ...
64117         * sysdeps/i386/Versions: ... this.
64118         * sysdeps/i386/elf/Versions: Delete file.
64119         * sysdeps/i386/elf/start.S: Moved to ...
64120         * sysdeps/i386/start.S: ...here.
64121         * sysdeps/i386/elf/configure.in: Merge into...
64122         * sysdeps/i386/configure.in: ...here.
64123         * sysdeps/i386/elf/configure.in: Delete file.
64124         * sysdeps/i386/elf/configure: Delete file.
64126         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64127         * debug/backtracesyms.c: ... here.
64128         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64129         * debug/backtracesymsfd.c: ... here.
64130         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64131         * sysdeps/generic/ifunc-sel.h: ... here.
64133         * sysdeps/unix/i386/start.c: Delete file.
64134         * sysdeps/unix/sparc/start.c: Delete file.
64135         * sysdeps/unix/start.c: Delete file.
64137         * sysdeps/sh/elf/configure.in: Moved to ...
64138         * sysdeps/sh/configure.in: ... here.
64139         * sysdeps/sh/elf/start.S: Moved to ...
64140         * sysdeps/sh/start.S: ... here.
64141         * sysdeps/sh/elf/configure: Delete file.
64143         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64144         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64145         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64146         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64147         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64148         * sysdeps/powerpc/powerpc64/start.S: here.
64149         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64150         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64151         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64152         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64153         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64155         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64156         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64157         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64158         * sysdeps/powerpc/powerpc32/start.S: ... here.
64159         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64160         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64161         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64163         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64164         * sysdeps/powerpc/ifunc-sel.h: ... here.
64165         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64166         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64168         * sysdeps/sparc/elf/configure.in: Moved to ...
64169         * sysdeps/sparc/configure.in: ... here.
64170         * sysdeps/sparc/elf/configure: Delete file.
64171         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64172         * sysdeps/sparc/sparc32/start.S: ... here.
64173         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64174         * sysdeps/sparc/sparc64/start.S: ... here.
64175         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64176         * sysdeps/sparc/sparc32/Makefile: ... this.
64177         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64178         * sysdeps/sparc/sparc64/Makefile: ... this.
64180         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64181         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64182         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64183         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64184         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64185         * sysdeps/s390/s390-32/setjmp.S: ... here.
64186         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64187         * sysdeps/s390/s390-32/configure.in: ... here.
64188         * sysdeps/s390/s390-32/elf/configure: Delete file.
64189         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64190         * sysdeps/s390/s390-32/start.S: ... here.
64192         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64193         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64194         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64195         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64196         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64197         * sysdeps/s390/s390-64/setjmp.S: ... here.
64198         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64199         * sysdeps/s390/s390-64/configure.in: ... here
64200         * sysdeps/s390/s390-64/elf/configure: Delete file.
64201         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64202         * sysdeps/s390/s390-64/start.S: ... here.
64203         * sysdeps/s390/s390-64/elf/configure: Delete.
64205         * configure.in: Remove support for elf directories in sysdeps.
64207         * configure: Regenerated.
64208         * sysdeps/i386/configure: Regenerated.
64209         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64210         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64211         * sysdeps/s390/s390-32/configure: Regenerated.
64212         * sysdeps/s390/s390-64/configure: Regenerated.
64213         * sysdeps/sh/configure: Regenerated.
64214         * sysdeps/sparc/configure: Regenerated.
64215         * sysdeps/x86_64/configure: Regenerated.
64217 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64221         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64222         denormal result into account.
64224 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64226         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64227         Reported by Allan McRae <allan@archlinux.org>.
64229 2012-03-23  Jeff Law  <law@redhat.com>
64231         * nss/getnssent.c (__nss_getent): Fix typo.
64233 2012-03-23  David S. Miller  <davem@davemloft.net>
64235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64237 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64239         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64240         to pad to uint64_t for each field.
64241         (dl_tls_index): Replace unsigned long with uint64_t.
64243 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64244         Paul Pluzhnikov  <ppluzhnikov@google.com>
64246         [BZ #6528]
64247         * grp/Makefile (otherlibs): Don't set it.
64248         * inet/Makefile (otherlibs): Likewise.
64249         * login/Makefile (otherlibs): Likewise.
64250         * nscd/Makefile (otherlibs): Likewise.
64251         * posix/Makefile (otherlibs): Likewise.
64252         * pwd/Makefile (otherlibs): Likewise.
64253         * rt/Makefile (otherlibs): Likewise.
64254         * sunrpc/Makefile (otherlibs): Likewise.
64255         * nss/Makefile (otherlibs): Likewise.
64256         Add libnss_files to routines and static-only-routines.
64257         ($(objpfx)getent): Remove rule.
64258         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64259         static-only-routines.
64261 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64263         [BZ #13892]
64264         * math/s_cexp.c: Include <float.h>.
64265         (__cexp): Handle exp result overflowing not necessarily
64266         overflowing both real and imaginary parts of result.
64267         * math/s_cexpf.c: Likewise.
64268         * math/s_cexpl.c: Likewise.
64269         * math/libm-test.inc (cexp_test): Add more tests.
64270         * sysdeps/i386/fpu/libm-test-ulps: Update.
64271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64273 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64275         * include/link.h (ELFW): New macro.
64276         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64277         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64279 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64281         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64282         with uint64_t.
64284 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64286         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64287         declaration.
64288         (struct La_x32_retval): Likewise.
64290 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64292         * sysdeps/x86_64/preconfigure.in: New file.
64293         * sysdeps/x86_64/preconfigure: New generated file.
64295 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64297         [BZ #13824]
64298         * math/e_exp2l.c: Include <float.h>.
64299         (__ieee754_exp2l): Handle overflow and underflow cases
64300         separately.  Only pass fractional part of argument to
64301         __ieee754_expl.
64302         * math/libm-test.inc (exp2_test): Add more tests.
64304         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64305         negating x to take absolute value.
64306         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64307         Likewise.
64308         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64309         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64310         Likewise.
64311         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64312         computing low part if x was negated.
64313         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64315 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64317         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64318         la_x32_gnu_pltexit.
64319         (pltexit): Cast int_retval to ptrdiff_t.
64320         * elf/tst-auditmod3b.c: Likewise.
64321         * elf/tst-auditmod4b.c: Likewise.
64322         * elf/tst-auditmod5b.c: Likewise.
64323         * elf/tst-auditmod6b.c: Likewise.
64324         * elf/tst-auditmod6c.c: Likewise.
64325         * elf/tst-auditmod7b.c: Likewise.
64327         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64328         and x32_gnu_pltexit.
64330         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64331         __ELF_NATIVE_CLASS.
64332         (La_x32_regs): New macro.
64333         (La_x32_retval): Likewise.
64334         (la_x32_gnu_pltenter): New function prototype.
64335         (la_x32_gnu_pltexit): Likewise.
64337 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64339         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64340         exponent.
64342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64344         * configure.in (libc_cv_cc_nofma): Check for option to disable
64345         generation of FMA instructions.
64346         * configure: Regenerate.
64347         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64348         * sysdeps/ieee754/dbl-64/Makefile: New file.
64349         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64350         Remove brandred-fma4.
64351         (CFLAGS-brandred-fma4.c): Remove.
64352         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64353         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64354         define.
64355         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64356         define.
64358 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64360         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64361         LLONG_MAX != LONG_MAX.
64362         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64363         (_fitoa_word): Likewise.
64364         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64365         LLONG_MAX != LONG_MAX.
64366         * stdio-common/_itowa.h: Include <_itoa.h>.
64367         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64368         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64369         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64370         only if not defined.
64371         (_ITOA_WORD_TYPE): Likewise.
64372         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64373         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64375 2012-03-21  David S. Miller  <davem@davemloft.net>
64377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64379 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64381         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64382         of x86_64 when setting libc_cv_slibdir, libdir and
64383         libc_cv_localedir.
64384         * sysdeps/unix/sysv/linux/configure: Regenerated.
64386 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64388         * manual/lang.texi (Old Varargs): Remove section.
64389         (How Variadic): Update menu.
64390         (va_start): Do not mention varargs.h.
64392 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64393             Joseph Myers  <joseph@codesourcery.com>
64395         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64396         link test.
64397         * configure: Regenerated.
64399 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64401         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64402         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64403         conformtest.pl
64405 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64407         * NOTES: Remove.
64408         * Makefile (files-for-dist): Remove NOTES.
64409         (NOTES): Remove rule.
64410         * README: Don't refer to NOTES.
64411         * manual/creature.texi: Don't include macros.texi.
64412         * manual/intro.texi (creature.texi): Remove comment referring to
64413         NOTES.
64415         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
64416         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
64417         * configure: Regenerated.
64418         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
64419         LIBC_TRY_CC_OPTION.
64420         (libc_cv_as_i686): Likewise.
64421         (libc_cv_cc_avx): Likewise.
64422         (libc_cv_cc_sse2avx): Likewise.
64423         (libc_cv_cc_fma4): Likewise.
64424         (libc_cv_cc_novzeroupper): Likewise.
64425         * sysdeps/i386/configure: Regenerated.
64427         [BZ #13883]
64428         * sysdeps/i386/fpu/s_cexp.S: Remove.
64429         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
64430         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
64431         * math/libm-test.inc (cexp_test): Add more tests.
64432         * sysdeps/i386/fpu/libm-test-ulps: Update.
64433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64435 2012-03-21  Allan McRae  <allan@archlinux.org>
64437         * timezone/Makefile: Do not install iso3166.tab and zone.tab
64439 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64441         [BZ #13871]
64442         * math/w_exp2.c: Do not include <float.h>.
64443         (o_threshold, u_threshold): Remove.
64444         (__exp2): Calculate result before checking finiteness and calling
64445         __kernel_standard.
64446         * math/w_exp2f.c: Likewise.
64447         * math/w_exp2l.c: Likewise.
64448         * math/libm-test.inc (exp2_test): Require overflow exception for
64449         1e6 input.
64451         [BZ #3866]
64452         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
64453         range of signed 64-bit integers before using fistpll.  Remove
64454         checks for whether integers fit in mantissa bits.
64455         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
64456         the range of signed 32-bit integers before using fistpl.  Remove
64457         checks for whether integers fit in mantissa bits.
64458         * sysdeps/i386/fpu/e_powl.S (p64): New object.
64459         (__ieee754_powl): Test for y outside the range of signed 64-bit
64460         integers before using fistpll.  Reduce 64-bit values to 63-bit
64461         ones as needed.
64462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
64463         divide-by-zero is raised for zero to large negative powers.
64464         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
64465         (__ieee754_powl): Test for y outside the range of signed 64-bit
64466         integers before using fistpll.  Reduce 64-bit values to 63-bit
64467         ones as needed.
64468         * math/libm-test.inc (pow_test): Add more tests.
64470 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64472         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
64473         <stdio-common/_itoa.h>.
64474         * debug/segfault.c: Likewise.
64475         * elf/dl-cache.c: Likewise.
64476         * elf/dl-minimal.c: Likewise.
64477         * elf/dl-misc.c: Likewise.
64478         * elf/dl-sysdep.c: Likewise.
64479         * elf/dl-version.c: Likewise.
64480         * elf/rtld.c: Likewise.
64481         * hurd/hurdsock.c: Likewise.
64482         * hurd/lookup-retry.c: Likewise.
64483         * malloc/malloc.c: Likewise.
64484         * malloc/mtrace.c: Likewise.
64485         * nscd/nscd_getgr_r.c: Likewise.
64486         * nscd/nscd_getpw_r.c: Likewise.
64487         * nscd/nscd_getserv_r.c: Likewise.
64488         * posix/getopt_init.c: Likewise.
64489         * posix/wordexp.c: Likewise.
64490         * stdio-common/_itoa.c: Likewise.
64491         * stdio-common/printf_fphex.c: Likewise.
64492         * stdio-common/vfprintf.c: Likewise.
64493         * string/_strerror.c: Likewise.
64494         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
64495         * sysdeps/i386/i686/hp-timing.h: Likewise.
64496         * sysdeps/mach/_strerror.c: Likewise.
64497         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
64498         * sysdeps/mach/hurd/sethostid.c: Likewise.
64499         * sysdeps/mach/hurd/xmknodat.c: Likewise.
64500         * sysdeps/mach/xpg-strerror.c: Likewise.
64501         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
64503         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
64504         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
64505         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
64506         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
64507         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
64508         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
64509         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
64510         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
64511         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
64512         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64513         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
64514         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
64515         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
64516         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
64517         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
64518         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
64519         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
64520         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
64521         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
64523         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
64525         * stdio-common/_itoa.h: Moved to ...
64526         * sysdeps/generic/_itoa.h: Here.
64528         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
64530         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
64531         instead of "_itoa.h" and "_itowa.h".
64532         * stdio-common/vfprintf.: Likewise.
64534 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64536         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
64537         <bits/wordsize.h>.
64538         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
64539         (__signbit): Likwise.
64540         (llrintf): Likwise.
64541         (llrint): Likwise.
64543 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
64545         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
64546         __WORDSIZE != 64.
64548 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
64550         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
64551         OVERFLOW_EXCEPTION_OK.
64552         * math/libm-test.inc ("Philosophy"): Update comment about
64553         exception testing.
64554         (OVERFLOW_EXCEPTION): Define.
64555         (OVERFLOW_EXCEPTION_OK): Likewise.
64556         (INVALID_EXCEPTION_OK): Renumber.
64557         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64558         (IGNORE_ZERO_INF_SIGN): Likewise.
64559         (test_exceptions): Handle FE_OVERFLOW.
64560         (exp10_test): Expect overflow exceptions.
64561         (exp2_test): Likewise.
64562         (expm1_test): Likewise.
64563         (nextafter_test): Likewise.
64564         (pow_test): Likewise.
64565         (scalbn_test): Likewise.
64566         (scalbln_test): Likewise.
64568 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64570         * sysdeps/x86_64/bits/atomic.h
64571         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
64572         64bit integer.
64573         (atomic_exchange_acq): Likewise.
64574         (__arch_exchange_and_add_body): Likewise.
64575         (__arch_add_body): Likewise.
64576         (atomic_add_negative): Likewise.
64577         (atomic_add_zero): Likewise.
64579 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64581         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
64582         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
64584 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64586         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
64587         Check __x86_64__ instead of __WORDSIZE.
64589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64591         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
64593 2012-03-19  David S. Miller  <davem@davemloft.net>
64595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64597         * sysdeps/sparc/fpu/fenv_private.h: New file.
64598         * sysdeps/sparc/fpu/math_private.h: Use it.
64599         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
64600         Remove.
64601         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
64602         (libc_feholdexcept_setroundl): Remove.
64603         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
64604         Remove.
64605         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
64606         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
64608 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64610         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
64611         int64_t instead of long int.
64612         (INSERT_WORDS64): Likwise.
64614 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
64616         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
64617         _Unwind_GetCFA return to _Unwind_Ptr first.
64619 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
64621         [BZ #13629]
64622         * math/s_clog.c: Include <float.h>.
64623         (__clog): Scale large or subnormal inputs.
64624         * math/s_clogf.c: Likewise.
64625         * math/s_clogl.c: Likewise.
64626         * math/s_clog10.c: Include <float.h>.
64627         (M_LOG10_2): Define.
64628         (__clog10): Scale large or subnormal inputs.
64629         * math/s_clog10f.c: Likewise.
64630         * math/s_clog10l.c: Likewise.
64631         * math/libm-test.inc (clog_test): Add more tests.
64632         (clog10_test): Likewise.
64633         * sysdeps/i386/fpu/libm-test-ulps: Update.
64634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64636         [BZ #11451]
64637         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
64638         x and y.
64639         * math/libm-test.inc (atan2_test): Add another test.
64641         * Makerules (common-objdir-compile): Remove.
64642         * sysdeps/unix/Makefile (config-generated): Do not add
64643         $(unix-generated) to variable.
64644         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
64645         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
64646         Remove rule.
64647         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
64648         Likewise.
64649         [generic bits/local_lim.h] (before-compile): Do not append to
64650         variable.
64651         [generic bits/local_lim.h] (common-generated): Likewise.
64652         [generic sys/param.h] (before-compile): Do not append to variable.
64653         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
64654         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
64655         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
64656         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
64657         include.
64658         [generic sys/param.h] (sys/param.h-includes): Remove variable.
64659         [generic sys/param.h] (sys/param.h-includes): Remove rule.
64660         [generic sys/param.h] ($(addprefix
64661         $(common-objpfx),$(sys/param.h-includes))): Likewise.
64662         [generic sys/param.h] (common-generated): Do not append to
64663         variable.
64664         [generic sys/param.h] (sysdep_headers): Likewise.
64665         [generic bits/errno.h] (before-compile): Do not append to
64666         variable.
64667         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
64668         rule.
64669         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
64670         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
64671         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
64672         [generic bits/errno.h] (common-generated): Do not append to
64673         variable.
64674         [generic bits/ioctls.h] (before-compile): Do not append to
64675         variable.
64676         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
64677         rule.
64678         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
64679         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
64680         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
64681         rule.
64682         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
64683         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
64684         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
64685         [generic bits/ioctls.h] (common-generated): Do not append to
64686         variable.
64687         [generic sys/syscall.h] (syscall.h): Remove variable.
64688         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
64689         rule.
64690         [generic sys/syscall.h] (before-compile): Do not append to
64691         variable.
64692         [generic sys/syscall.h] (common-generated): Likewise.
64693         * sysdeps/unix/errnos-tmpl.c: Remove file.
64694         * sysdeps/unix/errnos.awk: Likewise.
64695         * sysdeps/unix/ioctls-tmpl.c: Likewise.
64696         * sysdeps/unix/ioctls.awk: Likewise.
64697         * sysdeps/unix/mk-local_lim.c: Likewise.
64698         * sysdeps/unix/snarf-ioctls: Likewise.
64700 2012-03-19  Richard Henderson  <rth@twiddle.net>
64702         * sysdeps/i386/fpu/fenv_private.h: New file.
64703         * sysdeps/i386/fpu/math_private.h: Use it.
64704         (math_opt_barrier, math_force_eval): Remove.
64705         (libc_feholdexcept_setround_53bit): Remove.
64706         (libc_feupdateenv_53bit): Remove.
64707         * sysdeps/x86_64/fpu/math_private.h: Likewise.
64708         (math_opt_barrier, math_force_eval): Remove.
64709         (libc_feholdexcept): Remove.
64710         (libc_feholdexcept_setround): Remove.
64711         (libc_fetestexcept, libc_fesetenv): Remove.
64712         (libc_feupdateenv_test): Remove.
64713         (libc_feupdateenv, libc_feholdsetround): Remove.
64714         (libc_feresetround): Remove.
64716         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
64717         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
64719         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
64720         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
64721         (libc_feupdateenv_testl): New.
64722         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
64723         (libc_feupdateenv_testf): New.
64724         (libc_feupdateenv): Use libc_feupdateenv_test.
64725         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
64726         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
64728         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
64729         (libc_feholdsetroundf, libc_feholdsetroundl): New.
64730         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
64731         (libc_feresetround_noex): New.
64732         (libc_feresetround_noexf): New.
64733         (libc_feresetround_noexl): New.
64734         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
64735         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
64736         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
64737         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
64738         SET_RESTORE_ROUND.
64739         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
64740         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
64741         (__cos): Likewise.
64742         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
64743         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
64744         SET_RESTORE_ROUND_NOEX.
64745         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
64746         SET_RESTORE_ROUND_NOEXF.
64747         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
64748         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
64749         (libc_feholdsetroundf): New.
64750         (libc_feresetround, libc_feresetroundf): New.
64752         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
64753         (libc_feholdexcept_setround_53bit): Convert from macro to function.
64754         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
64756         * sysdeps/generic/math_private.h: Include <fenv.h>.
64757         (default_libc_feholdexcept): New.
64758         (default_libc_feholdexcept_setround): New.
64759         (default_libc_fesetenv, default_libc_feupdateenv): New.
64760         (libc_feholdexcept): Only define if undefined.
64761         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
64762         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
64763         (libc_feholdexcept_setroundl): Likewise.
64764         (libc_feholdexcept_setround_53bit): Likewise.
64765         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
64766         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
64767         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
64768         (libc_feupdateenv_53bit): Likewise.
64769         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
64770         (libc_feholdexcept): Convert from macro to inline function.
64771         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
64772         (libc_fesetenv, libc_feupdateenv): Likewise.
64774         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
64775         not previously defined.
64776         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
64777         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
64778         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
64779         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64780         * sysdeps/ieee754/flt-32/math_private.h: New file.
64781         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
64782         math_private.h below SET_FLOAT_WORD.
64783         (__isnan, __isinf_ns, __finite): Remove.
64784         (__isnanf, __isinf_nsf, __finitef): Remove.
64786 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
64788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64790 2012-03-17  David S. Miller  <davem@davemloft.net>
64792         [BZ #6471]
64793         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
64794         for 2.16.
64796 2012-03-16  David S. Miller  <davem@davemloft.net>
64798         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
64799         warnings.
64801         [BZ #6471]
64802         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
64803         properly.
64804         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
64805         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
64806         sysdep_routines when subdir is sysvipc.
64807         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
64808         __getshmlba helper.
64810         * sysdeps/sparc/fpu/libm-test/ulps: Update.
64812 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64814         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
64815         [__LP64__].
64817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64819         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
64820         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
64821         (__lround): Renamed to ...
64822         (__llround): This.  Replace long int with long long int.
64823         Define lround functions as aliases of llround functions.
64824         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
64826 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64828         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
64829         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
64830         adresses to uintptr_t.  Replace "long int" and "unsigned long
64831         int" with "greg_t" on va_arg.
64833 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64835         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
64836         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
64838         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
64839         Move e_machine check before EI_CLASS check.  Handle x32
64840         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
64841         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
64842         SKIP_EM_IA_64 and include
64843         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
64845         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
64846         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
64847         (add_system_dir): New macro.
64849         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
64850         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
64852 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64854         [BZ #2551]
64855         [BZ #2552]
64856         [BZ #2553]
64857         [BZ #2554]
64858         [BZ #2562]
64859         [BZ #2563]
64860         [BZ #2565]
64861         [BZ #2566]
64862         [BZ #2576]
64863         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
64864         (y0): Likewise.
64865         * math/w_j0f.c (j0f): Likewise.
64866         (y0f): Likewise.
64867         * math/w_j0l.c (__j0l): Likewise.
64868         (__y0l): Likewise.
64869         * math/w_j1.c (j1): Likewise.
64870         (y1): Likewise.
64871         * math/w_j1f.c (j1f): Likewise.
64872         (y1f): Likewise.
64873         * math/w_j1l.c (__j1l): Likewise.
64874         (__y1l): Likewise.
64875         * math/w_jn.c (jn): Likewise.
64876         (yn): Likewise.
64877         * math/w_jnf.c (jnf): Likewise.
64878         (ynf): Likewise.
64879         * math/w_jnl.c (__jnl): Likewise.
64880         (__ynl): Likewise.
64881         * math/libm-test.inc (j0_test): Add more tests.
64882         (j1_test): Likewise.
64883         (jn_test): Likewise.  Add trailing semicolon to existing test.
64884         (y0_test): Likewise.
64885         (y1_test): Likewise.
64886         * sysdeps/i386/fpu/libm-test-ulps: Update.
64887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64889         [BZ #13851]
64890         [BZ #13854]
64891         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
64892         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
64893         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
64894         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
64895         (__tanl): Set errno for infinite argument.
64896         * sysdeps/i386/fpu/mptan.c: Remove.
64897         * sysdeps/i386/fpu/s_tan.S: Likewise.
64898         * sysdeps/i386/fpu/s_tanl.S: Likewise.
64899         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
64900         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
64901         * math/libm-test.inc (tan_test): Add more tests and enable more
64902         tests for double and long double.
64903         * sysdeps/i386/fpu/libm-test-ulps: Update.
64904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64906 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
64908         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
64909         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
64911 2012-03-16  Roland McGrath  <roland@hack.frob.com>
64913         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
64914         * configure.in: Use it for both main tree and add-ons.
64915         * configure: Regenerated.
64917 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
64919         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
64921 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
64923         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
64924         in comment.
64926         [BZ #13851]
64927         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
64928         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
64929         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
64930         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
64931         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
64932         infinite argument.
64933         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
64934         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
64935         != 0 for prec == 2.
64936         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
64937         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
64938         * sysdeps/i386/fpu/s_cosl.S: Likewise.
64939         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
64940         * sysdeps/i386/fpu/s_sinl.S: Likewise.
64941         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
64942         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
64943         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
64944         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
64945         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
64946         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
64947         * math/libm-test.inc (cos_test): Add more tests and enable more
64948         tests for long double.
64949         (sin_test): Likewise.
64950         (sincos_test): Likewise.
64951         * sysdeps/i386/fpu/libm-test-ulps: Update.
64952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64954 2012-03-16  David S. Miller  <davem@davemloft.net>
64956         * sysdeps/sparc/fpu/math_private.h: New file.
64958 2012-03-15  David S. Miller  <davem@davemloft.net>
64960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
64961         file.
64962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
64963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
64964         file.
64965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
64966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
64967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
64968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
64969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
64970         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
64971         sysdep routines.
64972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
64974         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
64975         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
64977         * sysdeps/sparc/sparc-ifunc.h: New file.
64978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
64979         sparc-ifunc.h
64980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
64982         Likewise.
64983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
64984         Likewise.
64985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
64986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
64987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64989         Likewise.
64990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
64991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
64992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
64993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
64994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
64995         Likewise.
64996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
64997         Likewise.
64998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
64999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65002         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65003         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65016         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65017         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65020         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65021         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65023 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65025         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65026         scaling.
65027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65029 2012-03-15  Andreas Jaeger  <aj@suse.de>
65031         [BZ #13852]
65032         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65033         ieee754/flt-32 implementation for sin, cos and sincos.
65034         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65035         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65036         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65037         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65038         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65039         ieee754/flt-32 implementation for tan.
65041         * math/libm-test.inc (cos_test): Enable some large input tests for
65042         float as well
65043         (sin_test): Likewise.
65044         (sincos_test): Likewise.
65045         (tan_test): Add tests for large input.
65047         * sysdeps/i386/fpu/libm-test-ulps: Update.
65049 2012-03-15  Andreas Jaeger  <aj@suse.de>
65051         [BZ #13658]
65052         * math/libm-test.inc (cos_test): Add more test cases.
65053         (sin_test): Likewise.
65054         (sincos_test): Likewise.
65056 2012-03-15  Andreas Jaeger  <aj@suse.de>
65058         [BZ #13837]
65059         * math/libm-test.inc (cos_test): Add a test case for large input
65060         value.
65061         (sin_test): Likewise.
65062         (sincos_test): Likewise.
65064 2012-03-15  Andreas Jaeger  <aj@suse.de>
65065             Joseph Myers  <joseph@codesourcery.com>
65067         [BZ #13658]
65068         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65069         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65070         * sysdeps/i386/fpu/branred.c: Likewise.
65071         * sysdeps/i386/fpu/dosincos.c: Likewise.
65072         * sysdeps/i386/fpu/mpa.c: Likewise.
65073         * sysdeps/i386/fpu/s_cos.S: Likewise.
65074         * sysdeps/i386/fpu/s_sin.S: Likewise.
65075         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65076         * sysdeps/i386/fpu/sincos32.c: Likewise.
65078         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65079         Define.
65080         (libc_feupdateenv_53bit): Define.
65081         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65082         Define.
65083         (libc_feupdateenv_53bit): Define.
65085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65086         53 bit (without extend i386 double precision).
65088         * math/libm-test.inc (sincos_test): Add tests for large input.
65089         (sin): Likewise.
65090         (cos): Likewise.
65092         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65094 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65098 2012-03-15  David S. Miller  <davem@davemloft.net>
65100         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65101         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65102         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65103         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65112         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65113         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65114         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65116         file.
65117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65119         file.
65120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65122         file.
65123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65125         file.
65126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65128         fmin/fmax sysdep routines.
65129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65131 2012-03-14  David S. Miller  <davem@davemloft.net>
65133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65134         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65135         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65140         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65142         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65153         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65159         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65160         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65162         routines.
65163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65164         file.
65165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65167         file.
65168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65170         file.
65171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65173         file.
65174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65176         file.
65177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65179         file.
65180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65181         file.
65182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65183         file.
65184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65185         file.
65186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65187         New file.
65188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65189         file.
65190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65191         file.
65192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65194         file.
65195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65197         file.
65198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65200         file.
65201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65203         VIS3 routines.
65205         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65206         New file.
65208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65210         * sysdeps/sparc/configure.in: New file.
65211         * sysdeps/sparc/configure: Generate.
65212         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65213         * configure: Regenerate.
65214         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65215         * config.make.in (have-as-vis3): New.
65216         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65217         available use -Av9d instead of -Av9a.
65218         * sysdeps/sparc/sparc64/Makefile: Likewise.
65219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65221         New file.
65222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65223         file.
65224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65225         New file.
65226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65227         file.
65228         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65229         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65230         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65231         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65232         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65234         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65235         fzeros/fnegs to load 0x80000000 into a float register instead of
65236         using the stack.
65237         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65239 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65241         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65242         bits/syscall.h.
65243         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65244         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65245         ($(inst_includedir)/bits/syscall.h): Remove rule.
65246         ($(objpfx)bits/syscall.d): Include instead of
65247         $(objpfx)syscall-list.d.
65248         (generated): Change syscall-list.h and syscall-list.d to
65249         bits/syscall.h and bits/syscall.d.
65251 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65253         [BZ #13846]
65254         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65256 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65258         [BZ #13841]
65259         * math/s_csqrt.c: Include <float.h>.
65260         (__csqrt): Scale large or subnormal inputs.
65261         * math/s_csqrtf.c: Likewise.
65262         * math/s_csqrtl.c: Likewise.
65263         * math/libm-test.inc (csqrt_test): Add more tests.
65264         * sysdeps/i386/fpu/libm-test-ulps: Update.
65265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65267         [BZ #13840]
65268         * math/libm-test.inc (hypot_test): Add more tests.
65270 2012-03-13  David S. Miller  <davem@davemloft.net>
65272         [BZ #13840]
65273         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65274         double-precision for the calculation instead of scaling.
65276 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65278         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65279         manipulate bits before adding and subtracting TWO52[sx].
65280         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65281         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65282         Likewise.
65283         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65285 2012-03-13  David S. Miller  <davem@davemloft.net>
65287         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65288         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65290         rtld-global-offsets.h
65291         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65293         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65294         large parameters.
65296         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65298         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65299         'err' in the ifdef scope in which it is actually used.
65301         * nss/nss_db/db-init.c: Include string.h
65303 2012-03-12  David S. Miller  <davem@davemloft.net>
65305         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65306         masking out of the most significant byte of random value used.
65307         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65308         Fix coding style in previous change.
65310         * sysdeps/unix/sysv/linux/kernel-features.h
65311         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65312         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65313         expression.
65314         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65315         later.
65317 2012-03-11  David S. Miller  <davem@davemloft.net>
65319         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65320         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65321         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65322         for 'resultvar' otherwise things get truncated on 64-bit.
65324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65325         Fix masking out of the most significant byte of random value used.
65327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65329 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65333 2012-03-09  David S. Miller  <davem@davemloft.net>
65335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65336         variables with appropriate CPP guards.
65337         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65338         from the frame pointer, not the stack pointer.  Correct layout
65339         comments.  Fix test on resulting framesize and the management of
65340         the outregs buffer for pltexit.  Preserve floating point return
65341         values across _dl_call_pltexit call.
65342         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65343         framesize and the management of the outregs buffer for pltexit.
65344         Preserve floating point return values across _dl_call_pltexit
65345         call.
65346         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65347         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65348         (la_sparc64_gnu_pltexit): New functions.
65349         (print_exit): Fix format string for return register value.
65351 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65353         * sunrpc/Makefile (others): Add rpcgen.
65354         ($(objpfx)rpcgen): Remove special build rule and dependency on
65355         libc.
65356         * sunrpc/rpcgen.c: New file.
65358 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65360         [BZ #13673]
65361         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65362         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65363         * sysdeps/i386/crti.S: Likewise.
65364         * sysdeps/i386/crtn.S: Likewise.
65365         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65366         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65367         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65368         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65369         * sysdeps/sh/crti.S: Likewise.
65370         * sysdeps/sh/crtn.S: Likewise.
65371         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65373         [BZ #13673]
65374         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65375         with URL.
65376         * locale/programs/locfile-kw.gperf: Likewise.
65377         * locale/programs/charmap-kw.h: Regenerated.
65378         * locale/programs/locfile-kw.h: Likewise.
65380         [BZ #13673]
65381         * intl/plural.y: Replace FSF snail mail address with URL.
65382         * intl/plural.c: Regenerated.
65384 2012-03-09  Richard Henderson  <rth@twiddle.net>
65386         * include/math_private.h: Remove file.
65387         * math/math_private.h: Move file ...
65388         * sysdeps/generic/math_private.h: ... here.
65390         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65391         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65392         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65394         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65395         and <math_private.h>.
65396         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65397         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65398         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65399         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65400         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65401         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65402         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65403         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65404         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65405         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65407         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65408         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
65409         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65410         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
65411         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
65412         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
65413         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
65414         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
65415         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
65416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65417         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
65418         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
65419         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65420         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
65421         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65422         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
65423         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65424         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65425         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65426         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
65427         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65428         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
65429         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
65430         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65431         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65432         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
65433         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65434         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65435         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65436         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
65437         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65438         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65439         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
65440         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
65441         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65442         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
65443         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
65444         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
65445         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65446         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
65447         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
65448         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
65449         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65450         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
65451         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
65452         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
65453         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
65454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
65455         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
65456         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65457         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
65458         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65459         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65460         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
65461         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65462         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65463         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65464         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
65465         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
65466         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
65467         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
65468         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
65469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
65470         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
65471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
65472         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
65473         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65474         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
65475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
65476         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
65477         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
65478         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
65479         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
65480         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
65481         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
65482         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
65483         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
65484         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
65485         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65486         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65487         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
65488         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65489         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
65490         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
65491         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
65492         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
65493         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
65494         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
65495         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
65496         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
65497         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
65498         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
65499         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
65500         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65501         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
65502         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
65503         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
65504         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65505         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65506         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65507         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65508         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
65509         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65510         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
65511         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
65512         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65513         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65514         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65515         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
65516         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65517         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
65519         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
65520         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65521         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65522         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
65523         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
65524         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65525         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
65526         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
65527         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
65528         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65529         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
65530         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
65531         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
65532         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
65533         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65534         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
65535         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
65536         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
65537         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
65538         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
65539         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
65540         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
65541         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65542         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65543         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65544         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
65545         * sysdeps/ieee754/k_standard.c: Likewise.
65546         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
65547         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
65548         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65549         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
65550         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
65551         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
65552         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
65553         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
65554         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
65555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
65556         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
65557         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
65558         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
65559         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
65560         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
65561         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
65562         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65563         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
65564         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
65565         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
65566         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
65567         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
65568         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65569         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65570         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65571         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
65572         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65573         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65574         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65575         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65576         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65577         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65578         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65579         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65580         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65581         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65582         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65583         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
65584         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
65585         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65586         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65587         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65588         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65589         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65590         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65591         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65592         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65593         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65594         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65595         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65596         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65597         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65598         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65599         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
65600         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65601         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65602         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
65603         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
65604         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65605         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65606         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65607         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65608         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65609         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
65610         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65611         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65612         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
65613         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
65614         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
65615         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
65616         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
65617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65618         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
65619         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
65620         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
65621         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
65622         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
65623         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
65624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65629         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65630         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
65631         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65632         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
65634         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
65635         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
65637         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65638         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
65639         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65642         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
65643         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
65644         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
65645         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
65646         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65647         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65648         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
65659         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
65661         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
65662         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65664         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
65665         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
65666         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
65667         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
65668         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
65669         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
65670         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65671         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
65672         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65673         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65674         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65676         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65677         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65678         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65679         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
65680         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65681         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65682         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
65683         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
65684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65685         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
65686         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
65687         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65688         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
65689         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
65690         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
65691         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65692         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65693         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65694         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65695         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
65696         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65697         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
65698         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
65699         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
65700         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
65701         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
65702         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65703         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65704         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65705         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
65706         * sysdeps/ieee754/s_lib_version.c: Likewise.
65707         * sysdeps/ieee754/s_matherr.c: Likewise.
65708         * sysdeps/ieee754/s_signgam.c: Likewise.
65709         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
65710         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65711         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
65712         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
65713         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
65714         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65715         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
65716         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
65717         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
65718         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
65719         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65720         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
65721         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65722         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65723         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
65724         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65725         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65726         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65727         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65728         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65729         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65731 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65733         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
65734         * sunrpc/rpc_main.c: Likewise.
65735         * sunrpc/rpc_svcout.c: Likewise.
65737 2012-03-09  David S. Miller  <davem@davemloft.net>
65739         * include/math_private.h: New file.
65741 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
65743         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
65744         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
65745         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
65746         from <bits/socket_type.h>.
65747         (enum __socket_type): Don't define here.
65748         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
65749         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65750         bits/socket_type.h.
65752         [BZ #13566]
65753         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
65754         checking __USE_GNU.
65756         * Makerules ($(inst_includedir)/%.h): New rule.
65757         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
65758         (install-others): Remove variable setting.
65759         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
65761 2012-03-08  Richard Henderson  <rth@twiddle.net>
65763         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
65764         from macro to inline function; merge with the
65765         !__LIBC_INTERNAL_MATH_INLINES version.
65766         (__ieee754_sqrtf): Likewise.
65768         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
65769         to inline function.
65770         (__rintf, __floor, __floorf): Likewise.
65772         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
65773         macro to inline function.
65774         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
65776         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
65777         not <math/math_private.h>.
65779 2012-03-08  David S. Miller  <davem@davemloft.net>
65781         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
65782         copyright year.
65783         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
65785 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
65787         * resolv/gai_misc.c (handle_requests): Fix struct timespec
65788         normalization.
65789         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
65790         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
65792 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
65794         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
65795         be defined individually, they must be defined as a block.  Define
65796         S for printing a string instead of hidint the different by using a
65797         macro for adding the 'l'.
65798         * stdio-common/tst-fphex-wide.c: Adjust.
65800 2012-03-07  Marek Polacek  <polacek@redhat.com>
65802         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
65804 2012-03-08  Marek Polacek  <polacek@redhat.com>
65806         [BZ #13806]
65807         * stdio-common/Makefile (tests): Add tst-fphex-wide.
65808         * stdio-common/tst-fphex.c: Define a few macros to make the
65809         test reusable.  Use them.
65810         * stdio-common/tst-fphex-wide.c: New file.
65812 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
65814         [BZ #6911]
65815         * manual/macros.texi (gnusystems): New macro.
65816         (nongnusystems): Likewise.
65817         (gnulinuxhurdsystems): Likewise.
65818         (gnuhurdsystems): Likewise..
65819         (gnulinuxsystems): Likewise.
65820         * manual/charset.texi: Use new macros or @theglibc{} to refer to
65821         variants of the GNU system, not "GNU system".
65822         * manual/conf.texi: Likewise.
65823         * manual/errno.texi: Likewise.  Update example of errno macro
65824         expansion.
65825         * manual/filesys.texi: Likewise.
65826         (getumask): Document as specific to GNU/Hurd.
65827         * manual/install.texi: Likewise.  Reword some references to
65828         GNU/Linux.
65829         * manual/intro.texi: Likewise.
65830         * manual/io.texi: Likewise.
65831         (File Name Portability): Detail which constraints are inapplicable
65832         to all GNU systems and which are only inapplicable to GNU/Hurd.
65833         * manual/job.texi: Likewise.
65834         * manual/llio.texi: Likewise.
65835         (O_NOCTTY): Document as present on GNU/Linux.
65836         * manual/maint.texi: Likewise.
65837         * manual/memory.texi: Likewise.
65838         * manual/pattern.texi: Likewise.
65839         * manual/pipe.texi: Likewise.
65840         * manual/process.texi: Likewise.
65841         * manual/resource.texi: Likewise.
65842         (RUSAGE_CHILDREN): Remove statement about specifying a particular
65843         child on GNU/Hurd.
65844         * manual/setjmp.texi: Likewise.
65845         * manual/signal.texi: Likewise.
65846         * manual/startup.texi: Likewise.
65847         * manual/stdio.texi: Likewise.
65848         * manual/terminal.texi: Likewise.
65849         (ONLCR): Document as POSIX.
65850         (OXTABS): Document availability on GNU/Linux as XTABS.
65851         (ONOEOT): Document availability separately from other bits.
65852         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
65853         * manual/time.texi: Likewise.
65854         * manual/users.texi: Likewise.
65855         * INSTALL: Regenerated.
65856         * sysdeps/gnu/errlist.c: Regenerated.
65858         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
65859         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
65860         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
65861         puts.
65862         * configure: Regenerated.
65864 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
65866         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
65867         default includes instead of AC_HEADER_CHECK.
65868         * sysdeps/i386/configure: Regenerated.
65870         [BZ #10716]
65871         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
65872         * math/s_cacoshf.c (__cacoshf): Likewise.
65873         * math/s_cacoshl.c (__cacoshl): Likewise.
65874         * math/s_casinh.c (__casinh): Set signs of result from argument.
65875         * math/s_casinhf.c (__casinhf): Likewise.
65876         * math/s_casinhl.c (__casinhl): Likewise.
65877         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
65878         (casinh_test): Add more tests.
65879         * sysdeps/i386/fpu/libm-test-ulps: Update.
65880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65882 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
65884         * po/zh_TW.po: Update from translation team.
65886         * login/Makefile (distribute): Remove variable.
65887         * catgets/Makefile: Likewise.
65888         * mach/Makefile: Likewise.
65889         * malloc/Makefile: Likewise.
65890         * misc/Makefile: Likewise.
65891         * iconv/Makefile: Likewise.
65892         * nscd/Makefile: Likewise.
65893         * hurd/Makefile: Likewise.
65894         * manual/Makefile: Likewise.
65895         * locale/Makefile: Likewise.
65896         * intl/Makefile: Likewise.
65897         * conform/Makefile: Likewise.
65898         * nss/Makefile: Likewise.
65899         * time/Makefile: Likewise.
65900         * soft-fp/Makefile: Likewise.
65901         * dirent/Makefile: Likewise.
65902         * gmon/Makefile: Likewise.
65903         * po/Makefile: Likewise.
65904         * rt/Makefile: Likewise.
65905         * socket/Makefile: Likewise.
65906         * math/Makefile: Likewise.
65907         * signal/Makefile: Likewise.
65908         * debug/Makefile: Likewise.
65909         * elf/Makefile: Likewise.
65910         * timezone/Makefile: Likewise.
65911         * stdlib/Makefile: Likewise.
65912         * iconvdata/Makefile: Likewise.
65913         * sunrpc/Makefile: Likewise.
65914         * io/Makefile: Likewise.
65915         * argp/Makefile: Likewise.
65916         * inet/Makefile: Likewise.
65917         * hesiod/Makefile: Likewise.
65918         * grp/Makefile: Likewise.
65919         * csu/Makefile: Likewise.
65920         * wctype/Makefile: Likewise.
65921         * crypt/Makefile: Likewise.
65922         * libio/Makefile: Likewise.
65923         * string/Makefile: Likewise.
65924         * nis/Makefile: Likewise.
65925         * resolv/Makefile: Likewise.
65926         * stdio-common/Makefile: Likewise.
65927         * wcsmbs/Makefile: Likewise.
65928         * dlfcn/Makefile: Likewise.
65929         * posix/Makefile: Likewise.
65931         [BZ #6959]
65932         * timezone/Makefile: Don't install timezone files, just the programs
65933         and scripts.
65935 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
65937         * nss/databases.def: Add missing gshadow entry.
65939         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
65941 2012-03-06  Marek Polacek  <polacek@redhat.com>
65943         [BZ #13726]
65944         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
65945         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
65946         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
65947         * stdio-common/tst-long-dbl-fphex.c: New file.
65949 2012-03-06  David S. Miller  <davem@davemloft.net>
65951         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65952         (set_obp_int): New function.
65953         (get_obp_int): New function.
65954         (__get_clockfreq_via_dev_openprom): Likewise.
65955         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
65956         Avoid unused variable warnings on 'val' and use builtin_expect.
65957         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
65958         __builtin_expect.
65959         (INLINE_CLONE_SYSCALL): Likewise.
65961 2012-03-05  David S. Miller  <davem@davemloft.net>
65963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65965 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
65967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65969         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
65970         only for |x| >= 40.
65971         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
65973 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
65975         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
65976         Replace gettimeofday with __vdso_gettimeofday.
65978         * sysdeps/unix/sysv/linux/x86_64/init-first.c
65979         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
65980         __vdso_clock_gettime and __vdso_getcpu.
65982         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
65983         time with __vdso_time.
65985 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65987         * manual/lang.texi (size_t): Note types to which size_t may be
65988         equivalent with the GNU C Library, but do not describe when
65989         differences between them are significant.
65991 2012-03-05  Andreas Jaeger  <aj@suse.de>
65993         * sysdeps/i386/fpu/libm-test-ulps: Update.
65995 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
65997         [BZ #3976]
65998         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
65999         (__ieee754_pow): Save and restore rounding mode and use
66000         round-to-nearest for main computations.
66001         * math/libm-test.inc (pow_test_tonearest): New function.
66002         (pow_test_towardzero): Likewise.
66003         (pow_test_downward): Likewise.
66004         (pow_test_upward): Likewise.
66005         (main): Call the new functions.
66006         * sysdeps/i386/fpu/libm-test-ulps: Update.
66007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66009         [BZ #3976]
66010         * math/libm-test.inc (cosh_test_tonearest): New function.
66011         (cosh_test_towardzero): Likewise.
66012         (cosh_test_downward): Likewise.
66013         (cosh_test_upward): Likewise.
66014         (sinh_test_tonearest): Likewise.
66015         (sinh_test_towardzero): Likewise.
66016         (sinh_test_downward): Likewise.
66017         (sinh_test_upward): Likewise.
66018         (main): Call the new functions.
66019         * sysdeps/i386/fpu/libm-test-ulps: Update.
66020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66022 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66024         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66025         default stack guard is set in last bytes.
66026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66028 2012-03-05  Kees Cook  <keescook@chromium.org>
66030         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66032         [BZ #13656]
66033         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66034         possibly allocate from heap instead of stack.
66035         * stdio-common/bug-vfprintf-nargs.c: New file.
66036         * stdio-common/Makefile (tests): Add nargs overflow test.
66038 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66040         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66042 2012-03-03  Marek Polacek  <polacek@redhat.com>
66044         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66045         * math/math_private.h: Likewise.
66046         * stdlib/tst-strtod.c: Likewise.
66047         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66048         * sysdeps/x86_64/bits/atomic.h: Likewise.
66050 2012-03-02  David S. Miller  <davem@davemloft.net>
66052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66056         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66057         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66058         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66059         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66061 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66063         [BZ #13792]
66064         * manual/examples/README: New file, says the example source files
66065         can be used under GPL>=2.
66066         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66067         line containing just "*/".
66068         * manual/examples/add.c: Add copyright header (GPL>=2).
66069         * manual/examples/argp-ex1.c: Likewise.
66070         * manual/examples/argp-ex2.c: Likewise.
66071         * manual/examples/argp-ex3.c: Likewise.
66072         * manual/examples/argp-ex4.c: Likewise.
66073         * manual/examples/atexit.c: Likewise.
66074         * manual/examples/db.c: Likewise.
66075         * manual/examples/dir.c: Likewise.
66076         * manual/examples/dir2.c: Likewise.
66077         * manual/examples/execinfo.c: Likewise.
66078         * manual/examples/filecli.c: Likewise.
66079         * manual/examples/filesrv.c: Likewise.
66080         * manual/examples/fmtmsgexpl.c: Likewise.
66081         * manual/examples/genpass.c: Likewise.
66082         * manual/examples/inetcli.c: Likewise.
66083         * manual/examples/inetsrv.c: Likewise.
66084         * manual/examples/isockad.c: Likewise.
66085         * manual/examples/longopt.c: Likewise.
66086         * manual/examples/memopen.c: Likewise.
66087         * manual/examples/memstrm.c: Likewise.
66088         * manual/examples/mkfsock.c: Likewise.
66089         * manual/examples/mkisock.c: Likewise.
66090         * manual/examples/mygetpass.c: Likewise.
66091         * manual/examples/pipe.c: Likewise.
66092         * manual/examples/popen.c: Likewise.
66093         * manual/examples/rprintf.c: Likewise.
66094         * manual/examples/search.c: Likewise.
66095         * manual/examples/select.c: Likewise.
66096         * manual/examples/setjmp.c: Likewise.
66097         * manual/examples/sigh1.c: Likewise.
66098         * manual/examples/sigusr.c: Likewise.
66099         * manual/examples/stpcpy.c: Likewise.
66100         * manual/examples/strdupa.c: Likewise.
66101         * manual/examples/strftim.c: Likewise.
66102         * manual/examples/strncat.c: Likewise.
66103         * manual/examples/subopt.c: Likewise.
66104         * manual/examples/swapcontext.c: Likewise.
66105         * manual/examples/termios.c: Likewise.
66106         * manual/examples/testopt.c: Likewise.
66107         * manual/examples/testpass.c: Likewise.
66108         * manual/examples/timeval_subtract.c: Likewise.
66110         [BZ #13792]
66111         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66112         function to ...
66113         * manual/timeval_subtract.c.texi: ... here, new file.
66115 2012-03-02  David S. Miller  <davem@davemloft.net>
66117         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66119 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66121         [BZ #3976]
66122         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66123         (__sin): Save and restore rounding mode and use round-to-nearest
66124         for all computations.
66125         (__cos): Save and restore rounding mode and use round-to-nearest
66126         for all computations.
66127         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66128         <fenv.h>.
66129         (tan): Save and restore rounding mode and use round-to-nearest for
66130         all computations.
66131         * math/libm-test.inc (cos_test_tonearest): New function.
66132         (cos_test_towardzero): Likewise.
66133         (cos_test_downward): Likewise.
66134         (cos_test_upward): Likewise.
66135         (sin_test_tonearest): Likewise.
66136         (sin_test_towardzero): Likewise.
66137         (sin_test_downward): Likewise.
66138         (sin_test_upward): Likewise.
66139         (tan_test_tonearest): Likewise.
66140         (tan_test_towardzero): Likewise.
66141         (tan_test_downward): Likewise.
66142         (tan_test_upward): Likewise.
66143         (main): Call the new functions.
66144         * sysdeps/i386/fpu/libm-test-ulps: Update.
66145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66147         [BZ #10135]
66148         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66149         small n, then large n, before computing and testing k+n.
66150         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66152         Likewise.
66153         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66154         Likewise.
66155         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66156         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66157         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66158         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66161         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66162         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66163         * math/libm-test.inc (scalbn_test): Add more tests.
66164         (scalbln_test): Likewise.
66166         * manual/filesys.texi (mode_t): Describe constraints on size and
66167         signedness, not exact equivalence to a particular type.
66168         (ino_t): Likewise.
66169         (ino64_t): Likewise.
66170         (dev_t): Likewise.
66171         (nlink_t): Likewise.
66172         (blkcnt_t): Likewise.
66173         (blkcnt64_t): Likewise.
66174         * manual/llio.texi (off_t): Likewise.
66176         [BZ #3976]
66177         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66178         (__ieee754_exp): Save and restore rounding mode and use
66179         round-to-nearest for all computations.
66180         * math/libm-test.inc (exp_test_tonearest): New function.
66181         (exp_test_towardzero): Likewise.
66182         (exp_test_downward): Likewise.
66183         (exp_test_upward): Likewise.
66184         (main): Call the new functions.
66185         * sysdeps/i386/fpu/libm-test-ulps: Update.
66186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66188 2012-03-01  Chris Demetriou  <cgd@google.com>
66190         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66191         have predictable order.
66193 2012-03-01  David S. Miller  <davem@davemloft.net>
66195         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66197         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66198         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66199         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66200         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66202         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66203         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66204         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66206         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66207         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66208         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66209         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66210         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66214         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66215         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66216         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66218         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66219         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66220         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66221         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66222         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66223         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66224         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66225         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66226         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66227         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66228         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66231         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66232         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66234         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66235         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66236         * sysdeps/sparc/elf/configure: Regenerated.
66238 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66240         * configure.in (AS, LD): Require binutils 2.20 or later.
66241         * configure: Regenerated.
66242         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66243         as required minimum version.
66244         * INSTALL: Regenerated.
66246         [BZ #2541]
66247         [BZ #4108]
66248         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66249         before squaring exponent.
66250         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66251         bottom long double and 27 bits of top long double before squaring
66252         exponent.
66253         * math/libm-test.inc (erfc_test): Add more tests.
66254         * sysdeps/i386/fpu/libm-test-ulps: Update.
66255         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66258 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66260         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66261         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66262         containing bit-fields.
66263         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66264         * soft-fp/single.h (_FP_UNION_S): Likewise.
66265         * soft-fp/double.h (_FP_UNION_D): Likewise.
66267 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66269         [BZ #13786]
66270         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66271         not include ../strcmp.S.
66272         [USE_AS_STRNCASECMP_L]: Likewise.
66273         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66274         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66275         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66276         (__strncasecmp_l_ia32): Define as alias to
66277         __strncasecmp_l_nonascii.
66279         [BZ #5794]
66280         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66281         * sysdeps/i386/fpu/libm-test-ulps: Update.
66282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66284         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66287 2012-02-29  Jeff Law  <law@redhat.com>
66289         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66290         out of bounds read.
66292 2012-02-29  Marek Polacek  <polacek@redhat.com>
66294         [BZ #13706]
66295         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66296         * elf/Makefile: Add rules to run tst-unused-dep.out.
66298 2012-02-28  David S. Miller  <davem@davemloft.net>
66300         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66301         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66302         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66303         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66304         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66305         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66307 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66309         * math/libm-test.inc (llround_test): Move one test from
66310         lround_test.  Use TEST_f_L in moved test.
66311         (lround_test): Move misplaced test to llround_test.  Add testcase
66312         from bug 2561.
66314 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66316         * sysdeps/x86_64/fpu/e_expf.S: New file.
66317         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66319 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66321         [BZ #13637]
66322         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66323         of remain_len that may cause incomplete multi-byte character and
66324         false match.
66325         * posix/bug-regex33.c: New file.
66326         * posix/Makefile (tests): Add bug-regex33.
66328 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66330         * manual/macros.texi: New file.
66331         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66332         * manual/libc.texinfo: Include macros.texi.
66333         * manual/creatute.texi: Likewise.
66334         * manual/install.texi: Likewise.
66335         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66336         @glibcadj{} in references to the GNU C Library.
66337         * manual/charset.texi: Likewise.
66338         * manual/conf.texi: Likewise.
66339         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66340         when not using those macros.
66341         * manual/creature.texi: Likewise.
66342         * manual/crypt.texi: Likewise.
66343         * manual/errno.texi: Likewise.
66344         * manual/filesys.texi: Likewise.
66345         * manual/header.texi: Likewise.
66346         * manual/install.texi: Likewise.
66347         * manual/intro.texi: Likewise.
66348         * manual/io.texi: Likewise.
66349         * manual/job.texi: Likewise.
66350         * manual/lang.texi: Likewise.
66351         * manual/libc.texiinfo: Likewise.
66352         * manual/llio.texi: Likewise.
66353         * manual/locale.texi: Likewise.
66354         * manual/maint.texi: Likewise.
66355         * manual/math.texi: Likewise.
66356         * manual/memory.texi: Likewise.
66357         * manual/message.texi: Likewise.
66358         * manual/nss.texi: Likewise.
66359         * manual/pattern.texi: Likewise.
66360         * manual/process.texi: Likewise.
66361         * manual/resource.texi: Likewise.
66362         * manual/search.texi: Likewise.
66363         * manual/setjmp.texi: Likewise.
66364         * manual/signal.texi: Likewise.
66365         * manual/socket.texi: Likewise.
66366         * manual/startup.texi: Likewise.
66367         * manual/stdio.texi: Likewise.
66368         * manual/string.texi: Likewise.
66369         * manual/sysinfo.texi: Likewise.
66370         * manual/syslog.texi: Likewise.
66371         * manual/terminal.texi: Likewise.
66372         * manual/time.texi: Likewise.
66373         * manual/users.texi: Likewise.
66374         * INSTALL: Regenerated.
66375         * NOTES: Regenerated.
66376         * sysdeps/gnu/errlist.c: Regenerated.
66378 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66380         * include/dirent.h: Include <dirstream.h> before
66381         <dirent/dirent.h>.
66383 2012-02-28  David S. Miller  <davem@davemloft.net>
66385         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66386         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66387         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66388         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66390 2012-02-27  David S. Miller  <davem@davemloft.net>
66392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66394         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66395         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66398         frame pointer instead of stack pointer relative arg slot.
66399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66400         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66401         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66403 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66405         [BZ #3992]
66406         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
66408 2012-02-27  David S. Miller  <davem@davemloft.net>
66410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
66411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
66414         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66415         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66416         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
66417         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
66419 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66421         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
66422         later.  Allow versions 5-9.
66423         * configure: Regenerated.
66424         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
66425         required minimum version and 4.6 as recommended version.  Do not
66426         mention bugs in GCC 2.7 and 2.8.
66427         * INSTALL: Regenerated.
66429 2012-02-27  David S. Miller  <davem@davemloft.net>
66431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
66432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
66433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
66434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
66435         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
66436         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
66437         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
66438         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
66440         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
66441         manipulate bits before adding and subtracting TWO112[sx].
66442         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66444 2012-02-27  Roland McGrath  <roland@hack.frob.com>
66446         [BZ #13775]
66447         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
66448         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
66449         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
66450         being in POSIX, because they are in 1003.1-2008.
66452         * rt/tst-aio.c: Include <fcntl.h>.
66453         * rt/tst-aio7.c: Likewise.
66454         * rt/tst-aio64.c: Likewise.
66456         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
66458 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
66460         * manual/install.texi (--with-headers): Describe headers as
66461         interface headers, not private headers.
66462         (Specific advice for GNU/Linux systems): Describe use of headers
66463         from "make headers_install", not private headers from older
66464         kernels.
66465         * INSTALL: Regenerated.
66466         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
66467         Change to 2.6.19.
66468         * sysdeps/unix/sysv/linux/configure: Regenerated.
66470         * manual/llio.texi (fclean): Remove documentation.
66472         * manual/Makefile (libc-texi-generated): New variable.  Include
66473         version.texi.
66474         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
66475         $(libc-texi-generated), not duplicated list of files.
66476         (version.texi, stamp-version): New rules.
66477         (realclean): Remove $(libc-texi-generated), not individual files
66478         from that list.  Do not remove dir-add.texinfo.
66479         * manual/libc.texinfo: Comment out uses of edition numbers and
66480         references to printed manual.  Remove last-updated dates.
66481         (EDITION): Comment out.
66482         (ISBN): Likewise.
66483         (VERSION, UPDATED): Remove.
66484         (version.texi): Include.
66486 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
66488         * sysdeps/posix/spawni.c: Include <signal.h>.
66489         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
66490         * sysdeps/pthread/aio_fsync.c: Likewise.
66492 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
66494         * conform/Makefile (tests): Run only when not cross-compiling and
66495         when fast-check is not defined.
66497         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
66498         * conform/data/limits.h-data: Fixes for POSIX2008.
66499         * conform/run-conformtest.sh: Run all tests.
66500         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
66501         headers.
66502         * include/bits/dlfcn.h: Likewise.
66503         * include/langinfo.h: Likewise.
66504         * include/monetary.h: Likewise.
66505         * include/sys/poll.h: Likewise.
66507         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
66508         for __USE_GNU.
66509         * posix/spawn.h: Define __need_sigset_t.
66510         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
66511         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
66512         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
66513         to get sigevent_t only.
66514         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
66515         only for __USE_GNU.
66516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66517         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
66518         process_vm_writev only for __USE_GNU.
66519         * termios/termios.h: Declare tcgetsid also for POSIX2008.
66521         * conform/Makefile: For now ignore errors from run-conformtest.
66522         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
66523         POSIX to avoid namespace pollution.  Don't prepend headers.
66524         * conform/data/aio.h-data: Fixes for POSIX testing.
66525         * conform/data/fcntl.h-data: Likewise.
66526         * conform/data/glob.h-data: Likewise.
66527         * conform/data/grp.h-data: Likewise.
66528         * conform/data/pthread.h-data: Likewise.
66529         * conform/data/pwd.h-data: Likewise.
66530         * conform/data/signal.h-data: Likewise.
66531         * conform/data/spawn.h-data: Likewise.
66532         * conform/data/stdio.h-data: Likewise.
66533         * conform/data/stdlib.h-data: Likewise.
66534         * conform/data/stropts.h-data: Likewise.
66535         * conform/data/sys/mman.h-data: Likewise.
66536         * conform/data/sys/stat.h-data: Likewise.
66537         * conform/data/sys/types.h-data: Likewise.
66538         * conform/data/sys/wait.h-data: Likewise.
66539         * conform/data/time.h-data: Likewise.
66540         * conform/data/unistd.h-data: Likewise.
66541         * conform/data/utime.h-data: Likewise.
66543         * io/sys/stat.h: fchmod was always in POSIX.
66544         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
66545         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
66546         * rt/aio.h: Define __need_timespec before including <time.h>.
66547         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
66548         struct.  Add forward declaration of pthread_attr_t and use it in
66549         sigevent.
66550         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
66551         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66552         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
66553         always remove CLK_TCK definition.
66555 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
66557         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
66559 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
66561         * conform/run-conformtest.sh: New file.
66562         * conform/Makefile: Run run-conformtest for tests.
66563         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
66564         support.
66566         * conform/data/uchar.h-data: New file.
66567         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
66568         * conform/data/arpa/inet.h-data: Likewise.
66569         * conform/data/assert.h-data: Likewise.
66570         * conform/data/complex.h-data: Likewise.
66571         * conform/data/cpio.h-data: Likewise.
66572         * conform/data/ctype.h-data: Likewise.
66573         * conform/data/dirent.h-data: Likewise.
66574         * conform/data/dlfcn.h-data: Likewise.
66575         * conform/data/errno.h-data: Likewise.
66576         * conform/data/fcntl.h-data: Likewise.
66577         * conform/data/float.h-data: Likewise.
66578         * conform/data/fmtmsg.h-data: Likewise.
66579         * conform/data/fnmatch.h-data: Likewise.
66580         * conform/data/ftw.h-data: Likewise.
66581         * conform/data/glob.h-data: Likewise.
66582         * conform/data/grp.h-data: Likewise.
66583         * conform/data/iconv.h-data: Likewise.
66584         * conform/data/inttypes.h-data: Likewise.
66585         * conform/data/langinfo.h-data: Likewise.
66586         * conform/data/libgen.h-data: Likewise.
66587         * conform/data/limits.h-data: Likewise.
66588         * conform/data/locale.h-data: Likewise.
66589         * conform/data/math.h-data: Likewise.
66590         * conform/data/monetary.h-data: Likewise.
66591         * conform/data/mqueue.h-data: Likewise.
66592         * conform/data/ndbm.h-data: Likewise.
66593         * conform/data/net/if.h-data: Likewise.
66594         * conform/data/netdb.h-data: Likewise.
66595         * conform/data/netinet/in.h-data: Likewise.
66596         * conform/data/nl_types.h-data: Likewise.
66597         * conform/data/poll.h-data: Likewise.
66598         * conform/data/pthread.h-data: Likewise.
66599         * conform/data/pwd.h-data: Likewise.
66600         * conform/data/regex.h-data: Likewise.
66601         * conform/data/sched.h-data: Likewise.
66602         * conform/data/search.h-data: Likewise.
66603         * conform/data/semaphore.h-data: Likewise.
66604         * conform/data/setjmp.h-data: Likewise.
66605         * conform/data/signal.h-data: Likewise.
66606         * conform/data/spawn.h-data: Likewise.
66607         * conform/data/stdarg.h-data: Likewise.
66608         * conform/data/stdio.h-data: Likewise.
66609         * conform/data/stdlib.h-data: Likewise.
66610         * conform/data/string.h-data: Likewise.
66611         * conform/data/strings.h-data: Likewise.
66612         * conform/data/stropts.h-data: Likewise.
66613         * conform/data/sys/ipc.h-data: Likewise.
66614         * conform/data/sys/mman.h-data: Likewise.
66615         * conform/data/sys/msg.h-data: Likewise.
66616         * conform/data/sys/resource.h-data: Likewise.
66617         * conform/data/sys/select.h-data: Likewise.
66618         * conform/data/sys/sem.h-data: Likewise.
66619         * conform/data/sys/shm.h-data: Likewise.
66620         * conform/data/sys/socket.h-data: Likewise.
66621         * conform/data/sys/stat.h-data: Likewise.
66622         * conform/data/sys/statvfs.h-data: Likewise.
66623         * conform/data/sys/time.h-data: Likewise.
66624         * conform/data/sys/timeb.h-data: Likewise.
66625         * conform/data/sys/times.h-data: Likewise.
66626         * conform/data/sys/types.h-data: Likewise.
66627         * conform/data/sys/uio.h-data: Likewise.
66628         * conform/data/sys/un.h-data: Likewise.
66629         * conform/data/sys/utsname.h-data: Likewise.
66630         * conform/data/sys/wait.h-data: Likewise.
66631         * conform/data/syslog.h-data: Likewise.
66632         * conform/data/tar.h-data: Likewise.
66633         * conform/data/termios.h-data: Likewise.
66634         * conform/data/utime.h-data: Likewise.
66635         * conform/data/utmpx.h-data: Likewise.
66636         * conform/data/varargs.h-data: Likewise.
66637         * conform/data/wchar.h-data: Likewise.
66638         * conform/data/wctype.h-data: Likewise.
66639         * conform/data/wordexp.h-data: Likewise.
66641         * include/stropts.h: New file.
66642         * include/uchar.h: New file.
66643         * include/aio.h: Changes to allow conformtest.pl to use the headers.
66644         * include/assert.h: Likewise.
66645         * include/ctype.h: Likewise.
66646         * include/dirent.h: Likewise.
66647         * include/dlfcn.h: Likewise.
66648         * include/fcntl.h: Likewise.
66649         * include/fnmatch.h: Likewise.
66650         * include/glob.h: Likewise.
66651         * include/grp.h: Likewise.
66652         * include/libio.h: Likewise.
66653         * include/locale.h: Likewise.
66654         * include/math.h: Likewise.
66655         * include/net/if.h: Likewise.
66656         * include/netdb.h: Likewise.
66657         * include/netinet/in.h: Likewise.
66658         * include/pthread.h: Likewise.
66659         * include/pwd.h: Likewise.
66660         * include/regex.h: Likewise.
66661         * include/sched.h: Likewise.
66662         * include/search.h: Likewise.
66663         * include/setjmp.h: Likewise.
66664         * include/signal.h: Likewise.
66665         * include/stdio.h: Likewise.
66666         * include/stdlib.h: Likewise.
66667         * include/string.h: Likewise.
66668         * include/sys/cdefs.h: Likewise.
66669         * include/sys/mman.h: Likewise.
66670         * include/sys/msg.h: Likewise.
66671         * include/sys/resource.h: Likewise.
66672         * include/sys/select.h: Likewise.
66673         * include/sys/socket.h: Likewise.
66674         * include/sys/stat.h: Likewise.
66675         * include/sys/statvfs.h: Likewise.
66676         * include/sys/time.h: Likewise.
66677         * include/sys/times.h: Likewise.
66678         * include/sys/uio.h: Likewise.
66679         * include/sys/utsname.h: Likewise.
66680         * include/sys/wait.h: Likewise.
66681         * include/termios.h: Likewise.
66682         * include/time.h: Likewise.
66683         * include/ulimit.h: Likewise.
66684         * include/unistd.h: Likewise.
66685         * include/utime.h: Likewise.
66686         * include/wchar.h: Likewise.
66687         * include/wctype.h: Likewise.
66688         * include/wordexp.h: Likewise.
66690         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
66692         * time/time.h: TIME_UTC must be a macro.
66693         Make timespec_get available for ISO C11 only as well.
66695 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
66697         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
66698         Reported by Peng Haitao <penght@cn.fujitsu.com>.
66700 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66702         * configure.in: Use -o not -a in test for unsupported multi-arch.
66704 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66706         * manual/texinfo.tex: Update to version 2012-01-19.16.
66708 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
66710         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
66712 2012-02-24  Roland McGrath  <roland@hack.frob.com>
66714         [BZ #13738]
66715         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
66716         * manual/fdl-1.3.texi: New file.
66717         * manual/fdl-1.1.texi: File removed.
66719         [BZ #13738]
66720         * manual/libc.texinfo (FDL_VERSION): New @set.
66721         Use it for mention of FDL in cover text.
66722         (Documentation License): Use it in @include file name.
66724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66725             Roland McGrath  <roland@hack.frob.com>
66727         [BZ #5461]
66728         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
66729         (not LONG_LONG_MAX and LONG_LONG_MIN.
66730         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
66731         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
66732         name.
66733         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
66735 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66737         [BZ #2547]
66738         [BZ #11365]
66739         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
66740         manipulate bits before adding and subtracting TWO23[sx].
66741         * math/libm-test.inc (nearbyint_test): Add more tests.
66743 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66745         [BZ #2548]
66746         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
66747         bits before adding and subtracting TWO23[sx].
66748         * math/libm-test.inc (rint_test): Add more tests.
66749         (rint_test_tonearest): Likewise.
66750         (rint_test_towardzero): Likewise.
66751         (rint_test_downward): Likewise.
66752         (rint_test_upward: Likewise.
66754 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66756         [BZ #10110]
66757         * include/stdc-predef.h: New file.  Extracted from features.h.
66758         * include/features.h: Include stdc-predef.h.
66759         * Makefile (headers): Add stdc-predef.h.
66760         * CONFORMANCE (Compiler limitations): Update.
66762 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
66764         * manual/libc.texinfo (VERSION, UPDATED): Revert.
66766 2012-02-21  David S. Miller  <davem@davemloft.net>
66768         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
66769         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66771 2012-02-20  David S. Miller  <davem@davemloft.net>
66773         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
66774         using a normal save/restore sequence, rather than allocating a
66775         dummy stack frame just to store a frame pointer and restore.
66776         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66778 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66780         * manual/install.texi: Fix stray word in line-wrapped comment.
66782 2012-02-20  David S. Miller  <davem@davemloft.net>
66784         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
66785         both binutils and gcc support GOTDATA.
66787         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
66788         "rd %pc" in the PIC register setup sequences.
66790         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
66791         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
66792         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66793         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
66794         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66795         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
66796         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
66797         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66798         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
66799         (SYSCALL_ERROR_HANDLER): Likewise.
66800         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66801         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
66803         (SYSCALL_ERROR_HANDLER): Likewise.
66805         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
66806         (HAVE_GCC_GOTDATA): New.
66807         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
66808         relocation support in both binutils and gcc.
66809         * sysdeps/sparc/elf/configure: Regenerate.
66811         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
66812         * sysdeps/sparc/sparc32/elf/configure: Delete.
66813         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
66814         * sysdeps/sparc/sparc64/elf/configure: Delete.
66815         * sysdeps/sparc/elf/configure.in: New file.
66816         * sysdeps/sparc/elf/configure: Generate.
66818         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
66819         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
66820         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
66821         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
66822         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
66824 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66826         * manual/install.texi: Do not mention specific glibc version
66827         numbers.
66828         * manual/libc.texinfo (VERSION, UPDATED): Update.
66829         (@copying): Use @copyright{} and range of years.
66831 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
66833         [BZ #13695]
66834         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
66835         [crti.S not in sysdirs] (generated): Do not append.
66836         [crti.S not in sysdirs] (omit-deps): Likewise.
66837         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
66838         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
66839         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
66840         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
66841         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
66842         Likewise.
66843         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
66844         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
66845         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
66846         * csu/defs.awk: Remove file.
66847         * sysdeps/generic/initfini.c: Likewise.
66848         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
66849         variable.
66850         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
66851         Likewise.
66853 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66855         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
66856         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
66857         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
66858         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
66859         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66860         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
66861         <bits/epoll.h>.
66862         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
66863         (__EPOLL_PACKED): Define to empty if not defined by
66864         <bits/epoll.h>.
66865         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
66866         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66867         bits/epoll.h.
66869 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66871         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
66872         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
66873         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
66874         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
66875         <bits/timerfd.h>.
66876         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
66877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66878         bits/timerfd.h.
66880 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
66882         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
66883         in C locale.
66884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66886         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
66887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66889 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
66891         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
66892         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
66894 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
66896         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
66897         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
66898         defined.
66899         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
66900         Likewise.
66901         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
66902         entry for 2.16.
66904 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
66906         * math/w_acos.c: Use non-signaling floating-point comparisons.
66907         * math/w_acosf.c: Likewise.
66908         * math/w_acosh.c: Likewise.
66909         * math/w_acoshf.c: Likewise.
66910         * math/w_acoshl.c: Likewise.
66911         * math/w_acosl.c: Likewise.
66912         * math/w_asin.c: Likewise.
66913         * math/w_asinf.c: Likewise.
66914         * math/w_asinl.c: Likewise.
66915         * math/w_atanh.c: Likewise.
66916         * math/w_atanhf.c: Likewise.
66917         * math/w_atanhl.c: Likewise.
66918         * math/w_exp2.c: Likewise.
66919         * math/w_exp2f.c: Likewise.
66920         * math/w_exp2l.c: Likewise.
66921         * math/w_j0.c: Likewise.
66922         * math/w_j0f.c: Likewise.
66923         * math/w_j0l.c: Likewise.
66924         * math/w_j1.c: Likewise.
66925         * math/w_j1f.c: Likewise.
66926         * math/w_j1l.c: Likewise.
66927         * math/w_jn.c: Likewise.
66928         * math/w_jnf.c: Likewise.
66929         * math/w_log.c: Likewise.
66930         * math/w_log10.c: Likewise.
66931         * math/w_log10f.c: Likewise.
66932         * math/w_log10l.c: Likewise.
66933         * math/w_log2.c: Likewise.
66934         * math/w_log2f.c: Likewise.
66935         * math/w_log2l.c: Likewise.
66936         * math/w_logf.c: Likewise.
66937         * math/w_logl.c: Likewise.
66938         * math/w_sqrt.c: Likewise.
66939         * math/w_sqrtf.c: Likewise.
66940         * math/w_sqrtl.c: Likewise.
66941         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66942         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
66943         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66944         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
66945         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
66947 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66949         [BZ #9739]
66950         * manual/string.texi (strnlen): Use correct parameter name in
66951         equivalent expression.
66953 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66955         [BZ #11174]
66956         * manual/users.texi (seteuid): Consistently use neweuid for
66957         argument name.
66959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
66961         [BZ #13704]
66962         * manual/nss.texi (Services in the NSS configuration): Correct
66963         list of services in example configuration file.
66965 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
66967         [BZ #11322]
66968         * manual/arith.texi: Remove statements about negative zero
66969         behaving identically to zero.
66971 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66973         [BZ #5993]
66974         * manual/install.texi: Do not document upgrading from libc5.
66976 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
66978         [BZ #4596]
66979         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
66981 2012-02-18  David S. Miller  <davem@davemloft.net>
66983         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
66984         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
66985         %o7 across the call.
66986         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
66987         instead.
66988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
66989         SETUP_PIC_REG_LEAF.
66990         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66991         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
66992         * sysdeps/sparc/crtn.S: Likewise.
66994 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
66996         * aout/Makefile: Remove.
66998 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67000         [BZ #13058]
67001         * manual/examples/argp-ex1.c (main): Format definition in GNU
67002         style.
67003         * manual/examples/argp-ex2.c (main): Likewise.
67004         * manual/examples/argp-ex3.c (main): Likewise.
67005         * manual/examples/argp-ex4.c (main): Likewise.
67006         * manual/examples/longopt.c (main): Use new-style prototype
67007         definition.
67008         * manual/examples/strncat.c (main): Specify return type and use
67009         (void) for arguments.
67010         * manual/examples/subopt.c (main): Use char **argv argument.
67012 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67014         [BZ #5077]
67015         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67016         rounding modes.
67018 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67020         [BZ #6907]
67021         * manual/string.texi (strchr): Change when strchrnul is
67022         recommended.
67024 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67026         [BZ #174]
67027         * manual/locale.texi (setlocale): Document LOCPATH.
67029 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67031         [BZ #10210]
67032         * manual/process.texi (execle): Move @dots{} before last argument.
67034 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67036         [BZ #12047]
67037         * manual/charset.texi (Generic Charset Conversion): Fix typo
67038         (LC_TYPE -> LC_CTYPE).
67040 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67042         [BZ #5805]
67043         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67044         (scalbnf): Likewise.
67045         (scalbnl): Likewise.
67046         (scalbln): Likewise.
67047         (scalblnf): Likewise.
67048         (scalblnl): Likewise.
67049         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67050         (vwarnx): Likewise.
67051         (verr): Likewise.
67052         (verrx): Likewise.
67053         * manual/filesys.texi (telldir): Use braces around return type.
67054         * manual/llio.texi (mmap): Add space after comma.
67055         (mmap64): Likewise.
67056         * manual/math.texi (jn): Use @var{} on parameter names.
67057         (jnf): Likewise.
67058         (jnl): Likewise.
67059         (yn): Likewise.
67060         (ynf): Likewise.
67061         (ynl): Likewise.
67062         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67063         line.
67064         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67065         "...".
67066         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67067         (sched_get_priority_max): Likewise.
67068         * manual/signal.texi (sigvec): Add space after comma.
67069         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67070         names.
67071         (if_indextoname): Likewise.
67072         (if_freenameindex): Likewise.
67073         (sendto): Use ',' instead of '.' in prototype.
67074         * manual/startup.texi (syscall): Use @dots{} instead of literal
67075         "...".
67076         * manual/stdio.texi (__fpending): Separate initial words of
67077         paragraph from @deftypefun line.
67078         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67079         "...".
67080         (vsyslog): Use @var{} on parameter names.
67081         * manual/terminal.texi (stty): Use @var{} on parameter names.
67082         * manual/users.texi (getutmp): Use @var{} on parameter names.
67083         (getutmpx): Likewise.
67085 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67087         [BZ #6884]
67088         * manual/stdio.texi (fopen): Fix typos in description of
67089         ",ccs=STRING".
67091 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67093         [BZ #4026]
67094         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67095         get clock_id definition.
67097 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67099         [BZ #4822]
67100         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67101         (madvise): Cast every argument to void on its own.
67103 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67105         [BZ #9902]
67106         * manual/startup.texi (Exit Status): Fix typo.
67108 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67110         [BZ #10140]
67111         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67112         * manual/examples/argp-ex2.c: Likewise.
67113         * manual/examples/argp-ex3.c: Likewise.
67115 2012-02-16  Richard Henderson  <rth@redhat.com>
67117         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67118         * sysdeps/s390/s390-32/initfini.c: Remove.
67119         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67120         * sysdeps/s390/s390-64/initfini.c: Remove.
67122 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67124         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67125         compiler output for sysdeps/generic/initfini.c.
67126         * sysdeps/sh/elf/initfini.c: Remove file.
67128 2012-02-16  David S. Miller  <davem@davemloft.net>
67130         [BZ #11494]
67131         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67133         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67134         * sysdeps/sparc/crti.S: New file.
67135         * sysdeps/sparc/crtn.S: New file.
67136         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67137         * sysdeps/sparc/sparc64/Makefile: Likewise.
67139 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67141         [BZ #3335]
67142         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67144 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67146         [BZ #4822]
67147         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67149         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67150         (write, read, close): Likewise.
67151         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67153 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67155         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67156         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67157         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67158         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67159         <bits/signalfd.h>.
67160         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67162         bits/signalfd.h.
67164 2012-02-14  Marek Polacek  <polacek@redhat.com>
67166         * sysdeps/x86_64/crti.S: New file.
67167         * sysdeps/x86_64/crtn.S: New file.
67168         * sysdeps/x86_64/elf/initfini.c: Remove file.
67170 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67172         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67173         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67174         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67175         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67176         <bits/inotify.h>.
67177         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67179         bits/inotify.h.
67181 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67183         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67184         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67185         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67186         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67187         <bits/eventfd.h>.
67188         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67190         bits/eventfd.h.
67192 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67194         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67195         __feraiseexcept instead of feraiseexcept.
67197         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67198         nanosleep invocations.
67199         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67200         strings, and add error checking for a nanosleep invocations.
67202 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67204         Replace FSF snail mail address with URLs, as per GNU coding standards.
67205         Most of the snail mail addresses were wrong anyway, and omitting
67206         them makes the source code easier to maintain.  Almost all of the
67207         changes are to license notices and to locale LC_IDENTIFICATION
67208         addresses, except for this one:
67209         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67210         not its snail mail address.
67212 2012-02-09  Richard Henderson  <rth@twiddle.net>
67214         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67215         of kernel-features.h.
67217         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67219 2012-02-08  Marek Polacek  <polacek@redhat.com>
67221         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67222         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67223         * sysdeps/gnu/_G_config.h: Likewise.
67224         * sysdeps/generic/_G_config.h: Likewise.
67226 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67228         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67229         tests.
67230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67232         * sysdeps/powerpc/powerpc32/crti.S: New file.
67233         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67234         * sysdeps/powerpc/powerpc64/crti.S: New file.
67235         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67237         * Makeconfig (have-initfini): Don't set.
67238         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67239         * configure.in (nopic_initfini): Don't substitute.
67240         * config.h.in (HAVE_INITFINI): Don't #undef.
67241         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67242         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67244 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67246         Support crti.S and crtn.S provided directly by architectures.
67247         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67248         [crti.S in sysdirs] (omit-deps): Likewise.
67249         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67250         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67251         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67252         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67253         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67254         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67255         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67256         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67257         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67258         compiler output for sysdeps/generic/initfini.c.
67259         * sysdeps/i386/elf/Makefile: Remove file.
67260         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67262 2012-02-07  Marek Polacek  <polacek@redhat.com>
67264         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67265         * sysdeps/gnu/_G_config.h: Likewise.
67266         * sysdeps/mach/hurd/_G_config.h: Likewise.
67268 2012-02-07  Marek Polacek  <polacek@redhat.com>
67270         * math/Makefile (tests): Add tst-CMPLX2.
67271         * math/tst-CMPLX2.c: New file.
67273 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67275         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67277         * math/libm-test.inc (jn_test): Add missing L suffix.
67279 2012-02-06  Marek Polacek  <polacek@redhat.com>
67281         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67282         * sysdeps/i386/fpu/e_powf.S: Likewise.
67283         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67284         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67285         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67286         * sysdeps/i386/fpu/e_pow.S: Likewise.
67287         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67288         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67289         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67290         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67291         * sysdeps/i386/fpu/e_log2.S: Likewise.
67292         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67293         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67294         * sysdeps/i386/fpu/e_powl.S: Likewise.
67295         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67296         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67297         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67298         * sysdeps/i386/fpu/e_logl.S: Likewise.
67299         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67300         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67301         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67302         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67303         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67304         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67305         * sysdeps/i386/fpu/e_log.S: Likewise.
67306         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67307         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67308         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67309         * sysdeps/i386/fpu/e_logf.S: Likewise.
67310         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67311         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67312         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67313         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67314         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67315         * sysdeps/i386/fpu/e_log10.S: Likewise.
67316         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67317         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67318         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67319         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67320         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67321         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67322         * sysdeps/i386/asm-syntax.h: Likewise.
67323         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67324         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67325         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67326         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67327         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67328         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67329         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67330         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67331         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67332         * sysdeps/powerpc/sysdep.h: Likewise.
67333         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67334         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67336 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67338         [BZ #411]
67339         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67341 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67343         * sysdeps/i386/sysdep.h: Include <features.h>.
67344         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67345         version.
67347 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67349         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67350         Define.
67351         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67352         LOAD_PIC_REG_STR.
67354 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67356         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67357         (SETUP_PIC_REG): Use GET_PC_THUNK.
67358         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67359         macro.
67361 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67363         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67364         for non-PIC compilation.
67365         (SETUP_PIC_REG): Add .p2align directive.
67366         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67367         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67368         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67369         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67370         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67372         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67373         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67374         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67375         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67376         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67377         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67378         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67380         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67381         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67382         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67383         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67384         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67385         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67386         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67388         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67389         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67390         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67391         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67392         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67393         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67394         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67395         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67396         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67397         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67399         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67400         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67401         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67402         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67403         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67404         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67405         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
67406         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
67408 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67410         * math/tst-CMPLX.c: Include <stdio.h>.
67412 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
67414         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
67415         float.
67416         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67417         * sysdeps/sparc/bits/mathdef.h: Likewise.
67419 2012-01-31  Marek Polacek  <polacek@redhat.com>
67421         * libio/libio.h: Don't define _PARAMS.
67422         * locale/programs/config.h: Don't define PARAMS.
67423         * stdlib/strtol_l.c: Likewise.
67424         (__strtol_l): Remove PARAMS from the prototype.
67426 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
67428         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
67429         names.  Just use the correct names.  Remove unnecessary wrapper
67430         functions.
67431         * malloc/arena.c: Likewise.
67432         * malloc/hooks.c: Likewise.
67434         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
67435         ARENA_TEST says not to.  Simplify test for creation of a new arena.
67436         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
67438 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
67440         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
67441         into tail calls.
67442         (update_get_addr): New function.
67443         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
67444         GET_ADDR_MODULE parameter.
67446 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67448         * crypt/cert.c: Remove __STDC__ conditionals.
67449         * crypt/crypt-entry.c: Likewise.
67450         * crypt/crypt_util.c: Likewise.
67451         * libio/filedoalloc.c: Likewise.
67452         * libio/fileops.c: Likewise.
67453         * libio/genops.c: Likewise.
67454         * libio/iofclose.c: Likewise.
67455         * libio/iofdopen.c: Likewise.
67456         * libio/iofopen.c: Likewise.
67457         * libio/iofopen64.c: Likewise.
67458         * libio/iogetdelim.c: Likewise.
67459         * libio/iopopen.c: Likewise.
67460         * libio/obprintf.c: Likewise.
67461         * libio/oldfileops.c: Likewise.
67462         * libio/oldiofclose.c: Likewise.
67463         * libio/oldiofdopen.c: Likewise.
67464         * libio/oldiofopen.c: Likewise.
67465         * libio/oldiopopen.c: Likewise.
67466         * libio/wfiledoalloc.c: Likewise.
67467         * libio/wgenops.c: Likewise.
67468         * locale/programs/xmalloc.c: Likewise.
67469         * misc/syslog.c: Likewise.
67470         * stdio-common/xbug.c: Likewise.
67471         * string/memchr.c: Likewise.
67472         * string/memcmp.c: Likewise.
67473         * string/memrchr.c: Likewise.
67474         * string/rawmemchr.c: Likewise.
67475         * sysdeps/posix/getcwd.c: Likewise.
67476         * time/strftime_l.c: Likewise.
67478 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
67480         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
67481         * config.make.in (config-cflags-sse2avx): Define.
67482         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
67483         Fix typo.
67485 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
67487         * scripts/config.guess: Update from upstream config git repository.
67488         * scripts/config.sub: Likewise.
67490 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
67492         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
67493         (EM_NUM): Update.
67494         (R_TILEPRO_*, R_TILEGX_*): New macros.
67496         * scripts/firstversions.awk: Fix bug in version range handling.
67498         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
67500         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
67502         * include/sys/epoll.h: New file.
67503         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
67504         libc_hidden_def.
67506 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
67508         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
67509         Avoid unnecessary __WORDSIZE == 64 test.
67510         (fmaxf): Use VEX format if possible.
67511         (fmax): Likewise.
67512         (fminf): Likewise.
67513         (fmin): Likewise.
67515         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
67516         * math/math_private.h: Remove libc_fegetround* and
67517         libc_fesetround*.
67518         * sysdeps/i386/configure.in: Check for -msse2avx.
67519         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
67520         also if SSE2AVX is defined.
67521         Remove libc_fegetround* and libc_fesetround*.
67522         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
67523         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
67524         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
67525         of HAS_YMM_USABLE.
67526         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67527         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67528         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67529         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67530         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67532         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
67534 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67536         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
67537         size is not set.
67538         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
67540 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
67542         [BZ #13618]
67543         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
67544         relocation.
67545         * Makeconfig (libm): Define.
67546         * elf/Makefile: Add rules to build and run tst-relsort1.
67547         * elf/tst-relsort1.c: New file.
67548         * elf/tst-relsort1mod1.c: New file.
67549         * elf/tst-relsort1mod2.c: New file.
67551 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
67553         * math/s_ldexp.c: Remove __STDC__ conditionals.
67554         * math/s_ldexpf.c: Likewise.
67555         * math/s_ldexpl.c: Likewise.
67556         * math/s_nextafter.c: Likewise.
67557         * math/s_nexttowardf.c: Likewise.
67558         * math/s_significand.c: Likewise.
67559         * math/s_significandf.c: Likewise.
67560         * math/s_significandl.c: Likewise.
67561         * math/w_jnl.c: Likewise.
67562         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
67563         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
67564         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
67565         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
67566         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
67567         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
67568         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
67569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
67570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
67571         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
67572         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
67573         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67574         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
67575         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
67577         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
67578         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
67579         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
67580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67581         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
67582         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
67583         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
67584         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
67585         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
67586         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
67587         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
67588         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
67589         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
67590         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
67591         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
67592         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
67593         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
67594         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
67595         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
67596         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
67597         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
67598         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
67599         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
67600         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
67601         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
67602         * sysdeps/ieee754/k_standard.c: Likewise.
67603         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
67604         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
67605         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
67606         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
67607         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
67608         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
67609         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
67610         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
67611         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
67612         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
67613         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
67614         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
67615         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
67616         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
67617         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
67618         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
67619         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
67620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
67621         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
67622         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
67623         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
67624         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
67625         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
67626         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
67627         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
67628         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
67629         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
67630         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
67631         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
67632         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
67633         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
67634         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
67635         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
67636         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
67637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
67638         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
67639         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
67640         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
67641         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
67642         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
67643         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
67644         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
67645         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
67646         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
67647         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
67648         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
67649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
67650         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
67651         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
67652         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
67653         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
67654         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
67655         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
67656         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
67657         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
67658         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
67659         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
67660         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
67661         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
67662         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
67663         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
67664         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
67665         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
67666         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
67667         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
67668         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
67669         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
67670         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
67671         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
67672         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
67673         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
67674         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
67675         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
67676         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
67677         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
67678         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
67679         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
67680         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
67681         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
67682         * sysdeps/ieee754/s_matherr.c: Likewise.
67683         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
67684         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
67685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
67686         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
67688 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67690         * crypt/md5.h: Remove __STDC__ conditionals.
67691         * libio/libioP.h: Likewise.
67692         * locale/programs/config.h: Likewise.
67693         * sysdeps/generic/sysdep.h: Likewise.
67694         * sysdeps/i386/asm-syntax.h: Likewise.
67695         * sysdeps/s390/asm-syntax.h: Likewise.
67696         * sysdeps/unix/sysdep.h: Likewise.
67697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
67698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67700 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
67702         * libio/libio.h: Remove __STDC__ conditionals.
67703         * malloc/obstack.h: Likewise.
67704         * math/complex.h: Likewise.
67705         * math/math.h: Likewise.
67706         * sysdeps/generic/_G_config.h: Likewise.
67707         * sysdeps/gnu/_G_config.h: Likewise.
67708         * sysdeps/mach/hurd/_G_config.h: Likewise.
67709         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67710         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
67711         * sysdeps/sparc/bits/mathdef.h: Likewise.
67713 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
67715         [BZ #13583]
67716         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
67717         Clean up HAS_* macros.
67718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
67719         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
67720         possible.
67721         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
67722         HAS_AVX.
67723         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67724         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67725         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67726         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67727         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67729 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
67731         * elf/tst-unique3.cc (gets): Remove declaration.
67732         * elf/tst-unique3lib.cc (gets): Likewise.
67733         * elf/tst-unique3lib2.cc (gets): Likewise.
67734         * elf/tst-unique4.cc (gets): Likewise.
67736 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
67738         * include/stdio.h: Add C++ protection.  Add gets declarations and
67739         definitions.
67740         * debug/tst-chk1.c: Don't declare gets here.
67741         * stdio-common/tst-gets.c: Likewise.
67743 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67745         * posix/glob: Remove directory.
67747 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
67749         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
67751 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
67753         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
67754         of the non-standard EPFNOSUPPORT.
67756 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67758         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
67759         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
67760         ANYWHERE set to 1 only on KERN_NO_SPACE error.
67762 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
67764         * wcsmbs/uchar.h: Test __STDC_VERSION__.
67766 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
67768         * nscd/aicache.c (addhstaiX): Do not cache negative results of
67769         transient errors.
67770         * nscd/grpcache.c (cache_addgr): Likewise.
67771         * nscd/hstcache.c (cache_addhst): Likewise.
67772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
67773         * nscd/pwdcache.c (cache_addpw): Likewise.
67774         * nscd/servicescache.c (cache_addserv): Likewise.
67776 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
67778         * malloc/malloc.c: Various cleanups.
67779         * malloc/hooks.c: Likewise.
67781         * stdlib/Makefile (tests): Add bug-fmtmsg1.
67782         * stdlib/bug-fmtmsg1.c: New file.
67784         * stdlib/fmtmsg.c (init): Add missing unlock.
67785         Patch by Peng Haitao <penght@cn.fujitsu.com>.
67787 2012-01-12  Marek Polacek  <polacek@redhat.com>
67789         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
67790         and _GNU_SOURCE.
67792 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
67794         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
67795         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
67796         macro to ensure uniqueness of label name.
67797         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
67798         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
67800 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
67802         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
67804         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
67805         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
67806         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
67807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
67809 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
67811         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
67813         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
67814         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
67815         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
67817         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
67819         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
67820         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
67821         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
67822         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
67824         * math/bits/math-finite.h: Add ldexp support.
67826 2012-01-10  Marek Polacek  <polacek@redhat.com>
67828         * locale/programs/localedef.h (show_archive_content): Add noreturn
67829         attribute.
67831 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
67833         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
67835 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67837         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
67839         * io/Makefile (headers): Add bits/poll2.h.
67841 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
67843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
67844         typo #include statement.
67846 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67848         * include/sys/cdefs.h: Define __attribute_alloc_size.
67849         * catgets/gencat.c: Add alloc_size attribute and apply consistently
67850         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
67851         * elf/pldd.c: Likewise.
67852         * iconv/iconv_charmap.c: Likewise.
67853         * iconv/iconvconfig.c: Likewise.
67854         * iconv/strtab.c: Likewise.
67855         * locale/programs/locale.c: Likewise.
67856         * locale/programs/localedef.h: Likewise.
67857         * locale/programs/simple-hash.c: Likewise.
67858         * nscd/nscd.h: Likewise.
67859         * nss/makedb.c: Likewise.
67860         * sysdeps/generic/ldconfig.h: Likewise.
67861         * locale/programs/localedef.c: Remove xmalloc prototype.
67862         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
67864 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
67866         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
67867         appropriate.
67869 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
67871         * math/Makefile (tests): Add tst-CMPLX.
67872         * math/tst-CMPLX.c: New file.
67874         * math/complex.h (CMPLXL): Fix typo.
67876         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
67877         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
67878         GLIBC_2.16.
67879         * debug/tst-chk1.c: Add poll and ppoll tests.
67880         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
67881         * include/sys/poll.h: Add hidden proto for ppoll.
67882         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
67883         * sysdeps/mach/hurd/ppoll.c: Likewise.
67884         * io/ppoll.c: Likewise.
67885         * debug/poll_chk.c: New file.
67886         * debug/ppoll_chk.c: New file.
67887         * include/bits/poll2.h: New file.
67888         * io/bits/poll2.h: New file.
67890         [BZ #1350]
67891         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
67893         * configure.in: static is always set to yes.  Remove.
67894         * config.make.in: Don't set build-static.
67895         * Makeconfig: Remove use of build-static.
67896         * dlfcn/Makefile: Likewise.
67897         * elf/Makefile: Likewise.
67898         * math/Makefile: Likewise.
67899         * misc/Makefile: Likewise.
67900         * nptl/Makefile: Likewise.
67901         * sysdeps/mach/hurd/Makefile: Likewise.
67903         * configure.in: PWD_P is not used anymore.
67904         * config.make.in: Remove PWD_P entry.
67906         * configure.in: Remove last remnants of RANLIB.
67907         No need to check for signed size_t anymore.
67908         Don't set libc_commonpagesize and libc_relro_required here for Alpha
67909         and IA-64.
67910         Remove __builtin_expect test because we require at least gcc 3.4.
67911         * aclocal.m4: Likewise.
67913         * wcsmbs/mbrtoc16.c: Implement using towc function.
67914         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
67915         * wcsmbs/wcsmbsload.c: Likewise.
67916         * iconv/gconv_simple.c: Likewise.
67917         * iconv/gconv_int.h: Likewise.
67918         * iconv/gconv_builtin.h: Likewise.
67919         * iconv/iconv_prog.c: Remove CHAR16 handling.
67921         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
67923         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
67925         * configure.in: Remove --with-elf and --enable-bounded options.
67926         Dont set base_machine for ia64.  More non-ELF conditions removed.
67927         Remove testing and setting of leading underscore information.
67928         * config.make.in (build-bounded): Set to no.
67929         * config.h.in: Remove NO_UNDERSCORES entry.
67930         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
67931         them.
67932         * csu/start.c: Remove !NO_UNDERSCORE code.
67933         * locale/localeinfo.h: Likewise.
67934         * sysdeps/generic/machine-gmon.h: Likewise.
67935         * sysdeps/generic/sysdep.h: Likewise.
67936         * sysdeps/i386/sysdep.h: Likewise.
67937         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
67938         * sysdeps/mach/sysdep.h: Likewise.
67939         * sysdeps/s390/s390-32/sysdep.h: Likewise.
67940         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67941         * sysdeps/sh/sysdep.h: Likewise.
67942         * sysdeps/sparc/sparc32/alloca.S: Likewise.
67943         * sysdeps/unix/i386/sysdep.S: Likewise.
67944         * sysdeps/unix/sparc/start.c: Likewise.
67945         * sysdeps/unix/sparc/sysdep.S: Likewise.
67946         * sysdeps/unix/sparc/sysdep.h: Likewise.
67947         * sysdeps/unix/start.c: Likewise.
67948         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67949         * sysdeps/x86_64/sysdep.h: Likewise.
67951 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
67953         [BZ #13553]
67954         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
67955         for non-gcc.
67956         * argp/argp-fmtstream.h: Use const instead __const.
67957         * argp/argp.h: Likewise.
67958         * assert/assert.h: Likewise.
67959         * bits/fenv.h: Likewise.
67960         * bits/sched.h: Likewise.
67961         * bits/sigset.h: Likewise.
67962         * bits/sigthread.h: Likewise.
67963         * catgets/nl_types.h: Likewise.
67964         * conform/data/pthread.h-data: Likewise.
67965         * crypt/crypt-private.h: Likewise.
67966         * crypt/crypt.h: Likewise.
67967         * crypt/crypt_util.c: Likewise.
67968         * ctype/ctype.h: Likewise.
67969         * debug/execinfo.h: Likewise.
67970         * debug/mbsnrtowcs_chk.c: Likewise.
67971         * debug/mbsrtowcs_chk.c: Likewise.
67972         * debug/wcsnrtombs_chk.c: Likewise.
67973         * debug/wcsrtombs_chk.c: Likewise.
67974         * debug/wcstombs_chk.c: Likewise.
67975         * dirent/dirent.h: Likewise.
67976         * dlfcn/dlfcn.h: Likewise.
67977         * elf/neededtest4.c: Likewise.
67978         * grp/grp.h: Likewise.
67979         * gshadow/gshadow.h: Likewise.
67980         * iconv/gconv.h: Likewise.
67981         * iconv/gconv_int.h: Likewise.
67982         * iconv/gconv_simple.c: Likewise.
67983         * iconv/iconv.h: Likewise.
67984         * iconv/loop.c: Likewise.
67985         * iconv/skeleton.c: Likewise.
67986         * include/aio.h: Likewise.
67987         * include/aliases.h: Likewise.
67988         * include/argz.h: Likewise.
67989         * include/arpa/inet.h: Likewise.
67990         * include/assert.h: Likewise.
67991         * include/dirent.h: Likewise.
67992         * include/dlfcn.h: Likewise.
67993         * include/execinfo.h: Likewise.
67994         * include/fcntl.h: Likewise.
67995         * include/fenv.h: Likewise.
67996         * include/glob.h: Likewise.
67997         * include/grp.h: Likewise.
67998         * include/libintl.h: Likewise.
67999         * include/mntent.h: Likewise.
68000         * include/netdb.h: Likewise.
68001         * include/pwd.h: Likewise.
68002         * include/rpc/netdb.h: Likewise.
68003         * include/sched.h: Likewise.
68004         * include/search.h: Likewise.
68005         * include/shadow.h: Likewise.
68006         * include/signal.h: Likewise.
68007         * include/stdio.h: Likewise.
68008         * include/stdlib.h: Likewise.
68009         * include/string.h: Likewise.
68010         * include/sys/socket.h: Likewise.
68011         * include/sys/stat.h: Likewise.
68012         * include/sys/statfs.h: Likewise.
68013         * include/sys/statvfs.h: Likewise.
68014         * include/sys/syslog.h: Likewise.
68015         * include/sys/time.h: Likewise.
68016         * include/sys/uio.h: Likewise.
68017         * include/time.h: Likewise.
68018         * include/unistd.h: Likewise.
68019         * include/utmp.h: Likewise.
68020         * include/wchar.h: Likewise.
68021         * include/wctype.h: Likewise.
68022         * inet/aliases.h: Likewise.
68023         * inet/arpa/inet.h: Likewise.
68024         * inet/netinet/ether.h: Likewise.
68025         * inet/netinet/in.h: Likewise.
68026         * intl/libintl.h: Likewise.
68027         * io/bits/fcntl2.h: Likewise.
68028         * io/fcntl.h: Likewise.
68029         * io/ftw.h: Likewise.
68030         * io/sys/poll.h: Likewise.
68031         * io/sys/stat.h: Likewise.
68032         * io/sys/statfs.h: Likewise.
68033         * io/sys/statvfs.h: Likewise.
68034         * io/utime.h: Likewise.
68035         * libio/bits/stdio.h: Likewise.
68036         * libio/bits/stdio2.h: Likewise.
68037         * libio/libio.h: Likewise.
68038         * libio/libioP.h: Likewise.
68039         * libio/stdio.h: Likewise.
68040         * locale/lc-ctype.c: Likewise.
68041         * locale/locale.h: Likewise.
68042         * login/utmp.h: Likewise.
68043         * malloc/arena.c: Likewise.
68044         * malloc/malloc.c: Likewise.
68045         * malloc/malloc.h: Likewise.
68046         * malloc/mcheck.c: Likewise.
68047         * malloc/mtrace.c: Likewise.
68048         * math/bits/mathcalls.h: Likewise.
68049         * math/fenv.h: Likewise.
68050         * math/math_private.h: Likewise.
68051         * misc/bits/error.h: Likewise.
68052         * misc/bits/syslog.h: Likewise.
68053         * misc/err.h: Likewise.
68054         * misc/error.h: Likewise.
68055         * misc/fstab.h: Likewise.
68056         * misc/mntent.h: Likewise.
68057         * misc/regexp.h: Likewise.
68058         * misc/search.h: Likewise.
68059         * misc/sgtty.h: Likewise.
68060         * misc/sys/mman.h: Likewise.
68061         * misc/sys/syslog.h: Likewise.
68062         * misc/sys/uio.h: Likewise.
68063         * misc/sys/xattr.h: Likewise.
68064         * misc/ttyent.h: Likewise.
68065         * nis/rpcsvc/ypclnt.h: Likewise.
68066         * nss/nss.h: Likewise.
68067         * posix/bits/unistd.h: Likewise.
68068         * posix/fnmatch.h: Likewise.
68069         * posix/glob.h: Likewise.
68070         * posix/sched.h: Likewise.
68071         * posix/spawn.h: Likewise.
68072         * posix/sys/wait.h: Likewise.
68073         * posix/unistd.h: Likewise.
68074         * posix/wordexp.h: Likewise.
68075         * pwd/pwd.h: Likewise.
68076         * resolv/netdb.h: Likewise.
68077         * resource/sys/resource.h: Likewise.
68078         * rt/aio.h: Likewise.
68079         * rt/bits/mqueue2.h: Likewise.
68080         * rt/mqueue.h: Likewise.
68081         * shadow/shadow.h: Likewise.
68082         * signal/signal.h: Likewise.
68083         * socket/send.c: Likewise.
68084         * socket/sendto.c: Likewise.
68085         * socket/sys/socket.h: Likewise.
68086         * stdio-common/printf.h: Likewise.
68087         * stdlib/bits/stdlib.h: Likewise.
68088         * stdlib/fmtmsg.h: Likewise.
68089         * stdlib/monetary.h: Likewise.
68090         * stdlib/stdlib.h: Likewise.
68091         * stdlib/ucontext.h: Likewise.
68092         * streams/stropts.h: Likewise.
68093         * string/argz.h: Likewise.
68094         * string/bits/string2.h: Likewise.
68095         * string/string.h: Likewise.
68096         * string/strings.h: Likewise.
68097         * sunrpc/rpc/auth.h: Likewise.
68098         * sunrpc/rpc/auth_des.h: Likewise.
68099         * sunrpc/rpc/clnt.h: Likewise.
68100         * sunrpc/rpc/netdb.h: Likewise.
68101         * sunrpc/rpc/pmap_clnt.h: Likewise.
68102         * sunrpc/rpc/xdr.h: Likewise.
68103         * sysdeps/generic/inttypes.h: Likewise.
68104         * sysdeps/generic/net/if.h: Likewise.
68105         * sysdeps/generic/sys/swap.h: Likewise.
68106         * sysdeps/gnu/net/if.h: Likewise.
68107         * sysdeps/gnu/utmpx.h: Likewise.
68108         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68109         * sysdeps/i386/i486/bits/string.h: Likewise.
68110         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68111         * sysdeps/s390/bits/string.h: Likewise.
68112         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68113         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68114         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68115         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68116         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68117         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68118         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68119         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68120         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68121         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68122         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68123         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68124         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68125         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68126         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68127         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68128         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68129         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68130         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68132         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68133         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68134         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68135         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68136         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68137         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68138         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68139         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68140         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68141         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68142         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68143         * sysvipc/sys/ipc.h: Likewise.
68144         * sysvipc/sys/msg.h: Likewise.
68145         * sysvipc/sys/sem.h: Likewise.
68146         * sysvipc/sys/shm.h: Likewise.
68147         * termios/termios.h: Likewise.
68148         * time/sys/time.h: Likewise.
68149         * time/time.h: Likewise.
68150         * wcsmbs/bits/wchar2.h: Likewise.
68151         * wcsmbs/uchar.h: Likewise.
68152         * wcsmbs/wchar.h: Likewise.
68153         * wctype/wctype.h: Likewise.
68155         [BZ #13551]
68156         * Makeconfig: Remove all but ELF support including AIX support.
68157         * Makerules: Likewise.
68158         * config.h.in: Likewise.
68159         * config.make.in: Likewise.
68160         * configure: Likewise.
68161         * configure.in: Likewise.
68162         * csu/Makefile: Likewise.
68163         * csu/version.c: Likewise.
68164         * debug/Makefile: Likewise.
68165         * dlfcn/Makefile: Likewise.
68166         * elf/Makefile: Likewise.
68167         * extra-lib.mk: Likewise.
68168         * iconv/Makefile: Likewise.
68169         * include/libc-symbols.h: Likewise.
68170         * include/shlib-compat.h: Likewise.
68171         * resolv/Makefile: Likewise.
68172         * resolv/res_libc.c: Likewise.
68173         * rt/Makefile: Likewise.
68174         * sysdeps/i386/asm-syntax.h: Likewise.
68175         * sysdeps/i386/sysdep.h: Likewise.
68176         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68177         * sysdeps/mach/sysdep.h: Likewise.
68178         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68179         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68180         * sysdeps/s390/asm-syntax.h: Likewise.
68181         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68182         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68183         * sysdeps/sh/sysdep.h: Likewise.
68184         * sysdeps/unix/sparc/sysdep.h: Likewise.
68185         * sysdeps/wordsize-32/divdi3.c: Likewise.
68186         * sysdeps/x86_64/sysdep.h: Likewise.
68188         * argp/Versions: Remove _argp_unlock_xxx.
68190         [BZ #13559]
68191         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68192         * abilist/libBrokenLocale.abilist: Likewise.
68193         * abilist/libanl.abilist: Likewise.
68194         * abilist/libc.abilist: Likewise.
68195         * abilist/libcrypt.abilist: Likewise.
68196         * abilist/libdl.abilist: Likewise.
68197         * abilist/libm.abilist: Likewise.
68198         * abilist/libnsl.abilist: Likewise.
68199         * abilist/libpthread.abilist: Likewise.
68200         * abilist/libresolv.abilist: Likewise.
68201         * abilist/librt.abilist: Likewise.
68202         * abilist/libthread_db.abilist: Likewise.
68203         * abilist/libutil.abilist: Likewise.
68204         * abilist/libnss_db.abilist: New file.
68206         * scripts/abilist.awk: Add support for indirect functions.
68208         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68210         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68212         * shlib-versions: Remove entries for ports architectures.
68214         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68215         files in ports.
68216         * elf/stackguard-macros.h: Remove support for IA-64.
68217         * elf/tst-auditmod1.c: Likewise.
68218         * sysdeps/generic/ldsodefs.h: Likewise.
68220         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68221         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68222         configure files.
68224         [BZ #13552]
68225         * configure.in: Remove --enable-omitfp support.
68226         * FAQ.in: Adjust.
68227         * config.make.in: Likewise.
68228         * Makeconfig: Likewise.
68229         * manual/install.texi: Likewise.
68231         In case anyone cares, the IA-64 architecture could move to ports.
68232         * sysdeps/ia64/*: Removed.
68233         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68234         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68236         [BZ #13555]
68237         * configure.in: Remove entries for unsupported architectures.
68239         [BZ #13533]
68240         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68241         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68242         routines.
68243         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68244         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68245         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68246         fall back to using wcrtomb.
68247         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68248         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68249         renaming.
68250         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68251         * wcsmbs/tst-c16c32-1.c: New file.
68253         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68254         local variable.
68256         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68258         * elf/tst-unique3.cc: Add explicit declaration of gets.
68259         * elf/tst-unique3lib.cc: Likewise.
68260         * elf/tst-unique3lib2.cc: Likewise.
68261         * elf/tst-unique4.cc: Likewise.
68263         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68265 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68267         [BZ #13566]
68268         * assert/assert.h (static_assert): Don't define for C++.
68269         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68270         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68272 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68274         * iconv/loop.c (single loop): Fix assertion in storing of
68275         remaining bytes.
68277         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68279 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68281         * posix/getconf.c: Update copyright year.
68282         * nss/getent.c: Likewise.
68283         * nss/makedb.c: Likewise.
68284         * iconv/iconvconfig.c: Likewise.
68285         * iconv/iconv_prog.c: Likewise.
68286         * elf/ldconfig.c: Likewise.
68287         * elf/pldd.c: Likewise.
68288         * elf/sotruss.ksh: Likewise.
68289         * catgets/gencat.c: Likewise.
68290         * csu/version.c: Likewise.
68291         * elf/ldd.bash.in: Likewise.
68292         * elf/sprof.c (print_version): Likewise.
68293         * locale/programs/locale.c: Likewise.
68294         * locale/programs/localedef.c: Likewise.
68295         * login/programs/pt_chown.c: Likewise.
68296         * nscd/nscd.c (print_version): Likewise.
68297         * debug/xtrace.sh: Likewise.
68298         * malloc/memusage.sh: Likewise.
68299         * malloc/mtrace.pl: Likewise.
68300         * debug/catchsegv.sh: Likewise.
68302 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68304         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68305         pure attribute.
68307 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68309         [BZ #13533]
68310         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68311         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68312         transformations.
68313         * iconv/gconv_int.h: Likewise.
68314         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68315         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68316         from libc for GLIBC_2.16.
68317         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68318         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68319         * wcsmbs/uchar.h: Really define mbstate_t.
68320         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68321         * wcsmbs/c16rtomb.c: New file.
68322         * wcsmbs/mbrtoc16.c: New file.
68323         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68324         for C/POSIX locale.
68325         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68326         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68328         * wcsmbs/wchar.h: Add missing __restrict.
68330 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68332         [BZ #13532]
68333         * time/Makefile (routines): Add timespec_get.
68334         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68335         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68336         timespec for ISO C11.
68337         * time/timespec_get.c: New file.
68338         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68339         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68341         [BZ #13531]
68342         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68343         * stdlib/stdlib.h: Declare aligned_alloc.
68344         * Versions.def: Add GLIBC_2.16 for libc.
68345         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68347         [BZ 13527]
68348         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68349         ISO C11.
68351         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68352         code.
68354         [BZ #13528]
68355         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68357         [BZ #13529]
68358         * assert/assert.h (static_assert): Define.
68360         * version.h: Update for 2.16 development version.
68362         [BZ #13526]
68363         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68364         _ISOC11_SOURCE.
68366         * version.h (RELEASE): Bump for 2.15 release.
68367         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68369         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68370         Patch by Marek Polacek <mpolacek@redhat.com>.
68372         * bits/byteswap.h: Protect long long constants with __extension__.
68373         * sysdeps/i386/bits/byteswap.h: Likewise.
68374         * sysdeps/ia64/bits/byteswap.h: Likewise.
68375         * sysdeps/s390/bits/byteswap.h: Likewise.
68376         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68378 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68380         [BZ #13540]
68381         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68382         destination buffer.
68383         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68385 2011-12-23  Marek Polacek  <polacek@redhat.com>
68387         * elf/dl-addr.c (determine_info): Add inline keyword.
68388         * elf/tst-auditmod4b.c (check_avx): Likewise.
68389         * elf/tst-auditmod6b.c (check_avx): Likewise.
68390         * elf/tst-auditmod6c.c (check_avx): Likewise.
68391         * elf/tst-auditmod7b.c (check_avx): Likewise.
68393 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68395         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68396         !__SSE_MATH__.
68398 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68400         [BZ #13540]
68401         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68402         processing for last bytes.
68404 2011-08-06  Bruno Haible  <bruno@clisp.org>
68406         [BZ #13061]
68407         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
68408         U+0385, not to U+1FEE.
68410         [BZ #13062]
68411         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
68412         entry for U+00A5 U+0301.
68414 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68416         [BZ #13166]
68417         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
68418         buffer for the output is too small.
68420         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
68421         optimization.
68423         [BZ #13185]
68424         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
68425         SSE flags if possible.
68427 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68429         [BZ #13540]
68430         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
68431         processing for last bytes.
68433 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
68435         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
68436         (syscall-list-default-options, syscall-list-default-condition)
68437         (syscall-list-includes): Define.
68438         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
68439         list of ABIs and options and #if conditions for each ABI.  Do not
68440         handle common syscalls between ABIs specially.
68441         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
68442         Remove.
68443         (syscall-list-variants, syscall-list-32bit-options)
68444         (syscall-list-32bit-condition, syscall-list-64bit-options)
68445         (syscall-list-64bit-condition): Define.
68446         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
68447         (syscall-list-variants, syscall-list-32bit-options)
68448         (syscall-list-32bit-condition, syscall-list-64bit-options)
68449         (syscall-list-64bit-condition): Define.
68450         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
68451         Remove.
68452         (syscall-list-variants, syscall-list-32bit-options)
68453         (syscall-list-32bit-condition, syscall-list-64bit-options)
68454         (syscall-list-64bit-condition): Define.
68455         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
68456         Remove.
68457         (syscall-list-variants, syscall-list-32bit-options)
68458         (syscall-list-32bit-condition, syscall-list-64bit-options)
68459         (syscall-list-64bit-condition): Define.
68461 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
68463         * locale/iso-639.def: Add brx entry.
68465         [BZ #13328]
68466         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
68467         Proposed by Mariusz_Cukr <marcukr@op.pl>.
68469         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
68470         __feraiseexcept_renamed.
68472 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68474         [BZ #13538]
68475         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
68476         EPOLLET with unsigned values.
68477         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68478         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68480         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
68481         to large cancellation.
68482         * math/s_cacoshf.c: Likewise.
68483         * math/s_cacoshl.c: Likewise.
68485 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
68487         [BZ #13305]
68488         [BZ #12786]
68489         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
68490         * math/s_cacoshf.c: Likewise.
68491         * math/s_cacoshl.c: Likewise.
68493 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
68495         [BZ #13439]
68496         * iconv/gconv.h: Define __GCONV_SWAP.
68497         * iconvdata/unicode.c: The swap bit must be stored in __flags.
68498         * iconvdata/utf-16.c: Likewise.
68499         * iconvdata/utf-32.c: Likewise.
68501 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
68503         [BZ #13524]
68504         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
68505         numerator after shifting it by one limb.
68507 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
68509         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
68510         under [__USE_EXTERN_INLINES].
68512 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68514         [BZ #13446]
68515         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
68517 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68519         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
68520         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
68521         optimized code.
68522         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
68523         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
68524         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
68525         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
68526         for strncasecmp/strncasecmp_l compilation.
68527         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
68528         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
68530 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
68532         [BZ #13484]
68533         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
68534         of __asm__.
68536 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
68538         [BZ #13506]
68539         * time/tzfile.c (__tzfile_read): Check values from file header.
68541 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
68543         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
68544         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
68545         * powerpc/powerpc32/dl-start.S: Likewise.
68546         * powerpc/powerpc32/elf/start.S: Likewise.
68547         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
68548         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
68549         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
68550         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
68551         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
68552         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
68553         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
68554         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68555         * powerpc/powerpc32/fpu/s_round.S: Likewise.
68556         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
68557         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
68558         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
68559         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
68560         * powerpc/powerpc32/memset.S: Likewise.
68561         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
68562         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
68563         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
68564         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
68565         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
68566         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
68567         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
68568         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
68569         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
68570         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
68571         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
68572         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68573         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68575 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68577         * math/libm-test.inc: Added more nearbyint tests.
68578         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
68579         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
68580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
68581         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
68583 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
68585         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
68586         FD_CLOEXEC.
68588 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68590         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
68591         Add wcscpy-ssse3 wcscpy-c.
68592         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
68593         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
68594         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
68595         * sysdeps/x86_64/wcschr.S: New file.
68596         * sysdeps/x86_64/wcsrchr.S: New file.
68597         * string/test-strcmp.c: Remove checking of wcscmp function for
68598         wrong alignments.
68599         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
68600         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
68601         wcsrchr-sse2 wcsrchr-c.
68602         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
68603         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
68604         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
68605         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
68606         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
68607         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
68608         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
68609         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
68610         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
68611         * wcsmbc/wcschr.c (WCSCHR): New macro.
68613 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68615         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
68616         * wcsmbs/test-wcsrchr.c: New file.
68617         * string/test-strrchr.c: Add wcsrchr support.
68618         (WIDE): New macro.
68619         * wcsmbs/test-wcscpy.c: New file.
68620         * string/test-strcpy.c: Add wcscpy support.
68621         (WIDE): New macro.
68623 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
68625         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
68626         the inner loop.
68628 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
68630         [BZ #13472]
68631         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
68633 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
68635         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
68636         Minor optimizations.
68638         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
68639         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
68640         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
68642 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
68644         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
68645         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
68646         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
68647         for gcc to avoid warnings.
68648         * inet/Makefile (tests): Add tst-checks.
68649         * inet/tst-checks.c: New file.
68651         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
68652         warning.
68654         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
68655         __wmemcmp_sse2.
68657         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
68658         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
68660         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
68662 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
68664         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
68665         problem.
68667         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
68669 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
68671         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
68672         conditional on GCC version.
68673         (__arch_compare_and_exchange_val_8_acq)
68674         (__arch_compare_and_exchange_val_16_acq)
68675         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
68676         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
68677         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
68679 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
68681         * sysdeps/sh/backtrace.c: New file.
68683 2011-12-02  Andreas Schwab  <schwab@redhat.com>
68685         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
68686         parenthesis.
68688 2011-12-01  Andreas Schwab  <schwab@redhat.com>
68690         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
68691         falling back to utime.
68693 2011-11-30  Andreas Schwab  <schwab@redhat.com>
68695         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
68696         expectations for float.
68698 2011-11-29  Andreas Schwab  <schwab@redhat.com>
68700         * locale/weight.h (findidx): Add parameter len.
68701         * locale/weightwc.h (findidx): Likewise.
68702         * posix/fnmatch_loop.c (FCT): Adjust caller.
68703         * posix/regcomp.c (build_equiv_class): Likewise.
68704         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
68705         * posix/regexec.c (check_node_accept_bytes): Likewise.
68706         * string/strcoll_l.c (STRCOLL): Likewise.
68707         * string/strxfrm_l.c (STRXFRM): Likewise.
68709 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
68711         * Makefile.in: Remove CVSOPT handling.
68712         * configure.in: Remove use of AC_REVISION.
68713         * iconvdata/Makefile (distribute): No need to filter out CVS.
68714         * scripts/list-sources.sh: Remove CVS, subversion and monotone
68715         handling.
68717 2011-11-16  Andreas Schwab  <schwab@redhat.com>
68719         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
68720         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
68721         [USE_AS_STRNCASECMP_L]: Likewise.
68722         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
68723         NO_TLS_DIRECT_SEG_REFS.
68724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
68725         Fix argument offsets for non-PIC.
68726         [USE_AS_STRNCASECMP_L]: Likewise.
68727         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
68728         NO_TLS_DIRECT_SEG_REFS.
68730 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68732         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
68733         O_CLOEXEC.
68734         * locale/loadlocale.c (_nl_load_locale): Likewise.
68736 2011-11-15  Andreas Schwab  <schwab@redhat.com>
68738         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
68739         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
68740         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
68741         (SYSCALL_GETTIME): Set errno on error.
68743         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
68744         count references to noai6ai_cached.
68746 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
68748         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
68750         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
68751         FD_CLOEXEC for /proc/self/maps.
68753         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
68754         FD_CLOEXEC for /proc/meminfo.
68756         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
68757         gai.conf.
68759         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
68760         FD_CLOEXEC for given file.
68762         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
68764         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
68765         FD_CLOEXEC for /etc/hosts.
68766         (_gethtent): Likewise.
68768         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
68770         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
68771         cancellation and set FD_CLOEXEC for /etc/netgroup.
68773         * nss/nss_files/files-key.c (search): Don't allow cancellation when
68774         reading /etc/publickey.
68776         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
68777         allow cancellation when reading /etc/group.
68779         * nss/nss_files/files-alias.c (internal_setent): Don't allow
68780         cancellation.
68781         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
68783         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
68784         when using data file.
68786         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
68788         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
68789         (write_nis_obj): Use "c" and "e" in fopen.
68791         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
68793         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
68795         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
68797         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
68799         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
68800         locale.alias.
68802         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
68804         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
68806         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
68808         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
68809         file parsing and set FD_CLOEXEC.
68811 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68813         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
68815 2011-11-14  Andreas Schwab  <schwab@redhat.com>
68817         * malloc/arena.c (arena_get2): Don't call reused_arena when
68818         _int_new_arena failed.
68820 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
68822         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
68823         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
68824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
68825         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68826         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68827         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
68828         to compile strcasecmp and strncasecmp.
68829         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
68830         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
68832         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
68834 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
68836         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
68837         locale-defines.sym to gen-as-const-headers.
68838         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
68839         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
68840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
68841         to compile strcasecmp and strncasecmp.
68842         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
68843         strcasecmp_l and strncasecmp_l.
68844         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
68845         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
68846         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
68847         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
68848         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
68849         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
68850         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
68851         * sysdeps/i386/i686/multiarch/strncase.S: New file.
68852         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
68853         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
68854         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
68856 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
68858         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
68859         result of SYSDEP_GETTIME_CPU to retval.
68860         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
68861         parameter list to macro.  Remove trailing semicolon.  Adjust users.
68863         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
68864         variable.
68866         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
68867         mantissa words.
68868         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
68870         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
68871         from unused variable.
68873         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
68874         DWARF definitions.
68875         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
68876         for assembling.
68878         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
68879         over namespaces.
68881         * sunrpc/rpc_prot.c (rejected): Fix case value.
68883         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
68884         unsigned long long int to avoid warnings in shift.
68886         * posix/regex_internal.c (re_string_reconstruct): Actually use result
68887         of use of trans.
68888         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
68889         variable tmp.
68891         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
68892         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
68893         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
68895         * nis/nis_table.c (nis_list): Use variable of correct type for
68896         result of __follow_path call.
68898 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68900         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
68901         of math functions ceil, trunc, floor, round, and sqrt, when
68902         avaliable on the platform.
68903         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
68904         name clash.
68905         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68906         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68907         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68909 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
68911         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
68912         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68914 2011-11-11  Roland McGrath  <roland@hack.frob.com>
68916         * include/unistd.h: Fix __readlink return type.
68917         Reported by Chris Metcalf <cmetcalf@tilera.com>.
68919 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
68921         * stdlib/ucontext.h: Undo last change for makecontext.
68923 2011-11-11  Andreas Schwab  <schwab@redhat.com>
68925         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
68927         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
68928         * setjmp/setjmp.h: Mark functions as non-leaf.
68929         * setjmp/bits/setjmp2.h: Likewise.
68930         * stdlib/ucontext.h: Likewise.
68932 2011-11-10  Andreas Schwab  <schwab@redhat.com>
68934         * malloc/arena.c (_int_new_arena): Don't increment narenas.
68935         (reused_arena): Don't check arena limit.
68936         (arena_get2): Atomically check arena limit.
68938 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
68940         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
68941         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
68943         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
68944         instructions.
68946 2011-11-07  Andreas Schwab  <schwab@redhat.com>
68948         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
68949         handler when locking.
68951         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68952         Fix size of allocated buffer.
68954 2011-11-04  Andreas Schwab  <schwab@redhat.com>
68956         [BZ #10103]
68957         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
68958         declarations for long double functions.
68959         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
68961         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
68963 2011-11-03  Andreas Schwab  <schwab@redhat.com>
68965         * nscd/nscd.c (main): Don't start AVC thread until credentials are
68966         installed.
68968         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
68969         is disabled.
68971 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68973         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
68975 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68977         * include/alloca.h (stackinfo_alloca_round): Define.
68978         (extend_alloca): Use it.
68979         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
68980         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
68981         here.
68983         * scripts/check-local-headers.sh: Ignore libaudit.h.
68985         * nscd/Makefile (extra-objs): Make recursively expanded.
68987 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
68989         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
68990         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
68992         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
68993         * posix/tst-rfc3484-2.c: Likewise.
68994         * posix/tst-rfc3484-3.c: Likewise.
68996         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
68997         process_vm_writev.
68998         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
68999         process_vm_writev.
69000         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69001         process_vm_writev from libc using GLIBC_2.15 version.
69003         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69005 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69007         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69008         stack usage.
69010 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69012         [BZ #13367]
69013         * nss/getent.c (initgroups_keys): Show error message in case no group
69014         names are given.
69016         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69017         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69018         __bump_nl_timestamp.
69019         * nscd/connections (nscd_init): When host database is served open
69020         netlink socket and request notification about configuration changes.
69021         (main_loop_poll): Track netlink file descriptor and bump timestamp
69022         in case data becomes available.
69023         (main_loop_epoll): Likewise.
69024         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69025         (database_pers_head): Add extra_data fileds.
69026         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69027         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69028         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69029         Adjust caller.
69030         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69031         in6ai data, call __free_in6ai.
69032         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69033         Add -DHAVE_NETLINK.
69034         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69035         interface information.  Reuse previous data if netlink timestamp
69036         is not changed.
69037         (__bump_nl_timestamp): New function.
69038         (__free_in6ai): New function.
69040 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69042         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69043         close_not_cancel_no_status here.
69044         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69046 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69048         [BZ #13276]
69049         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69050         return value.
69052         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69053         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69054         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69056 2011-07-03  Andreas Jaeger  <aj@suse.de>
69058         [BZ #10709]
69059         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69060         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69061         * math/libm-test.inc (sin_test): Add test case.
69063 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69065         [BZ #13337]
69066         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69067         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69069         * elf/chroot_canon.c (chroot_canon): Cleanups.
69071         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69073         [BZ #13335]
69074         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69075         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69077         * string/test-strchr.c: Make usable for strchrnul testing.
69078         * string/test-strchrnul.c: New file.
69079         * string/Makefile (strop-tests): Add strchrnul.
69081         * po/it.po: Update from translation team.
69082         * po/es.po: Likewise.
69084 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69086         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69087         the three constants needed as parameters.  Drop the others.
69088         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69089         __m128i_strloadu_tolower.
69090         Create and initialize variable zero and use it in all the places
69091         where _mm_setzero_si128 was used.
69093         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69094         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69095         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69096         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69097         anymore.
69098         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69099         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69100         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69101         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69102         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69103         __mpranred, __mptan.
69104         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69105         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69106         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69107         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69108         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69109         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69110         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69111         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69112         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69114 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69116         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69117         redefine if SHARED.
69118         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69120         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69121         wide char related routines to wcsmbs subdir.
69123 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69125         [BZ #13344]
69126         * misc/sys/cdefs.h (__THROWNL): Define.
69127         * posix/unistd.h: Use __THREADNL instead of __THREAD
69128         for memory synchronization functions.
69130 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69132         [BZ #13349]
69133         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69134         doesn't exist.
69135         * manual/stdio.texi (Obstack Streams): Node removed.
69137 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69139         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69140         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69141         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69143         * math/math_private.h (math_force_eval): Allow non-addressable
69144         arguments.
69145         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69147 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69149         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69150         file is not needed.
69152         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69154         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69155         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69156         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69157         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69158         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69159         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69160         Add AVX variants.
69161         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69162         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69163         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69164         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69165         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69166         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69167         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69168         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69169         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69170         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69171         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69172         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69173         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69174         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69175         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69176         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69177         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69178         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69179         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69181         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69182         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69184         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69185         place.  Use VEX encoding when compiling for AVX.
69187 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69189         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69190         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69192         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69194 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69196         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69197         useless if() expression.
69198         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69199         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69200         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69202         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69203         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69204         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69205         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69206         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69207         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69208         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69209         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69210         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69211         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69212         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69213         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69214         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69215         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69216         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69218         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69220 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69222         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69223         condition.
69224         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69226 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69228         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69229         .text section.  Avoid duplicate constants.
69230         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69231         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69232         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69233         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69234         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69235         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69237         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69238         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69239         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69240         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69241         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69242         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69243         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69244         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69245         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69246         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69247         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69248         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69249         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69250         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69251         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69252         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69253         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69254         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69255         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69256         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69257         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69258         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69259         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69260         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69261         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69262         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69263         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69264         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69265         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69266         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69267         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69268         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69269         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69270         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69271         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69272         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69273         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69274         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69276 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69278         * sysdeps/x86_64/dla.h: Move to ...
69279         * sysdeps/x86_64/fpu/dla.h: ...here.
69280         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69281         situations.  Use __builtin_fma only for gcc 4.6 and up.
69283         * config.make.in: Add have-mfma4 entry.
69284         * configure.in: Substitute libc_cv_cc_fma4.
69285         * math/Makefile (dbl-only-routines): Add sincostab.
69286         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69287         Use __sincostab not sincos.
69288         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69289         name is a macro.
69290         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69291         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69292         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69293         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69294         using __copysign.
69295         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69296         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69297         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69298         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69299         and __inv.
69300         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69301         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69302         __copysign.
69303         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69304         define aliases when function name is a macro.
69305         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69306         sysdeps/ieee754/dbl-64/sincos.tbl.
69307         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69308         fma4-enabled routines.
69309         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69310         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69311         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69312         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69313         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69314         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69316         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69317         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69318         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69319         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69320         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69321         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69322         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69323         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69324         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69325         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69326         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69327         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69328         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69329         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69330         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69331         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69332         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69333         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69334         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69335         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69336         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69337         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69338         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69340         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69341         rename.
69342         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69351 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69353         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69355 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69357         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69359         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69360         prediction.
69361         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69363         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69364         Remove unused variable magic_bits.
69365         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69367         * string/strnlen.c: Define and use STRNLEN macro.
69368         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69369         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69371         * wcsmbs/wcslen.c: Define and use WCSLEN.
69372         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69373         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69374         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69375         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69376         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69377         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69378         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69380 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69383         strnlen-sse2-no-bsf.
69384         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69385         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69386         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69387         Add strnlen support.
69388         (USE_AS_STRNLEN): New macro.
69389         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69390         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69391         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69392         * sysdeps/x86_64/wcslen.S: New file.
69394 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69396         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69397         XMM-moves are used for copying on small sizes.
69399 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69401         * wcsmbs/Makefile (strop-tests): Add wcschr.
69402         * wcsmbs/test-wcschr.c: New file.
69403         * string/test-strchr.c: Update.
69404         Add wcschr support.
69405         (WIDE): New macro.
69407 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69409         * wcsmbs/Makefile (strop-tests): Add wcslen.
69410         * wcsmbs/test-wcslen.c: New file.
69411         * string/test-strlen.c: Update.
69412         Add wcslen support.
69413         (WIDE): New macro.
69415 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69417         * po/it.po: Update from translation team.
69419 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69421         * sysdeps/x86_64/wcscmp.S: Update.
69422         Fix wrong comparison semantics.
69423         wcscmp shall use signed comparison not unsigned.
69424         Don't use substraction to avoid overflow bug.
69425         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
69426         * wcsmbc/wcscmp.c: Likewise.
69427         * string/test-strcmp.c: Likewise.
69428         Add new tests to check cases with negative values.
69430 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69432         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
69433         * sysdeps/x86_64/dla.h: ...here.  New file.
69434         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
69435         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69436         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69438         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69439         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69440         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69441         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69442         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69444 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
69446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
69447         __ynl_finite aliases.
69449 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69453         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
69454         define DLA_FMA.
69455         [DLA_FMA] (EMULV): Use DLA_FMA.
69456         [DLA_FMA] (MUL12): Use EMULV.
69457         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
69458         that are not needed.
69459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69460         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69461         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69462         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69463         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69464         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69465         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69467 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
69469         * math/s_nan.c: Undef __nan.
69470         * math/s_nanf.c: Undef __nanf.
69471         * math/s_nanl.c: Undef __nanl.
69472         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
69473         "math_private.h".
69475 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
69477         * math/s_catan.c: Add branch predictions.
69478         * math/s_catanf.c: Likewise.
69479         * math/s_catanh.c: Likewise.
69480         * math/s_catanhf.c: Likewise.
69481         * math/s_catanhl.c: Likewise.
69482         * math/s_catanl.c: Likewise.
69483         * math/s_cexp.c: Likewise.
69484         * math/s_cexpf.c: Likewise.
69485         * math/s_cexpl.c: Likewise.
69486         * math/s_clog.c: Likewise.
69487         * math/s_clog10.c: Likewise.
69488         * math/s_clog10f.c: Likewise.
69489         * math/s_clog10l.c: Likewise.
69490         * math/s_clogf.c: Likewise.
69491         * math/s_clogl.c: Likewise.
69492         * math/s_csqrt.c: Likewise.
69493         * math/s_csqrtf.c: Likewise.
69494         * math/s_csqrtl.c: Likewise.
69495         * math/s_ctanf.c: Likewise.
69496         * math/s_ctanh.c: Likewise.
69497         * math/s_ctanhf.c: Likewise.
69498         * math/s_ctanhl.c: Likewise.
69499         * math/s_ctanl.c: Likewise.
69501         * math/math_private.h: Define __nan, __nanf, __nanl.
69502         * math/s_cacosh.c: Include <math_private.h>.
69503         * math/s_cacoshl.c: Likewise.
69504         * math/s_casinh.c: Likewise.
69505         * math/s_casinhf.c: Likewise.
69506         * math/s_casinhl.c: Likewise.
69507         * math/s_ccos.c: Rely entire on ccosh.
69508         * math/s_ccosf.c: Rely entire on ccoshf.
69509         * math/s_ccosl.c: Rely entirely on ccoshl.
69510         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
69511         Remove tests for FE_INVALID.
69512         * math/s_ccoshf.c: Likewise.
69513         * math/s_ccoshl.c: Likewise.
69514         * math/s_csin.c: Likewise.
69515         * math/s_csinf.c: Likewise.
69516         * math/s_csinh.c Likewise.
69517         * math/s_csinhf.c: Likewise.
69518         * math/s_csinhl.c: Likewise.
69519         * math/s_csinl.c: Likewise.
69520         * math/s_ctan.c: Likewise.
69521         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
69522         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
69523         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
69525 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
69527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
69528         compilation problems.
69530         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
69531         __builtin_expect.
69533 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
69535         * sysdeps/i386/configure.in: Test for -mfma4 option.
69536         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
69537         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
69538         COMMON_CPUID_INDEX_80000001.
69539         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
69540         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
69541         use it if FMA3 is not supported.
69542         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
69544         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
69545         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
69547 2011-10-20  Andreas Schwab  <schwab@redhat.com>
69549         [BZ #12892]
69550         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
69551         it would create a cycle with a link time dependency.
69553 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
69555         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
69556         instruction.
69557         * string/Makefile (strop-tests): Add rawmemchr.
69558         * string/test-rawmemchr.c: New file.
69560         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
69561         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
69562         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
69563         when compiling str{,n}casecmp and when AVX is available.  Hook up
69564         new optimized code in initializers.
69566 2011-10-19  Andreas Schwab  <schwab@redhat.com>
69568         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
69569         __feraiseexcept instead of feraiseexcept.
69571 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
69573         * math/math_private.h: Define defaults for libc_fetestexcept and
69574         libc_feupdateenv.
69575         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
69576         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
69577         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
69578         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69579         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69580         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69581         libc_fetestexcept and libc_feupdateenv.
69583         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
69584         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
69585         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
69586         * sysdeps/x86_64/fpu/math_private.h: Define special version of
69587         libc_feholdexcept_setround.
69589         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
69590         Add s_nearbyint-c and s_nearbyintf-c.
69591         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
69592         nearbyintf inlines.
69593         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
69594         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
69595         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
69596         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
69598         * math/math_private.h: Define defaults for libc_fegetround,
69599         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
69600         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
69601         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
69602         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
69603         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
69604         standard functions.
69605         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69606         Remove comments and hacks for old compiler versions.
69607         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
69608         libc_fegetround, libc_fesetround, libc_feholdexcept, and
69609         libc_feholdexceptl.
69611 2011-10-18  Andreas Schwab  <schwab@redhat.com>
69613         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
69614         (__feraiseexcept_renamed): Add __NTH.
69615         (feraiseexcept): Add __NTH.  Rename local variables to fix
69616         namespace violations.
69618 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
69620         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
69622         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
69624         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
69625         recently added interfaces.
69626         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
69628         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
69629         about macro parameter expansion.
69631         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
69632         __NO_MATH_INLINES is defined.  Cleanups.
69634         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
69635         and __floorf is target has SSE4.1.
69636         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
69637         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
69638         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
69639         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
69641         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
69642         name.
69643         (floorf): Likewise.
69645         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
69647 2011-10-17  Andreas Schwab  <schwab@redhat.com>
69649         * misc/sys/cdefs.h: Fix last change.
69651         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
69652         database lookup.
69654 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
69656         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
69658         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
69659         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69660         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69661         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69662         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69663         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69664         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69665         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69666         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69667         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
69668         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
69669         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
69670         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
69671         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
69672         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
69673         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
69674         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
69675         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
69676         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
69677         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
69678         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
69679         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
69681         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
69682         ceil, ceilf, floor, floorf.
69684         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
69685         Perform IRELATIVE relocations last.
69687         * elf/do-rel.h: Add another parameter nrelative, replacing the
69688         local variable with the same name.  Change name of the function
69689         to end in Rel or Rela (uppercase).
69690         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
69691         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
69692         elf_dynamic_do_##reloc function.
69694 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69696         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
69697         is sufficient, at least on modern CPUs.
69699         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
69701         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
69702         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
69704         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
69705         __expl_finite.
69706         * math/bits/math-finite.h: Add entries for exp.
69707         * math/e_expl.c: Add __*_finite alias.
69708         * sysdeps/i386/fpu/e_exp.S: Likewise.
69709         * sysdeps/i386/fpu/e_expf.S: Likewise.
69710         * sysdeps/i386/fpu/e_expl.c: Likewise.
69711         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69712         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
69713         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
69714         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
69715         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
69716         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
69717         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
69719         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
69720         is sufficient, at least on modern CPUs.
69722         * ctype/ctype-info.c (__ctype_init): Define.
69723         * include/ctype.h (__ctype_init): Declare.
69724         (__ctype_b_loc): The variable is always initialized.
69725         (__ctype_toupper_loc): Likewise.
69726         (__ctype_tolower_loc): Likewise.
69727         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
69728         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
69730 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
69732         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
69734         * configure.in: Also look in $cxxmachine/include for C++ system
69735         headers.
69737 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69739         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
69740         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
69741         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
69742         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
69743         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
69744         (USE_AS_WMEMCMP): New macro.
69745         Fixing indents.
69746         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
69747         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
69748         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
69749         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
69750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69751         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
69752         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
69753         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
69754         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
69755         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
69756         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
69757         (USE_AS_WMEMCMP): New macro.
69758         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
69759         * sysdeps/string/test-memcmp.c: Update.
69760         Fix simple_wmemcmp.
69761         Add new tests.
69762         * wcsmbs/wmemcmp.c: Update.
69763         (WMEMCMP): New macro.
69764         Fix overflow bug.
69766 2011-10-12  Andreas Jaeger  <aj@suse.de>
69768         [BZ #13268]
69769         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
69771 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
69773         * libio/iofwide.c (do_length): Avoid warning.
69775         * ctype/ctype.h (__isctype_f): Add missing __THROW.
69777 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
69779         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
69781         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
69782         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
69783         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
69784         * sysdeps/i386/i686/fpu/e_log.S: New file.
69785         * sysdeps/i386/i686/fpu/e_logf.S: New file.
69786         * sysdeps/i386/i686/fpu/e_logl.S: New file.
69788         * ctype/ctype.h: Add support for inlined isXXX functions when
69789         compiling C++ code.
69791 2011-10-14  Andreas Schwab  <schwab@redhat.com>
69793         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69795         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
69797 2011-10-13  Roland McGrath  <roland@hack.frob.com>
69799         [BZ #13291]
69800         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
69802 2011-10-13  Andreas Schwab  <schwab@redhat.com>
69804         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
69805         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
69806         feraiseexcept.
69808         * sysdeps/x86_64/memrchr.S: Check for zero size.
69810         * string/stratcliff.c: Add memrchr tests.
69812 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69814         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69815         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
69816         rawmemchr-sse2 rawmemchr-sse2-bsf.
69817         * sysdeps/i386/i686/multiarch/memchr.S: New file.
69818         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
69819         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
69820         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
69821         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
69822         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
69823         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
69824         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
69825         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
69826         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
69827         * string/memrchr.c (MEMRCHR): New macro.
69829 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
69831         Add integration with gcc's -ffinite-math-only and optimize wrapper
69832         functions in libm.
69833         * Versions.def: Define GLIBC_2.15 version for libm.
69834         * math/Makefile (headers): Add bits/math-finite.h.
69835         * math/bits/math-finite.h: New file.
69836         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
69837         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
69838         * math/e_acoshl.c: Add __*_finite alias.
69839         * math/e_acosl.c: Likewise.
69840         * math/e_asinl.c: Likewise.
69841         * math/e_atan2l.c: Likewise.
69842         * math/e_atanhl.c: Likewise.
69843         * math/e_coshl.c: Likewise.
69844         * math/e_exp10.c: Likewise.
69845         * math/e_exp10f.c: Likewise.
69846         * math/e_exp10l.c: Likewise.
69847         * math/e_exp2l.c: Likewise.
69848         * math/e_fmodl.c: Likewise.
69849         * math/e_gammal_r.c: Likewise.
69850         * math/e_hypotl.c: Likewise.
69851         * math/e_j0l.c: Likewise.
69852         * math/e_j1l.c: Likewise.
69853         * math/e_jnl.c: Likewise.
69854         * math/e_lgammal_r.c: Likewise.
69855         * math/e_log10l.c: Likewise.
69856         * math/e_log2l.c: Likewise.
69857         * math/e_logl.c: Likewise.
69858         * math/e_powl.c: Likewise.
69859         * math/e_sinhl.c: Likewise.
69860         * math/e_sqrtl.c: Likewise.
69861         * math/e_scalb.c: Completely rewritten and optimized.
69862         * math/e_scalbf.c: Likewise.
69863         * math/e_scalbl.c: Likewise.
69864         * math/w_acos.c: Likewise.
69865         * math/w_acosf.c: Likewise.
69866         * math/w_acosl.c: Likewise.
69867         * math/w_acosh.c: Likewise.
69868         * math/w_acoshf.c: Likewise.
69869         * math/w_acoshl.c: Likewise.
69870         * math/w_asin.c: Likewise.
69871         * math/w_asinf.c: Likewise.
69872         * math/w_asinl.c: Likewise.
69873         * math/w_atan2.c: Likewise.
69874         * math/w_atan2f.c: Likewise.
69875         * math/w_atan2l.c: Likewise.
69876         * math/w_atanh.c: Likewise.
69877         * math/w_atanhf.c: Likewise.
69878         * math/w_atanhl.c: Likewise.
69879         * math/w_exp10.c: Likewise.
69880         * math/w_exp10f.c: Likewise.
69881         * math/w_exp10l.c: Likewise.
69882         * math/w_fmod.c: Likewise.
69883         * math/w_fmodf.c: Likewise.
69884         * math/w_fmodl.c: Likewise.
69885         * math/w_j0.c: Likewise.
69886         * math/w_j0f.c: Likewise.
69887         * math/w_j0l.c: Likewise.
69888         * math/w_j1.c: Likewise.
69889         * math/w_j1f.c: Likewise.
69890         * math/w_j1l.c: Likewise.
69891         * math/w_jn.c: Likewise.
69892         * math/w_jnf.c: Likewise.
69893         * math/w_log.c: Likewise.
69894         * math/w_logf.c: Likewise.
69895         * math/w_logl.c: Likewise.
69896         * math/w_log10.c: Likewise.
69897         * math/w_log10f.c: Likewise.
69898         * math/w_log10l.c: Likewise.
69899         * math/w_log2.c: Likewise.
69900         * math/w_log2f.c: Likewise.
69901         * math/w_log2l.c: Likewise.
69902         * math/w_pow.c: Likewise.
69903         * math/w_powf.c: Likewise.
69904         * math/w_powl.c: Likewise.
69905         * math/w_remainder.c: Likewise.
69906         * math/w_remainderf.c: Likewise.
69907         * math/w_remainderl.c: Likewise.
69908         * math/w_scalb.c: Likewise.
69909         * math/w_scalbf.c: Likewise.
69910         * math/w_scalbl.c: Likewise.
69911         * math/w_sqrt.c: Likewise.
69912         * math/w_sqrtf.c: Likewise.
69913         * math/w_sqrtl.c: Likewise.
69914         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
69915         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
69916         used.
69917         * math/math_private.h: Declare __kernel_standard_f.
69918         * math/w_cosh.c: Remove cruft and optimize a bit.
69919         * math/w_coshf.c: Likewise.
69920         * math/w_coshl.c: Likewise.
69921         * math/w_exp2.c: Likewise.
69922         * math/w_exp2f.c: Likewise.
69923         * math/w_exp2l.c: Likewise.
69924         * math/w_hypot.c: Likewise.
69925         * math/w_hypotf.c: Likewise.
69926         * math/w_hypotl.c: Likewise.
69927         * math/w_lgamma.c: Likewise.
69928         * math/w_lgamma_r.c: Likewise.
69929         * math/w_lgammaf.c: Likewise.
69930         * math/w_lgammaf_r.c: Likewise.
69931         * math/w_lgammal.c: Likewise.
69932         * math/w_lgammal_r.c: Likewise.
69933         * math/w_sinh.c: Likewise.
69934         * math/w_sinhf.c: Likewise.
69935         * math/w_sinhl.c: Likewise.
69936         * math/w_tgamma.c: Likewise.
69937         * math/w_tgammaf.c: Likewise.
69938         * math/w_tgammal.c: Likewise.
69939         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69940         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69941         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
69942         Minor optimizations.  Pretty printing.  Remove cruft.
69943         * sysdeps/i386/fpu/e_acosf.S: Likewise.
69944         * sysdeps/i386/fpu/e_acosh.S: Likewise.
69945         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
69946         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
69947         * sysdeps/i386/fpu/e_acosl.c: Likewise.
69948         * sysdeps/i386/fpu/e_asin.S: Likewise.
69949         * sysdeps/i386/fpu/e_asinf.S: Likewise.
69950         * sysdeps/i386/fpu/e_atan2.S: Likewise.
69951         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
69952         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
69953         * sysdeps/i386/fpu/e_atanh.S: Likewise.
69954         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
69955         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
69956         * sysdeps/i386/fpu/e_exp10.S: Likewise.
69957         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
69958         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
69959         * sysdeps/i386/fpu/e_exp2.S: Likewise.
69960         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
69961         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
69962         * sysdeps/i386/fpu/e_fmod.S: Likewise.
69963         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
69964         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
69965         * sysdeps/i386/fpu/e_hypot.S: Likewise.
69966         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
69967         * sysdeps/i386/fpu/e_log.S: Likewise.
69968         * sysdeps/i386/fpu/e_log10.S: Likewise.
69969         * sysdeps/i386/fpu/e_log10f.S: Likewise.
69970         * sysdeps/i386/fpu/e_log10l.S: Likewise.
69971         * sysdeps/i386/fpu/e_log2.S: Likewise.
69972         * sysdeps/i386/fpu/e_log2f.S: Likewise.
69973         * sysdeps/i386/fpu/e_log2l.S: Likewise.
69974         * sysdeps/i386/fpu/e_logf.S: Likewise.
69975         * sysdeps/i386/fpu/e_logl.S: Likewise.
69976         * sysdeps/i386/fpu/e_pow.S: Likewise.
69977         * sysdeps/i386/fpu/e_powf.S: Likewise.
69978         * sysdeps/i386/fpu/e_powl.S: Likewise.
69979         * sysdeps/i386/fpu/e_remainder.S: Likewise.
69980         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
69981         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
69982         * sysdeps/i386/fpu/e_scalb.S: Likewise.
69983         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
69984         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
69985         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
69986         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
69987         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
69988         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69991         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69992         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
69993         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69994         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
69995         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69997         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69998         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69999         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70004         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70005         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70006         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70008         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70009         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70010         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70011         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70012         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70013         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70014         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70015         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70016         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70017         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70018         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70019         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70020         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70021         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70022         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70023         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70024         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70025         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70026         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70027         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70028         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70029         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70030         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70031         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70032         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70033         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70034         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70035         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70036         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70037         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70038         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70040         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70041         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70042         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70043         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70044         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70045         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70046         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70047         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70048         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70049         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70050         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70051         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70052         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70053         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70054         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70055         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70056         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70057         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70058         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70059         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70060         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70063         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70064         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70065         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70066         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70067         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70068         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70069         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70070         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70071         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70072         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70073         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70075         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70076         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70077         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70078         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70079         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70080         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70081         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70082         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70083         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70084         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70085         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70086         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70087         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70088         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70089         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70090         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70091         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70092         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70093         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70094         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70095         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70096         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70097         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70098         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70099         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70100         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70101         (__isnanf): Likewise.
70102         (__isinf_ns): Likewise.
70103         (__isinf_nsf): Likewise.
70104         (__finite): Likewise.
70105         (__finitef): Likewise.
70106         (__ieee754_sqrt): Define as macro.
70107         (__ieee754_sqrtf): Define as macro.
70108         (__ieee754_sqrtl): Define as macro.
70109         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70110         inlined copy.
70111         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70112         __FINITE_MATH_ONLY__ consistent.
70113         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70115 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70117         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70118         of rawmemchr.
70120         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70122 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70124         * po/ja.po: Update from translation team.
70126 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70128         * locale/programs/locarchive.c (prepare_address_space): New function.
70129         (create_archive, enlarge_archive, open_archive): Use it.
70131         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70132         inside [SHARED], where it is used.
70134         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70136         * nss/getent.c (netgroup_keys): Remove unused variable.
70137         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70139 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70141         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70142         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70143         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70144         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70145         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70146         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70147         * math/Makefile (libm-calls): Add s_isinf_ns.
70148         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70149         * math/multc3.c: Likewise.
70150         * math/s_casin.c: Likewise.
70151         * math/s_casinf.c: Likewise.
70152         * math/s_casinl.c: Likewise.
70153         * math/s_ccos.c: Likewise.
70154         * math/s_ccosf.c: Likewise.
70155         * math/s_ccosl.c: Likewise.
70156         * math/s_ctan.c: Likewise.
70157         * math/s_ctanf.c: Likewise.
70158         * math/s_ctanh.c: Likewise.
70159         * math/s_ctanhf.c: Likewise.
70160         * math/s_ctanhl.c: Likewise.
70161         * math/s_ctanl.c: Likewise.
70162         * math/w_fmod.c: Likewise.
70163         * math/w_fmodf.c: Likewise.
70164         * math/w_fmodl.c: Likewise.
70165         * math/w_remainder.c: Likewise.
70166         * math/w_remainderf.c: Likewise.
70167         * math/w_remainderl.c: Likewise.
70168         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70169         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70170         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70172         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70173         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70174         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70175         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70177         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70178         of the number.
70179         * stdio-common/printf_fphex.c: Likewise.
70180         * stdio-common/printf_size.c: Likewise.
70182         * math/e_exp10.c: Include math_private.h using <...> not "...".
70183         * math/e_exp10f.c: Likewise.
70184         * math/e_exp10l.c: Likewise.
70185         * math/e_exp2l.c: Likewise.
70186         * math/e_j0l.c: Likewise.
70187         * math/e_j1l.c: Likewise.
70188         * math/e_jnl.c: Likewise.
70189         * math/e_lgammal_r.c: Likewise.
70190         * math/e_rem_pio2l.c: Likewise.
70191         * math/e_scalb.c: Likewise.
70192         * math/e_scalbf.c: Likewise.
70193         * math/e_scalbl.c: Likewise.
70194         * math/k_cosl.c: Likewise.
70195         * math/k_sinl.c: Likewise.
70196         * math/k_tanl.c: Likewise.
70197         * math/s_cacoshf.c: Likewise.
70198         * math/s_catan.c: Likewise.
70199         * math/s_catanf.c: Likewise.
70200         * math/s_catanh.c: Likewise.
70201         * math/s_catanhf.c: Likewise.
70202         * math/s_catanhl.c: Likewise.
70203         * math/s_catanl.c: Likewise.
70204         * math/s_ccosh.c: Likewise.
70205         * math/s_ccoshf.c: Likewise.
70206         * math/s_ccoshl.c: Likewise.
70207         * math/s_cexp.c: Likewise.
70208         * math/s_cexpf.c: Likewise.
70209         * math/s_cexpl.c: Likewise.
70210         * math/s_clog.c: Likewise.
70211         * math/s_clog10.c: Likewise.
70212         * math/s_clog10f.c: Likewise.
70213         * math/s_clog10l.c: Likewise.
70214         * math/s_clogf.c: Likewise.
70215         * math/s_clogl.c: Likewise.
70216         * math/s_csin.c: Likewise.
70217         * math/s_csinf.c: Likewise.
70218         * math/s_csinh.c: Likewise.
70219         * math/s_csinhf.c: Likewise.
70220         * math/s_csinhl.c: Likewise.
70221         * math/s_csinl.c: Likewise.
70222         * math/s_csqrt.c: Likewise.
70223         * math/s_csqrtf.c: Likewise.
70224         * math/s_csqrtl.c: Likewise.
70225         * math/s_ctan.c: Likewise.
70226         * math/s_ctanf.c: Likewise.
70227         * math/s_ctanh.c: Likewise.
70228         * math/s_ctanhf.c: Likewise.
70229         * math/s_ctanhl.c: Likewise.
70230         * math/s_ctanl.c: Likewise.
70231         * math/s_ldexp.c: Likewise.
70232         * math/s_ldexpf.c: Likewise.
70233         * math/s_ldexpl.c: Likewise.
70234         * math/s_significand.c: Likewise.
70235         * math/s_significandf.c: Likewise.
70236         * math/s_significandl.c: Likewise.
70237         * math/w_acos.c: Likewise.
70238         * math/w_acosf.c: Likewise.
70239         * math/w_acosh.c: Likewise.
70240         * math/w_acoshf.c: Likewise.
70241         * math/w_acoshl.c: Likewise.
70242         * math/w_acosl.c: Likewise.
70243         * math/w_asin.c: Likewise.
70244         * math/w_asinf.c: Likewise.
70245         * math/w_asinl.c: Likewise.
70246         * math/w_atan2.c: Likewise.
70247         * math/w_atan2f.c: Likewise.
70248         * math/w_atan2l.c: Likewise.
70249         * math/w_atanh.c: Likewise.
70250         * math/w_atanhf.c: Likewise.
70251         * math/w_atanhl.c: Likewise.
70252         * math/w_cosh.c: Likewise.
70253         * math/w_coshf.c: Likewise.
70254         * math/w_coshl.c: Likewise.
70255         * math/w_dremf.c: Likewise.
70256         * math/w_exp10.c: Likewise.
70257         * math/w_exp10f.c: Likewise.
70258         * math/w_exp10l.c: Likewise.
70259         * math/w_exp2.c: Likewise.
70260         * math/w_exp2f.c: Likewise.
70261         * math/w_fmod.c: Likewise.
70262         * math/w_fmodf.c: Likewise.
70263         * math/w_fmodl.c: Likewise.
70264         * math/w_hypot.c: Likewise.
70265         * math/w_hypotf.c: Likewise.
70266         * math/w_hypotl.c: Likewise.
70267         * math/w_j0.c: Likewise.
70268         * math/w_j0f.c: Likewise.
70269         * math/w_j0l.c: Likewise.
70270         * math/w_j1.c: Likewise.
70271         * math/w_j1f.c: Likewise.
70272         * math/w_j1l.c: Likewise.
70273         * math/w_jn.c: Likewise.
70274         * math/w_jnf.c: Likewise.
70275         * math/w_jnl.c: Likewise.
70276         * math/w_lgamma.c: Likewise.
70277         * math/w_lgamma_r.c: Likewise.
70278         * math/w_lgammaf.c: Likewise.
70279         * math/w_lgammaf_r.c: Likewise.
70280         * math/w_lgammal.c: Likewise.
70281         * math/w_lgammal_r.c: Likewise.
70282         * math/w_log.c: Likewise.
70283         * math/w_log10.c: Likewise.
70284         * math/w_log10f.c: Likewise.
70285         * math/w_log10l.c: Likewise.
70286         * math/w_log2.c: Likewise.
70287         * math/w_log2f.c: Likewise.
70288         * math/w_log2l.c: Likewise.
70289         * math/w_logf.c: Likewise.
70290         * math/w_logl.c: Likewise.
70291         * math/w_pow.c: Likewise.
70292         * math/w_powf.c: Likewise.
70293         * math/w_powl.c: Likewise.
70294         * math/w_remainder.c: Likewise.
70295         * math/w_remainderf.c: Likewise.
70296         * math/w_remainderl.c: Likewise.
70297         * math/w_scalb.c: Likewise.
70298         * math/w_scalbf.c: Likewise.
70299         * math/w_scalbl.c: Likewise.
70300         * math/w_sinh.c: Likewise.
70301         * math/w_sinhf.c: Likewise.
70302         * math/w_sinhl.c: Likewise.
70303         * math/w_sqrt.c: Likewise.
70304         * math/w_sqrtf.c: Likewise.
70305         * math/w_sqrtl.c: Likewise.
70306         * math/w_tgamma.c: Likewise.
70307         * math/w_tgammaf.c: Likewise.
70308         * math/w_tgammal.c: Likewise.
70310         * po/ja.po: Update from translation team.
70312 2011-09-29  Andreas Jaeger  <aj@suse.de>
70314         [BZ #13179]
70315         * sunrpc/netname.c (netname2host): Fix logic.
70317         [BZ #6779]
70318         [BZ #6783]
70319         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70320         correctly.
70321         * math/w_remainder.c (__remainder): Likewise.
70322         * math/w_remainderf.c (__remainderf): Likewise.
70323         * math/libm-test.inc (remainder_test): Add test cases.
70325 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70327         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70328         sdiv_qrnnd.
70330 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70332         * string/test-memcmp.c: Avoid unncessary #defines.
70333         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70335 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70337         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70338         Use new sse2 version for core i3 - i7 as it's faster
70339         than sse42 version.
70340         (bit_Prefer_PMINUB_for_stringop): New.
70341         * sysdeps/x86_64/rawmemchr.S: Update.
70342         Replace with faster SSE2 version.
70343         * sysdeps/x86_64/memrchr.S: New file.
70344         * sysdeps/x86_64/memchr.S: Update.
70345         Replace with faster SSE2 version.
70347 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70349         * elf/dl-load.c (lose): Add cast to avoid warning.
70351 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70353         * po/ca.po: Update from translation team.
70355         * inet/getnetgrent_r.c: Hook up nscd.
70356         * nscd/Makefile (routines): Add nscd_netgroup.
70357         (nscd-modules): Add netgroupcache.
70358         (CFLAGS-netgroupcache.c): Define.
70359         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70360         (cache_search): Add const to second parameter.
70361         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70362         INNETGR.
70363         (dbs): Add netgrdb entry.
70364         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70365         (verify_persistent_db): Handle netgrdb.
70366         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70367         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70368         GETFDNETGR.
70369         (netgroup_response_header): Define.
70370         (innetgroup_response_header): Define.
70371         (datahead): Add netgroup_response_header and innetgroup_response_header
70372         elements.
70373         * nscd/nscd.conf: Add entries for netgroup cache.
70374         * nscd/nscd.h (dbtype): Add netgrdb.
70375         (_PATH_NSCD_NETGROUP_DB): Define.
70376         (netgroup_iov_disabled): Declare.
70377         (xmalloc, xcalloc, xrealloc): Move declarations here.
70378         (cache_search): Adjust prototype.
70379         Add netgroup-related prototypes.
70380         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70381         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70382         (__nscd_innetgr): Declare.
70383         * nscd/selinux.c (perms): Use access_vector_t as element type and
70384         add netgroup-related initializers.
70385         * nscd/netgroupcache.c: New file.
70386         * nscd/nscd_netgroup.c: New file.
70387         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70388         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70389         For four parameters use innetgr.
70390         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70391         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70392         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70393         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70395         * nscd/connections.c (register_traced_file): Don't register file
70396         for disabled databases.
70398 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70400         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70402         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70403         from tree and freeing node.
70405 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
70407         * nss/nsswitch.c (__nss_database_lookup): Handle
70408         nss_parse_service_list out of memory case.
70410 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
70412         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
70413         out of memory case.
70415 2011-10-04  Andreas Schwab  <schwab@redhat.com>
70417         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
70418         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
70419         pass it down.
70420         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
70421         elf_machine_rela, elf_machine_lazy_rel.
70422         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
70423         (ELF_DYNAMIC_DO_REL): Likewise.
70424         (ELF_DYNAMIC_DO_RELA): Likewise.
70425         (ELF_DYNAMIC_RELOCATE): Likewise.
70426         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
70427         to ELF_DYNAMIC_DO_REL.
70428         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
70429         (dl_main): In trace mode always set __RTLD_NOIFUNC.
70430         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
70431         elf_machine_rela.
70432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
70433         skip_ifunc, don't call ifunc function if non-zero.
70434         (elf_machine_rela): Likewise.
70435         (elf_machine_lazy_rel): Likewise.
70436         (elf_machine_lazy_rela): Likewise.
70437         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
70438         (elf_machine_lazy_rel): Likewise.
70439         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
70440         Likewise.
70441         (elf_machine_lazy_rel): Likewise.
70442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70443         Likewise.
70444         (elf_machine_lazy_rel): Likewise.
70445         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
70446         (elf_machine_lazy_rel): Likewise.
70447         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
70448         (elf_machine_lazy_rel): Likewise.
70449         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
70450         (elf_machine_lazy_rel): Likewise.
70451         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
70452         (elf_machine_lazy_rel): Likewise.
70453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
70454         (elf_machine_lazy_rel): Likewise.
70455         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70456         (elf_machine_lazy_rel): Likewise.
70458 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
70460         * nss/nss_files/files-init.c (_nss_files_init): Use static
70461         initialization for all the *_traced_file variables.
70463 2011-09-28  Andreas Schwab  <schwab@redhat.com>
70465         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70467 2011-09-27  Roland McGrath  <roland@hack.frob.com>
70469         [BZ #13226]
70470         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
70472 2011-09-27  Andreas Schwab  <schwab@redhat.com>
70474         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
70475         Reread the line before reparsing it.
70477 2011-09-26  Andreas Schwab  <schwab@redhat.com>
70479         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
70481 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
70482             Maxim Kuvyrkov  <maxim@codesourcery.com>
70483             Joseph Myers  <joseph@codesourcery.com>
70485         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
70486         if needed for __stack_chk_guard.
70488 2011-09-19  Roland McGrath  <roland@hack.frob.com>
70490         * sysdeps/posix/spawni.c (script_execute): Always define it.
70491         It will be optimized away if unused.
70492         (maybe_script_execute): New function.
70493         (__spawni): Call it.
70495         * Makerules: Don't include tls.make.
70496         (config-tls): Always set to thread.
70497         * tls.make.c: File removed.
70499 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
70501         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
70502         * config.make.in (CPPFLAGS-config): New substituted variable.
70504 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
70508         [BZ #13192]
70509         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
70510         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
70512 2011-09-15  Roland McGrath  <roland@hack.frob.com>
70514         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
70515         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
70516         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
70517         (CALL_FAIL): Likewise.
70518         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
70519         (CALL_FAIL): Macro removed.
70520         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
70522 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
70524         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
70525         for __FINITE_MATH_ONLY__ == 1.
70527 2011-09-15  Andreas Schwab  <schwab@redhat.com>
70529         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
70530         __ieee754_sqrt instead of sqrt.
70531         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
70532         __ieee754_sqrtf instead of sqrtf.
70533         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
70534         __floorf instead of floorf.
70535         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
70536         __floorf, __truncf instead of floorf, truncf.
70538 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
70540         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
70542         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
70543         __extern_always_inline.
70544         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
70545         32-bit.
70547 2011-09-14  Andreas Schwab  <schwab@redhat.com>
70549         * elf/rtld.c (dl_main): Also relocate in dependency order when
70550         doing symbol dependency testing.
70552 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
70554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
70555         Always define `refsym'.
70557 2011-09-13  Andreas Schwab  <schwab@redhat.com>
70559         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
70560         (__FD_ELT): Renamed from __FDELT.
70561         * misc/bits/select2.h (__FD_ELT): Likewise.
70562         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
70563         __FD_MASK instead of __FDELT, __FDMASK.
70564         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70565         Likewise.
70566         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
70567         Likewise.
70569         * elf/Makefile (gen-ldd): Fix pattern.
70571         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
70572         (init_tls): Likewise.
70574 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
70576         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
70578 2011-09-12  Andreas Schwab  <schwab@redhat.com>
70580         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
70581         `struct cmsghdr *' instead of `void *'.
70582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
70583         Likewise.
70585 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
70587         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
70588         if non-absolute.
70589         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
70590         ldd_rewrite_script.
70592 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
70594         * configure.in: Remove --with-tls option.
70595         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
70596         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
70597         out in case it is missing.
70598         * sysdeps/ia64/elf/configure.in: Likewise.
70599         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
70600         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
70601         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
70602         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
70603         * sysdeps/sh/elf/configure.in: Likewise.
70604         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
70605         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70606         * sysdeps/x86_64/elf/configure.in: Likewise.
70607         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
70608         * sysdeps/mach/hurd/tls.h: Likewise.
70610         [BZ #13067]
70611         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
70613         [BZ #13090]
70614         * configure.in: Fix use of AC_INIT.
70616         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
70618 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
70620         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
70621         __set_errno.
70622         * malloc/hooks.c: Likewise.
70624         [BZ #11929]
70625         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
70626         variables statically.
70627         (narenas): Initialize.
70628         (list_lock): Initialize.
70629         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
70630         initializtion of main_arena and list_lock.  Small cleanups.
70631         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
70632         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
70633         Add initializers to main_arena and mp_.
70634         (malloc_state): Remove pagesize member.  Change all users to use
70635         GLRO(dl_pagesize).
70637         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
70638         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
70639         is always initialized.
70641         * malloc/malloc.c: Removed unused configurations and dead code.
70642         * malloc/arena.c: Likewise.
70643         * malloc/hooks.c: Likewise.
70644         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
70646         * include/tls.h: Removed.  USE___THREAD must always be defined.
70647         * bits/libc-tsd.h: Don't handle !USE___THREAD.
70648         * elf/dl-libc.c: Likewise.
70649         * elf/dl-tsd.c: Likewise.
70650         * include/errno.h: Likewise.
70651         * include/netdb.h: Likewise.
70652         * include/resolv.h: Likewise.
70653         * inet/herrno-loc.c: Likewise.
70654         * inet/herrno.c: Likewise.
70655         * malloc/arena.c: Likewise.
70656         * malloc/hooks.c: Likewise.
70657         * malloc/malloc.c: Likewise.
70658         * resolv/res-state.c: Likewise.
70659         * resolv/res_libc.c: Likewise.
70660         * sysdeps/i386/dl-machine.h: Likewise.
70661         * sysdeps/ia64/dl-machine.h: Likewise.
70662         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
70663         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
70664         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
70665         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
70666         * sysdeps/sh/dl-machine.h: Likewise.
70667         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70668         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70669         * sysdeps/unix/i386/sysdep.S: Likewise.
70670         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
70671         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
70672         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
70673         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
70674         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
70675         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
70676         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
70677         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70678         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70679         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
70680         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70681         * sysdeps/x86_64/dl-machine.h: Likewise.
70682         * tls.make.c: Likewise.
70684         * configure.in: Remove --with-__thread option.  Make tests for
70685         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
70686         tls_model attribute fail if no support is available.  Remove
70687         USE_IN_LIBIO.
70688         * Makeconfig: Adjust for dropped configure option.  All features are
70689         now mandatory.
70690         * Makerules: Likewise.
70691         * Versions.def: Likewise.
70692         * argp/argp-fmtstream.c: Likewise.
70693         * argp/argp-fmtstream.h: Likewise.
70694         * argp/argp-help.c: Likewise.
70695         * assert/assert.c: Likewise.
70696         * config.h.in: Likewise.
70697         * config.make.in: Likewise.
70698         * configure: Likewise.
70699         * configure.in: Likewise.
70700         * csu/Versions: Likewise.
70701         * csu/init.c: Likewise.
70702         * elf/tst-audit2.c: Likewise.
70703         * elf/tst-tls10.c: Likewise.
70704         * elf/tst-tls10.h: Likewise.
70705         * elf/tst-tls11.c: Likewise.
70706         * elf/tst-tls12.c: Likewise.
70707         * elf/tst-tls14.c: Likewise.
70708         * elf/tst-tlsmod11.c: Likewise.
70709         * elf/tst-tlsmod12.c: Likewise.
70710         * elf/tst-tlsmod13.c: Likewise.
70711         * elf/tst-tlsmod13a.c: Likewise.
70712         * elf/tst-tlsmod14a.c: Likewise.
70713         * elf/tst-tlsmod15b.c: Likewise.
70714         * elf/tst-tlsmod16a.c: Likewise.
70715         * elf/tst-tlsmod16b.c: Likewise.
70716         * elf/tst-tlsmod7.c: Likewise.
70717         * elf/tst-tlsmod8.c: Likewise.
70718         * elf/tst-tlsmod9.c: Likewise.
70719         * gmon/gmon.c: Likewise.
70720         * grp/fgetgrent_r.c: Likewise.
70721         * grp/putgrent.c: Likewise.
70722         * hurd/fopenport.c: Likewise.
70723         * include/libc-symbols.h: Likewise.
70724         * include/tls.h: Likewise.
70725         * intl/gettextP.h: Likewise.
70726         * intl/loadinfo.h: Likewise.
70727         * locale/global-locale.c: Likewise.
70728         * locale/localeinfo.h: Likewise.
70729         * mach/devstream.c: Likewise.
70730         * malloc/arena.c: Likewise.
70731         * malloc/set-freeres.c: Likewise.
70732         * misc/err.c: Likewise.
70733         * misc/getttyent.c: Likewise.
70734         * misc/mntent_r.c: Likewise.
70735         * posix/getopt.c: Likewise.
70736         * posix/wordexp.c: Likewise.
70737         * pwd/fgetpwent_r.c: Likewise.
70738         * resolv/Versions: Likewise.
70739         * resolv/res_hconf.c: Likewise.
70740         * shadow/fgetspent_r.c: Likewise.
70741         * shadow/putspent.c: Likewise.
70742         * stdio-common/printf_fphex.c: Likewise.
70743         * stdio-common/tmpfile.c: Likewise.
70744         * stdlib/abort.c: Likewise.
70745         * stdlib/fmtmsg.c: Likewise.
70746         * sunrpc/auth_unix.c: Likewise.
70747         * sunrpc/clnt_perr.c: Likewise.
70748         * sunrpc/clnt_tcp.c: Likewise.
70749         * sunrpc/clnt_udp.c: Likewise.
70750         * sunrpc/clnt_unix.c: Likewise.
70751         * sunrpc/openchild.c: Likewise.
70752         * sunrpc/svc_simple.c: Likewise.
70753         * sunrpc/svc_tcp.c: Likewise.
70754         * sunrpc/svc_udp.c: Likewise.
70755         * sunrpc/svc_unix.c: Likewise.
70756         * sunrpc/xdr.c: Likewise.
70757         * sunrpc/xdr_array.c: Likewise.
70758         * sunrpc/xdr_rec.c: Likewise.
70759         * sunrpc/xdr_ref.c: Likewise.
70760         * sunrpc/xdr_stdio.c: Likewise.
70762 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70764         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70766 2011-07-03  Andreas Jaeger  <aj@suse.de>
70768         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
70769         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
70770         regenerate with gen-libm-tests.pl.
70772 2010-05-12  Petr Baudis  <pasky@suse.cz>
70774         [BZ #11589]
70775         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
70776         around j0() zero points by switching to j1().
70777         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70778         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70779         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70780         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70782 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70784         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
70785         instead of 0.
70786         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
70787         instead of 0.
70788         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70789         Patch in part by Pavel Roskin <proski@gnu.org>.
70791         [BZ #13138]
70792         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
70793         realloc.
70794         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
70795         Free memory block if necessary.
70797         [BZ #12847]
70798         * libio/genops.c (INTDEF): For string streams the _lock pointer can
70799         be NULL.  Don't lock in this case.
70801 2011-09-09  Roland McGrath  <roland@hack.frob.com>
70803         * elf/elf.h (ELFOSABI_GNU): New macro.
70804         (ELFOSABI_LINUX): Define to that.
70806 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
70808         * string/strncat.c (strncat): Undef the symbol in case it has been
70809         defined in bits/string.h.
70811 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
70813         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
70815         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
70816         link map.
70818 2011-08-17  Andreas Jaeger  <aj@suse.de>
70820         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
70822 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
70823             Ian Lance Taylor  <iant@google.com>
70825         * math/libm-test.inc (lround_test): New testcase.
70826         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
70828 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
70830         * Makefile: Remove support for automatic cvs check-ins.
70831         * Makerules: Likewise.
70832         * config.make.in: Likewise.
70833         * configure.in: Likewise.
70834         * intl/Makefile: Likewise.
70835         * locale/Makefile: Likewise.
70836         * po/Makefile: Likewise.
70837         * posix/Makefile: Likewise.
70838         * sysdeps/gnu/Makefile: Likewise.
70839         * sysdeps/mach/hurd/Makefile: Likewise.
70840         * sysdeps/sparc/sparc32/Makefile: Likewise.
70842         [BZ #13118]
70843         * posix/Makefile (bug-regex32-ENV): Define.
70844         Patch by John Stanley <jpsinthemix@verizon.net>.
70846         * misc/Makefile (headers): Add bits/select2.h.
70847         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
70848         * misc/bits/select2.h: New file.
70849         * include/bits/select2.h: New file.
70850         * debug/Makefile (routines): Add fdelt_chk.
70851         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
70852         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
70853         FD_ISSET.
70854         * debug/fdelt_chk.c: New file.
70856         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
70857         * wcsmbs/test-wmemcmp.c: Likewise.
70858         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
70859         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
70861 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70863         * string/Makefile (strop-tests): Add memcmp.
70864         * string/test-wmemcmp.c: New file.
70865         * string/test-memcmp.c: Add wmemcmp support.
70867 2011-09-08  Roland McGrath  <roland@hack.frob.com>
70869         [BZ #13153]
70870         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
70871         2011-07-19 change.
70873         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
70874         garbage value in a __mach_port_mod_refs call in the cases of the
70875         task-self and thread-self ports.
70877 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
70879         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
70881 2011-09-08  Andreas Schwab  <schwab@redhat.com>
70883         * elf/dl-load.c (lose): Check for non-null L.
70885 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70887         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
70889         * elf/dl-libc.c (dlerror_run): Pass back error code from
70890         dl_catch_error.
70892         [BZ #13123]
70893         * elf/dl-load.c (lose): Free l_origin if it is valid.
70895         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
70896         names.
70897         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
70898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70899         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
70900         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70901         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
70902         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
70904 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70906         * sysdeps/powerpc/fpu/e_hypot.c: New file.
70907         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
70908         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
70909         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
70910         * sysdeps/powerpc/fpu/k_cosf.c: New file.
70911         * sysdeps/powerpc/fpu/k_sinf.c: New file.
70912         * sysdeps/powerpc/fpu/s_cosf.c: New file.
70913         * sysdeps/powerpc/fpu/s_sinf.c: New file.
70914         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
70915         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
70917 2011-08-15  Alan Modra  <amodra@gmail.com>
70919         [BZ #13092]
70920         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
70921         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
70922         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
70923         ppc_mcount to static-only-routines.
70924         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
70925         __mcount_internal.
70926         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
70927         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
70929 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
70931         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
70932         for finite and infinity parameters.
70934 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
70936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
70937         and add nop instructions for throughput optimization.
70938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
70940 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
70942         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
70943         aligned copy for power7 with vector-scalar instructions.
70944         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
70946 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
70948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
70949         AVX check.
70951 2011-09-07  Andreas Schwab  <schwab@redhat.com>
70953         [BZ #13144]
70954         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
70955         last change.
70957 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
70959         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70960         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
70961         syscall wrapper around clock_gettime in __vdso_clock_gettime.
70962         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
70963         clock_gettime.
70965 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
70967         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
70968         Forgot to demangle the pointer.
70970         * sysdeps/i386/sysdep.h: Define atom_text_section.
70971         * sysdeps/x86_64/sysdep.h: Likewise.
70972         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
70973         section with atom_text_section.
70974         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
70975         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
70976         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
70977         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
70978         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
70980         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
70981         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
70982         already be defined.  Change to take two parameters and don't assign
70983         result to variable.  Adjust all users.
70984         Define INTERNAL_GETTIME if not already defined.
70985         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
70986         call.
70987         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
70988         HAVE_CLOCK_GETTIME_VSYSCALL.
70989         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
70991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
70992         gettimeofday vsyscall, just use time.
70994 2011-09-06  Andreas Schwab  <schwab@redhat.com>
70996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
70997         <errno.h>.
70999 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71001         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71002         syscall on x86-64.
71003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71004         syscall.
71005         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71007         syscall if possible.
71009 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71011         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71012         e_ident.  Don't pass to find_mapsXX.
71013         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71015 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71018         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71019         * sysdeps/x86_64/multiarch/strchr.S: Update.
71020         Check bit_slow_BSF bit.
71021         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71022         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71023         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71025 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71027         [BZ #13134]
71028         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71029         before glibc 2.15.
71030         (tryshell): Define.
71031         (__spawni): Change last parameter to be flag.  Test
71032         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71033         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71034         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71035         * posix/spawni.c: Likewise.
71036         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71037         * posix/spawnp.c: Likewise.  Change normal version to use
71038         SPAWN_XFLAGS_USE_PATH.
71039         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71040         SPAWN_XFLAGS_TRY_SHELL.
71042         [BZ #13150]
71043         * posix/glob.h: Remove gcc 1.x support.
71045         [BZ #13068]
71046         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71048 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71051         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71052         strrchr-sse2-bsf
71053         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71054         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71055         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71056         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71057         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71058         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71060 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71062         * sysdeps/x86_64/wcscmp.S: New file.
71064         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71065         wcscmp-c wcscmp-sse2
71066         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71067         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71068         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71069         * wcsmbs/wcscmp.c: Allow renaming.
71071 2011-09-05  David S. Miller  <davem@davemloft.net>
71073         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71074         stack slot, rather than the struct return pointer slot.
71075         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71076         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71078         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71080 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71082         * po/ja.po: Update from translation team.
71084         [BZ #13144]
71085         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71086         kernel in 64-bit binaries.
71088 2011-09-01  David S. Miller  <davem@davemloft.net>
71090         * elf/elf.h (HWCAP_SPARC_*): Move to..
71091         * sysdeps/sparc/sysdep.h: this new file and add new values.
71092         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71093         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71094         _DL_HWCAP_COUNT to 24.
71095         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71096         entries.
71097         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71098         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71099         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71101         instead of magic constants.
71102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71104 2011-08-31  David S. Miller  <davem@davemloft.net>
71106         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71107         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71108         Reimplement to do errno handling inline.
71109         (SYSCALL_ERROR_HANDLER): New macro.
71110         (__SYSCALL_STRING): Do not do errno handling in asm.
71111         (__CLONE_SYSCALL_STRING): Delete.
71112         (__INTERNAL_SYSCALL_STRING): Delete.
71113         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71114         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71115         (PSEUDO): Reimplement to do errno handling inline.
71116         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71117         (SYSCALL_ERROR_HANDLER): New macro.
71118         (__SYSCALL_STRING): Do not do errno handling in asm.
71119         (__CLONE_SYSCALL_STRING): Delete.
71120         (__INTERNAL_SYSCALL_STRING): Delete.
71121         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71122         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71123         i386.
71124         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71125         (inline_syscall*): Add 'err' argument.
71126         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71127         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71128         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71129         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71131         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71132         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71134 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71136         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71138 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71140         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71141         directive.
71143 2011-08-24  David S. Miller  <davem@davemloft.net>
71145         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71147 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71149         * elf/Makefile: Add rules to build and run unload8 test.
71150         * elf/unload8.c: New file.
71151         * elf/unload8mod1.c: New file.
71152         * elf/unload8mod1x.c: New file.
71153         * elf/unload8mod2.c: New file.
71154         * elf/unload8mod3.c: New file.
71156         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71157         it wasn't used.
71159 2011-08-23  David S. Miller  <davem@davemloft.net>
71161         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71162         subtract stack bias.
71163         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71164         %sp not %fp in calculations.
71165         (_JMPBUF_UNWINDS_ADJ): Likewise.
71167         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71168         (aio_suspend): Call it to force an exception region around the
71169         AIO_MISC_WAIT() invocation.
71171 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71173         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71174         backslash.
71176 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71178         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71179         protection macro.
71180         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71181         and <dl-machine.h>.
71182         (Elf64_FuncDesc): Remove.
71184 2011-08-22  David S. Miller  <davem@davemloft.net>
71186         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71187         sigaltstack check, add missing cfi directives.
71188         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71189         missing cfi directives, and sigaltstack handling.
71191 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71193         [BZ #11724]
71194         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71195         object is seen twice.
71196         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71198         * elf/Makefile (distribute): Add tst-initorder2.c.
71199         (tests): Add tst-initorder2.
71200         (modules-names): Add tst-initorder2a tst-initorder2b
71201         tst-initorder2c tst-initorder2d.  Add rules to build them.
71202         ($(objpfx)tst-initorder2.out): New rule.
71203         * elf/tst-initorder2.c: New file.
71204         * elf/tst-initorder2.exp: New file.
71206 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71208         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71210         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71211         dependencies back to end of function.
71213         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71214         $(elfobjdir)/ld.so.
71216 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71218         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71219         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71220         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71221         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71222         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71223         of __vdso_gettimeofday.
71224         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71225         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71226         attribute_hidden.
71227         (_libc_vdso_platform_setup): Remove initialization of
71228         __vdso_gettimeofday and __vdso_time.
71230 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71232         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71233         and fgetc_unlocked.
71234         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71235         getc_unlocked.
71237         * elf/dl-open.c (add_to_global): Report additions to the global scope
71238         for LD_DEBUG=scopes.
71239         (dl_open_worker): Also print scope of newly loaded dependencies.
71240         (_dl_show_scope): Indicate if there is no scope.
71242         [BZ #13114]
71243         * stdio-common/Makefile (tests): Add bug24.
71244         * stdio-common/bug24.c: New file.
71246 2011-08-19  Andreas Jaeger  <aj@suse.de>
71248         [BZ #13114]
71249         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71250         non-existant file when using close-on-exec mode.
71252 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71255         the very first instruction.
71257         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71258         the CFI state in the end.
71259         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71260         inclusion of dl-trampoline.h.
71261         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71263 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71265         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71266         expectations for long double.
71268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71269         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71271 2011-08-14  David S. Miller  <davem@davemloft.net>
71273         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71274         artificual limit depends upon the system page size.
71276 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71278         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71279         * resolv/Makefile: Define CFLAGS-libresolv.
71281 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71283         * nss/makedb.c (compute_tables): Make variables used in nested
71284         function static.
71286 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71288         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71289         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71290         if buffer was too small.
71292         * elf/pldd.c (main): Attach to all threads in the process.
71293         Rewrite /proc handling to use *at functions.
71295 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71297         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71298         specifies first scope to show.
71299         (dl_open_worker): Update callers.  Move printing scope of new
71300         object to before the relocation.
71301         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71302         * sysdeps/generic/ldsodefs.h: Update declaration.
71304         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71305         string for the scope number.
71307 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71309         * nscd/servicescache.c (cache_addserv): Make sure written is always
71310         initialized.
71312 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71314         * sysdeps/i386/i486/bits/atomic.h
71315         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71316         statement expression, so as to suppress "set but not used" warning.
71317         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71319         * string/strncat.c (STRNCAT): Use prototype definition.
71321         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71322         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71323         -Iprograms here.
71324         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71325         (localedef-modules): Add localedef.
71326         (locale-modules): Add locale.
71328         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71329         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71330         to avoid a warning.
71332 2011-08-14  David S. Miller  <davem@davemloft.net>
71334         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71335         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71337 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71339         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71340         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71341         * elf/rtld.c (dl_main): Set l_name of vDSO.
71342         Call _dl_show_scope when DL_DEBUG_SCOPES.
71343         (process_dl_debug): Recognize scopes flag and also set it for all.
71344         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71345         Declare _dl_show_scope.
71347         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71348         (do_dlopen): Pass caller_dlopen to dl_open.
71349         (__libc_dlopen_mode): Initialize caller_dlopen.
71351         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71352         of libc.  Make tolower call locale-independent.  Optimize a bit by
71353         using isdigit instead of isalnum.
71354         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71356 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71358         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71359         was a dependency or dynamically loaded.
71361 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71363         * intl/l10nflist.c: Allow architecture-specific pop function.
71364         * sysdeps/x86_64/l10nflist.c: New file.
71366         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71367         classification.
71369 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71371         * include/dirent.h: Add libc_hidden_proto for scandirat and
71372         scandirat64.  Don't declare __scandirat64.
71373         * dirent/scandirat.c: Add libc_hidden_def.
71374         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71375         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71377 2011-08-10  David S. Miller  <davem@davemloft.net>
71379         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71380         enum.
71381         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71382         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71385 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71387         * Versions.def [libc]: Add GLIBC_2.15.
71388         * dirent/Makefile (routines): Add scandirat and scandirat64.
71389         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71390         GLIBC_2.15.
71391         * dirent/dirent.h: Declare scandirat and scandirat64.
71392         * dirent/scandirat.c: New file.
71393         * dirent/scandirat64.c: New file.
71394         * sysdeps/wordsize-64/scandirat.c: New file.
71395         * sysdeps/wordsize-64/scandirat64.c: New file.
71396         * dirent/opendir.c: Define opendirat.
71397         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71398         using scandirat.
71399         * dirent/scandir64.c: Adjust for scandir.c change.
71400         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71401         __scandirat64, and __scandir_cancel_handler.
71402         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71403         additional parameter and use openat instead of open (outside of ld.so).
71404         Add new __opendir as wrapper around __opendirat.
71405         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
71406         here without requiring old scandirat implementation.
71408 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
71410         * dirent/scandir.c (cancel_handler): Renamed to
71411         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
71412         defined.  Adjust users.
71413         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
71414         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
71416 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
71418         * string/test-string.h (IMPL): Use __STRING to expand name and then
71419         stringify it.
71421         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
71422         of cleanups.
71424 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71426         * string/Makefile: Update.
71427         (strop-tests): Append strncat.
71428         * string/test-wcscmp.c: New file.
71429         New comprehensive test for wcscmp.
71430         * string/test-strcmp.c: Update.
71431         (WIDE): New define.
71433 2011-07-22  Andreas Schwab  <schwab@redhat.com>
71435         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
71436         line.
71438 2011-07-26  Andreas Schwab  <schwab@redhat.com>
71440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71441         encoding to ACE if AI_IDN.
71443 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
71445         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
71446         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
71448 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71450         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
71451         Fix overflow bug in strncat.
71452         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
71454         * string/test-strncat.c: Update.
71455         Add new tests for checking overflow bugs.
71457 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71460         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
71461         * sysdeps/i386/i686/multiarch/strcat.S: New file.
71462         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
71463         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
71464         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
71465         * sysdeps/i386/i686/multiarch/strncat.S: New file.
71466         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
71467         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
71469         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
71470         (USE_AS_STRCAT): Define.
71471         Add strcat and strncat support.
71472         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71474 2011-07-25  Andreas Schwab  <schwab@redhat.com>
71476         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
71477         __n bigger than INT_MAX+1.
71478         (__strncmp_g): Likewise.
71480 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
71482         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
71483         * libio/stido.h: Likewise.
71485         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
71486         (AF_NFC): Define.
71487         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
71488         (AF_NFC): Define.
71490         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
71491         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71493         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
71494         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71496         [BZ #13021]
71497         * scripts/test-installation.pl: Don't expect libnss_test1 to be
71498         installed.
71500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
71501         typo.
71502         (_dl_x86_64_save_sse): Likewise.
71504 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
71506         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
71507         OSXSAVE.
71508         (_dl_x86_64_save_sse): Likewise.
71510         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
71512         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
71514 2011-07-21  Andreas Schwab  <schwab@redhat.com>
71516         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
71517         change.
71518         (_dl_x86_64_save_sse): Use correct AVX check.
71520 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71522         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
71523         bug in strncpy/strncat.
71524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
71526 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
71528         * string/tester.c (test_strcat): Add tests for different alignments
71529         of source and destination.
71530         (test_strncat): Likewise.
71532 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71534         [BZ #12852]
71535         * posix/glob.c (glob): Check passed in values before using them in
71536         expressions to avoid some overflows.
71537         (glob_in_dir): Likewise.
71539         [BZ #13007]
71540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
71541         check for AVX enablement so that we don't crash with old kernels and
71542         new hardware.
71543         * elf/tst-audit4.c: Add same checks here.
71544         * elf/tst-audit6.c: Likewise.
71546         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
71548 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
71550         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
71552 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
71554         * po/cs.po: Update from translation team.
71555         * po/bg.po: Likewise.
71557 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
71559         * misc/sys/cdefs.h: Add support for const attribute.
71560         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
71561         to gnu_dev_{major,minor,makedev} functions.
71563 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
71565         * intl/dcigettext.c (get_output_charset): Add missing bracket.
71567 2011-07-20  Andreas Schwab  <schwab@redhat.com>
71569         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
71570         strlen results.
71572 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
71575         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
71576         register in order to avoid conflicts with the soft frame pointer
71577         being held in r11 when necessary.
71578         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
71579         (INTERNAL_VSYSCALL_NCS): Likewise.
71581 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
71583         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
71584         * elf/dl-fini.c (_dl_fini): Adjust caller.
71585         * elf/dl-close.c (_dl_close_worker): Likewise.
71586         * sysdeps/generic/ldsodefs.h: Adjust declaration.
71588 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71590         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
71591         "aux_cache->nlibs < 0".
71593         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
71594         in the reload-count case.
71596 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71599         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
71600         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
71601         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
71602         * sysdeps/x86_64/multiarch/strcat.S: New file.
71603         * sysdeps/x86_64/multiarch/strncat.S: New file.
71604         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
71605         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
71606         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
71607         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
71608         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
71609         (USE_AS_STRCAT): Define.
71610         Add strcat and strncat support.
71611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71612         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
71613         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
71614         * string/strncat.c: Update.
71615         (USE_AS_STRNCAT): Define.
71616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71617         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
71618         and i7.
71619         * sysdeps/x86_64/multiarch/init-arch.h
71620         (bit_Prefer_PMINUB_for_stringop): New.
71621         (index_Prefer_PMINUB_for_stringop): Likewise.
71622         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
71623         bit_Prefer_PMINUB_for_stringop.
71625 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71627         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
71628         buffer64.
71629         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
71630         of casting of buffer.
71631         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
71632         buffer32 and buffer64.
71633         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
71634         writes instead of casting of buffer.
71635         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
71636         buffer32.
71637         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
71638         casting of buffer.
71640 2011-07-19  Andreas Schwab  <schwab@redhat.com>
71642         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
71644 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
71646         * nscd/nscd.c (termination_handler): Don't do anything for a database
71647         if it has not yet been initialized.
71649 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71651         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71653 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
71655         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
71657 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
71659         * po/nl.po: Update from translation team.
71660         * po/sv.po: Likewise.
71662 2011-07-16  Roland McGrath  <roland@hack.frob.com>
71664         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
71665         now disallowed by GCC.
71667         * configure.in (use-default-link): Default to yes if a test -shared
71668         link meets our qualifications.
71669         * configure: Regenerated.
71671         * config.make.in (output-format): New variable.
71672         * configure.in: Check for ld --print-output-format support.
71673         * configure: Regenerated.
71674         * Makerules ($(common-objpfx)format.lds)
71675         [$(output-format) != unknown]: Just use $(output-format),
71676         instead of the linker-script munging.
71678 2011-07-14  Roland McGrath  <roland@hack.frob.com>
71680         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
71681         of $(common-objpfx)shlib.lds.
71682         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
71684         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
71685         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
71687         * configure.in (-z relro check): Adjust test code to add a large
71688         writable data section after it.
71689         * configure: Regenerated.
71691 2011-07-11  Roland McGrath  <roland@hack.frob.com>
71693         * configure.in (-z relro check): Fix test code to make the variable
71694         truly const.
71695         * configure: Regenerated.
71697 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
71699         * nscd/nscd.h (struct traced_file): Define.
71700         (struct database_dyn): Remove inotify_descr, reset_res, and filename
71701         elements.  Add traced_files.
71702         (inotify_fd): Declare.
71703         (register_traced_file): Declare.
71704         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
71705         (inotify_fd): Export.
71706         (resolv_conf_descr): Remove.
71707         (nscd_init): Move inotify descriptor creation to main.
71708         Don't register files for notification here.
71709         (register_traced_file): New function.
71710         (invalidate_cache): Don't use reset_res to determine whether to call
71711         res_init, go through the list of registered files.
71712         (main_loop_poll): The inotify descriptors are now stored in the
71713         structures for the traced files.
71714         (main_loop_epoll): Likewise.
71715         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
71716         to __nss_disable_nscd.
71717         * nscd/cache.c (prune_cache): There is no single inotify descriptor
71718         for a database anymore.  Check the records for all the registered
71719         files instead.
71720         * nss/Makefile (libnss_files-routines): Add files-init.
71721         (libnss_db-routines): Add db-init.
71722         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
71723         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
71724         * nss/nss_db/db-init.c: New file.
71725         * nss/nss_files/files-init.c: New file.
71726         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
71727         __nss_lookup_function.
71728         (__nss_lookup_function): Call nss_load_library.
71729         (nss_load_all_libraries): New function.
71730         (__nss_disable_nscd): Take parameter with callback function for files
71731         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
71732         used for the cached services.
71733         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
71734         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
71735         options for features to all the files in nscd.
71737         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
71739 2011-07-10  Roland McGrath  <roland@hack.frob.com>
71741         * csu/elf-init.c (__libc_csu_init): Comment typo.
71743 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
71745         * po/pl.po: Update from translation team.
71746         * po/ja.po: Likewise.
71747         * po/ru.po: Likewise.
71748         * po/ko.po: Likewise.
71749         * po/fr.po: Likewise.
71751 2011-07-09  Roland McGrath  <roland@hack.frob.com>
71753         * configure.in (.ctors/.dtors header and trailer check):
71754         Use an empirical test on a built program.
71755         * configure: Regenerated.
71757         * configure.in (-z relro check): Use an empirical test on a built DSO.
71758         Detect, but do not require, on ia64.
71759         * configure: Regenerated.
71761         * configure.in (READELF): Find it with AC_CHECK_TOOL.
71762         Update tests that use readelf to use $READELF instead.
71763         * configure: Regenerated.
71765 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
71767         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
71768         if the result is not used.
71770 2011-07-05  Andreas Jaeger  <aj@suse.de>
71772         [BZ#9696]
71773         * stdlib/tst-strtod.c: Add testcase.
71775 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
71777         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
71778         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
71779         The latter has a higher limit.  Take additional parameter to pass to
71780         the new function.
71781         (__pathconf): Pass file to __statfs_link_max.
71782         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
71783         __statfs_link_max.
71784         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
71785         __statfs_link_max.
71787         [BZ #12868]
71788         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
71789         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
71790         Handle Lustre.
71791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
71792         (__statfs_filesize_max): Likewise.
71793         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
71795 2011-07-05  Andreas Jaeger  <aj@suse.de>
71797         * resolv/res_comp.c (dn_skipname): Remove unused variable.
71799 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
71801         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
71802         `status' variable.
71803         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
71804         Likewise.
71806 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
71808         * Makefile (strop-tests): Add strncat.
71809         * string/test-strncat.c: New file.
71811 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
71813         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
71815 2011-06-21  Andreas Jaeger  <aj@suse.de>
71817         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
71818         Copy rule from iconvdata/Makefile.
71820 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71822         [BZ #12922]
71823         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
71824         but no long options are defined, just return 'W'.
71826 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
71828         [BZ #9696]
71829         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
71831 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
71833         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
71834         netgroups to read.
71835         (innetgr): Likewise.
71837 2011-07-05  Roland McGrath  <roland@hack.frob.com>
71839         * config.make.in (install_root): Default to $(DESTDIR).
71841 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
71843         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
71845 2011-07-02  Roland McGrath  <roland@hack.frob.com>
71847         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
71849         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
71850         containing directory rather than embedding absolute directory names.
71852         * scripts/check-local-headers.sh: Rewritten using awk.
71853         Match by word, not by line.  Print error messages for matches.
71854         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
71856         * Makerules [shlib-lds-flags empty]:
71857         ($(common-objpfx)libc_pic.opts): New target.
71858         ($(common-objpfx)libc_pic.os.clean): New target.
71859         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
71861         * config.make.in (OBJCOPY): New variable.
71862         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
71863         * configure: Regenerated.
71865         * config.make.in (use-default-link): New variable.
71866         * configure.in (use_default_link): Grok --with-default-link to set it.
71867         * configure: Regenerated.
71868         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
71869         (shlib-lds, shlib-lds-flags): Define to empty.
71871         * Makerules (shlib-lds): New variable.
71872         (shlib-lds-flags): New variable.
71873         (build-shlib, build-moduile, build-module-asneeded): Use it.
71874         ($(common-objpfx)libc.so): Use $(shlib-lds).
71875         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
71876         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
71878         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
71879         DT_FLAGS/DT_FLAGS_1 with zero flags.
71881         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
71882         linker script munging.
71884 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
71886         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
71887         as 128-bit value.
71888         * crypt/sha512.c (sha512_process_block): Perform total addition using
71889         128-bit if possible.
71890         (__sha512_finish_ctx): Likewise.
71891         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
71892         as 64-bit value.
71893         * crypt/sha256.c (SWAP64): Define.
71894         (sha256_process_block): Perform total addition using 64-bit if
71895         possible.
71896         (__sha256_finish_ctx): Likewise.
71898 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
71900         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
71901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71902         * nscd/hstcache.c (cache_addhst): Likewise.
71903         * nscd/grpcache.c (cache_addgr): Likewise.
71904         * nscd/aicache.c (addhstaiX): Likewise.
71905         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
71907 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
71909         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
71910         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71911         * nscd/hstcache.c (cache_addhst): Likewise.
71912         * nscd/grpcache.c (cache_addgr): Likewise.
71913         * nscd/aicache.c (addhstaiX): Likewise.
71915 2011-07-01  Andreas Schwab  <schwab@redhat.com>
71917         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
71918         domain only when needed.
71920 2011-06-30  Andreas Schwab  <schwab@redhat.com>
71922         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
71923         is always restored.
71925 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
71927         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
71928         are re-adding the entry.
71929         * nscd/servicescache.c (cache_addserv): Likewise.
71931 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
71933         * sysdeps/generic/dl-irel.h: fix protection against multiple
71934         inclusions.
71935         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
71937 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
71939         [BZ #12935]
71940         * malloc/memusage.sh: Fix quoting in message.
71941         * debug/xtrace.sh: Likewise.
71943         * configure.in: Remove support for --experimental-malloc option, make
71944         it the default.
71945         * config.make.in: Likewise.
71946         * malloc/Makefile: Likewise.
71948 2011-06-27  Andreas Schwab  <schwab@redhat.com>
71950         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
71951         two-byte characters.
71953 2011-06-27  Roland McGrath  <roland@hack.frob.com>
71955         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
71956         AC_CACHE_CHECK invocation.
71957         * configure: Regenerated.
71959         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
71961 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
71963         [BZ #12350]
71964         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
71965         bit from old_res_options.
71967         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
71969         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
71970         value type for setfct.
71972 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
71974         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
71975         __gettimeofday instead of gettimeofday.
71977 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
71979         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
71981 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
71983         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
71985         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
71986         info.
71988 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
71990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71991         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
71992         strcpy-sse2-unaligned strncpy-sse2-unaligned
71993         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
71994         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
71995         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
71996         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
71997         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
71998         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
71999         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72000         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72001         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72002         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72003         (STRCPY): Support SSE2 and SSSE3 versions.
72005 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72007         [BZ #12874]
72008         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72009         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72010         kernels which artificially limit size of requests.
72012 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72014         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72015         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72016         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72017         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72018         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72019         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72020         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72021         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72022         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72023         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72024         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72025         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72026         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72027         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72028         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72030         Enable unaligned load optimization for Intel Core i3, i5 and i7
72031         processors.
72032         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72033         Define.
72034         (index_Fast_Unaligned_Load): Define.
72035         (HAS_FAST_UNALIGNED_LOAD): Define.
72037 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72039         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72041 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72043         [BZ #12907]
72044         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72045         until it is clear that the information is realy needed.
72046         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72048 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72050         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72052 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72055         /sys/devices/system/cpu/online if it is usable.
72057         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72058         reading the information from the /proc filesystem to once a second.
72060 2011-06-21  Andreas Jaeger  <aj@suse.de>
72062         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72063         NULL after inclusion of kernel headers.
72065 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72067         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72068         calls to internal_setent.
72070         [BZ #12885]
72071         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72072         addresses using gethostbyname4_r ignore IPv4 addresses.
72074         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72075         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72077         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72079 2011-06-20  David S. Miller  <davem@davemloft.net>
72081         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72082         inclusions.
72083         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72085         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72086         (elf_irel): Use it.
72087         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72088         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72089         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72090         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72091         * sysdeps/x86_64/dl-irel.h: Likewise.
72093         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72094         * elf/dl-sym.c: Likewise.
72096 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72098         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72099         need to dereference resplen2.
72101 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72103         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72105 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72107         * Makeconfig: Define vardbdir and inst_vardbdir.
72108         * nss/Makefile: Add rules to install db-Makefile.
72110         * nss/nss_db/db-XXX.c: Cleanup.
72112         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72113         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72114         GLIBC_PRIVATE.
72115         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72116         * nss/makedb.c: Implement -g option to specify that value strings
72117         are generated and should not be added to table iterated over for
72118         get*ent calls.
72119         * nss/nss_db/db-initgroups.c: New file.
72121         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72122         interface.
72124         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72125         (internal_getgrouplist): Adjust to name change.
72126         Update use_initgroups_entry if this is not the first call.
72127         * nss/databases.def: Add initgroups entry.
72129         * nss/makedb.c (compute_tables): Check result of multiple hash table
72130         sizes to minimize maximum chain length.
72132 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72134         * Versions.def: Add entry for libnss_db.
72135         * shlib-versions: Likewise.
72136         * nss/Makefile: Add rules to build libnss_db.
72137         * nss/Versions: Add libnss_db information.  Organize libnss_files
72138         entries better.
72139         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72140         makedb progra.  Some minor improvements to generate smaller files.
72141         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72142         here from...
72143         * nss/makedb.c: ...here.
72144         Improve database format to be smaller and require less memory at
72145         runtime.
72146         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72147         db anymore.
72148         * nss/nss_db/db-netgrp.c: Likewise.
72149         * nss/nss_db/db-open.c: Likewise.
72150         * nss/nss_files/flies-XXX.x: Adjust comments.
72151         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72152         * nss/nss_files/files-grp.c: Likewise.
72153         * nss/nss_files/files-hosts.c: Likewise.
72154         * nss/nss_files/files-network.c: Likewise.
72155         * nss/nss_files/files-proto.c: Likewise.
72156         * nss/nss_files/files-pwd.c: Likewise.
72157         * nss/nss_files/files-rpc.c: Likewise.
72158         * nss/nss_files/files-service.c: Likewise.
72159         * nss/nss_files/files-sgrp.c: Likewise.
72160         * nss/nss_files/files-spwd.c: Likewise.
72161         * nss/nss_db/db-alias.c: Removed.
72162         * nss/nss_db/dummy-db.h: Removed.
72164 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72166         * nss/makedb.c: Rewritten to not use database library.
72167         * nss/Makefile: Update to build new makedb program.
72169 2011-06-14  Andreas Jaeger  <aj@suse.de>
72171         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72172         memset declaration.
72174 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72177         tmpbuf.
72179 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72181         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72182         * elf/Makefile ($(objpfx)ld.so): Likewise.
72184         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72185         Don't list ld.so twice in dependencies.
72187         * posix/bug-regex31.c: Include <stdlib.h>.
72189         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72191         * nis/nss_compat/compat-spwd.c
72192         (getspent_next_nss_netgr): Remove unused variable.
72193         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72195         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72196         nonmembers" output to use the right array.
72198         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72200         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72202         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72203         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72204         * catgets/gencat.c (read_input_file): Likewise.
72205         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72207         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72208         variable definition inside #if's controlling its use.
72210         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72212         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72214         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72216         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72217         unreachable code.
72219         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72221         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72222         * configure: Regenerated.
72224         * Makerules: Revert last change.
72225         * elf/Makefile: Likewise.
72227 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72229         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72230         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72231         (reloc-link): Likewise.
72233 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72235         * elf/Makefile: Add rules to build pldd.
72236         * elf/pldd.c: New file.
72237         * elf/pldd-xx.c: New file.
72239 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72241         * version.h: Update for 2.15 development version.
72243 2011-06-07  David S. Miller  <davem@davemloft.net>
72245         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72246         ifuncs.
72247         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72248         elf_machine_lazy_rel): Likewise.
72249         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72250         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72251         elf_machine_lazy_rel): Likewise.
72252         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72253         dl_hwcap via passed in argument.
72254         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72255         Likewise.
72257 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72259         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72261 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72263         [BZ #12849]
72264         * manual/fdl-1.1.texi: New file, verbatim from:
72265         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72266         * manual/lgpl-2.1.texi: New file, verbatim from:
72267         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72268         * manual/Makefile (licenses): New variable, list those new file names.
72269         (texis): Use it.
72270         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72272         * manual/fdl.texi: File removed.
72273         * manual/lesser.texi: File removed.
72274         * manual/libc.texinfo (Copying, Documentation License):
72275         Use new @include file names, put @appendix directive before @include.
72277 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72279         [BZ #12841]
72280         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72281         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72282         (mq_open): Add __NTH.
72284 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72286         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72287         Assume Intel Core i3/i5/i7 processor if AVX is available.
72289 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72292         typo.
72294 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72296         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72297         memory.  Use alloca_account.  Fix memory leak when retrying.
72299 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72301         * version.h (RELEASE): Bump for 2.14 release.
72302         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72304         * config.make.in (RANLIB): Remove entry.
72306 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72308         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72309         (libc.pot): Work around missing support for .ksh extension in xgettext.
72311         [BZ #12684]
72312         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72313         if both request failed.
72314         (send_dg): In case of server errors clear resplen or *resplen2.
72316         [BZ #12454]
72317         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72318         when there are multiple maps.
72319         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72320         (_dl_fini): Remove test here.
72322         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72324 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72326         [BZ #12350]
72327         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72328         bit from old_res_options.
72329         (gaih_inet): Likewise.
72331         [BZ #11099]
72332         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72333         as signed.
72335         * resolv/res_init.c (res_setoptions): Make the code more compact.
72337         [BZ #11558]
72338         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72339         set RES_USEVC.
72341         [BZ #11634]
72342         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72344         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72346         [BZ #11781]
72347         * malloc/malloc.h: Declare malloc hook variables as volatile.
72349         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72350         in last patch.
72352         [BZ #11799]
72353         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72354         raise in the comment.
72355         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72356         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72357         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72359 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72361         [BZ #12811]
72362         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72363         grow the buffers more if it already has to be sufficient.
72364         (build_wcs_upper_buffer): Likewise.
72365         * posix/regexec.c (check_matching): Likewise.
72366         (clean_state_log_if_needed): Likewise.
72367         (extend_buffers): Don't enlarge buffers beyond size of the input
72368         buffer.
72369         Patches mostly by Emil Wojak <emil@wojak.eu>.
72370         * posix/bug-regex32.c: New file.
72371         * posix/Makefile (tests): Add bug-regex32.
72373         * locale/findlocale.c (_nl_find_locale): Return right away if
72374         _nl_explode_name failed.
72375         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72377         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72379         * debug/xtrace.sh: Unify messages.
72380         * malloc/memusage.sh: Likewise.
72382         [BZ #12813]
72383         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72384         time symbol from vDSO.  Substitute with vsyscall if not available.
72385         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72386         __vdso_time.
72388         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72389         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72390         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72391         Add sendmmsg and internal_sendmmsg.
72392         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72393         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72394         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72396         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72397         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72400 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72402         [BZ #12813]
72403         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72404         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72405         available.
72406         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
72407         __vdso_getcpu.
72409         [BZ #12814]
72410         * iconvdata/Makefile (tests): Add bug-iconv9.
72411         * iconvdata/bug-iconv9.c: New file.
72413 2011-05-27  Andreas Schwab  <schwab@redhat.com>
72415         [BZ #12814]
72416         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
72418 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
72420         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72421         (struct user_regs_struct): Change intcs field back to cs.
72423 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
72425         * po/ja.po: Update from translation team.
72427 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
72429         [BZ #12795]
72430         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
72431         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
72433 2011-05-20  Andreas Schwab  <schwab@redhat.com>
72435         * stdlib/longlong.h: Update from GCC.
72437 2011-05-23  Andreas Schwab  <schwab@redhat.com>
72439         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
72440         parameter name.
72441         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
72442         Add parameter name.
72443         (__sysconf): Pass it down.
72445 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
72447         [BZ #12671]
72448         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
72449         some situations.
72450         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
72451         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
72452         add in in __libc_use_alloca calls.  Adjust callers.
72453         (glob): Use malloc in some situations.
72455         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
72456         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
72457         pltexit.
72459 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
72461         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
72462         and CLOCK_BOOTTIME_ALARM.
72464         [BZ #12782]
72465         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
72466         is returned.
72468         * string/_strerror.c (__strerror_r): Print negative errors as signed
72469         numbers.
72471         [BZ #12777]
72472         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
72473         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
72474         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
72476         * configure.in: Fix typo in redirection and correct removal of test
72477         files in two cases.
72479         [BZ #12788]
72480         * locale/setlocale.c (new_composite_name): Fix test to check for
72481         identical name of all categories.
72483         [BZ #12792]
72484         * libio/filedoalloc.c (local_isatty): New function.
72485         (_IO_file_doallocate): Use local_isatty.
72486         * stdio-common/perror.c (perror): In case a new stream is used
72487         forward the stream error.
72488         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
72489         error flag.
72491 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
72493         [BZ #11884]
72494         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
72495         alloca.
72496         * include/alloca.h (extend_alloca_account): Define.
72498         [BZ #11857]
72499         * posix/regex.h: Fix comments with documentation of user-accessible
72500         fields after compilation and describe correct free'ing of pattern
72501         after re_compile_pattern.
72502         Patch by Reuben Thomas <rrt@sc3d.org>.
72504 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
72506         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
72507         and -mno-altivec to prevent the compiler from using Altivec and/or
72508         VSX instructions when the corresponding registers are not available.
72510 2011-05-19  Andreas Schwab  <schwab@redhat.com>
72512         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
72514 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
72516         * libio/freopen.c (freopen): Use __dup2, not dup2.
72517         * libio/freopen64.c (freopen64): Likewise.
72519 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
72521         [BZ #12775]
72522         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
72523         * math/Makefile (tests): Add test-powl.
72524         (CFLAGS-test-powl.c): Define.
72525         * math/test-powl.c: New file.
72527 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
72529         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
72531 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
72533         [BZ #11837]
72534         * iconvdata/gb18030.c: Update to GB18020-2005.
72536 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
72538         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
72539         RE_SYNTAX_POSIX_AWK): Update to match recent development.
72540         Patch by Aharon Robbins <arnold@skeeve.com>.
72542         [BZ #11892]
72543         * stdlib/putenv.c (putenv): Don't always create copy of the variable
72544         on the stack.
72546         [BZ #11895]
72547         * misc/pselect.c (__pselect): Handle timeout value errors hidden
72548         through underflows.
72550         [BZ #12766]
72551         * misc/error.c (error_at_line): Ensure file_name and old_file_name
72552         point to strings before performing equality test for error_one_per_line
72553         mode.
72555         [BZ #11697]
72556         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
72558         [BZ #11820]
72559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
72560         (struct user_fpregs_struct): Avoid __uint*_t types.
72562         [BZ #6420]
72563         * malloc/mtrace.c (tr_where): Add additional parameter to point to
72564         symbol info.  Use it instead of calling _dl_addr locally.
72565         (lock_and_info): New function.
72566         (tr_freehook): Call lock_and_info and pass symbol info as additional
72567         parameter to tr_where.
72568         (tr_mallochook): Likewise.
72569         (tr_reallochook): Likewise.
72570         (tr_memalignhook): Likewise.
72572         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
72573         used and couldn't be at all thread-safe.
72575 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
72577         * libio/freopen.c (freopen): Don't close old file descriptor
72578         before the new one is opened.  Instead dup the new file descriptor
72579         to the old one after the new stream is created.
72580         * libio/freopen64.c (freopen64): Likewise.
72581         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
72582         * libio/fileops.c (_IO_new_file_close_it): Handle new
72583         _IO_FLAGS2_NOCLOSE flag.
72584         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
72585         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
72586         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
72587         _IO_FLAGS2_NOCLOSE flag.
72588         * include/unistd.h: Add hidden_proto for dup3.
72589         Define __have_dup3.
72590         * io/dup3.c: Define hidden symbol.
72591         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
72593         [BZ #7101]
72594         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
72595         when an incomplete long option is used.
72596         * posix/tst-getopt_long1.c: New file.
72597         * posix/Makefile (tests): Add tst-getopt_long1.
72599         [BZ #10138]
72600         * scripts/config.guess: Update from autoconf-2.68.
72601         * scripts/config.sub: Likewise.
72603         [BZ #10157]
72604         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
72605         tests into ...
72606         (has_cpuclock): ...this.  New function.
72607         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
72608         macro here based on has_cpuclock code.
72610         [BZ #10149]
72611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72612         First byte (not low byte) is now always NUL.
72613         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
72615         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
72616         Use non-cancelable interfaces.
72618         [BZ #9809]
72619         * locale/iso-639.def: Add entry for Sorani.
72621         [BZ #11901]
72622         * include/stdlib.h: Move include protection to the right place.
72623         Define abort_msg_s.  Declare __abort_msg with it.
72624         * stdlib/abort.c (__abort_msg): Adjust type.
72625         * assert/assert.c (__assert_fail_base): New function.  Majority
72626         of code from __assert_fail.  Allocate memory for __abort_msg with
72627         mmap.
72628         (__assert_fail): Now call __assert_fail_base.
72629         * assert/assert-perr.c: Remove bulk of implementation.  Use
72630         __assert_fail_base.
72631         * include/assert.hL Declare __assert_fail_base.
72632         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
72633         mmap.
72634         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
72636 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
72638         [BZ #11952]
72639         [BZ #12453]
72640         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
72641         until all modules are registered in the DTV.
72642         * elf/Makefile: Add rules to build and run tst-tls19.
72643         * elf/tst-tls19.c: New file.
72644         * elf/tst-tls19mod1.c: New file.
72645         * elf/tst-tls19mod2.c: New file.
72646         * elf/tst-tls19mod3.c: New file.
72647         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
72649         [BZ #12083]
72650         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
72651         correctly.
72653         [BZ #12601]
72654         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
72655         two-byte sequence errors.
72656         * iconvdata/Makefile (tests): Add bug-iconv8.
72657         * iconvdata/bug-iconv8.c: New file.
72659         [BZ #12626]
72660         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
72661         buf2 definition.
72663         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
72665         [BZ #12432]
72666         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
72667         (dummy_getcfa): New function.
72668         (init): Get _Unwind_GetCFA address, use dummy if not found.
72669         (backtrace_helper): In recursion check, also check whether CFA changes.
72670         (__backtrace): Completely initialize arg.
72672         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
72673         storing incomplete byte sequence in state object.  Avoid testing for
72674         guaranteed too small input if we know there is enough data available.
72676 2011-05-11  Andreas Schwab  <schwab@redhat.com>
72678         * Makeconfig (+link-pie): Indent.
72679         * Rules (binaries-pie): Define if $(have-fpie) and
72680         $(build-shared).
72681         (binaries-shared): Also filter out $(binaries-pie).
72682         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
72683         * nscd/Makefile (others-pie): Add nscd.
72684         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
72685         ($(objpfx)nscd): Remove command override.
72686         * login/Makefile (others-pie): Add pt_chown.
72687         ($(objpfx)pt_chown): Remove command override.
72688         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
72689         remove command overrides.
72691 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
72693         * libio/tst_putwc.c: Fix error messages.
72695         [BZ #12724]
72696         * libio/fileops.c (_IO_new_file_close_it): Always flush when
72697         currently writing and seek to current position when not.
72698         * libio/Makefile (tests): Add bug-fclose1.
72699         * libio/bug-fclose1.c: New file.
72701 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
72703         [BZ #12511]
72704         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
72705         don't set DF_1_NODELETE here.
72706         (do_lookup_x): When entering new entry test for copy relocation
72707         and if necessary set DF_1_NODELETE flag.
72708         * elf/tst-unique4.cc: New file.
72709         * elf/tst-unique4.h: New file.
72710         * elf/tst-unique4lib.cc: New file.
72711         * elf/Makefile: Add rules to build and run tst-unique4.
72712         Patch by Piotr Bury <pbury@goahead.com>.
72714 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
72716         [BZ #12052]
72717         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
72719         [BZ #12625]
72720         * misc/mntent_r.c (addmntent): Flush the stream after the output
72722         [BZ #12393]
72723         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
72724         (is_trusted_path_normalize): Skip initial colon.  Append slash
72725         to empty buffer.  Duplicate is_trusted_path code but allow
72726         constructed patch to be prefix.
72727         (is_dst): Allow $ORIGIN followed by /.
72728         (_dl_dst_substitute): Correct clearing of check_for_trusted.
72729         Correct testing of result of is_trusted_path_normalize
72730         (decompose_rpath): Fix warning.
72732 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
72734         [BZ #11257]
72735         * grp/initgroups.c (internal_getgrouplist): When we found the service
72736         list through the initgroups entry in nsswitch.conf do not always
72737         continue on a successful lookup.  Don't always use the
72738         __nss_group_database value if it is set.
72739         * nss/nsswitch.conf (initgroups): Change action for successful db
72740         lookup to continue for compatibility.
72742 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
72744         [BZ #11532]
72745         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
72746         and CP774 modules.
72747         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
72748         and CP774 modules.
72749         * iconvdata/tst-tables.sh: Likewise.
72750         * iconvdata/cp770.c: New file.
72751         * iconvdata/cp771.c: New file.
72752         * iconvdata/cp772.c: New file.
72753         * iconvdata/cp773.c: New file.
72754         * iconvdata/cp774.c: New file.
72755         * iconvdata/testdata/CP770: New file.
72756         * iconvdata/testdata/CP770..UTF8: New file.
72757         * iconvdata/testdata/CP771: New file.
72758         * iconvdata/testdata/CP771..UTF8: New file.
72759         * iconvdata/testdata/CP772: New file.
72760         * iconvdata/testdata/CP772..UTF8: New file.
72761         * iconvdata/testdata/CP773: New file.
72762         * iconvdata/testdata/CP773..UTF8: New file.
72763         * iconvdata/testdata/CP774: New file.
72764         * iconvdata/testdata/CP774..UTF8: New file.
72766         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
72767         END CHARMAP line.
72768         * iconvdata/gen-8bit-gap.sh: Likewise.
72769         * iconvdata/gen-8bit.sh: Likewise.
72771         * locale/iso-639.def: Add ary entry.
72773         [BZ #11258]
72774         * locale/C-translit.h.in: Add U20A1 transliteration.
72776         [BZ #12178]
72777         * locale/iso-639.def: Add wae entry.
72778         Patch by Kevin Bortis <bortis@translate-wae.ch>.
72780         [BZ #12545]
72781         * locale/programs/localedef.c (construct_output_path): Use ssize_t
72782         for n.
72784         [BZ #12711]
72785         * locale/C-translit.h.in: Add entry for U20B9.
72786         Patch by pravin.d.s@gmail.com.
72788 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
72790         [BZ #12713]
72791         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
72792         ENAMETOOLONG use generic getcwd.
72793         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
72794         in rtld.  Use *stat64.
72795         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
72796         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
72797         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
72798         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
72799         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
72800         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
72801         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
72802         __fstatat64 macros.
72803         * include/dirent.h: Add libc_hidden_proto for rewinddir.
72804         * dirent/rewinddir.c: Add libc_hidden_def.
72805         * sysdeps/mach/hurd/rewinddir.c: Likewise.
72806         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
72808         * include/dirent.h (__alloc_dir): Add flags parameter.
72809         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
72810         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
72811         __alloc_dir.
72812         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
72813         from fdopendir if O_CLOEXEC is already set.
72815 2011-03-15  Alan Modra  <amodra@gmail.com>
72817         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
72818         l_tls_firstbyte_offset non-zero.  Save padding offset in
72819         l_tls_firstbyte_offset for later use.
72820         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
72821         freeing static tls block.
72823 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
72825         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
72826         where #ifdef was intended.  The intent is to prevent ARG_MAX from
72827         being defined by the kernel headers.
72829 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
72831         [BZ #12734]
72832         * resolv/resolv.h: Define RES_NOTLDQUERY.
72833         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
72834         no-tld-query and set RES_NOTLDQUERY.
72835         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
72836         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
72837         modern BIND to search name as TLD unless forbidden.
72839 2011-05-07  Petr Baudis  <pasky@suse.cz>
72840             Ulrich Drepper  <drepper@gmail.com>
72842         [BZ #12393]
72843         * elf/dl-load.c (fillin_rpath): Move trusted path check...
72844         (is_trusted_path): ...to here.
72845         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
72846         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
72847         using is_trusted_path_normalize() in setuid scripts.
72849 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
72851         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
72852         __BEGIN/__END_DECLS.
72854 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
72856         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
72857         NSS_STATUS_NOTFOUND if no record was found.
72859 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72861         * sunrpc/Makefile (headers): Add rpc/netdb.h.
72862         (headers-not-in-tirpc): Remove rpc/netdb.h
72863         * resolv/netdb.h: Revert last change.
72865 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72867         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
72868         circular dependency between libgcc.a and libc.a.
72870 2011-05-05  Andreas Schwab  <schwab@redhat.com>
72872         * resolv/netdb.h: Don't include <rpc/netdb.h>.
72873         * nis/Makefile: Don't install rpcsvc/*.
72874         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
72875         instead of <rpc/types.h>.
72876         (MAXHOSTNAMELEN): Define.
72878 2011-05-03  Andreas Schwab  <schwab@redhat.com>
72880         * elf/ldconfig.c (add_dir): Don't crash on empty path.
72882 2011-04-28  Maciej Babinski  <mbabinski@google.com>
72884         [BZ #12714]
72885         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
72886         gethostbyname4_r when IPv6 results are possible.
72888 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
72890         [BZ #12723]
72891         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
72892         _PC_PIPE_BUF handling.
72894 2011-04-30  Bruno Haible  <bruno@clisp.org>
72896         [BZ #12717]
72897         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
72898         * resolv/netdb.h (getnameinfo): Change type of flags parameter
72899         to 'int'.
72900         * inet/getnameinfo.c (getnameinfo): Likewise.
72902 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
72904         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
72905         to groups setting in database lookup.
72906         * nss/nsswitch.conf: Add initgroups entry.
72908 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
72910         [BZ #12685]
72911         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
72912         mode string.
72913         Patch by Eric Blake <eblake@redhat.com>.
72915 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
72917         * sunrpc/Makefile (need-export-routines): Add svc_run.
72918         (routines): Remove svc_run.
72919         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
72920         * sunrpc/clnt_perr.c (clnt_perrno): Export.
72921         * sunrpc/svc_run.c (svc_run): Likewise.
72922         * sunrpc/svc_udp.c (svcudp_create): Likewise.
72924 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
72926         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
72927         problem in reallocation in last patch.
72929 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
72931         * sunrpc/Makefile: Move inclusion of Rules.
72933 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72935         * nss/nss_files/files-initgroups.c: New file.
72936         * nss/Makefile (libnss_files-routines): Add files-initgroups.
72937         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
72938         _nss_files_initgroups_dyn.
72940 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
72942         * elf/elf.h (R_ARM_IRELATIVE): Define.
72944 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
72946         * po/ru.po: Update from translation team.
72948 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72950         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
72951         dependencies.
72953 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
72955         [BZ #12653]
72956         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
72957         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
72958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
72959         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72960         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72962 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
72964         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
72965         differing bytes.
72966         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72967         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72968         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72970 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
72972         [BZ #12420]
72973         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
72974         storing it.
72975         * stdlib/bug-getcontext.c: New file.
72976         * stdlib/Makefile: Add rules to build and run bug-getcontext.
72978 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72980         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
72981         instructions into .machine "z9-109".
72982         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
72983         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
72985 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72987         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
72988         between environment variables and auxiliary vector.
72990 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
72992         * Makefile: Add rules to build linkobj/libc.so.
72993         * include/libc-symbols.h: Define libc_hidden_nolink.
72994         * include/rpc/auth.h: Mark functions which are to be hidden.
72995         * include/rpc/auth_des.h: Likewise.
72996         * include/rpc/auth_unix.h: Likewise.
72997         * include/rpc/clnt.h: Likewise.
72998         * include/rpc/des_crypt.h: Likewise.
72999         * include/rpc/key_prot.h: Likewise.
73000         * include/rpc/pmap_clnt.h: Likewise.
73001         * include/rpc/pmap_prot.h: Likewise.
73002         * include/rpc/pmap_rmt.h: Likewise.
73003         * include/rpc/rpc_msg.h: Likewise.
73004         * include/rpc/svc.h: Likewise.
73005         * include/rpc/svc_auth.h: Likewise.
73006         * include/rpc/xdr.h: Likewise.
73007         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73008         * nss/Makefile: Likewise.
73009         * sunrpc/Makefile: Don't install headers.  Build library with normal
73010         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73011         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73012         for the compat linking library.  Remove use of INTDEF/INTUSE.
73013         * sunrpc/auth_none.c: Likewise.
73014         * sunrpc/auth_unix.c: Likewise.
73015         * sunrpc/authdes_prot.c: Likewise.
73016         * sunrpc/authuxprot.c: Likewise.
73017         * sunrpc/clnt_gen.c: Likewise.
73018         * sunrpc/clnt_perr.c: Likewise.
73019         * sunrpc/clnt_raw.c: Likewise.
73020         * sunrpc/clnt_simp.c: Likewise.
73021         * sunrpc/clnt_tcp.c: Likewise.
73022         * sunrpc/clnt_udp.c: Likewise.
73023         * sunrpc/clnt_unix.c: Likewise.
73024         * sunrpc/des_crypt.c: Likewise.
73025         * sunrpc/des_soft.c: Likewise.
73026         * sunrpc/get_myaddr.c: Likewise.
73027         * sunrpc/key_call.c: Likewise.
73028         * sunrpc/key_prot.c: Likewise.
73029         * sunrpc/netname.c: Likewise.
73030         * sunrpc/pm_getmaps.c: Likewise.
73031         * sunrpc/pm_getport.c: Likewise.
73032         * sunrpc/pmap_clnt.c: Likewise.
73033         * sunrpc/pmap_prot.c: Likewise.
73034         * sunrpc/pmap_prot2.c: Likewise.
73035         * sunrpc/pmap_rmt.c: Likewise.
73036         * sunrpc/publickey.c: Likewise.
73037         * sunrpc/rpc_cmsg.c: Likewise.
73038         * sunrpc/rpc_common.c: Likewise.
73039         * sunrpc/rpc_dtable.c: Likewise.
73040         * sunrpc/rpc_prot.c: Likewise.
73041         * sunrpc/rpc_thread.c: Likewise.
73042         * sunrpc/rtime.c: Likewise.
73043         * sunrpc/svc.c: Likewise.
73044         * sunrpc/svc_auth.c: Likewise.
73045         * sunrpc/svc_authux.c: Likewise.
73046         * sunrpc/svc_raw.c: Likewise.
73047         * sunrpc/svc_run.c: Likewise.
73048         * sunrpc/svc_simple.c: Likewise.
73049         * sunrpc/svc_tcp.c: Likewise.
73050         * sunrpc/svc_udp.c: Likewise.
73051         * sunrpc/svc_unix.c: Likewise.
73052         * sunrpc/svcauth_des.c: Likewise.
73053         * sunrpc/xcrypt.c: Likewise.
73054         * sunrpc/xdr.c: Likewise.
73055         * sunrpc/xdr_array.c: Likewise.
73056         * sunrpc/xdr_float.c: Likewise.
73057         * sunrpc/xdr_intXX_t.c: Likewise.
73058         * sunrpc/xdr_mem.c: Likewise.
73059         * sunrpc/xdr_rec.c: Likewise.
73060         * sunrpc/xdr_ref.c: Likewise.
73061         * sunrpc/xdr_sizeof.c: Likewise.
73062         * sunrpc/xdr_stdio.c: Likewise.
73064 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73066         [BZ #12650]
73067         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73068         * sysdeps/ia64/dl-tls.h: Likewise.
73069         * sysdeps/powerpc/dl-tls.h: Likewise.
73070         * sysdeps/s390/dl-tls.h: Likewise.
73071         * sysdeps/sh/dl-tls.h: Likewise.
73072         * sysdeps/sparc/dl-tls.h: Likewise.
73073         * sysdeps/x86_64/dl-tls.h: Likewise.
73074         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73076 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73078         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73079         rpath element also skip the following colon.
73080         (expand_dynamic_string_token): Add is_path parameter and pass
73081         down to DL_DST_REQUIRED and _dl_dst_substitute.
73082         (decompose_rpath): Call expand_dynamic_string_token with
73083         non-zero is_path.  Ignore empty rpaths.
73084         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73085         with zero is_path.
73087 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73090         Make cancelable.
73092 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73094         [BZ #12655]
73095         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73096         Patch by Filipe David Manana <fdmanana@apache.org>.
73098 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73100         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73101         Maintain aligned stack.
73102         (CHECK_RSP): Remove unused macro.
73104 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73106         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73107         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73109 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73111         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73113         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73115 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73117         [BZ #12518]
73118         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73119         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73120         * sysdeps/x86_64/memmove.c: New file.
73121         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73122         (memcpy): Renamed to ...
73123         (__new_memcpy): This.
73124         (memcpy): Provide GLIBC_2_14 memcpy.
73125         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73126         (memcpy): Provide GLIBC_2_2_5 memcpy.
73128 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73130         [BZ #12631]
73131         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73133 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73135         * misc/syncfs.c: New file.
73136         * misc/Makefile (routines): Add syncfs.
73137         * posix/unistd.h: Declare syncfs.
73138         * sysdeps/unix/syscalls.list: Add syncfs.
73140 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73142         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73143         open_by_handle_at.
73144         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73145         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73147         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73149         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73150         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73152 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73154         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73155         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73156         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73157         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73158         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73159         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73160         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73162         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73163         sync_file_range.c with -fexceptions.
73164         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73165         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73166         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73167         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73168         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73169         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73170         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73171         sync_file_range as cancellation point
73172         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73173         now a wrapper around __call_sync_file_range with cancellation handling.
73174         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73175         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73176         function name to __call_sync_file_range.
73177         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73178         Add call_sync_file_range.
73180 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73183         bits/timex.h.
73185 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73187         * iconv/iconv.h: Fix typo in comment.
73188         * io/fcntl.h: Likewise.
73189         * libio/stdio.h: Likewise.
73190         * posix/spawn.h: Likewise.
73191         * posix/unistd.h: Likewise.
73192         * stdlib/stdlib.h: Likewise.
73193         * time/time.h: Likewise.
73194         * wcsmbs/wchar.h: Likewise.
73196         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73197         open_by_handle): Add.
73198         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73199         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73200         Augment a few comments.
73201         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73203         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73205         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73206         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73207         open_by_handle.
73209         * io/fcntl.h (AT_EMPTY_PATH): Define.
73211 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73213         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73214         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73215         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73216         to...
73217         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73218         * Versions.def: Add GLIBC_2.14.
73219         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73220         Export.
73222 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73224         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73225         round counter.
73226         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73228 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73230         [BZ #12597]
73231         * string/test-strncmp.c (do_page_test): New function.
73232         (check2): Likewise.
73233         (test_main): Call check2.
73234         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73236 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73238         [BZ #12587]
73239         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73240         Handle cache information in CPU leaf 4.
73241         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73243 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73245         [BZ #12583]
73246         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73247         character representation.
73248         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73250 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73252         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73253         END(__isnan) to END(__isnanf) to match function entry point/label
73254         EALIGN(__isnanf,...).
73256 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73258         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73260 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73262         [BZ #12510]
73263         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73264         copy from the symbol referenced in the relocation to initialize the
73265         used variable.
73266         Patch by Piotr Bury <pbury@goahead.com>.
73267         * elf/Makefile: Add rules to build and tst-unique3.
73268         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73269         * elf/tst-unique3.cc: New file.
73270         * elf/tst-unique3.h: New file.
73271         * elf/tst-unique3lib.cc: New file.
73272         * elf/tst-unique3lib2.cc: New file.
73274         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73276 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73278         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73279         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73280         to _start.
73282 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73284         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73285         to-be-loaded object along a path to loader is ld.so.
73287 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73288             Ulrich Drepper  <drepper@gmail.com>
73290         * sysdeps/x86_64/memset.S: After aligning destination, code
73291         branches to different locations depending on the value of
73292         misalignment, when multiarch is enabled. Fix this.
73294 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73296         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73297         Set _x86_64_preferred_memory_instruction for AMD processsors.
73298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73299         Set bit_Prefer_SSE_for_memop for AMD processors.
73301 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73303         * libio/fmemopen.c (fmemopen): Optimize a bit.
73305 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73307         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73309 2011-03-03  Roland McGrath  <roland@redhat.com>
73311         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73313 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73315         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73316         __bzero_ultra1 instead of __memset_ultra1.
73318 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73319             Ulrich Drepper  <drepper@gmail.com>
73321         [BZ #12509]
73322         * include/link.h (struct link_map): Add l_orig_initfini.
73323         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73324         returning unsuccessfully.
73325         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73326         close of a file loaded at startup, restore the original l_initfini
73327         list.
73328         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73329         list, store the pointer.
73330         * elf/Makefile ($(objpfx)noload-mem): New rule.
73331         (noload-ENV): Define.
73332         (tests): Add $(objpfx)noload-mem.
73333         * elf/noload.c: Include <memcheck.h>.
73334         (main): Call mtrace.  Close all opened handles.
73336 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73338         [BZ #12454]
73339         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73340         dependencies are missing.
73342 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73344         Fix __if_freereq crash: Unlike the generic version which uses free,
73345         Hurd needs munmap.
73346         * sysdeps/mach/hurd/ifreq.h: New file.
73348 2011-01-27  Petr Baudis  <pasky@suse.cz>
73349             Ulrich Drepper  <drepper@gmail.com>
73351         [BZ 12445]#
73352         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73353         to extend_alloca().
73354         * stdio-common/bug23.c: New file.
73355         * stdio-common/Makefile (tests): Add bug23.
73357 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73358             Ulrich Drepper  <drepper@gmail.com>
73360         [BZ #12489]
73361         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73362         before performing relro protection.  At old place add assertion
73363         to make sure nothing changed.
73365 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73366             Glauber de Oliveira Costa  <glommer@gmail.com>
73368         * elf/elf.h: Add new ARM TLS relocs.
73370 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73373         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73374         cast from r3.
73375         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73376         'tests' variable.
73377         * sysdeps/wordsize-64/tst-writev.c: New file.
73379 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73381         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73382         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73383         insns in _dl_start to prevent a TOC reference before relocs are
73384         resolved.
73386 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73388         [BZ #12469]
73389         * Makeconfig: Remove RANLIB definition.
73390         * Makerules: Don't use RANLIB.
73391         * aclocal.m4: Remove ranlib test.
73392         * configure.in: No need to check for ranlib.
73393         * elf/rtld-Rules: Don't use RANLIB.
73395 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73397         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73398         protection macro.
73399         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73400         inclusion protection macro.
73402         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73403         SIGRTMIN and SIGRTMAX and print information in that case only when
73404         SIGRTMIN is defined.
73406 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
73408         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
73409         arginfo fn returning -1.
73411         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
73412         and thousands string is zero terminated.
73414 2011-02-03  Andreas Schwab  <schwab@redhat.com>
73416         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
73417         sysdeps/unix/sysv/linux/bits/socket.h.
73419 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73421         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
73422         (__CPU_COUNT): Remove old macros.
73423         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
73424         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
73425         (__CPU_ALLOC, __CPU_FREE): Add macros.
73426         (__sched_cpualloc, __sched_cpufree): Add declarations.
73428 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
73430         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
73431         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
73432         * nscd/aicache.c (addhstaiX): Return timeout of added value.
73433         (readdhstai): Return value of addhstaiX call.
73434         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
73435         (addgrbyX): Return value returned by cache_addgr.
73436         (readdgrbyname): Return value returned by addgrbyX.
73437         (readdgrbygid): Likewise.
73438         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
73439         (addpwbyX): Return value returned by cache_addpw.
73440         (readdpwbyname): Return value returned by addhstbyX.
73441         (readdpwbyuid): Likewise.
73442         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
73443         (addservbyX): Return value returned by cache_addserv.
73444         (readdservbyname): Return value returned by addservbyX:
73445         (readdservbyport): Likewise.
73446         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
73447         (addhstbyX): Return value returned by cache_addhst.
73448         (readdhstbyname): Return value returned by addhstbyX.
73449         (readdhstbyaddr): Likewise.
73450         (readdhstbynamev6): Likewise.
73451         (readdhstbyaddrv6): Likewise.
73452         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
73453         (readdinitgroups): Return value returned by addinitgroupsX.
73454         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
73455         (prune_cache): Keep track of timeout value of re-added entries.
73456         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
73457         * nscd/nscd.h: Adjust prototypes of readd* functions.
73459 2011-02-04  Roland McGrath  <roland@redhat.com>
73461         * nis/nis_server.c (nis_servstate): Use the right name for 0.
73462         (nis_stats): Likewise.
73463         * nis/nis_modify.c (nis_modify): Likewise.
73464         * nis/nis_remove.c (nis_remove): Likewise.
73465         * nis/nis_add.c (nis_add): Likewise.
73467         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
73469         * posix/fnmatch_loop.c: Add some consts.
73471         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
73473 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
73475         [BZ #12460]
73476         * config.make.in (config-cflags-novzeroupper): Define.
73477         * configure.in: Substitute libc_cv_cc_novzeroupper.
73478         * elf/Makefile (AVX-CFLAGS): Define.
73479         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
73480         (CFLAGS-tst-auditmod4a.c): Likewise.
73481         (CFLAGS-tst-auditmod4b.c): Likewise.
73482         (CFLAGS-tst-auditmod6b.c): Likewise.
73483         (CFLAGS-tst-auditmod6c.c): Likewise.
73484         (CFLAGS-tst-auditmod7b.c): Likewise.
73485         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
73487 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
73489         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
73490         function to the callback.
73491         Patch partly by Jiri Olsa <jolsa@redhat.com>.
73493 2011-02-02  Andreas Schwab  <schwab@redhat.com>
73495         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
73496         of errno.
73498 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
73500         [BZ #11724]
73501         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
73502         of constructors.
73503         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
73504         of destructors.
73505         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
73507         [BZ #11724]
73508         * elf/Makefile: Add rules to build and run new test.
73509         * elf/tst-initorder.c: New file.
73510         * elf/tst-initorder.exp: New file.
73511         * elf/tst-initordera1.c: New file.
73512         * elf/tst-initordera2.c: New file.
73513         * elf/tst-initordera3.c: New file.
73514         * elf/tst-initordera4.c: New file.
73515         * elf/tst-initorderb1.c: New file.
73516         * elf/tst-initorderb2.c: New file.
73517         * elf/tst-order-a1.c: New file.
73518         * elf/tst-order-a2.c: New file.
73519         * elf/tst-order-a3.c: New file.
73520         * elf/tst-order-a4.c: New file.
73521         * elf/tst-order-b1.c: New file.
73522         * elf/tst-order-b2.c: New file.
73523         * elf/tst-order-main.c: New file.
73524         New test case by George Gensure <werkt0@gmail.com>.
73526 2010-10-01  Andreas Schwab  <schwab@redhat.com>
73528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
73529         decoding ACE if AI_CANONIDN.
73531 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
73533         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
73535 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
73537         * version.h (RELEASE): Bump for 2.13 release.
73538         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
73540         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
73542         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
73543         MADV_NOHUGEPAGE.
73544         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
73545         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
73546         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
73547         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
73548         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
73549         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73551         * posix/getconf.c: Update copyright year.
73552         * catgets/gencat.c: Likewise.
73553         * csu/version.c: Likewise.
73554         * debug/catchsegv.sh: Likewise.
73555         * debug/xtrace.sh: Likewise.
73556         * elf/ldconfig.c: Likewise.
73557         * elf/ldd.bash.in: Likewise.
73558         * elf/sprof.c (print_version): Likewise.
73559         * iconv/iconv_prog.c: Likewise.
73560         * iconv/iconvconfig.c: Likewise.
73561         * locale/programs/locale.c: Likewise.
73562         * locale/programs/localedef.c: Likewise.
73563         * malloc/memusage.sh: Likewise.
73564         * malloc/mtrace.pl: Likewise.
73565         * nscd/nscd.c (print_version): Likewise.
73566         * nss/getent.c: Likewise.
73568         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
73569         PF_CAIF, and PF_ALG.
73570         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73572 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
73574         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
73575         (modules-names): Use them.
73576         (ifunc-test-modules, ifunc-pie-tests): Define.
73577         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
73578         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
73579         (test-extras): Likewise.
73580         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
73581         $(compile-command.c).
73582         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
73583         (all-built-dso): Define.
73584         (check-textrel.out, check-execstack.out): Depend on it.
73586         * configure.in: Don't override --enable-multi-arch.
73588 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
73590         [BZ #6812]
73591         * nscd/hstcache.c (tryagain): Define.
73592         (cache_addhst): Return tryagain not notfound for temporary errors.
73593         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
73594         failed.
73596 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
73598         [BZ #10563]
73599         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
73600         to make the syscall.
73601         * sysdeps/unix/sysv/linux/setgroups.c: New file.
73603         [BZ #12378]
73604         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
73605         and fall back to matching as normal character if the string ends before
73606         the matching ']' is found.  This is what POSIX requires.
73607         * posix/testfnm.c: Adjust test result.
73608         * posix/globtest.sh: Adjust test result.  Add new test.
73609         * posix/tst-fnmatch.input: Likewise.
73610         * posix/tst-fnmatch2.c: Add new test.
73612 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
73614         * elf/Makefile (check-execstack): Revert last change.  Depend on
73615         check-execstack.h.
73616         (check-execstack.h): New target.
73617         (generated): Add check-execstack.h.
73618         * elf/check-execstack.c: Include "check-execstack.h".
73619         (main): Revert last change.
73620         (handle_file): Return zero if GNU_STACK is absent and
73621         DEFAULT_STACK_PERMS doesn't include PF_X.
73623 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
73625         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
73626         in child fails because the descriptor is already closed.
73627         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
73628         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
73629         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
73631         [BZ #12397]
73632         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
73633         syscall.
73635         [BZ #10484]
73636         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
73637         temporary buffer used to handle multi lookups locally.
73638         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
73640 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73642         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
73643         loader is ld.so.
73645 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
73647         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
73648         alignment for SSE2.
73650 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
73652         [BZ #12394]
73653         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
73654         characters.  When rounding increased number of integer digits recompute
73655         number of groups.
73656         * stdio-common/tst-grouping.c: New file.
73657         * stdio-common/Makefile: Add rules to build and run tst-grouping.
73659 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
73661         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
73662         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
73664         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
73665         void.
73666         * bits/select.h: Likewise.
73668 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
73670         * po/ja.po: Update from translation team.
73672 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
73674         [BZ #11155]
73675         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
73676         implementation just like for lxstat, fxstatat, et al.
73678 2010-12-27  Jim Meyering  <meyering@redhat.com>
73680         [BZ #12348]
73681         * posix/regexec.c (build_trtable): Return failure indication upon
73682         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
73684 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
73686         [BZ #12201]
73687         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
73688         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
73689         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
73690         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
73692         [BZ #12207]
73693         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
73695         [BZ #12204]
73696         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
73697         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
73699 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
73701         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
73702         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
73703         script has SORT_BY_INIT_PRIORITY.
73704         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
73705         NO_CTORS_DTORS_SECTIONS is defined.
73706         * elf/soinit.c: Likewise.
73707         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
73708         NO_CTORS_DTORS_SECTIONS is defined.
73709         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
73710         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
73711         * sysdeps/sh/init-first.c: Likewise.
73712         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
73714 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
73716         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
73717         always use the slow path.
73719 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
73721         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
73722         similar rule which adds the sysdep directories to the header search in
73723         order to pick up the correct platform stackinfo.h.
73724         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
73725         perform test if it is, otherwise return successfully without testing.
73726         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
73727         DEFAULT_STACK_PERMS define in stackinfo.h.
73728         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
73729         defined in stackinfo.h.
73730         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
73731         DEFAULT_STACK_PERMS defined in stackinfo.h.
73732         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
73733         * sysdeps/ia64/stackinfo.h: Likewise.
73734         * sysdeps/s390/stackinfo.h: Likewise.
73735         * sysdeps/sh/stackinfo.h: Likewise.
73736         * sysdeps/sparc/stackinfo.h: Likewise.
73737         * sysdeps/x86_64/stackinfo.h: Likewise.
73738         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
73739         PF_X for powerpc64.  Retain PF_X for powerpc32.
73741 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
73743         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
73744         accurately.
73745         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
73746         GETDENTS_64BIT_ALIGNED.
73748 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
73750         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
73752 2010-12-10  Andreas Schwab  <schwab@redhat.com>
73754         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
73755         _GNU_SOURCE.
73757         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
73758         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
73759         Remove __restrict.
73760         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
73761         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
73763 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
73765         [BZ #11655]
73766         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
73767         are initialized.
73769 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
73771         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
73773 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
73775         * po/it.po: Update from translation team.
73777 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
73779         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
73780         unused codes.
73782 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
73784         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
73786 2010-11-24  Andreas Schwab  <schwab@redhat.com>
73788         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
73789         specially.
73790         (gaih_getanswer_slice): Likewise.
73792 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
73794         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
73796 2010-05-31  Petr Baudis  <pasky@suse.cz>
73798         [BZ #11149]
73799         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
73800         silently even in the chroot mode.
73802 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
73804         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
73805         last patch a bit.  Pretty printing
73807 2010-05-31  Petr Baudis <pasky@suse.cz>
73809         [BZ #10085]
73810         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
73811         initialization of skip_initgroups_dyn.
73813 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
73815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
73816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
73818 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
73820         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
73822 2010-11-11  Andreas Schwab  <schwab@redhat.com>
73824         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
73825         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
73826         (tst-fnmatch-ENV): Set MALLOC_TRACE.
73827         ($(objpfx)tst-fnmatch-mem): New rule.
73828         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
73829         * posix/tst-fnmatch.c (main): Call mtrace.
73831 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
73833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73834         Support Intel processor model 6 and model 0x2c.
73836 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
73838         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
73839           signed comparison.
73841 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
73843         [BZ #12205]
73844         * string/test-strncasecmp.c (check_result): New function.
73845         (do_one_test): Use it.
73846         (check1): New function.
73847         (test_main): Use it.
73848         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
73849         Support strcasecmp and strncasecmp.
73851 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
73853         [BZ #12194]
73854         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
73855         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73857 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73859         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
73860         IFUNC support.
73861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73862         memset-x86-64.
73863         * sysdeps/x86_64/multiarch/bzero.S: New file.
73864         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
73865         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
73866         * sysdeps/x86_64/multiarch/memset.S: New file.
73867         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
73868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73869         Set bit_Prefer_SSE_for_memop for Intel processors.
73870         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
73871         Define.
73872         (index_Prefer_SSE_for_memop): Define.
73873         (HAS_PREFER_SSE_FOR_MEMOP): Define.
73875 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
73877         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
73878         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
73880 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
73882         [BZ #12191]
73883         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73884         (__x86_64_raw_data_cache_size_half): Likewise.
73885         (__x86_64_raw_shared_cache_size): Likewise.
73886         (__x86_64_raw_shared_cache_size_half): Likewise.
73888         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
73889         (__x86_64_raw_data_cache_size_half): Likewise.
73890         (__x86_64_raw_shared_cache_size): Likewise.
73891         (__x86_64_raw_shared_cache_size_half): Likewise.
73892         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
73893         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
73894         and __x86_64_raw_shared_cache_size_half.  Round
73895         __x86_64_data_cache_size_half, __x86_64_data_cache_size
73896         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
73897         to multiple of 256 bytes.
73899 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
73901         [BZ #12167]
73902         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
73903         of inacessible symlinks.  Verify result of symlink before returning it.
73904         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
73905         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
73907 2010-10-28  Erich Ritz  <erichritz@gmail.com>
73909         * math/math.h (isinf): Fix typo in comment.
73911 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
73913         * po/da.po: Update from translation team.
73915 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
73917         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
73918         is added to the list.
73920 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73921             Ulrich Drepper  <drepper@gmail.com>
73923         * elf/dl-object.c (_dl_new_object): Don't append the new object to
73924         the global list here.  Move code to...
73925         (_dl_add_to_namespace_list): ...here.  New function.
73926         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
73927         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
73928         * elf/dl-load.c (lose): Don't remove the element from the list.
73929         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
73930         (_dl_map_object): Likewise.
73932 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
73934         [BZ #12159]
73935         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
73936         into all bytes of SSE register.
73937         Patch by Richard Li <richardpku@gmail.com>.
73939 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
73941         [BZ #12140]
73942         * malloc/malloc.c (_int_free): Fill correct number of bytes when
73943         perturbing.
73945 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
73947         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
73948         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
73949         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
73950         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
73952         submachine.
73953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
73955 2010-10-22  Andreas Schwab  <schwab@redhat.com>
73957         * include/dlfcn.h (__RTLD_SECURE): Define.
73958         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
73959         mode & __RTLD_SECURE instead.
73960         (open_path): Rename preloaded parameter to secure.
73961         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
73962         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
73963         * elf/dl-deps.c (openaux): Likewise.
73964         * elf/rtld.c (struct map_args): Remove is_preloaded.
73965         (map_doit): Don't use it.
73966         (dl_main): Likewise.
73967         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
73968         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
73970 2010-09-09  Andreas Schwab  <schwab@redhat.com>
73972         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
73973         (sysd-rules-targets): Remove duplicates.
73974         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
73975         rtld-%.$o dependency.
73977 2010-10-18  Andreas Schwab  <schwab@redhat.com>
73979         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
73980         _dl_map_object do it.
73982 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
73984         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
73985         fast fma builtins, define the macros in the C99 standard.
73986         (FP_FAST_FMAF): Likewise.
73987         (FP_FAST_FMAL): Likewise.
73988         * sysdeps/x86_64/bits/mathdef.h: Likewise.
73990         * bits/mathdef.h: Update copyright year.
73991         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73993 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
73995         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
73996         builtins, define the macros in the C99 standard.
73997         (FP_FAST_FMAF): Likewise.
73998         (FP_FAST_FMAL): Likewise.
73999         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74000         multiply/add.
74001         (FP_FAST_FMAF): Likewise.
74003 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74005         [BZ #3268]
74006         * math/libm-test.inc (fma_test): Some new testcases.
74007         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74008         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74009         y and infinite z.  Do multiplication by C already in long double.
74010         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74011         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74012         y and infinite z.  Do bitwise or of inexact bit into u.d.
74013         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74014         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74015         * sysdeps/i386/fpu/s_fma.S: Removed.
74016         * sysdeps/i386/fpu/s_fmal.S: Removed.
74018 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74020         [BZ #3268]
74021         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74022         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74023         computation is not scheduled after fetestexcept.  Fix value
74024         of minimum denormal long double.
74026 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74028         [BZ #3268]
74029         * math/libm-test.inc (fma_test): Add some more tests.
74030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74031         correctly.
74033 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74035         * scripts/data/localplt-s390-linux-gnu.data: New file.
74036         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74038 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74040         [BZ #3268]
74041         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74042         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74043         instead of dbl-64.
74044         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74045         inlines.
74046         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74048         if one of x and y is very large and the other is subnormal.
74049         * sysdeps/s390/fpu/s_fmaf.c: New file.
74050         * sysdeps/s390/fpu/s_fma.c: New file.
74051         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74052         * sysdeps/powerpc/fpu/s_fma.S: New file.
74053         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74054         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74055         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74057 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74059         [BZ #3268]
74060         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74061         fma tests.
74062         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74063         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74064         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74065         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74066         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74067         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74068         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74070 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74072         [BZ #12078]
74073         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74074         * posix/bug-regex31.input: Add test case.
74076 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74078         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74079         * posix/bug-regex31.input: New file.
74081         [BZ #12078]
74082         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74083         (parse_sub_exp): Fix last change, use postorder.
74085         * posix/bug-regex31.c: New file.
74086         * posix/Makefile: Add rules to build and run bug-regex31.
74088         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74090         [BZ #12078]
74091         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74093         [BZ #12108]
74094         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74095         to have entries in sys_siglist.
74097         [BZ #12093]
74098         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74099         be NULL.
74101 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74103         [BZ #3268]
74104         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74105         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74106         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74107         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74108         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74109         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74110         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74111         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74112         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74113         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74114         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74115         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74116         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74117         * math/ftestexcept.c (fetestexcept): Likewise.
74118         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74119         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74120         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74122         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74123         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74124         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74126 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74128         [BZ #12107]
74129         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74130         newline.
74132 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74134         * string/bug-strstr1.c: New file.
74135         * string/Makefile: Add rules to build and run bug-strstr1.
74137 2010-10-05  Eric Blake  <eblake@redhat.com>
74139         [BZ #12092]
74140         * string/str-two-way.h (two_way_long_needle): Always clear memory
74141         when skipping input due to the shift table.
74143 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74145         [BZ #12005]
74146         * malloc/mcheck.c: Handle large requests.
74148         [BZ #12077]
74149         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74150         for strncmp and strncasecmp.
74151         * string/stratcliff.c: Add tests for strcmp and strncmp.
74152         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74154 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74156         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74157         __set_fpscr.
74159 2010-09-30  Andreas Jaeger  <aj@suse.de>
74161         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74162         (CGROUP_SUPER_MAGIC): Define.
74163         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74164         Handle btrfs and cgroup file systems.
74165         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74166         Likewise.
74168 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74170         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74171         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74173 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74175         [BZ #12067]
74176         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74177         trying to locate the ELF header.
74179 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74181         [BZ #11611]
74182         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74183         Mask out sign-bit copies when constructing f_fsid.
74185 2010-09-24  Petr Baudis <pasky@suse.cz>
74187         * debug/stack_chk_fail_local.c: Add missing licence exception.
74188         * debug/warning-nop.c: Likewise.
74190 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74192         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74193         implementing getdents64 using getdents syscall, set d_type if
74194         __ASSUME_GETDENTS32_D_TYPE.
74196 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74198         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74199         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74201 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74203         [BZ #12037]
74204         * posix/unistd.h: Undo change of feature selection for ftruncate from
74205         2010-01-11.
74207 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74209         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74210         detection.
74212 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74215         fanotify_mark.
74216         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74218 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74220         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74221         variables after CHECK_SP call.
74222         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74224 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74225             Ulrich Drepper  <drepper@redhat.com>
74227         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74228         re-relocationg ld.so.
74229         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74230         _dl_init_paths call.
74231         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74232         here anymore.
74234 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74236         * resolv/res_init.c (__res_vinit): Count the default server we added.
74238 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74239             Ulrich Drepper  <drepper@redhat.com>
74241         [BZ #11968]
74242         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74243         (____longjmp_chk): Use %ebx for saving value across system call.
74244         Add unwind info.
74246 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74248         * manual/Makefile: Don't mix pattern rules with normal rules.
74250 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74252         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74253         operation.
74254         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74255         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74256         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74257         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74258         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74259         Likewise.
74261 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74263         [BZ #11979]
74264         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74265         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74267 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74269         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74270         * sysdeps/x86_64/addmul_1.S: Likewise.
74271         * sysdeps/x86_64/lshift.S: Likewise.
74272         * sysdeps/x86_64/mul_1.S: Likewise.
74273         * sysdeps/x86_64/rshift.S: Likewise.
74274         * sysdeps/x86_64/sub_n.S: Likewise.
74275         * sysdeps/x86_64/submul_1.S: Likewise.
74277 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74279         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74280         Define __sched_param instead of SCHED_* and sched_param when
74281         <bits/sched.h> is included with __need_schedparam defined.
74282         * bits/sched.h [__need_schedparam]
74283         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74284         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74285         (__defined_schedparam): Define to 1.
74286         (__sched_param): New structure, identical to sched_param.
74287         (__need_schedparam): Undefine.
74289 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74291         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74292         (epoll_create1): Declare.
74294         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74296 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74298         [BZ #7066]
74299         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74300         shifting retval into place.
74302 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74304         * nis/rpcsvc/nis.h: Update copyright notice.
74305         * nis/rpcsvc/nis.x: Likewise.
74306         * nis/rpcsvc/nis_callback.h: Likewise.
74307         * nis/rpcsvc/nis_callback.x: Likewise.
74308         * nis/rpcsvc/nis_object.x: Likewise.
74309         * nis/rpcsvc/nis_tags.h: Likewise.
74310         * nis/rpcsvc/yp.h: Likewise.
74311         * nis/rpcsvc/yp.x: Likewise.
74312         * nis/rpcsvc/ypupd.h: Likewise.
74313         * nis/yp_xdr.c: Likewise.
74314         * nis/ypupdate_xdr.c: Likewise.
74316         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74317         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74318         (pmap_getport): Use __libc_rpc_getport.
74319         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74320         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74321         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74323 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74326         fanotify_mark.
74328 2010-08-27  Roland McGrath  <roland@redhat.com>
74330         * sysdeps/i386/i686/multiarch/Makefile
74331         (CFLAGS-varshift.c): New variable.
74333 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74335         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74336         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74338         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74340         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74342 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74344         * sysdeps/x86_64/strlen.S: Unroll the loop.
74345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74346         strlen-sse2 strlen-sse2-bsf.
74347         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74348         __strlen_no_bsf if bit_Slow_BSF is set.
74349         (__strlen_sse42): Removed.
74350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74351         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74353 2010-08-25  Roland McGrath  <roland@redhat.com>
74355         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74356         * sysdeps/x86_64/multiarch/varshift.c: New file.
74357         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74358         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74359         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74360         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74362 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74364         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74365         strlen-sse2 strlen-sse2-bsf.
74366         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74367         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74368         (__strlen_sse2): Removed.
74369         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74370         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74371         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74372         bit_Slow_BSF for Atom.
74373         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74374         (index_Slow_BSF): Define.
74375         (HAS_SLOW_BSF): Define.
74377 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74379         [BZ #10851]
74380         * resolv/res_init.c (__res_vinit): When no server address at all
74381         is given default to loopback.
74383 2010-08-24  Roland McGrath  <roland@redhat.com>
74385         * configure.in: Remove config-name.h generation.
74386         * configure: Regenerated.
74387         * config-name.in: File removed.
74388         * scripts/config-uname.sh: New file.
74389         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74390         ($(objdir)config-name.h): New target.
74392         * sunrpc/rpc_parse.h: Avoid nested comment.
74394 2010-08-24  Richard Henderson  <rth@redhat.com>
74395             Ulrich Drepper  <drepper@redhat.com>
74396             H.J. Lu  <hongjiu.lu@intel.com>
74398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74400         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74401         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74402         _mm_alignr_epi8 with _mm_loadu_si128.
74403         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74404         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74405         (__m128i_shift_right): Removed.
74406         * sysdeps/i386/i686/multiarch/varshift.h: New file.
74407         * sysdeps/i386/i686/multiarch/varshift.S: New file.
74408         * sysdeps/x86_64/multiarch/varshift.h: New file.
74409         * sysdeps/x86_64/multiarch/varshift.S: New file.
74411 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
74413         * configure.in: Move assembler checks to before sysdep dir checking.
74415 2010-08-20  Petr Baudis  <pasky@suse.cz>
74417         * LICENSES: Sync the sunrpc license.
74419 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
74421         * sunrpc/auth_des.c: Update copyright notice once again.
74422         * sunrpc/auth_none.c: Likewise.
74423         * sunrpc/auth_unix.c: Likewise.
74424         * sunrpc/authdes_prot.c: Likewise.
74425         * sunrpc/authuxprot.c: Likewise.
74426         * sunrpc/bindrsvprt.c: Likewise.
74427         * sunrpc/clnt_gen.c: Likewise.
74428         * sunrpc/clnt_perr.c: Likewise.
74429         * sunrpc/clnt_raw.c: Likewise.
74430         * sunrpc/clnt_simp.c: Likewise.
74431         * sunrpc/clnt_tcp.c: Likewise.
74432         * sunrpc/clnt_udp.c: Likewise.
74433         * sunrpc/clnt_unix.c: Likewise.
74434         * sunrpc/des_crypt.c: Likewise.
74435         * sunrpc/des_soft.c: Likewise.
74436         * sunrpc/get_myaddr.c: Likewise.
74437         * sunrpc/getrpcport.c: Likewise.
74438         * sunrpc/key_call.c: Likewise.
74439         * sunrpc/key_prot.c: Likewise.
74440         * sunrpc/openchild.c: Likewise.
74441         * sunrpc/pm_getmaps.c: Likewise.
74442         * sunrpc/pm_getport.c: Likewise.
74443         * sunrpc/pmap_clnt.c: Likewise.
74444         * sunrpc/pmap_prot.c: Likewise.
74445         * sunrpc/pmap_prot2.c: Likewise.
74446         * sunrpc/pmap_rmt.c: Likewise.
74447         * sunrpc/rpc/auth.h: Likewise.
74448         * sunrpc/rpc/auth_unix.h: Likewise.
74449         * sunrpc/rpc/clnt.h: Likewise.
74450         * sunrpc/rpc/des_crypt.h: Likewise.
74451         * sunrpc/rpc/key_prot.h: Likewise.
74452         * sunrpc/rpc/netdb.h: Likewise.
74453         * sunrpc/rpc/pmap_clnt.h: Likewise.
74454         * sunrpc/rpc/pmap_prot.h: Likewise.
74455         * sunrpc/rpc/pmap_rmt.h: Likewise.
74456         * sunrpc/rpc/rpc.h: Likewise.
74457         * sunrpc/rpc/rpc_des.h: Likewise.
74458         * sunrpc/rpc/rpc_msg.h: Likewise.
74459         * sunrpc/rpc/svc.h: Likewise.
74460         * sunrpc/rpc/svc_auth.h: Likewise.
74461         * sunrpc/rpc/types.h: Likewise.
74462         * sunrpc/rpc/xdr.h: Likewise.
74463         * sunrpc/rpc_clntout.c: Likewise.
74464         * sunrpc/rpc_cmsg.c: Likewise.
74465         * sunrpc/rpc_common.c: Likewise.
74466         * sunrpc/rpc_cout.c: Likewise.
74467         * sunrpc/rpc_dtable.c: Likewise.
74468         * sunrpc/rpc_hout.c: Likewise.
74469         * sunrpc/rpc_main.c: Likewise.
74470         * sunrpc/rpc_parse.c: Likewise.
74471         * sunrpc/rpc_parse.h: Likewise.
74472         * sunrpc/rpc_prot.c: Likewise.
74473         * sunrpc/rpc_sample.c: Likewise.
74474         * sunrpc/rpc_scan.c: Likewise.
74475         * sunrpc/rpc_scan.h: Likewise.
74476         * sunrpc/rpc_svcout.c: Likewise.
74477         * sunrpc/rpc_tblout.c: Likewise.
74478         * sunrpc/rpc_util.c: Likewise.
74479         * sunrpc/rpc_util.h: Likewise.
74480         * sunrpc/rpcinfo.c: Likewise.
74481         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
74482         * sunrpc/rpcsvc/key_prot.x: Likewise.
74483         * sunrpc/rpcsvc/klm_prot.x: Likewise.
74484         * sunrpc/rpcsvc/mount.x: Likewise.
74485         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
74486         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
74487         * sunrpc/rpcsvc/rex.x: Likewise.
74488         * sunrpc/rpcsvc/rstat.x: Likewise.
74489         * sunrpc/rpcsvc/rusers.x: Likewise.
74490         * sunrpc/rpcsvc/sm_inter.x: Likewise.
74491         * sunrpc/rpcsvc/spray.x: Likewise.
74492         * sunrpc/rpcsvc/yppasswd.x: Likewise.
74493         * sunrpc/rtime.c: Likewise.
74494         * sunrpc/svc.c: Likewise.
74495         * sunrpc/svc_auth.c: Likewise.
74496         * sunrpc/svc_authux.c: Likewise.
74497         * sunrpc/svc_raw.c: Likewise.
74498         * sunrpc/svc_run.c: Likewise.
74499         * sunrpc/svc_simple.c: Likewise.
74500         * sunrpc/svc_tcp.c: Likewise.
74501         * sunrpc/svc_udp.c: Likewise.
74502         * sunrpc/svc_unix.c: Likewise.
74503         * sunrpc/svcauth_des.c: Likewise.
74504         * sunrpc/xcrypt.c: Likewise.
74505         * sunrpc/xdr.c: Likewise.
74506         * sunrpc/xdr_array.c: Likewise.
74507         * sunrpc/xdr_float.c: Likewise.
74508         * sunrpc/xdr_mem.c: Likewise.
74509         * sunrpc/xdr_rec.c: Likewise.
74510         * sunrpc/xdr_ref.c: Likewise.
74511         * sunrpc/xdr_sizeof.c: Likewise.
74512         * sunrpc/xdr_stdio.c: Likewise.
74514         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
74515         handling.
74517 2010-08-19  Andreas Schwab  <schwab@redhat.com>
74519         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
74521 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
74523         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
74524         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
74525         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
74526         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
74527         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
74528         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
74529         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
74530         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
74531         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
74532         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
74533         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
74534         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
74535         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
74536         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
74538 2010-07-26  Anton Blanchard  <anton@samba.org>
74540         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
74541         * malloc/arena.c (heap_trim): Likewise.
74543 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
74545         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
74546         here.  Not...
74547         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
74548         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
74550 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
74552         * sysdeps/i386/elf/Makefile: New file.
74554 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74556         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
74557         from fanotify_init.
74558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
74559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74561 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
74563         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
74564         of strncasecmp_l.
74565         * sysdeps/multiarch/strcmp.S: Likewise.
74567 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
74569         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74570         strncase_l-nonascii.
74571         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74572         Add strncase_l-ssse3.
74573         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
74574         * sysdeps/x86_64/strcmp.S: Likewise.
74575         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
74576         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
74577         * sysdeps/x86_64/strncase.S: New file.
74578         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
74579         * sysdeps/x86_64/strncase_l.S: New file.
74580         * string/Makefile (strop-tests): Add strncasecmp.
74581         * string/test-strncasecmp.c: New file.
74583         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
74584         warning.
74586         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
74587         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
74589 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
74591         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
74593 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
74595         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
74596         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
74597         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
74599 2010-05-01  Alan Modra  <amodra@gmail.com>
74601         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
74602         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
74603         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
74604         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
74605         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
74606         tidying.  Don't tail-call __sigjmp_save for static lib.
74607         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
74608         save location.
74609         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
74610         (CALL_MCOUNT): Add eh info, and nop after bl.
74611         (TAIL_CALL_SYSCALL_ERROR): New macro.
74612         (PSEUDO_RET): Use it.
74613         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
74614         Correct save location of integer regs and cr.
74615         (_dl_profile_resolve): Correct cr save location.  Delete nops
74616         after bl when SHARED.  Reduce cfi size a little by better
74617         placement of cfi directives.
74618         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
74619         make a stack frame.  Instead use parm save area as a temp.
74620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
74621         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
74622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
74623         Don't make a stack frame for parent, use parm save area.
74624         Increase child stack frame to 112 bytes.  Don't save unused reg,
74625         and adjust reg usage.  Set up cfi on error recovery and
74626         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
74627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
74628         (__makecontext): Add dummy nop after jump to exit.
74629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
74630         Use correct parm save area and cr save, reduce stack frame.
74631         Correct cfi for possible PSEUDO_RET frame setup.
74632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
74633         Branch to local label emitted by PSEUDO_RET rather than
74634         __syscall_error.
74636 2010-08-12  Andreas Schwab  <schwab@redhat.com>
74638         [BZ #11904]
74639         * locale/programs/locale.c (print_assignment): New function.
74640         (show_locale_vars): Use it.
74642 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
74644         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
74645         field.
74646         (struct statfs64): Likewise.
74647         (_STATFS_F_FLAGS): Define.
74648         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
74649         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74650         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
74651         (ST_VALID): Define locally.
74652         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
74653         __statvfs_getflags, use the provided value.
74654         * sysdeps/unix/sysv/linux/kernel-features.h: Define
74655         __ASSUME_STATFS_F_FLAGS.
74657         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
74659         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
74660         Add sys/fanotify.h.
74661         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
74662         fanotify_mask for GLIBC_2.13.
74663         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
74664         fanotify_init and fanotify_mark.
74665         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
74666         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
74668         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
74669         Add prlimit.
74670         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
74671         prlimit64 for GLIBC_2.13.
74672         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
74673         prlimit64.
74674         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
74675         syscall.
74676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
74677         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74678         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
74679         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
74680         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
74681         add prlimit alias.
74682         * sysdeps/unix/sysv/linux/prlimit.c: New file.
74684         [BZ #11903]
74685         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
74686         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
74688         * nss/Makefile: Add rules to build and run tst-nss-test1.
74689         * shlib-versions: Add entry for libnss_test1.
74690         * nss/nss_test1.c: New file.
74691         * nss/tst-nss-test1.c: New file.
74693         * nss/nsswitch.c (__nss_database_custom): Define new variable.
74694         (__nss_configure_lookup): Set appropriate entry in
74695         __nss_configure_lookup to true.
74696         * nss/nsswitch.h: Define enum with indeces of databases in
74697         databases and __nss_database_custom arrays.  Declare
74698         __nss_database_custom.
74699         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
74700         to avoid using nscd when custom rules are installed.
74701         * nss/getXXbyYY_r.c: Likewise.
74702         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
74704         * nss/nss_files/files-parse.c: Whitespace fixes.
74706 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
74708         [BZ #11883]
74709         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
74710         * posix/fnmatch_loop.c: Likewise.
74712 2010-07-17  Andi Kleen  <ak@linux.intel.com>
74714         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
74715         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
74716         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
74717         * Versions.def [GLIBC_2.13]: Add.
74719 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
74721         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74722         Also fail if tpwd after pwuid call is NULL.
74724 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74726         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
74727         when converting to ms.
74729 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74731         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
74732         EOPNOTSUPP errors with ENOTTY.
74733         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
74734         EOPNOTSUPP errors with ENOTTY.
74736 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
74738         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
74739         Add strcasecmp_l-ssse3.
74740         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
74741         strcasecmp.
74742         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
74743         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
74744         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
74746 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
74748         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
74750         * string/Makefile (strop-tests): Add strcasecmp.
74751         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
74752         strcasecmp_l-nonascii.
74753         (gen-as-const-headers): Add locale-defines.sym.
74754         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
74755         * sysdeps/x86_64/strcasecmp.S: New file.
74756         * sysdeps/x86_64/strcasecmp_l.S: New file.
74757         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
74758         * sysdeps/x86_64/locale-defines.sym: New file.
74759         * string/test-strcasecmp.c: New file.
74761         * string/test-strcasestr.c: Test both ends of the range of characters.
74762         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
74764 2010-07-29  Roland McGrath  <roland@redhat.com>
74766         [BZ #11856]
74767         * manual/locale.texi (Yes-or-No Questions): Fix example code.
74769 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
74771         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
74772         for ld.so.
74774 2010-07-27  Andreas Schwab  <schwab@redhat.com>
74776         * manual/memory.texi (Malloc Tunable Parameters): Document
74777         M_PERTURB.
74779 2010-07-26  Roland McGrath  <roland@redhat.com>
74781         [BZ #11840]
74782         * configure.in (-fgnu89-inline check): Set and substitute
74783         gnu89_inline, not libc_cv_gnu89_inline.
74784         * configure: Regenerated.
74785         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
74787 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
74789         * string/test-strnlen.c: New file.
74790         * string/Makefile (strop-tests): Add strnlen.
74791         * string/tester.c (test_strnlen): Add a few more test cases.
74792         * string/tst-strlen.c: Better error reporting.
74794         * sysdeps/x86_64/strnlen.S: New file.
74796 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
74798         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
74799         lower-latency instructions.
74801 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
74803         * string/test-strcasestr.c: New file.
74804         * string/test-strstr.c: New file.
74805         * string/Makefile (strop-tests): Add strstr and strcasestr.
74806         * string/str-two-way.h: Don't undefine MAX.
74807         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
74809 2010-07-21  Andreas Schwab  <schwab@redhat.com>
74811         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74812         strcasestr-nonascii.
74813         (CFLAGS-strcasestr-nonascii.c): Define.
74814         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
74815         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
74816         Remove unused attribute.
74818 2010-07-20  Roland McGrath  <roland@redhat.com>
74820         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
74821         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
74822         ld.so.cache was broken.  With it, there is no way to disable dsocaps
74823         like LD_HWCAP_MASK can disable hwcaps.
74825 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
74827         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
74829 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
74831         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
74832         call in strcasestr.
74833         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
74834         __strcasestr_sse42_nonascii.
74835         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
74836         strcasestr-nonascii.c.
74837         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
74839 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
74841         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
74842         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
74843         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
74844         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
74846 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
74848         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
74849         fcntl.
74851 2010-07-06  Andreas Schwab  <schwab@redhat.com>
74853         [BZ #11577]
74854         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
74855         dl_signal_cerror.
74857 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
74859         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
74860         _PC_PIPE_BUF using F_GETPIPE_SZ.
74862 2010-07-05  Roland McGrath  <roland@redhat.com>
74864         * manual/arith.texi (Rounding Functions): Fix rint description
74865         implicit in round description.
74867 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
74869         * elf/Makefile: Fix linking for a few tests to make recent linker
74870         happy.
74872 2010-06-30  Andreas Schwab  <schwab@redhat.com>
74874         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74875         $(common-objpfx)libc_nonshared.a.
74877 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
74879         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
74880         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
74881         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74882         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74883         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
74884         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
74885         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74886         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
74888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
74889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
74890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
74891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
74892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
74893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
74894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
74895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
74896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
74897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
74898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
74899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
74900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
74901         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
74902         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
74903         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
74904         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
74905         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
74906         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
74907         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
74908         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
74909         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
74910         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
74911         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
74912         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
74913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
74914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
74915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
74916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
74917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
74918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
74919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
74920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
74921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
74922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
74923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
74924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
74925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
74926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
74928 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
74930         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
74931         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
74932         * string/memmove.c (memmove): Renamed to ...
74933         (MEMMOVE): ...this.  Default to memmove.
74934         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
74935         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
74936         (END_CHK): Define.
74937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74938         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
74939         mempcpy-ssse3-back memmove-ssse3-back.
74940         * sysdeps/x86_64/multiarch/bcopy.S: New file .
74941         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
74942         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
74943         * sysdeps/x86_64/multiarch/memcpy.S: New file.
74944         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
74945         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
74946         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
74947         * sysdeps/x86_64/multiarch/memmove.c: New file.
74948         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
74949         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
74950         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
74951         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
74952         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
74953         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
74954         Define.
74955         (index_Fast_Copy_Backward): Define.
74956         (HAS_ARCH_FEATURE): Define.
74957         (HAS_FAST_REP_STRING): Define.
74958         (HAS_FAST_COPY_BACKWARD): Define.
74960 2010-06-21  Andreas Schwab  <schwab@redhat.com>
74962         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
74963         Restore proper fallback handling.
74965 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
74967         [BZ #11701]
74968         * posix/group_member.c (__group_member): Correct checking loop.
74970         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
74971         OOM in getpwuid_r correctly.  Return error number when the caller
74972         should return, otherwise -1.
74973         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
74974         call returning > 0 value.
74975         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
74977 2010-06-07  Andreas Schwab  <schwab@redhat.com>
74979         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
74980         libc_nonshared.a from targets in modules-names.
74982 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
74984         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
74985         requires it.
74987 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
74989         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
74990         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
74991         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
74992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
74994 2010-06-02  Andreas Schwab  <schwab@redhat.com>
74996         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
74998 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75000         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75001         and F_GETPIPE_SZ.
75002         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75003         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75004         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75005         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75006         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75007         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75009 2010-06-14  Roland McGrath  <roland@redhat.com>
75011         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75013 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75015         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75016         __REDIRECT followed by __THROW.
75017         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75018         * posix/getopt.h (getopt): Likewise.
75020 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75022         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75023         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75024         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75025         in AT_FLAGS.
75026         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75027         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75029 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75031         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75033 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75035         [BZ #11640]
75036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75037         Properly check family and model.
75039 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75041         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75043 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75045         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75047 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75049         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75050         symbol reference.
75052 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75054         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75055         symbol reference.
75057 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75059         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75060         and internal_recvmmsg.
75061         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75062         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75063         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75064         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75066         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75067         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75068         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75070 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75072         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75074 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75076         POWER7 optimizations.
75077         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75078         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75080 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75082         * version.h: Update for 2.13 development version.
75084 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75086         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75087         exceptions.  Return 0.
75089 2010-05-07  Roland McGrath  <roland@redhat.com>
75091         * elf/ldconfig.c (main): Add a const.
75093 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75095         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75096         (args_options): Add no-idn option.
75097         (ahosts_keys_int): Add idn_flags to ai_flags.
75098         (parse_option): Handle 'i' option to clear idn_flags.
75100         * malloc/malloc.c (_int_free): Possible race in the most recently
75101         added check.  Only act on the data if no current modification
75102         happened.
75104 See ChangeLog.17 for earlier changes.